From a7334e161df865cc2579ee5e57b85d224a3cef2f Mon Sep 17 00:00:00 2001 From: Elena Poelman Date: Mon, 8 May 2023 10:12:56 +0200 Subject: [PATCH] limit pushes to ldes-feed to 3 main graphs --- config/delta/rules.js | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/config/delta/rules.js b/config/delta/rules.js index e262b64..84dbd3c 100644 --- a/config/delta/rules.js +++ b/config/delta/rules.js @@ -200,7 +200,42 @@ export default [ }, { match: { - + graph: { + type: 'uri', + value: 'http://mu.semte.ch/graphs/shared', + } + }, + callback: { + url: 'http://ldes-delta-pusher/publish', + method: 'POST', + }, + options: { + resourceFormat: 'v0.0.1', + gracePeriod: 1000, + } + }, + { + match: { + graph: { + type: 'uri', + value: 'http://mu.semte.ch/graphs/worship-service', + } + }, + callback: { + url: 'http://ldes-delta-pusher/publish', + method: 'POST', + }, + options: { + resourceFormat: 'v0.0.1', + gracePeriod: 1000, + } + }, + { + match: { + graph: { + type: 'uri', + value: 'http://mu.semte.ch/graphs/administrative-unit', + } }, callback: { url: 'http://ldes-delta-pusher/publish',