Add option to create migrations triggering index

This commit is contained in:
Claire Lovisa
2023-02-06 14:37:26 +01:00
parent 411d16e33d
commit 0f7313b944
3 changed files with 12 additions and 17 deletions

View File

@@ -48,20 +48,3 @@ DELETE {
}
}
}
# The associated call to trigger a reindex is :
# curl --location --request POST '172.25.0.34/update' \
# --header 'Content-Type: application/vnd.api+json' \
# --data-raw ' [
# {
# "deletes": [
# {
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/besturenVanDeEredienst/578bf96f86056e2260dc21cee91aa519" },
# "predicate": { "type": "uri", "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" },
# "object": { "type": "uri", "value": "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid" }
# }
# ],
# "inserts": []
# }
# ]'

View File

@@ -17,6 +17,8 @@ services:
volumes:
- ./config/dev-migrations:/data/migrations/dev/
restart: "no"
migrations-triggering-indexing:
restart: "no"
resource:
restart: "no"
cache:

View File

@@ -59,6 +59,16 @@ services:
- "logging=true"
restart: always
logging: *default-logging
migrations-triggering-indexing:
image: semtech/mu-migrations-service:0.8.0
links:
- db:database
volumes:
- ./config/migrations-triggering-indexing:/data/migrations
labels:
- "logging=true"
restart: always
logging: *default-logging
resource:
image: semtech/mu-cl-resources:1.21.1
environment: