Add migration and instructions to reset kbo sync

This commit is contained in:
Claire Lovisa
2025-04-09 12:40:34 +02:00
parent 539376c47c
commit e9327a4357
3 changed files with 24 additions and 1 deletions

View File

@@ -1,4 +1,13 @@
# Changelog
## Unreleased
### Backend
- Fix KBO statuses not being displayed [OP-3584]
### Deploy Notes
```
drc restart migrations; drc logs -ft --tail=200 migrations
drc up -d kbo-data-sync
drc exec kbo-data-sync curl -X POST http://localhost/sync-all-kbo-data
```
## v1.31.2 (2025-04-02)
### Backend
- Extend the public producer to include: [CLBV-980]

View File

@@ -0,0 +1,14 @@
DELETE {
GRAPH ?g {
?s <http://purl.org/dc/terms/modified> ?modified .
}
} INSERT {
GRAPH ?g {
?s <http://purl.org/dc/terms/modified> "1000-01-01"^^xsd:date .
}
} WHERE {
GRAPH ?g {
?s a <http://mu.semte.ch/vocabularies/ext/KboOrganisatie> ;
<http://purl.org/dc/terms/modified> ?modified .
}
}

View File

@@ -312,7 +312,7 @@ services:
restart: always
logging: *default-logging
kbo-data-sync:
image: lblod/sync-wegwijs-organization-service:2.0.2
image: lblod/sync-wegwijs-organization-service:2.0.2 # TODO bump when https://github.com/lblod/sync-wegwijs-organization-service/pull/9 is released
links:
- db:database
labels: