Compare commits
8 Commits
report-gen
...
v1.8.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d31267e57b | ||
|
|
fee7075e2e | ||
|
|
c47d9d84cd | ||
|
|
f918541fc9 | ||
|
|
61b5efc0df | ||
|
|
ce86032640 | ||
|
|
d6fccd5622 | ||
|
|
eb42076ec2 |
@@ -73,11 +73,11 @@ defmodule Dispatcher do
|
||||
end
|
||||
|
||||
match "/worship-administrative-units/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/worship-administrative-units/"
|
||||
Proxy.forward conn, path, "http://resource/worship-administrative-units/"
|
||||
end
|
||||
|
||||
match "/worship-services/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/worship-services/"
|
||||
Proxy.forward conn, path, "http://resource/worship-services/"
|
||||
end
|
||||
|
||||
match "/recognized-worship-types/*path", %{ accept: [:json], layer: :api} do
|
||||
@@ -204,7 +204,7 @@ defmodule Dispatcher do
|
||||
###############
|
||||
|
||||
match "/accounts", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, [], "http://resource/accounts/"
|
||||
Proxy.forward conn, [], "http://resource/accounts/"
|
||||
end
|
||||
match "/accounts/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://accountdetail/accounts/"
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
<http://data.lblod.info/id/mandatarissen/61B762983C1A230C43B4522F> <http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan> <http://data.lblod.info/id/personen/db8e4a5d76da636c6268487fb5339f00> .
|
||||
}
|
||||
}
|
||||
|
||||
# The associated call to trigger a reindex is :
|
||||
# curl --location --request POST '<ip-addres-search>/update' \
|
||||
# --header 'Content-Type: application/vnd.api+json' \
|
||||
# --data-raw ' [
|
||||
# {
|
||||
# "deletes": [],
|
||||
# "inserts": [
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/mandatarissen/61B762983C1A230C43B4522F" },
|
||||
# "predicate": { "type": "uri", "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" },
|
||||
# "object": { "type": "uri", "value": "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris" }
|
||||
# }
|
||||
# ]
|
||||
# }
|
||||
# ]'
|
||||
@@ -0,0 +1,41 @@
|
||||
PREFIX regorg: <http://www.w3.org/ns/regorg#>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/44e123c39fb439274be6727eca6e1880>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/44e123c39fb439274be6727eca6e1880>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/44e123c39fb439274be6727eca6e1880>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> .
|
||||
}
|
||||
}
|
||||
|
||||
# The associated call to trigger a reindex is :
|
||||
# curl --location --request POST '<ip-of-mu-search>/update' \
|
||||
# --header 'Content-Type: application/vnd.api+json' \
|
||||
# --data-raw ' [
|
||||
# {
|
||||
# "deletes": [
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/centraleBesturenVanDeEredienst/44e123c39fb439274be6727eca6e1880" },
|
||||
# "predicate": { "type": "uri", "value": "http://www.w3.org/ns/regorg#orgStatus" },
|
||||
# "object": { "type": "uri", "value": "http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6" }
|
||||
# }
|
||||
# ],
|
||||
# "inserts": [
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/centraleBesturenVanDeEredienst/44e123c39fb439274be6727eca6e1880" },
|
||||
# "predicate": { "type": "uri", "value": "http://www.w3.org/ns/regorg#orgStatus" },
|
||||
# "object": { "type": "uri", "value": "http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311" }
|
||||
# }
|
||||
# ]
|
||||
# }
|
||||
# ]'
|
||||
@@ -0,0 +1,51 @@
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/eredienstbestuursorganen/6807c53e4474343331d31577bc1e9166>
|
||||
<http://www.w3.org/ns/org#hasPost> ?post .
|
||||
|
||||
?post ?ppost ?opost .
|
||||
|
||||
?role <http://www.w3.org/ns/org#holds> ?post ;
|
||||
<http://schema.org/contactPoint> ?contactPoint ;
|
||||
?prole ?orole .
|
||||
|
||||
?contactPoint <http://www.w3.org/ns/locn#address> ?address ;
|
||||
?pcontactPoint ?ocontactPoint .
|
||||
|
||||
?address ?paddress ?oaddress .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/eredienstbestuursorganen/6807c53e4474343331d31577bc1e9166>
|
||||
<http://www.w3.org/ns/org#hasPost> ?post .
|
||||
|
||||
?post ?ppost ?opost .
|
||||
|
||||
?role <http://www.w3.org/ns/org#holds> ?post ;
|
||||
?prole ?orole .
|
||||
|
||||
OPTIONAL {
|
||||
?role <http://schema.org/contactPoint> ?contactPoint .
|
||||
|
||||
?contactPoint ?pcontactPoint ?ocontactPoint .
|
||||
|
||||
OPTIONAL {
|
||||
?contactPoint <http://www.w3.org/ns/locn#address> ?address .
|
||||
?address ?paddress ?oaddress .
|
||||
}
|
||||
}
|
||||
|
||||
FILTER(
|
||||
?role NOT IN (
|
||||
<http://data.lblod.info/id/mandatarissen/19f21fc41077ddf80b0679f2465438d6>,
|
||||
<http://data.lblod.info/id/mandatarissen/4908a3d11300f1df876b749a3009d097>,
|
||||
<http://data.lblod.info/id/mandatarissen/a2e0749d26d7dc3ce46ebbec21ae0f5c>,
|
||||
<http://data.lblod.info/id/mandatarissen/1773a92782ef3201719c636e835577f7>,
|
||||
<http://data.lblod.info/id/mandatarissen/c97e46465d129b91e9f9772919088e95>,
|
||||
<http://data.lblod.info/id/mandatarissen/0df45364976635807d721fd13adb5d88>,
|
||||
<http://data.lblod.info/id/mandatarissen/d386eff67844ada5f56466fe61be468b>,
|
||||
<http://data.lblod.info/id/mandatarissen/8771130ab6cb3bda7cb2dc79e7896129>
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -158,7 +158,7 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
frontend:
|
||||
image: lblod/frontend-organization-portal:1.7.2
|
||||
image: lblod/frontend-organization-portal:1.8.0
|
||||
volumes:
|
||||
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user