From 335a7478e53ddb7dd2e9e4de55e93144d146fe5a Mon Sep 17 00:00:00 2001 From: Robert Zondervan Date: Thu, 13 Feb 2025 14:50:19 +0100 Subject: [PATCH] Add switch for separating vrijeBerichten and ontvangAsynchroon --- .../vrijbrp.zdsToCaseSystem2.action.json | 18 +--------- ....zdsToCaseSystem2VrijeBerichtenaction.json | 35 +++++++++++++++++++ .../caseSystem2VrijeBerichten.source.json | 12 +++++++ 3 files changed, 48 insertions(+), 17 deletions(-) create mode 100644 Installation/Action/vrijbrp.zdsToCaseSystem2VrijeBerichtenaction.json create mode 100644 Installation/Source/caseSystem2VrijeBerichten.source.json diff --git a/Installation/Action/vrijbrp.zdsToCaseSystem2.action.json b/Installation/Action/vrijbrp.zdsToCaseSystem2.action.json index b634156..2c2a4c6 100644 --- a/Installation/Action/vrijbrp.zdsToCaseSystem2.action.json +++ b/Installation/Action/vrijbrp.zdsToCaseSystem2.action.json @@ -2,7 +2,7 @@ "title": "ZdsMessageToSource2", "$id": "https://vrijbrp.nl/action/vrijbrp.zdsToCaseSystem2.action.json", "$schema": "https://docs.commongateway.nl/schemas/Action.schema.json", - "version": "0.0.1", + "version": "0.0.2", "listens": [ "zds.inbound" ], @@ -23,22 +23,6 @@ }, "Liber" ] - }, - { - "==": [ - { - "var": "body.SOAP-ENV:Body.ns2:genereerDocumentIdentificatie_Di02.ns2:stuurgegevens.ns1:ontvanger.ns1:applicatie" - }, - "Liber" - ] - }, - { - "==": [ - { - "var": "body.SOAP-ENV:Body.ns2:genereerZaakIdentificatie_Di02.ns2:stuurgegevens.ns1:ontvanger.ns1:applicatie" - }, - "Liber" - ] } ] }, diff --git a/Installation/Action/vrijbrp.zdsToCaseSystem2VrijeBerichtenaction.json b/Installation/Action/vrijbrp.zdsToCaseSystem2VrijeBerichtenaction.json new file mode 100644 index 0000000..52ef3aa --- /dev/null +++ b/Installation/Action/vrijbrp.zdsToCaseSystem2VrijeBerichtenaction.json @@ -0,0 +1,35 @@ +{ + "title": "ZdsMessageToSource2", + "$id": "https://vrijbrp.nl/action/vrijbrp.zdsToCaseSystem2VrijeBerichten.action.json", + "$schema": "https://docs.commongateway.nl/schemas/Action.schema.json", + "version": "0.0.1", + "listens": [ + "zds.inbound" + ], + "conditions": { + "or": [ + { + "==": [ + { + "var": "body.SOAP-ENV:Body.ns2:genereerDocumentIdentificatie_Di02.ns2:stuurgegevens.ns1:ontvanger.ns1:applicatie" + }, + "Liber" + ] + }, + { + "==": [ + { + "var": "body.SOAP-ENV:Body.ns2:genereerZaakIdentificatie_Di02.ns2:stuurgegevens.ns1:ontvanger.ns1:applicatie" + }, + "Liber" + ] + } + ] + }, + "class": "CommonGateway\\CoreBundle\\ActionHandler\\RequestProxyHandler", + "configuration": { + "source": "https://vrijbrp.nl/source/caseSystem2VrijeBerichten.source.json" + }, + "isLockable": false, + "isEnabled": true +} diff --git a/Installation/Source/caseSystem2VrijeBerichten.source.json b/Installation/Source/caseSystem2VrijeBerichten.source.json new file mode 100644 index 0000000..b88a49e --- /dev/null +++ b/Installation/Source/caseSystem2VrijeBerichten.source.json @@ -0,0 +1,12 @@ +{ + "title": "CaseSystem 2 Vrije Berichten", + "$id": "https://vrijbrp.nl/source/caseSystem2VrijeBerichten.source.json", + "$schema": "https://docs.commongateway.nl/schemas/Gateway.schema.json", + "version": "0.0.1", + "name": "CaseSystem 2 Vrije Berichten", + "location": "", + "auth": "none", + "configuration": { + + } +}