add privacy centric service (#47)

* add privacy centric service
This commit is contained in:
Nordine Bittich
2021-09-21 15:28:41 +02:00
committed by GitHub
parent 4e8e8382a1
commit 8c7b2741e7
3 changed files with 31 additions and 3 deletions

View File

@@ -242,6 +242,14 @@ defmodule Dispatcher do
forward conn, path, "http://adressenregister/"
end
match "/person-information-updates/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://privacy/person-information-updates"
end
match "/person-information-requests/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://privacy/person-information-requests"
end
###############################################################
# frontend layer

View File

@@ -0,0 +1,14 @@
<http://data.lblod.info/id/information-request-reason/3aeec145-acf3-4b6e-9c00-5b8e285736e0> a <http://mu.semte.ch/vocabularies/ext/ReasonCode>,
<http://www.w3.org/2004/02/skos/core#Concept>;
<http://mu.semte.ch/vocabularies/core/uuid> "3aeec145-acf3-4b6e-9c00-5b8e285736e0";
<http://www.w3.org/2004/02/skos/core#prefLabel> "In het kader van een samenwerkingsovereenkomst".
<http://data.lblod.info/id/information-request-reason/3beec145-acf3-4b6e-9c00-5b8e285736e1> a <http://mu.semte.ch/vocabularies/ext/ReasonCode>,
<http://www.w3.org/2004/02/skos/core#Concept>;
<http://mu.semte.ch/vocabularies/core/uuid> "3beec145-acf3-4b6e-9c00-5b8e285736e1";
<http://www.w3.org/2004/02/skos/core#prefLabel> "Aanpassen van gegevens".
<http://data.lblod.info/id/information-request-reason/3beec145-acf3-4b6e-9c00-5b8e285736e2> a <http://mu.semte.ch/vocabularies/ext/ReasonCode>,
<http://www.w3.org/2004/02/skos/core#Concept>;
<http://mu.semte.ch/vocabularies/core/uuid> "3beec145-acf3-4b6e-9c00-5b8e285736e2";
<http://www.w3.org/2004/02/skos/core#prefLabel> "Andere reden".

View File

@@ -137,7 +137,13 @@ services:
logging: *default-logging
links:
- db:database
privacy:
image: lblod/privacy-centric-service:0.0.1
environment:
SERVER_PORT: "80"
SPARQL_ENDPOINT: "http://db:8890/sparql"
LOGGING_LEVEL: "INFO"
DEFAULT_GRAPH: "http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin"
SESSION_GRAPH: "http://mu.semte.ch/graphs/sessions"
adressenregister:
image: lblod/adressenregister-fuzzy-search-service:0.5.0
image: lblod/adressenregister-fuzzy-search-service:0.5.0