From ec5a01cc9c5f7cf1504146f0f9e39e12b03580cf Mon Sep 17 00:00:00 2001 From: Damon Date: Tue, 8 Sep 2026 16:02:46 +0200 Subject: [PATCH] OP-3905: add change event wijzigen werkingsgebied --- CHANGELOG.md | 5 +++-- ...120000-add-werkingsgebied-change-event-type.sparql | 11 +++++++++++ config/resources/change-events.json | 5 +++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 config/migrations/2026/20260908120000-add-werkingsgebied-change-event-type.sparql diff --git a/CHANGELOG.md b/CHANGELOG.md index 8832dea..1be65e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ - IMPORTANT NOTE: Make sure first the loket migration has completed + data has flown from loket to OP - Add missing headers to identifier calls - Add columns to administrative units report [OP-3835] +- Added "Wijziging werkingsgebied" change event [OP-3905] ### Deploy notes ``` @@ -81,9 +82,9 @@ drc restart migrations mandatarissen-consumer ``` ``` -drc restart migrations report-generation +drc restart migrations report-generation resource cache drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/public/healing-jobs -drc up -d construct-organization-relationships +drc up -d construct-organization-relationships frontend ``` ## v1.41.3 diff --git a/config/migrations/2026/20260908120000-add-werkingsgebied-change-event-type.sparql b/config/migrations/2026/20260908120000-add-werkingsgebied-change-event-type.sparql new file mode 100644 index 0000000..54c60d0 --- /dev/null +++ b/config/migrations/2026/20260908120000-add-werkingsgebied-change-event-type.sparql @@ -0,0 +1,11 @@ +INSERT DATA { + GRAPH { + + a ; + "09ec81e1-2d5a-49dd-a4bc-7c2594108b60" ; + "Wijziging werkingsgebied" ; + , + ; + . + } +} diff --git a/config/resources/change-events.json b/config/resources/change-events.json index 134fc96..5c70a6b 100644 --- a/config/resources/change-events.json +++ b/config/resources/change-events.json @@ -72,6 +72,11 @@ "target": "concepts", "cardinality": "one" }, + "resulting-scope": { + "predicate": "code:resulterendWerkingsgebied", + "target": "locations", + "cardinality": "one" + }, "result-from": { "predicate": "code:veranderingsgebeurtenisResultaat", "target": "change-events",