This service polls for signing:PublishedResource, a derived resource from gelinkt-notuleren notulen. The service extracts data and maps it to applicatieprofiel Besluit Publicatie
For debugging:
POST /publish-tasks
: starts publishing tasks# besluit-publicatie-publish-service
besluit-publicatie:
image: lblod/besluit-publicatie-publish-service:z.y.x
environment: #defaults params are shown here
PENDING_TIMEOUT_HOURS: "3"
CACHING_CRON_PATTERN: "0 */5 * * * *"
links:
- virtuoso:database
export default [
{
match: {
// form of element is {subject,predicate,object}
object: { type: "uri", value: "http://mu.semte.ch/vocabularies/ext/signing/PublishedResource" }
},
callback: {
url: "http://besluit-publicatie/publish-tasks", method: "POST"
},
options: {
resourceFormat: "v0.0.1",
gracePeriod: 1000,
ignoreFromSelf: true
}
}
]
Takes a published resource as input, tries to extract data from it. Removes old data. Assummes all snippets contain a zitting and bestuursorgaan.
ext:PublishedResource
Name | Predicate | Range | Definition |
---|---|---|---|
created |
purl:created |
||
number-of-retries |
ext:besluit-publicatie-publish-service/number-of-retries |
||
status |
ext:besluit-publicatie-publish-service/status |
||
content |
sign:text |
The published html snippet |
- some general cleanup/documenting