use new microservice to fetch account
This commit is contained in:
@@ -192,10 +192,14 @@ defmodule Dispatcher do
|
||||
###############
|
||||
# LOGIN
|
||||
###############
|
||||
match "/accounts/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://resource/accounts/"
|
||||
end
|
||||
|
||||
|
||||
match "/accounts", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, [], "http://resource/accounts/"
|
||||
end
|
||||
match "/accounts/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://accountdetail/accounts/"
|
||||
end
|
||||
match "/groups/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://resource/groups/"
|
||||
end
|
||||
|
||||
@@ -113,8 +113,18 @@ services:
|
||||
logging: *default-logging
|
||||
links:
|
||||
- db:database
|
||||
accountdetail:
|
||||
image: lblod/account-detail-service:latest
|
||||
labels:
|
||||
- "logging=true"
|
||||
environment:
|
||||
MU_APPLICATION_GRAPH: "http://mu.semte.ch/graphs/contacthub/accounts"
|
||||
links:
|
||||
- db:database
|
||||
privacy:
|
||||
image: lblod/privacy-centric-service:0.0.1
|
||||
labels:
|
||||
- "logging=true"
|
||||
environment:
|
||||
SERVER_PORT: "80"
|
||||
SPARQL_ENDPOINT: "http://db:8890/sparql"
|
||||
|
||||
Reference in New Issue
Block a user