diff --git a/CHANGELOG.md b/CHANGELOG.md index 54deee27..2fbf3deb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,23 @@ # Changelog + ## Unreleased + ### General - - Adjust anomalies in names [DL-6278] - - Submissions cross referencing [DL-5814] - - Add kerkenbeleidsplan form [DL-6235] + +- Adjust anomalies in names [DL-6278] +- Submissions cross referencing [DL-5814] +- Add kerkenbeleidsplan form [DL-6235] +- Erediensten Dispatching from harvester, for OLV Temse [DL-6280] + - Includes 3 migrations and perform a restart such that dispatching is automatically started. ### Deploy notes + #### docker-compose.override.yml + ##### worship-decisions-cross-reference + Ensure the environment variables are correctly set for `worship-decisions-cross-reference`, e.g. : + ``` worship-decisions-cross-reference: environment; @@ -20,9 +29,11 @@ The following links; - PROD: "https://databankerediensten.lokaalbestuur.vlaanderen.be/search/submissions/" #### Docker Commands - - `drc restart migrations && drc logs -ft --tail=200 migrations` - - `drc restart dispatcher resource cache vendor-data-distribution delta-producer-publication-graph-maintainer` - - `drc up -d` + +- `drc restart migrations && drc logs -ft --tail=200 migrations` +- `drc restart dispatcher resource cache vendor-data-distribution delta-producer-publication-graph-maintainer` +- `drc restart dispatcher-worship-mandates` # For "healing" erediensten positions after migrations +- `drc up -d` ## 1.106.0 (2024-11-18) ### General diff --git a/config/migrations/2024/20241121120600-vendor-for-olv-temse/20241121120700-add-vdb-as-vendor.sparql b/config/migrations/2024/20241121120600-vendor-for-olv-temse/20241121120700-add-vdb-as-vendor.sparql new file mode 100644 index 00000000..75ca356e --- /dev/null +++ b/config/migrations/2024/20241121120600-vendor-for-olv-temse/20241121120700-add-vdb-as-vendor.sparql @@ -0,0 +1,8 @@ +PREFIX account: + +INSERT DATA { + GRAPH { + + account:canActOnBehalfOf . + } +} diff --git a/config/migrations/2024/20241121120600-vendor-for-olv-temse/20241121120800-prepare-for-semi-healing-worship-positions.sparql b/config/migrations/2024/20241121120600-vendor-for-olv-temse/20241121120800-prepare-for-semi-healing-worship-positions.sparql new file mode 100644 index 00000000..4113d750 --- /dev/null +++ b/config/migrations/2024/20241121120600-vendor-for-olv-temse/20241121120800-prepare-for-semi-healing-worship-positions.sparql @@ -0,0 +1,15 @@ +DELETE { + GRAPH { + ?s ?p ?o . + } +} +INSERT { + GRAPH { + ?s ?p ?o . + } +} +WHERE { + GRAPH { + ?s ?p ?o . + } +} diff --git a/config/migrations/2024/20241121120600-vendor-for-olv-temse/20241121120900-remove-positions-entered-in-loket.sparql b/config/migrations/2024/20241121120600-vendor-for-olv-temse/20241121120900-remove-positions-entered-in-loket.sparql new file mode 100644 index 00000000..93aa0478 --- /dev/null +++ b/config/migrations/2024/20241121120600-vendor-for-olv-temse/20241121120900-remove-positions-entered-in-loket.sparql @@ -0,0 +1,51 @@ +PREFIX locn: +PREFIX schema: +PREFIX persoon: +PREFIX foaf: +PREFIX skos: +PREFIX rdf: +PREFIX rdfs: +PREFIX org: +PREFIX prov: +PREFIX ere: + +DELETE { + GRAPH ?g { + ?rolbedienaar ?rp ?ro . + ?contact ?cp ?co . + ?address ?ap ?ao . + ?persoon ?pp ?po . + ?geboorte ?gp ?go . + } +} +WHERE { + VALUES ?positie { + + + + + } + VALUES ?g { + + + } + GRAPH ?g { + ?rolbedienaar org:holds ?positie . + FILTER NOT EXISTS { + ?rolbedienaar prov:wasGeneratedBy . + } + ?rolbedienaar ?rp ?ro . + + ?rolbedienaar schema:contactPoint ?contact . + ?contact ?cp ?co . + + ?contact locn:address ?address . + ?address ?ap ?ao . + + ?rolbedienaar org:heldBy ?persoon . + ?persoon ?pp ?po . + + ?persoon persoon:heeftGeboorte ?geboorte . + ?geboorte ?gp ?go . + } +}