Compare commits

...

14 Commits

Author SHA1 Message Date
mirdono
395707593d chore: update changelog 2025-02-28 16:56:23 +01:00
mirdono
853b2ddd85 chore: update changelog with pre-release 2025-02-28 15:06:47 +01:00
mirdono
ee8dbbe72d chore: update changelog 2025-02-26 12:58:00 +01:00
mirdono
9a71662b49 feat: add timed governing bodies for new legislature for AGBs
The governing bodies for an AGB have the same legislature as the corresponding
municipality. This adds new time specialised governing bodies for the
new (current) legislature for Raad van bestuur and Algemene vergadering.
2025-02-26 12:56:26 +01:00
mirdono
c72093ad4b feat: set end date for AGB's governing bodies
The governing bodies for an AGB have the same legislature as the corresponding
municipality. This sets the end date for the existing Raad van bestuur and
Algemene vergadering governing bodies.
2025-02-26 12:52:35 +01:00
cecemel
6adf03a6a2 Merge pull request #518 from lblod/hotfix/vgc-classificatie-code-to-public
Hotfix/vgc classificatie code to public
2025-02-20 16:30:02 +01:00
felix
0b62fca662 Update changelog 2025-02-20 11:58:41 +01:00
felix
ea85a77865 Fix: move bestuursorgaanclassificatiecode to public graph. 2025-02-20 11:55:30 +01:00
mirdono
b45480d594 Merge branch 'master' into development 2025-02-19 19:54:47 +01:00
mirdono
642125be9b chore: release v1.30.0 2025-02-19 19:51:14 +01:00
mirdono
6a6d04ecb6 chore: bump frontend 2025-02-19 19:48:22 +01:00
mirdono
70d3174847 fix: corrected deploy command in changelog 2025-02-18 10:57:13 +01:00
Claire Lovisa
6a231f3ee2 Merge branch 'master' into development 2025-02-17 16:48:23 +01:00
felix
828d90747e Merge branch 'master' into development 2025-02-14 16:48:51 +01:00
5 changed files with 102 additions and 5 deletions

View File

@@ -1,9 +1,29 @@
# Changelog
## Unreleased
## v1.30.0 (prerelease v1.30.0-0: 2025-02-18)
## v1.30.2 (2025-02-28)
### Backend
- Datafix: add new timed governing bodies for new legislature for AGBs [OP-3552]
### Deploy notes
- Restart the migration service
- Start a healing job the public producer, or wait for it to kick in overnight
#### Deploy commands
```
drc restart migrations; drc logs -ft --tail=200 migrations
drc exec delta-producer-background-jobs-initiator curl -X POST http://localhost/public/healing-jobs
```
## v1.30.1 (2025-02-20)
### Backend
- Bestuursorgaanclassificatiecode of VGC was in wrong graph, so it wouldn't export. [DL-6428]
### Deploy notes
```
drc restart migrations
```
## v1.30.0 (2025-02-19)
### Frontend
- Bump to version [v1.29.0](TODO: link to release)
- Bump to version [v1.29.0](https://github.com/lblod/frontend-organization-portal/releases/tag/v1.29.0)
### Backend
- Datafix: delete duplicate identifiers [OP-3157]
- Feature: replace different relations between organisations by memberships [OP-3195 (epic), OP-2606, OP-3156, OP-3198, OP-3199, OP-3258, OP-3259, OP-3260, OP-3265, OP-3293, OP-3305]
@@ -26,7 +46,7 @@
- To enable the membership functionality:
+ Restart migration service
+ Restart services for which the configuration was changed: `resource`, `dispatcher` and `db`
+ Start the `db-cleanup-service`
+ Start the `db-cleanup` service
+ Pull and restart the frontend
+ Perform a re-index using `reset-elastic.sh` script
#### Deploy commands
@@ -36,7 +56,7 @@ drc up -d search
drc restart migrations; drc logs -ft --tail=200 migrations
drc restart migrations-triggering-indexing && drc logs -ft --tail=200 migrations-triggering-indexing
drc restart resource dispatcher db
drc up -d db-cleanup-service
drc up -d db-cleanup
drc pull frontend; drc up -d frontend
./scripts/reset-elastic.sh
```
@@ -104,6 +124,7 @@ Then, update `docker-compose.override.yml` to:
```
drc up -d
sh scripts/reset-elastic.sh
```
## 1.29.0 (2025-02-07)

View File

@@ -0,0 +1,21 @@
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?s ?p ?o
}
}
INSERT {
GRAPH <http://mu.semte.ch/graphs/public> {
?s ?p ?o
}
}
WHERE {
VALUES ?s {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/7148e12a-ae03-4a7b-bb16-7b6269b84175>
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/ff20fa3e-806b-4160-b74b-7483fe3a6ecd>
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?s ?p ?o
}
}

View File

@@ -0,0 +1,23 @@
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedBody mandaat:bindingEinde "2024-12-31"^^xsd:dateTime
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?agb a besluit:Bestuurseenheid;
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/36a82ba0-7ff1-4697-a9dd-2e94df73b721>. # AGB
?body besluit:bestuurt ?agb;
org:classification ?classification.
?timedBody generiek:isTijdspecialisatieVan ?body.
FILTER NOT EXISTS {?timedBody mandaat:bindingEinde ?endDate.}
}
VALUES ?classification {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/b52094ff-21a2-4da8-8dbe-f513365d1528> # Algemene vergadering
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/013cc838-173a-4657-b1ae-b00c048df943> # Raad van bestuur
}
}

View File

@@ -0,0 +1,32 @@
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?timedGoverningBody a besluit:Bestuursorgaan;
mu:uuid ?timedGoverningBodyUuid;
generiek:isTijdspecialisatieVan ?governingBody;
mandaat:bindingStart "2025-01-02"^^xsd:dateTime;
mandaat:bindingEinde "2030-12-31"^^xsd:dateTime.
}
} WHERE {
VALUES ?governingBodyClassification {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/b52094ff-21a2-4da8-8dbe-f513365d1528> # Algemene vergadering
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/013cc838-173a-4657-b1ae-b00c048df943> # Raad van bestuur
}
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?agb a besluit:Bestuurseenheid;
org:classification <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/36a82ba0-7ff1-4697-a9dd-2e94df73b721>; # AGB
mu:uuid ?organizationUuid.
?governingBody besluit:bestuurt ?agb;
org:classification ?governingBodyClassification.
}
BIND(SHA256(CONCAT(STR(?governingBodyClassification), " 2025 ", STR(?governingBody), STR(?organizationUuid))) AS ?timedGoverningBodyUuid)
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", STR(?timedGoverningBodyUuid))) AS ?timedGoverningBody)
}

View File

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