Export products and price info to a CSV-file. Task-based execution, triggered by delta messages. Uses the RPIO Task model.
Based on following SPARQL-query:
pricelist-export-service/pricelist-export.js
Lines 18 to 72 in c39276e
docker-compose.yml
pricelist-export:
image: rollvolet/pricelist-export-service
volumes:
- ./data/files:/share
config/delta/rules.js
{
match: {
predicate: {
type: "uri",
value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
},
object: {
type: "uri",
value: "http://redpencil.data.gift/vocabularies/tasks/Task",
},
},
callback: {
url: "http://pricelist-export/delta",
method: "POST"
},
options: {
resourceFormat: "v0.0.1",
gracePeriod: 500,
ignoreFromSelf: true
}
},