Merge branch 'chore/move-status-for-municipalities-and-provinces-shared-graph' into development [#519]

This commit is contained in:
mirdono
2025-02-24 14:40:25 +01:00
2 changed files with 37 additions and 1 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## Unreleased
### Frontend
- Bump to version [TODO](Link to frontend release)
### Backend
- Datafix: move status for municipalities and provinces to the `shared` graph such that it can be read by worship users [OP-3469]
### Deploy notes
```
drc restart migrations; drc logs -ft --tail=200 migrations
drc pull frontend; drc up -d frontend
```
## v1.30.1 (2025-02-20)
### Backend
@@ -21,7 +30,6 @@ drc restart migrations
- Remove several OCMW bcsd faciliteitgemeenten [OP-3535]
- Completely remove AGB Stekene's data. [OP-3409]
- Remove reasoner service, replaced by new consumer logic
### Deploy Notes
- Before pulling the changes
+ Shut down the reasoner and thank it for its good service: `drc down reasoner`

View File

@@ -0,0 +1,28 @@
PREFIX regorg: <http://www.w3.org/ns/regorg#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX org: <http://www.w3.org/ns/org#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?organisation regorg:orgStatus ?status.
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/shared> {
?organisation regorg:orgStatus ?status.
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/shared> {
?organisation a besluit:Bestuurseenheid;
org:classification ?class.
FILTER (?class IN
(
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001>, # Municipality
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000000> # Province
)
)
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?organisation regorg:orgStatus ?status.
}
}