Compare commits

..

12 Commits

Author SHA1 Message Date
Nordine Bittich
be583c7c74 remove involvements (#159) 2022-06-23 08:49:21 +02:00
Nordine Bittich
3562be8501 release frontend 2022-06-16 05:49:57 +02:00
Nordine Bittich
804dfd9f4e bump frontend 2022-06-14 15:29:40 +02:00
Nordine Bittich
cdf4711b56 bump frontend 2022-06-03 09:59:21 +02:00
Nordine Bittich
3ca9f66159 bump privacy service 2022-05-31 09:01:56 +02:00
Claire Lovisa
5fa0945568 Bump frontend 2022-05-31 08:37:33 +02:00
Nordine Bittich
5f5d96bfe9 bump frontend 2022-05-30 09:11:24 +02:00
Nordine Bittich
530fb4d8a5 bump frontend 2022-05-24 09:50:42 +02:00
Nordine Bittich
452d420172 bump frontend 2022-05-20 14:02:45 +02:00
Nordine Bittich
d411a2606d bump frontend 2022-05-20 13:53:13 +02:00
Nordine Bittich
02d9ad6fcd fix addresses (#148) 2022-05-17 09:34:40 +02:00
Nordine Bittich
3889c42b11 disable cache for worship services (#147) 2022-05-13 14:57:54 +02:00
8 changed files with 36935 additions and 118 deletions

View File

@@ -73,11 +73,11 @@ defmodule Dispatcher do
end
match "/worship-administrative-units/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/worship-administrative-units/"
Proxy.forward conn, path, "http://cache/worship-administrative-units/"
end
match "/worship-services/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/worship-services/"
Proxy.forward conn, path, "http://resource/worship-services/" # DISABLE CACHING FOR NOW (BUG OP-1404)
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/"

View File

@@ -0,0 +1 @@
http://mu.semte.ch/graphs/organisatieportaal

File diff suppressed because it is too large Load Diff

View File

@@ -1,21 +0,0 @@
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" }
# }
# ]
# }
# ]'

View File

@@ -1,41 +0,0 @@
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" }
# }
# ]
# }
# ]'

View File

@@ -1,51 +0,0 @@
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>
)
)
}
}

View File

@@ -0,0 +1,32 @@
# OP-1520 & OP-1529 - OP-1519 & OP-1518
prefix org: <http://www.w3.org/ns/org#>
prefix ere: <http://data.lblod.info/vocabularies/erediensten/>
prefix skos: <http://www.w3.org/2004/02/skos/core#>
delete where {
graph <http://mu.semte.ch/graphs/organisatieportaal> {
?involvement a ere:BetrokkenLokaleBesturen;
org:organization ?worshipService;
ere:typebetrokkenheid ?typebetrokkenheid.
?betrokkenBestuur ere:betrokkenBestuur ?involvement.
?involvement ?p ?o.
filter (?typebetrokkenheid = <http://lblod.data.gift/concepts/86fcbbbff764f1cba4c7e10dbbae578e> &&
(?worshipService = <http://data.lblod.info/id/besturenVanDeEredienst/1f3b446da13c8ebd75ee52ac7746c53a>
|| ?worshipService = <http://data.lblod.info/id/besturenVanDeEredienst/f99035f2eca9a50996e719c445d2cfd2>
|| ?worshipService = <http://data.lblod.info/id/besturenVanDeEredienst/0277a5125962d8d5f0f00606d200be9a>
|| ?worshipService = <http://data.lblod.info/id/besturenVanDeEredienst/9222f5c5557cb2ca0c07873fbaf02da7>
|| ?worshipService = <http://data.lblod.info/id/besturenVanDeEredienst/8d4c1066736ac9be7886d273b86751b8>
))
}
}

View File

@@ -140,7 +140,7 @@ services:
restart: always
logging: *default-logging
privacy:
image: lblod/privacy-centric-service:0.5.0
image: lblod/privacy-centric-service:0.6.0
labels:
- "logging=true"
environment:
@@ -158,7 +158,7 @@ services:
restart: always
logging: *default-logging
frontend:
image: lblod/frontend-organization-portal:1.8.0
image: lblod/frontend-organization-portal:1.9.0
volumes:
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
environment: