Compare commits

...

5 Commits

Author SHA1 Message Date
Nordine Bittich
d31267e57b bump release frontend 2022-05-20 13:27:27 +02:00
Nordine Bittich
fee7075e2e Bump frontend 2022-05-20 11:17:57 +02:00
Claire Lovisa
c47d9d84cd Add migration to fix broken link person/mandataris (#150) 2022-05-18 13:22:45 +02:00
Claire Lovisa
f918541fc9 Fix CKB status (#151) 2022-05-18 13:22:38 +02:00
Claire Lovisa
61b5efc0df Add migration to delete some positions (#152) 2022-05-18 13:22:26 +02:00
4 changed files with 114 additions and 1 deletions

View File

@@ -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" }
# }
# ]
# }
# ]'

View File

@@ -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" }
# }
# ]
# }
# ]'

View File

@@ -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>
)
)
}
}

View File

@@ -158,7 +158,7 @@ services:
restart: always
logging: *default-logging
frontend:
image: lblod/frontend-organization-portal:1.8.0-1
image: lblod/frontend-organization-portal:1.8.0
volumes:
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
environment: