OP-3844: address review: bump construct-organization-relationships to 1.1.4, cover all org graphs in move, drop Energieholding statements
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
- Inhoudelijk thema [OP-3817]
|
||||
- Werkingsgebied (dct:spatial) for private OCMW associations [OP-3832]
|
||||
- Add organization types "Regionaal zorgplatform" (altLabel "Regionale zorgzone") and residual "Andere" [OP-3844]
|
||||
- Move organizations from "Vereniging algemeen" / "Vennootschap algemeen" / "Energieholdings en -participaties" to "Andere"; delete those codes [OP-3844]
|
||||
- Move organizations from "Vereniging algemeen" / "Vennootschap algemeen" to "Andere"; delete those codes [OP-3844]
|
||||
- Bump construct-organization-relationships [OP-3844]
|
||||
|
||||
### Deploy notes
|
||||
@@ -49,7 +49,8 @@ drc up -d frontend
|
||||
```
|
||||
|
||||
```
|
||||
# requires compose bumps first: construct-organization-relationships 1.1.4, frontend >= 1.40.3
|
||||
# requires: construct-organization-relationships v1.1.4 released (bumped in compose here),
|
||||
# and frontend bumped to the release containing frontend-organization-portal#720
|
||||
drc pull construct-organization-relationships && drc up -d construct-organization-relationships
|
||||
drc restart migrations-triggering-indexing
|
||||
drc up -d frontend
|
||||
|
||||
@@ -2,6 +2,8 @@ PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
|
||||
# All graphs authorized for regorg:RegisteredOrganization (see config/authorization/config.lisp),
|
||||
# so no dangling org:classification survives the code deletion in the next migration.
|
||||
DELETE {
|
||||
GRAPH ?g { ?org org:classification ?legacy . }
|
||||
}
|
||||
@@ -9,28 +11,14 @@ INSERT {
|
||||
GRAPH ?g { ?org org:classification <http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/7a199d27-31c3-44bb-a58f-b3a64673a8b6> . }
|
||||
}
|
||||
WHERE {
|
||||
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?g)
|
||||
VALUES ?g {
|
||||
<http://mu.semte.ch/graphs/administrative-unit>
|
||||
<http://mu.semte.ch/graphs/shared>
|
||||
<http://mu.semte.ch/graphs/worship-service>
|
||||
}
|
||||
VALUES ?legacy {
|
||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/3e5c8e30-95a7-47b0-b0a4-210d5bd440a7>
|
||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/b9ed22af-3661-4c3e-b07f-b641d80ebf61>
|
||||
}
|
||||
GRAPH ?g { ?org org:classification ?legacy . }
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g { ?org org:classification ?legacy . }
|
||||
}
|
||||
INSERT {
|
||||
GRAPH ?g { ?org org:classification <http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/7a199d27-31c3-44bb-a58f-b3a64673a8b6> . }
|
||||
}
|
||||
WHERE {
|
||||
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?g)
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?legacy a ext:OrganizationClassificationCode ;
|
||||
skos:prefLabel ?label .
|
||||
FILTER(REGEX(STR(?label), "^Energieholding", "i"))
|
||||
}
|
||||
GRAPH ?g { ?org org:classification ?legacy . }
|
||||
}
|
||||
|
||||
@@ -11,17 +11,3 @@ WHERE {
|
||||
}
|
||||
GRAPH <http://mu.semte.ch/graphs/public> { ?code ?p ?o . }
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> { ?code ?p ?o . }
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?code a ext:OrganizationClassificationCode ;
|
||||
skos:prefLabel ?label .
|
||||
FILTER(REGEX(STR(?label), "^Energieholding", "i"))
|
||||
?code ?p ?o .
|
||||
}
|
||||
}
|
||||
|
||||
@@ -308,7 +308,7 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
construct-organization-relationships:
|
||||
image: lblod/construct-organization-relationships-service:1.1.3
|
||||
image: lblod/construct-organization-relationships-service:1.1.4
|
||||
links:
|
||||
- db:database
|
||||
labels:
|
||||
|
||||
Reference in New Issue
Block a user