Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aac4410c2f | ||
|
|
c7e06f2bf5 | ||
|
|
486ccadcfa | ||
|
|
65edb1b2b0 | ||
|
|
3024940172 | ||
|
|
4ede122678 | ||
|
|
e7fd43c0c3 | ||
|
|
eb10f5897d |
32
CHANGELOG.md
32
CHANGELOG.md
@@ -24,6 +24,38 @@ drc restart migrations search
|
||||
drc up -d frontend
|
||||
```
|
||||
|
||||
## v1.41.4
|
||||
- Fix broken lmb mandataris mappin query [OP-3867]
|
||||
|
||||
### Deploy notes
|
||||
```
|
||||
drc restart migrations mandatarissen-consumer
|
||||
|
||||
```
|
||||
|
||||
## v1.41.3
|
||||
- Fix betrokken lokale besturen links via migration [OP-3882]
|
||||
|
||||
### Deploy notes
|
||||
```
|
||||
drc restart migrations
|
||||
drc restart cache resource
|
||||
```
|
||||
|
||||
## v1.41.2
|
||||
- Fix betrokken lokale besturen links via migration [OP-3877]
|
||||
- Add timeout to producer jobs to prevent them staying stuck forever [OP-3815]
|
||||
|
||||
### Deploy notes
|
||||
In the docker-compose.override.yml, on PROD only, set the `error-alert` environment variable `EMAIL_TO:` to `support+lblod@redpencil.io`.
|
||||
|
||||
Then:
|
||||
```
|
||||
drc up -d error-alert delta-producer-background-jobs-initiator
|
||||
drc restart migrations
|
||||
drc restart cache resource
|
||||
```
|
||||
|
||||
## v1.41.1
|
||||
- Added service to link addresses to addressregister uris [OP-3795]
|
||||
- Site type changes [OP-3818]
|
||||
|
||||
@@ -8,10 +8,10 @@ CONSTRUCT {
|
||||
?p ?o.
|
||||
|
||||
?orgaanInTime <http://www.w3.org/ns/org#hasPost> ?mandate ;
|
||||
<http://data.vlaanderen.be/ns/mandaat#isTijdspecialisatieVan> ?orgaan .
|
||||
<https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?orgaan .
|
||||
|
||||
?orgaan <http://data.vlaanderen.be/ns/besluit#bestuurt> ?bestuur .
|
||||
?bestuur <http://data.vlaanderen.be/ns/besluit#classificatie> ?classification .
|
||||
?bestuur <http://www.w3.org/ns/org#classification> ?classification .
|
||||
|
||||
|
||||
FILTER(?classification IN (
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>
|
||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?s ?p ?o.
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/landing-zone/mandatarissen> {
|
||||
?s a mandaat:Mandataris;
|
||||
org:holds ?mandate;
|
||||
?p ?o.
|
||||
}
|
||||
|
||||
?orgaanInTime org:hasPost ?mandate ;
|
||||
generiek:isTijdspecialisatieVan ?orgaan .
|
||||
|
||||
?orgaan besluit:bestuurt ?bestuur .
|
||||
?bestuur org:classification ?classification .
|
||||
|
||||
FILTER(?classification IN (
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000000>,
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000001>,
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000002>,
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/5ab0e9b8a3b2ca7c5e000003>
|
||||
))
|
||||
|
||||
FILTER (?p NOT IN (mandaat:start, mandaat:einde))
|
||||
|
||||
FILTER NOT EXISTS {
|
||||
?s ?p "" .
|
||||
}
|
||||
|
||||
FILTER NOT EXISTS {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> { ?s org:holds ?mandate }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?bestuur ere:betrokkenBestuur ?betrokkenLokaleBesturen .
|
||||
?betrokkenLokaleBesturen ?p ?o .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
VALUES ?betrokkenLokaleBesturen {
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6363D5718DE5818A7C9F4402>
|
||||
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A462F3FDD4B9E78BCCD458F>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A462F3FDD4B9E78BCCD4590>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A462F3FDD4B9E78BCCD458E>
|
||||
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A439361>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A43935D>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A43935F>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A439364>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A439366>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A439367>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A43936A>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A439369>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A43936B>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A43936D>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A43936C>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A439368>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A439360>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A439365>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A43935E>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A439362>
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/6A71F922F541BB824A439363>
|
||||
}
|
||||
|
||||
?bestuur ere:betrokkenBestuur ?betrokkenLokaleBesturen .
|
||||
?betrokkenLokaleBesturen ?p ?o .
|
||||
}
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?bestuur ere:betrokkenBestuur ?betrokkenLokaleBesturen .
|
||||
?betrokkenLokaleBesturen ?p ?o .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
VALUES ?worshipService {
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/6371F8418DE5818A7C9F44A5>
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/65F5B3BEE77A4F2289F6B64C>
|
||||
}
|
||||
|
||||
?bestuur ere:betrokkenBestuur ?betrokkenLokaleBesturen .
|
||||
?betrokkenLokaleBesturen ere:typebetrokkenheid <http://lblod.data.gift/concepts/0f845f00ee76099c89518cbaf6a7b77f> ;
|
||||
org:organization ?worshipService ;
|
||||
?p ?o .
|
||||
}
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
<http://data.lblod.info/id/bestuurseenheden/be278471a2a318edba32e7ac4294c0eafbe4c8077a34dcbb9c2e43211d4a78a6>
|
||||
ere:betrokkenBestuur <http://data.lblod.info/id/betrokkenLokaleBesturen/c663fdc9-642a-44c0-ac41-18e0ba047a9c> .
|
||||
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/c663fdc9-642a-44c0-ac41-18e0ba047a9c>
|
||||
a ere:BetrokkenLokaleBesturen ;
|
||||
mu:uuid "c663fdc9-642a-44c0-ac41-18e0ba047a9c" ;
|
||||
ere:financieringspercentage "0"^^xsd:integer ;
|
||||
ere:typebetrokkenheid <http://lblod.data.gift/concepts/0f845f00ee76099c89518cbaf6a7b77f> ;
|
||||
org:organization <http://data.lblod.info/id/besturenVanDeEredienst/65F5B3BEE77A4F2289F6B64C> .
|
||||
}
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
<http://data.lblod.info/id/bestuurseenheden/298b13541e1e85de4b71535197aa1f3bbc4bdb67f0fe0f58ab4a7dc207af61fa>
|
||||
ere:betrokkenBestuur <http://data.lblod.info/id/betrokkenLokaleBesturen/a26b6366-982a-40e1-aafe-eea7ade5865e> .
|
||||
|
||||
<http://data.lblod.info/id/betrokkenLokaleBesturen/a26b6366-982a-40e1-aafe-eea7ade5865e>
|
||||
a ere:BetrokkenLokaleBesturen ;
|
||||
mu:uuid "a26b6366-982a-40e1-aafe-eea7ade5865e" ;
|
||||
ere:financieringspercentage "0"^^xsd:integer ;
|
||||
ere:typebetrokkenheid <http://lblod.data.gift/concepts/86fcbbbff764f1cba4c7e10dbbae578e> ;
|
||||
org:organization <http://data.lblod.info/id/besturenVanDeEredienst/6874B0FE8806FCC9C1BBF1C3> .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?bestuur ere:betrokkenBestuur ?betrokkenLokaleBesturen .
|
||||
?betrokkenLokaleBesturen ?p ?o .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
VALUES ?worshipService {
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/6A5624A4174153E0CE6F0423>
|
||||
}
|
||||
|
||||
?bestuur ere:betrokkenBestuur ?betrokkenLokaleBesturen .
|
||||
?betrokkenLokaleBesturen ere:typebetrokkenheid <http://lblod.data.gift/concepts/0f845f00ee76099c89518cbaf6a7b77f> ;
|
||||
org:organization ?worshipService ;
|
||||
?p ?o .
|
||||
|
||||
FILTER (?bestuur != <http://data.lblod.info/id/bestuurseenheden/670db1d66c0de3b931962e1044033ccfa9d6e3023aa9828a5f252c3bc69bd32c>)
|
||||
}
|
||||
}
|
||||
@@ -394,6 +394,8 @@ services:
|
||||
image: lblod/delta-producer-background-jobs-initiator:1.0.1
|
||||
volumes:
|
||||
- ./config/delta-producer/background-job-initiator:/config
|
||||
environment:
|
||||
JOB_TIMEOUT_MINUTES: 1380 # 23h
|
||||
links:
|
||||
- db:database
|
||||
labels:
|
||||
|
||||
Reference in New Issue
Block a user