From 54f20942ea168e1a4e71845082740506338771dd Mon Sep 17 00:00:00 2001 From: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue, 16 Jul 2024 08:32:42 +0000 Subject: [PATCH 01/12] chore(patch): release 1.19.16 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.19.16](https://github.com/wearefrank/zaakbrug/compare/v1.19.15...v1.19.16) (2024-07-16) ### 🐛 Bug Fixes * defaultProfile not being used when there is no zaaktype specific translation profile configured ([#402](https://github.com/wearefrank/zaakbrug/issues/402)) ([179c468](https://github.com/wearefrank/zaakbrug/commit/179c468b3f8b77e065e06c36a98ed1204281fbc0)) * updateZaak incorrectly distinguishes roles due to 'authentiek' dataloss in translation resulting in attempt to add as new role ([#418](https://github.com/wearefrank/zaakbrug/issues/418)) ([266d9ca](https://github.com/wearefrank/zaakbrug/commit/266d9ca47483353291dd1653699f55343c1279a4)) ### 🤖 Build System * **dependencies:** bump the github-actions group across 1 directory with 3 updates ([#422](https://github.com/wearefrank/zaakbrug/issues/422)) ([77ed198](https://github.com/wearefrank/zaakbrug/commit/77ed198e34ef9bca04a7606cca8f74926f575747)) --- CHANGELOG.md | 11 +++++++++++ src/main/resources/BuildInfo.properties | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a01f73ea..751040e9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ [![conventional commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg)](https://conventionalcommits.org) [![semantic versioning](https://img.shields.io/badge/semantic%20versioning-2.0.0-green.svg)](https://semver.org) +## [1.19.16](https://github.com/wearefrank/zaakbrug/compare/v1.19.15...v1.19.16) (2024-07-16) + +### 🐛 Bug Fixes + +* defaultProfile not being used when there is no zaaktype specific translation profile configured ([#402](https://github.com/wearefrank/zaakbrug/issues/402)) ([179c468](https://github.com/wearefrank/zaakbrug/commit/179c468b3f8b77e065e06c36a98ed1204281fbc0)) +* updateZaak incorrectly distinguishes roles due to 'authentiek' dataloss in translation resulting in attempt to add as new role ([#418](https://github.com/wearefrank/zaakbrug/issues/418)) ([266d9ca](https://github.com/wearefrank/zaakbrug/commit/266d9ca47483353291dd1653699f55343c1279a4)) + +### 🤖 Build System + +* **dependencies:** bump the github-actions group across 1 directory with 3 updates ([#422](https://github.com/wearefrank/zaakbrug/issues/422)) ([77ed198](https://github.com/wearefrank/zaakbrug/commit/77ed198e34ef9bca04a7606cca8f74926f575747)) + ## [1.19.15](https://github.com/wearefrank/zaakbrug/compare/v1.19.14...v1.19.15) (2024-07-10) ### 🐛 Bug Fixes diff --git a/src/main/resources/BuildInfo.properties b/src/main/resources/BuildInfo.properties index a243397a6..97e348e74 100644 --- a/src/main/resources/BuildInfo.properties +++ b/src/main/resources/BuildInfo.properties @@ -1,2 +1,2 @@ -instance.version=1.19.15 -versionDate_ddmmyyyy=10/07/2024 +instance.version=1.19.16 +versionDate_ddmmyyyy=16/07/2024 From 1110d72efd1f5c2c8c880042dadb314479625c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Meri=C3=A7=20Akg=C3=BCl?= <39882155+mericakgul@users.noreply.github.com> Date: Wed, 17 Jul 2024 12:36:06 +0200 Subject: [PATCH 02/12] feat: new case closing behavior that skips an endstatus in actualiseerZaakStatus so that a following updateZaak can close the case by setting the enddate (#424) * fix: do not close a zaak with actualiseerZaakStatus message if ignoreEindStatusInActualiseerZaakStatus in translation profile is set true * update readme file related to configurable zaak closure for actualiseerZaakStatus message * update xslt file to cover different scenarios of translation profile * add test zaaktypes for IEIAZS * test: additional case closing testcases for different scenario's surrounding ignoreEindStatusInActualiseerZaakStatus --------- Co-authored-by: Meric Akgul <meric@wearefrank.nl> Co-authored-by: MLenterman <marcellenterman@hotmail.com> --- README.md | 83 +- e2e/SoapUI/zaakbrug-e2e-soapui-project.xml | 3126 +++++++++++++++++ ...liseerZaakStatusFromTranslationProfile.xsl | 35 + .../Configuration_ActualiseerZaakStatus.xml | 1 + .../Configuration_SetResultaatAndStatus.xml | 4 + ...n_SoapEndpointRouter_OntvangAsynchroon.xml | 1 + .../Translate/Configuration_ZdsHeeft.xml | 39 +- .../configurations/Translate/Profiles.json | 28 + 8 files changed, 3311 insertions(+), 6 deletions(-) create mode 100644 src/main/configurations/Translate/Common/xsl/GetIgnoreEindStatusInActualiseerZaakStatusFromTranslationProfile.xsl diff --git a/README.md b/README.md index f48b8c9a2..78f5e591f 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ The syntax for variable substitution is as follows {[variable-name][:formatting- ## Translation Profiles -### Closing zaak +### Closing zaak with updateZaak message Closing a zaak' refers to the action of setting the EindStatus (Last Status) to the zaak itself. EindStatus refers to a status created with a Status Type where the 'isEindStatus' field is set to true. When a zaak has such EindStatus then it means the zaak is closed. To be able to close a zaak, the zaak must have a Resultaat(Result) value as well. In case the zaak doesn't have a Resultaat value, then one of the dummy values in Profile.json file (if exists) will be used as explained below. @@ -59,15 +59,90 @@ There are three ways of closing a zaak. 1) Setting EindDatum (End Date) When EindDatum field is set in updateZaak message and if the zaak already has a Resultaat then EindStatus (Last Status) is automatically set to the zaak so the zaak is closed. -However, if the zaak doesn't have a Resultaat when EindDatum field is set, then a Resultaat with the dummy value under 'endCaseEndDate' in Profile.json file is set to zaak. After that, EindStatus is automatically set to the zaak so the zaak is closed. 'endCaseEndDate' should be under the 'zaakTypeIdentificatie' which is the Zaaktype of the zaak. +However, if the zaak doesn't have a Resultaat when EindDatum field is set, then a Resultaat with the dummy value under 'endCaseEndDate' in Profile.json file (translation profile) is set to zaak. After that, EindStatus is automatically set to the zaak so the zaak is closed. 'endCaseEndDate' property should be at the same level of the 'zaakTypeIdentificatie' property which is the Zaaktype of the zaak in the profile so that it could be fetched by using the 'zaakTypeIdentificatie' from Profile.json file. 2) Setting EindStatus(LastStatus) There is no specifically EindStatus field in updateZaak (or any other) message. However, the fields under 'Heeft' element in updateZaak message are used to create an EindStatus. When an updateZaak message is sent and if the 'Heeft' element has the required fields and if the zaak has a Resultaat, then EindStatus is created and set to the Zaak so the zaak is closed. -In case the zaak doesn't have a Resultaat, the dummy value under 'endDateAndResultLastStatus' in Profile.json file is used to create one. 'endDateAndResultLastStatus' should be under the 'zaakTypeIdentificatie' which is the Zaaktype of the zaak. +In case the zaak doesn't have a Resultaat, the dummy value under 'endDateAndResultLastStatus' in Profile.json file is used to create one. 'endDateAndResultLastStatus' property should be at the same level of the 'zaakTypeIdentificatie' property which is the Zaaktype of the zaak in the profile so that it could be fetched by using the 'zaakTypeIdentificatie' from Profile.json file. 3) Setting both EindDatum (End Date) and EindStatus(Last Status) In case of having both EindDatum and EindStatus(meaning having required fields under 'Heeft' element) in updateZaak message, first EindStatus path is used to close a zaak. If Zaak doesn't have a Resultaat and if there is no dummy value under 'endDateAndResultLastStatus' in Profile.json then EindDatum path is used to close the zaak. +### Closing zaak with actualiseerZaakStatus message (Configurable) +A zaak can also be closed with actualiseerZaakStatus message with eindStatus in it unless the `ignoreEindStatusInActualiseerZaakStatus` property is set true in profiles.json file (translation profile). + +As default the property is falsy so a zaak can be close by actualiseerZaakStatus. If ignoring the eindStatus in actualiseerZaakStatus message is wanted, then add the property `ignoreEindStatusInActualiseerZaakStatus` with value "true" into the `profileDefaults` section in profiles.json file. Then zaak closure with actualiseerZaakStatus message will not be allowed for any zaaktype. + +It is also possible to add `ignoreEindStatusInActualiseerZaakStatus` property to a specific zaaktype as well if different behaviour is desired. + +If a zaaktype is not listed in profiles or the profile of a specific zaaktype doesn't have the `ignoreEindStatusInActualiseerZaakStatus` property, then always the one in `profileDefaults` section is used. If `ignoreEindStatusInActualiseerZaakStatus` is not set at all in any section of profile.json file, then it will be counted as false so zaak closure with actualiseerZaakStatus message will be allowed. + +Example configuration: +```json +{ + "profileDefaults": { + "ignoreEindStatusInActualiseerZaakStatus": "true" + }, + "profile": [ + { + "zaakTypeIdentificatie": "B9999", + "endCaseEndDate": { + "coalesceResultaat": "Onbekend" + }, + "endDateAndResultLastStatus": { + "coalesceResultaat": "Onbekend" + } + }, + { + "zaakTypeIdentificatie": "B1210", + "ignoreEindStatusInActualiseerZaakStatus": "false", + "endDateAndResultLastStatus": { + "coalesceResultaat":"Vergunningvrij" + } + }, + { + "zaakTypeIdentificatie": "B1026", + "endCaseEndDate": { + "coalesceResultaat": "Toegekend" + } + } + ] +} +``` + +Will result in: +```json +{ + "profile": [ + { + "zaakTypeIdentificatie": "B9999", + "ignoreEindStatusInActualiseerZaakStatus": "true", + "endCaseEndDate": { + "coalesceResultaat": "Onbekend" + }, + "endDateAndResultLastStatus": { + "coalesceResultaat": "Onbekend" + } + }, + { + "zaakTypeIdentificatie": "B1210", + "ignoreEindStatusInActualiseerZaakStatus": "false", + "endDateAndResultLastStatus": { + "coalesceResultaat":"Vergunningvrij" + } + }, + { + "zaakTypeIdentificatie": "B1026", + "ignoreEindStatusInActualiseerZaakStatus": "true", + "endCaseEndDate": { + "coalesceResultaat": "Toegekend" + } + } + ] +} +``` + + ### Profile Defaults Profile defaults can be used to configure common translation profile settings. The settings configured in the `profileDefaults` section are applied to **all** zaaktypen. When a regular translation profile for a specific zaaktype is also configured, the settings are merged together. The more specific per zaaktype translation profile will always override any overlapping settings from the `profileDefaults` section. Items in array's like `valuesOverrides` will be combined instead, unless there is an overlapping key. Here the more specific per zaaktype translation profile will also always override any overlapping keys from the ones in the `profileDefaults` section. @@ -191,4 +266,4 @@ Currently this feature implemented for: 1. Navigate to "docusaurus" subfolder with `cd ./docusaurus`. 2. Install dependencies with `npm install`. 3. Serve Docusaurus webserver locally with `docusaurus start`. By default it is served at `http://localhost:3000/`. -4. Basic guide on how to use Docusaurus and a styleguide can be found at `./docusaurus/docs/_README.md`. +4. Basic guide on how to use Docusaurus and a styleguide can be found at `./docusaurus/docs/_README.md`. \ No newline at end of file diff --git a/e2e/SoapUI/zaakbrug-e2e-soapui-project.xml b/e2e/SoapUI/zaakbrug-e2e-soapui-project.xml index af36f4f11..0be88844c 100644 --- a/e2e/SoapUI/zaakbrug-e2e-soapui-project.xml +++ b/e2e/SoapUI/zaakbrug-e2e-soapui-project.xml @@ -47430,6 +47430,3124 @@ testRunner.testCase.getTestStepByName("Properties").setPropertyValue( 'JwtToken' </con:testStep> <con:properties/> </con:testCase> + <con:testCase id="e1b598ea-ab0c-4656-a9e4-a8c5085e9b6a" failOnError="false" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="SetUp-IEIAZS" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword=""> + <con:settings/> + <con:testStep type="properties" name="Properties" id="ddeabf8f-9cd1-459c-9d1b-0e3b9f76b728"> + <con:settings/> + <con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:properties> + <con:property> + <con:name>CatalogusCount</con:name> + <con:value/> + </con:property> + <con:property> + <con:name>JwtToken</con:name> + <con:value/> + </con:property> + </con:properties> + </con:config> + </con:testStep> + <con:testStep type="groovy" name="00-zgw-generateJwt" id="0463215b-4203-41dc-9ec5-cc525609db25"> + <con:settings/> + <con:config> + <script>import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URI; +import java.net.URISyntaxException; +import org.apache.http.HttpEntity; +import org.apache.http.HttpResponse; +import org.apache.http.ParseException; +import org.apache.http.client.ClientProtocolException; +import org.apache.http.client.HttpClient; +import org.apache.http.client.methods.HttpGet; +import org.apache.http.entity.StringEntity; +import org.apache.http.impl.client.DefaultHttpClient; +import org.apache.http.util.EntityUtils; +import groovy.json.JsonOutput +import groovy.json.JsonSlurper +import javax.crypto.spec.SecretKeySpec +import javax.crypto.Mac +import java.time.Duration + +def jwtClientId = context.expand( '${#Project#jwtClientId}' ) +def jwtSecret = context.expand( '${#Project#jwtSecret}' ) + +def createJwt(Integer validSeconds, String clientId, String secret) { + TimeZone.setDefault(TimeZone.getTimeZone('UTC')) + def rightNowMilli = System.currentTimeMillis() + def rightNowSec = Math.round(rightNowMilli / 1000) + def expirationSec = rightNowSec + validSeconds + def jtiValue = UUID.randomUUID().toString() + + Map header = [alg: "HS256", typ: "JWT"] + def headerJson = JsonOutput.toJson(header) + def headerBase64 = headerJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + Map payload = [exp: expirationSec, iat: rightNowSec, iss: clientId, client_id: clientId, user_id: clientId, user_reresentation: clientId, jti: jtiValue] + def payloadJson = JsonOutput.toJson(payload) + def payloadBase64 = payloadJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + def toBeSigned = headerBase64 + "." + payloadBase64 + SecretKeySpec secretKeySpec = new SecretKeySpec(secret.getBytes("UTF-8"), "HmacSHA256") + + Mac mac = Mac.getInstance("HmacSHA256") + mac.init(secretKeySpec) + byte[] digest = mac.doFinal(toBeSigned.getBytes("UTF-8")) + def signature = digest.encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + headerBase64 + "." + payloadBase64 + "." + signature +} + +// Create the JWT. +def token = createJwt(600, jwtClientId, jwtSecret) +testRunner.testCase.getTestStepByName("Properties").setPropertyValue( 'JwtToken', "Bearer " + token)</script> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="01-zgw-getCatalogus" id="72a3d191-fe4a-4377-9289-24aefac3c3e6"> + <con:settings/> + <con:config service="Catalogi API" methodName="catalogus_list" resourcePath="/catalogussen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="01-zgw-getCatalogus" id="55c67fbc-e61f-456f-a202-69afc75b8b0b" mediaType="application/json"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request/> + <con:originalUri>http://localhost/catalogi/api/v1/catalogussen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="beb44b4d-8b6f-4654-87e1-2ac1760cc886" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters/> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="02-TransferCatalogusCount" id="27d79dc0-9be0-400d-a111-f0537358c259"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"> + <con:name>TransferCatalogusCount</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>01-zgw-getCatalogus</con:sourceStep> + <con:sourcePath>$.count</con:sourcePath> + <con:targetType>CatalogusCount</con:targetType> + <con:targetStep>Properties</con:targetStep> + <con:type>JSONPATH</con:type> + <con:targetTransferType>JSONPATH</con:targetTransferType> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="goto" name="03-CheckIfCatalogusExists" id="59aaafe6-9505-49ac-be60-9b85346bd64c"> + <con:settings/> + <con:config xsi:type="con:GotoStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:condition> + <con:name>IsThereCatalogus</con:name> + <con:type>XPATH</con:type> + <con:expression>${Properties#CatalogusCount} = 1</con:expression> + <con:targetStep>04b-TransferExistingCatalogusUrl</con:targetStep> + </con:condition> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="04_a1-zgw-postCatalogus" id="417cb072-f383-43ba-bd19-a6cfde36a8a1"> + <con:settings/> + <con:config service="Catalogi API" methodName="catalogus_create" resourcePath="/catalogussen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="04_a1-zgw-postCatalogus" id="f68c4a0d-caa2-4caf-a807-ff6d11e53694" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ + "domein": "ETESD", + "rsin": "548746485", + "contactpersoonBeheerNaam": "Marcel Lenterman", + "contactpersoonBeheerTelefoonnummer": "0636392161", + "contactpersoonBeheerEmailadres": "marcel@wearefrank.nl" +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/catalogussen/catalogussen</con:originalUri> + <con:assertion type="JsonPath Match" id="6af7fd0b-26ea-431f-811f-6b561a37d8f3" name="JsonPath Match"> + <con:configuration> + <path>$.domein</path> + <content>ETESD</content> + <allowWildcards>false</allowWildcards> + <ignoreNamspaceDifferences>false</ignoreNamspaceDifferences> + <ignoreComments>false</ignoreComments> + </con:configuration> + </con:assertion> + <con:credentials> + <con:username>1</con:username> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="04_a2-TransferCatalogusUrl" id="c0227140-89c8-4d86-a5cc-06129ba07532"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"> + <con:name>TransferCatalogusUrl</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>04_a1-zgw-postCatalogus</con:sourceStep> + <con:sourcePath>$.url</con:sourcePath> + <con:targetType>CatalogusUrl</con:targetType> + <con:targetStep>#TestSuite#</con:targetStep> + <con:type>JSONPATH</con:type> + <con:targetTransferType>JSONPATH</con:targetTransferType> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="goto" name="04_a3-CheckIfCatalogusUrlTransferred" id="600dea54-ae5a-4903-97ae-53dde70cda47"> + <con:settings/> + <con:config xsi:type="con:GotoStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:condition> + <con:name>IsCatalogusUrlTransferred</con:name> + <con:type>XPATH</con:type> + <con:expression>${Properties#CatalogusCount} = 0</con:expression> + <con:targetStep>05-zgw-postZaakType</con:targetStep> + </con:condition> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="04b-TransferExistingCatalogusUrl" id="52623971-dd77-421b-bfae-18ab8092bd88"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"> + <con:name>TransferExistingCatalogusUrl</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>01-zgw-getCatalogus</con:sourceStep> + <con:sourcePath>$.results[0].url</con:sourcePath> + <con:targetType>CatalogusUrl</con:targetType> + <con:targetStep>#TestSuite#</con:targetStep> + <con:type>JSONPATH</con:type> + <con:targetTransferType>JSONPATH</con:targetTransferType> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="05-zgw-postZaakType" id="33205d09-054d-46be-8a69-327a2a64af3b"> + <con:settings/> + <con:config service="Catalogi API" methodName="zaaktype_create" resourcePath="/zaaktypen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="05-zgw-postZaakType" id="f6b24329-ce75-4920-ae18-3867ca60a1e8" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ + "identificatie": "IEIAZS", + "omschrijving": "IEIAZS", + "omschrijvingGeneriek": "Rijbewijs", + "vertrouwelijkheidaanduiding": "vertrouwelijk", + "doel": "Het behandelen van een aanvraag voor een rijbewijs", + "aanleiding": "Dit werkproces wordt extern getriggerd door een inkomende aanvraag.", + "toelichting": "NVVB-benaming 'Rijbewijzen'. Dit werkproces betreft het behandelen van een aanvraag voor een rijbewijs. 'NRD' staat voor Nieuw Rijbewijs Document en dit rijbewijs heeft een creditcardformaat.", + "indicatieInternOfExtern": "extern", + "handelingInitiator": "Aanvragen", + "onderwerp": "Rijbewijs", + "handelingBehandelaar": "Behandelen", + "doorlooptijd": "P28D", + "servicenorm": null, + "opschortingEnAanhoudingMogelijk": true, + "verlengingMogelijk": false, + "verlengingstermijn": null, + "trefwoorden": ["Rijbewijs"], + "publicatieIndicatie": false, + "publicatietekst": "", + "verantwoordingsrelatie": [], + "productenOfDiensten": [ + "https://referentielijsten-api.vng.cloud/api/v1/procestypen/3b29996b-bc3a-4493-ae35-e0de2926f007" + ], + "selectielijstProcestype": "https://selectielijst.openzaak.nl/api/v1/procestypen/0f86ece3-f863-4c67-928e-cc71ad0e2318", + "referentieproces": { + "naam": "Behandelen aanvraag product", + "link": "https://www.gemmaonline.nl/index.php/GEMMA2/0.9/id-49fe8555-b001-4c86-9a81-20491e16af75" + }, + "verantwoordelijke": "Projectleider", + "catalogus": "${#TestSuite#CatalogusUrl}", + "besluittypen": [], + "deelzaaktypen": [], + "gerelateerdeZaaktypen": [], + "beginGeldigheid": "2021-04-03", + "eindeGeldigheid": null, + "versiedatum": "2021-04-03" +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/zaaktypen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="ef9a828f-68b5-41bf-8043-e1fa80162fb8" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="06-TransferZaakTypeUrl" id="53fb880d-27cf-4fc6-92d4-99a5ce7bd27b"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"> + <con:name>TransferZaakTypeUrl</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>05-zgw-postZaakType</con:sourceStep> + <con:sourcePath>$.url</con:sourcePath> + <con:targetType>IEIAZSUrl</con:targetType> + <con:targetStep>#TestSuite#</con:targetStep> + <con:type>JSONPATH</con:type> + <con:targetTransferType>JSONPATH</con:targetTransferType> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="07-zgw-postResultaatType1" id="26c4622c-eb75-4f75-a8db-300bcf981e28"> + <con:settings/> + <con:config service="Catalogi API" methodName="resultaattype_create" resourcePath="/resultaattypen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="07-zgw-postResultaatType1" id="22828885-d47b-49f8-bcb9-94131c4877f1" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ +"zaaktype": "${#TestSuite#IEIAZSUrl}", +"omschrijving": "Gave a thing", +"resultaattypeomschrijving": "https://selectielijst.openzaak.nl/api/v1/resultaattypeomschrijvingen/ce8cf476-0b59-496f-8eee-957a7c6e2506", +"selectielijstklasse": "https://selectielijst.openzaak.nl/api/v1/resultaten/733f7553-fb30-4e68-8aa6-2d211de84fb7", +"toelichting": "", +"archiefnominatie": "vernietigen", +"archiefactietermijn": "P365D", +"brondatumArchiefprocedure": { +"afleidingswijze": "afgehandeld", +"datumkenmerk": "", +"einddatumBekend": false, +"objecttype": "", +"registratie": "", +"procestermijn": null +} +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/resultaattypen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="1b675bfe-ef8a-478e-9f10-5d9a9dc0c13f" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="12-zgw-postRolType1" id="cd54d71c-80fd-4baf-9157-f651f2c62661"> + <con:settings/> + <con:config service="Catalogi API" methodName="roltype_create" resourcePath="/roltypen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="12-zgw-postRolType1" id="22828885-d47b-49f8-bcb9-94131c4877f1" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ +"zaaktype": "${#TestSuite#IEIAZSUrl}", +"omschrijving": "Uitvoerende", +"omschrijvingGeneriek": "behandelaar" +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/resultaattypen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="171bb052-edf7-4434-a58b-c86f94106c12" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="13-zgw-postRolType2" id="44c3fc35-c140-4d92-9237-9a8183d8f012"> + <con:settings/> + <con:config service="Catalogi API" methodName="roltype_create" resourcePath="/roltypen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="13-zgw-postRolType2" id="22828885-d47b-49f8-bcb9-94131c4877f1" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ +"zaaktype": "${#TestSuite#IEIAZSUrl}", +"omschrijving": "Initiator", +"omschrijvingGeneriek": "initiator" +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/resultaattypen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="89689a44-4074-46cd-b505-019422b79bce" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="14-zgw-postStatusType1" id="434aaa9b-090e-41a8-a1c8-b2899eb60a5a"> + <con:settings/> + <con:config service="Catalogi API" methodName="statustype_create" resourcePath="/statustypen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="14-zgw-postStatusType1" id="14a23733-5542-4db7-abd0-035ce3b7464e" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ +"omschrijving": "Started", +"omschrijvingGeneriek": "Started", +"statustekst": "", +"zaaktype": "${#TestSuite#IEIAZSUrl}", +"volgnummer": 1, +"informeren": false +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/statustypen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="7eaa2aee-be5a-43ba-bda5-f5902e6e94f4" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="15-zgw-postStatusType2" id="5f816e97-3dd7-426b-810e-ccb71a0c822c"> + <con:settings/> + <con:config service="Catalogi API" methodName="statustype_create" resourcePath="/statustypen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="15-zgw-postStatusType2" id="14a23733-5542-4db7-abd0-035ce3b7464e" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ +"omschrijving": "Ended", +"omschrijvingGeneriek": "Ended", +"statustekst": "", +"zaaktype": "${#TestSuite#IEIAZSUrl}", +"volgnummer": 2, +"informeren": false +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/statustypen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="6f05a30b-deff-44cf-99b3-11290c74f71a" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="httprequest" name="22-zgw-publiceerZaakType" id="4aafee15-dbac-4e4d-93e5-d21a7fd77817"> + <con:settings/> + <con:config method="POST" xsi:type="con:HttpRequest" id="22808fb7-c69f-4c7f-b9be-f07422340e76" name="22-zgw-publiceerZaakType" postQueryString="false" mediaType="application/xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:endpoint>${#TestSuite#IEIAZSUrl}/publish</con:endpoint> + <con:request/> + <con:assertion type="Valid HTTP Status Codes" id="3df6c2e0-d6a1-46a5-aa4d-9f9e3483be34" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <con:parameter> + <con:name>Content-Type</con:name> + <con:value>application/json</con:value> + <con:style>HEADER</con:style> + <con:default>application/json</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + <con:parameter> + <con:name>Authorization</con:name> + <con:value>${Properties#JwtToken}</con:value> + <con:style>HEADER</con:style> + <con:default>${#Project#JwtToken}</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + </con:parameters> + </con:config> + </con:testStep> + <con:properties/> + </con:testCase> + <con:testCase id="b90cfe29-d7a3-43ec-813a-38a93716c9a0" failOnError="false" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="IEIAZS-EndDateAndEndStatusWithIIAndResultInUpdateZaak-UpdateZaakShouldCloseZaakWithEndStatusDatumStatusGezet" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword=""> + <con:settings/> + <con:testStep type="properties" name="Properties" id="aa4ae9d4-f261-4219-a0a5-a99ea7f8f0ee"> + <con:settings/> + <con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:properties> + <con:property> + <con:name>ZaakIdentificatie</con:name> + <con:value/> + </con:property> + <con:property> + <con:name>ZaakUrl</con:name> + <con:value/> + </con:property> + <con:property> + <con:name>JwtToken</con:name> + <con:value/> + </con:property> + <con:property> + <con:name>ResultaatOfProfileJson</con:name> + <con:value/> + </con:property> + </con:properties> + </con:config> + </con:testStep> + <con:testStep type="request" id="9e8e4d31-0962-437c-b22f-aa578e24e0fc" name="01-zds-genereerZaakIdentificatie_Di02"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsVrijeBerichten</con:interface> + <con:operation>genereerZaakIdentificatie_Di02</con:operation> + <con:request name="01-zds-genereerZaakIdentificatie_Di02" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="78a97417-a2f7-4fe6-87ad-6af33391b0e1"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + <con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@dump-file"/> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/VrijBericht</con:endpoint> + <con:request><![CDATA[<SOAP-ENV:Envelope xsi:schemaLocation="http://www.egem.nl/StUF/sector/zkn/0310 zkn0310-p28\zs-dms\zkn0310_msg_zs-dms_resolved.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <SOAP-ENV:Header/> + <SOAP-ENV:Body> + <ZKN:genereerZaakIdentificatie_Di02> + <ZKN:stuurgegevens> + <StUF:berichtcode>Di02</StUF:berichtcode> + <StUF:zender> + <StUF:organisatie>1900</StUF:organisatie> + <StUF:applicatie>GWS4all</StUF:applicatie> + <StUF:gebruiker>Gebruiker</StUF:gebruiker> + </StUF:zender> + <StUF:ontvanger> + <StUF:organisatie>1900</StUF:organisatie> + <StUF:applicatie>CDR</StUF:applicatie> + </StUF:ontvanger> + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer> + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht> + <StUF:functie>genereerZaakidentificatie</StUF:functie> + </ZKN:stuurgegevens> + </ZKN:genereerZaakIdentificatie_Di02> + </SOAP-ENV:Body> +</SOAP-ENV:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="d95790e3-4684-4e55-bc88-a3472c2a786b" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="7c41213e-fa45-4a54-9b26-a2aae7cae18f" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="18ca3e91-13ed-4d5d-951f-992518c27752" name="Not SOAP Fault"/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/genereerZaakIdentificatie_Di02"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="01a-TransferZaakIdentificatie" id="fe8a7a60-cdbd-48ee-b55b-fdc3793a17bb"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false" disabled="false"> + <con:name>TransferZaakIdentificatie</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>01-zds-genereerZaakIdentificatie_Di02</con:sourceStep> + <con:sourcePath>declare namespace ZKN="http://www.egem.nl/StUF/sector/zkn/0310"; +//ZKN:identificatie[1]</con:sourcePath> + <con:targetType>ZaakIdentificatie</con:targetType> + <con:targetStep>Properties</con:targetStep> + <con:targetPath/> + <con:type>XPATH</con:type> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="request" id="0de41b1f-7fa4-4e8d-a22b-fee6c020f0aa" name="02-zds-creeerZaak_Lk01-withoutStatusAndResultaat"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsOntvangAsynchroon</con:interface> + <con:operation>creeerZaak_Lk01</con:operation> + <con:request name="02-zds-creeerZaak_Lk01-withoutStatusAndResultaat" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="4afca0bd-189b-4572-b269-39ac6814fb73"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + <con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@dump-file"/> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/OntvangAsynchroon</con:endpoint> + <con:request><![CDATA[<SOAP-ENV:Envelope xsi:schemaLocation="http://www.egem.nl/StUF/sector/zkn/0310 zkn0310-p28\mutatie\zkn0310_msg_mutatie_resolved.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r + <SOAP-ENV:Header/>\r + <SOAP-ENV:Body>\r + <ZKN:zakLk01>\r + <ZKN:stuurgegevens>\r + <StUF:berichtcode>Lk01</StUF:berichtcode>\r + <StUF:zender>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>GWS4all</StUF:applicatie>\r + <StUF:gebruiker>Gebruiker</StUF:gebruiker>\r + </StUF:zender>\r + <StUF:ontvanger>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>CDR</StUF:applicatie>\r + </StUF:ontvanger>\r + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer>\r + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht>\r + <StUF:entiteittype>ZAK</StUF:entiteittype>\r + </ZKN:stuurgegevens>\r + <ZKN:parameters>\r + <StUF:mutatiesoort>T</StUF:mutatiesoort>\r + <StUF:indicatorOvername>V</StUF:indicatorOvername>\r + </ZKN:parameters>\r + <ZKN:object StUF:sleutelVerzendend="${Properties#ZaakIdentificatie}" StUF:entiteittype="ZAK" StUF:verwerkingssoort="T">\r + <ZKN:identificatie>${Properties#ZaakIdentificatie}</ZKN:identificatie>\r + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving>\r + <ZKN:kenmerk>\r + <ZKN:kenmerk StUF:noValue="geenWaarde" xsi:nil="true" /> + <ZKN:bron>soapui</ZKN:bron>\r + </ZKN:kenmerk>\r + <ZKN:kenmerk> + <ZKN:kenmerk>kenmerk2</ZKN:kenmerk> + <ZKN:bron StUF:noValue="geenWaarde" xsi:nil="true" /> + </ZKN:kenmerk> + <ZKN:startdatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:startdatum>\r + <ZKN:registratiedatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:registratiedatum>\r + <ZKN:einddatumGepland>20210101</ZKN:einddatumGepland>\r + <ZKN:archiefnominatie>J</ZKN:archiefnominatie>\r + <ZKN:zaakniveau>1</ZKN:zaakniveau>\r + <ZKN:deelzakenIndicatie>N</ZKN:deelzakenIndicatie>\r + <ZKN:isVan StUF:entiteittype="ZAKZKT" StUF:verwerkingssoort="T">\r + <ZKN:gerelateerde StUF:entiteittype="ZKT" StUF:verwerkingssoort="T">\r + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving>\r + <ZKN:code>IEIAZS</ZKN:code>\r + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </ZKN:gerelateerde>\r + </ZKN:isVan>\r + <ZKN:heeftAlsInitiator StUF:entiteittype="ZAKBTRINI" StUF:verwerkingssoort="T">\r + <ZKN:gerelateerde>\r + <ZKN:natuurlijkPersoon StUF:entiteittype="NPS" StUF:verwerkingssoort="T">\r + <BG:inp.bsn>111111110</BG:inp.bsn>\r + <BG:authentiek StUF:metagegeven="true">J</BG:authentiek>\r + <BG:geslachtsnaam>Precies</BG:geslachtsnaam>\r + <BG:voorvoegselGeslachtsnaam xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:voorletters>P</BG:voorletters>\r + <BG:voornamen>Pietje</BG:voornamen>\r + <BG:geslachtsaanduiding>M</BG:geslachtsaanduiding>\r + <BG:geboortedatum StUF:indOnvolledigeDatum="V">19010101</BG:geboortedatum>\r + <BG:verblijfsadres>\r + <BG:aoa.identificatie xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:authentiek StUF:metagegeven="true">J</BG:authentiek>\r + <BG:wpl.woonplaatsNaam>Bolsward</BG:wpl.woonplaatsNaam>\r + <BG:gor.openbareRuimteNaam xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:gor.straatnaam>Kerkstraat</BG:gor.straatnaam>\r + <BG:aoa.postcode>8701HP</BG:aoa.postcode>\r + <BG:aoa.huisnummer>1</BG:aoa.huisnummer>\r + <BG:aoa.huisletter xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:aoa.huisnummertoevoeging xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:inp.locatiebeschrijving xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </BG:verblijfsadres>\r + </ZKN:natuurlijkPersoon>\r + </ZKN:gerelateerde>\r + </ZKN:heeftAlsInitiator>\r + </ZKN:object>\r + </ZKN:zakLk01>\r + </SOAP-ENV:Body>\r +</SOAP-ENV:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="3cb2e495-2a67-440c-92d2-dc7a422a76cd" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="c6cff34b-dc2b-4014-adc6-06944c6d8448" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="77aec6d5-bcd1-489e-878f-f49b93530cf5" name="Not SOAP Fault"/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/creeerZaak_Lk01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="request" id="fec0aa34-4264-4f33-bb2d-169cf81a414c" name="03-zds-actualiseerZaakstatus_Lk01-endstatus"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsOntvangAsynchroon</con:interface> + <con:operation>actualiseerZaakstatus_Lk01</con:operation> + <con:request name="03-zds-actualiseerZaakstatus_Lk01-endstatus" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="95a9a1b6-e5c4-4df5-af54-82ed55c6e1e8"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + <con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@dump-file"/> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/OntvangAsynchroon</con:endpoint> + <con:request><![CDATA[<SOAP-ENV:Envelope xsi:schemaLocation="http://www.egem.nl/StUF/sector/zkn/0310 zkn0310-p28\mutatie\zkn0310_msg_mutatie_resolved.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r + <SOAP-ENV:Header/>\r + <SOAP-ENV:Body>\r + <ZKN:zakLk01>\r + <ZKN:stuurgegevens>\r + <StUF:berichtcode>Lk01</StUF:berichtcode>\r + <StUF:zender>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>GWS4all</StUF:applicatie>\r + <StUF:gebruiker>Gebruiker</StUF:gebruiker>\r + </StUF:zender>\r + <StUF:ontvanger>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>CDR</StUF:applicatie>\r + </StUF:ontvanger>\r + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer>\r + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht>\r + <StUF:entiteittype>ZAK</StUF:entiteittype>\r + </ZKN:stuurgegevens>\r + <ZKN:parameters>\r + <StUF:mutatiesoort>W</StUF:mutatiesoort>\r + <StUF:indicatorOvername>V</StUF:indicatorOvername>\r + </ZKN:parameters>\r + <ZKN:object StUF:sleutelVerzendend="${Properties#ZaakIdentificatie}" StUF:entiteittype="ZAK" StUF:verwerkingssoort="W">\r + <ZKN:identificatie>${Properties#ZaakIdentificatie}</ZKN:identificatie>\r + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving>\r + <ZKN:startdatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:startdatum>\r + <ZKN:registratiedatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:registratiedatum>\r + <ZKN:isVan StUF:entiteittype="ZAKZKT" StUF:verwerkingssoort="I">\r + <ZKN:gerelateerde StUF:entiteittype="ZKT" StUF:verwerkingssoort="I">\r + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving>\r + <ZKN:code>IEIAZS</ZKN:code>\r + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </ZKN:gerelateerde>\r + </ZKN:isVan>\r + <ZKN:heeft StUF:entiteittype="ZAKSTT" StUF:verwerkingssoort="T" xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </ZKN:object>\r + <ZKN:object StUF:sleutelVerzendend="${Properties#ZaakIdentificatie}" StUF:entiteittype="ZAK" StUF:verwerkingssoort="W">\r + <ZKN:identificatie>${Properties#ZaakIdentificatie}</ZKN:identificatie>\r + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving>\r + <ZKN:startdatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:startdatum>\r + <ZKN:registratiedatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:registratiedatum>\r + <ZKN:isVan StUF:entiteittype="ZAKZKT" StUF:verwerkingssoort="I">\r + <ZKN:gerelateerde StUF:entiteittype="ZKT" StUF:verwerkingssoort="I">\r + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving>\r + <ZKN:code>IEIAZS</ZKN:code>\r + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </ZKN:gerelateerde>\r + </ZKN:isVan>\r + <ZKN:heeft StUF:entiteittype="ZAKSTT" StUF:verwerkingssoort="T"> + <ZKN:gerelateerde StUF:entiteittype="STT" StUF:verwerkingssoort="T"> + <ZKN:zkt.code>IEIAZS</ZKN:zkt.code> + <ZKN:zkt.omschrijving>IEIAZS</ZKN:zkt.omschrijving> + <ZKN:volgnummer>0002</ZKN:volgnummer> + <ZKN:omschrijving>Ended</ZKN:omschrijving> + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/> + </ZKN:gerelateerde> + <ZKN:datumStatusGezet>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</ZKN:datumStatusGezet> + </ZKN:heeft> + </ZKN:object>\r + </ZKN:zakLk01>\r + </SOAP-ENV:Body>\r +</SOAP-ENV:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="d9b1365f-045b-4ea3-90d7-8a42cb57a880" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="750b8651-93c2-411c-b399-14831a38f014" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="b90ca0d8-cb3c-4619-b5ad-a90db97956f5" name="Not SOAP Fault"/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/actualiseerZaakstatus_Lk01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="request" id="175a24f7-d745-4755-85cc-0febe8809e14" name="04-zds-geefZaakdetails_Lv01-No Einddatum"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsBeantwoordVraag</con:interface> + <con:operation>geefZaakdetails_Lv01</con:operation> + <con:request name="04-zds-geefZaakdetails_Lv01-No Einddatum" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="b86f0444-e5bf-4a09-97a2-3d650e0b93ff"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/BeantwoordVraag</con:endpoint> + <con:request><![CDATA[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">\r + <s:Body>\r + <zakLv01 xmlns="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:xlink="http://www.w3.org/1999/xlink">\r + <stuurgegevens>\r + <StUF:berichtcode>Lv01</StUF:berichtcode>\r + <StUF:zender>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>GISVG</StUF:applicatie>\r + </StUF:zender>\r + <StUF:ontvanger>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>ZDS</StUF:applicatie>\r + </StUF:ontvanger>\r + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer>\r + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht>\r + <StUF:entiteittype>ZAK</StUF:entiteittype>\r + </stuurgegevens>\r + <parameters>\r + <StUF:sortering>0</StUF:sortering>\r + <StUF:indicatorVervolgvraag>false</StUF:indicatorVervolgvraag>\r + </parameters>\r + <gelijk StUF:entiteittype="ZAK">\r + <identificatie>${Properties#ZaakIdentificatie}</identificatie>\r + </gelijk>\r + <scope>\r + <object StUF:entiteittype="ZAK" StUF:scope="alles"/> + </scope>\r + </zakLv01>\r + </s:Body>\r +</s:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="a5bb9a97-6aff-4a26-bd8c-283295080f00" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="ed311230-3e49-4b1f-ad19-4ff7dad1ecf2" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="ecf082e3-2bda-418f-bc9e-32a49965d93b" name="Not SOAP Fault"/> + <con:assertion type="XPath Match" id="896bfc1a-2906-4c9a-8c56-35894bc51be4" name="EndDateNotSet"> + <con:configuration> + <path>string-length(//*:antwoord/*:object/*:einddatum)</path> + <content>0</content> + <allowWildcards>false</allowWildcards> + <ignoreNamspaceDifferences>false</ignoreNamspaceDifferences> + <ignoreComments>false</ignoreComments> + </con:configuration> + </con:assertion> + <con:assertion type="XPath Match" id="23ad9965-ed52-44e2-9e78-1fb0b82f3a3a" name="EndStatusNotSet"> + <con:configuration> + <path>count(//*:antwoord/*:object/*:heeft)</path> + <content>0</content> + <allowWildcards>false</allowWildcards> + <ignoreNamspaceDifferences>false</ignoreNamspaceDifferences> + <ignoreComments>false</ignoreComments> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/geefZaakdetails_Lv01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="request" id="eb8ce8e8-61d3-4341-a3fd-1c1d84f74a21" name="05-zds-updateZaak_Lk01-EindatumAndResultaat"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsOntvangAsynchroon</con:interface> + <con:operation>updateZaak_Lk01</con:operation> + <con:request name="05-zds-updateZaak_Lk01-EindatumAndResultaat" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="5dd40494-7d68-42cb-a5bc-702ccf12d37e"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + <con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@dump-file"/> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/OntvangAsynchroon</con:endpoint> + <con:request><![CDATA[<SOAP-ENV:Envelope xsi:schemaLocation="http://www.egem.nl/StUF/sector/zkn/0310 zkn0310-p28\mutatie\zkn0310_msg_mutatie_resolved.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <SOAP-ENV:Header/> + <SOAP-ENV:Body> + <ZKN:zakLk01> + <ZKN:stuurgegevens> + <StUF:berichtcode>Lk01</StUF:berichtcode> + <StUF:zender> + <StUF:organisatie>1900</StUF:organisatie> + <StUF:applicatie>GWS4all</StUF:applicatie> + <StUF:gebruiker>Gebruiker</StUF:gebruiker> + </StUF:zender> + <StUF:ontvanger> + <StUF:organisatie>1900</StUF:organisatie> + <StUF:applicatie>CDR</StUF:applicatie> + </StUF:ontvanger> + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer> + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht> + <StUF:entiteittype>ZAK</StUF:entiteittype> + </ZKN:stuurgegevens> + <ZKN:parameters> + <StUF:mutatiesoort>W</StUF:mutatiesoort> + <StUF:indicatorOvername>V</StUF:indicatorOvername> + </ZKN:parameters> + <ZKN:object StUF:sleutelVerzendend="${Properties#ZaakIdentificatie}" StUF:entiteittype="ZAK" StUF:verwerkingssoort="W"> + <ZKN:identificatie>${Properties#ZaakIdentificatie}</ZKN:identificatie> + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving> + <ZKN:resultaat> + <ZKN:omschrijving>Gave a thing</ZKN:omschrijving> + </ZKN:resultaat> + <ZKN:startdatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:startdatum> + <ZKN:registratiedatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:registratiedatum> + <ZKN:einddatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:einddatum> + <ZKN:isVan StUF:entiteittype="ZAKZKT" StUF:verwerkingssoort="I"> + <ZKN:gerelateerde StUF:entiteittype="ZKT" StUF:verwerkingssoort="I"> + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving> + <ZKN:code>IEIAZS</ZKN:code> + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/> + </ZKN:gerelateerde> + </ZKN:isVan> + <ZKN:heeft StUF:entiteittype="ZAKSTT" StUF:verwerkingssoort="I"> + <ZKN:gerelateerde StUF:entiteittype="STT" StUF:verwerkingssoort="I"> + <ZKN:zkt.code>IEIAZS</ZKN:zkt.code> + <ZKN:zkt.omschrijving>IEIAZS</ZKN:zkt.omschrijving> + <ZKN:volgnummer>0002</ZKN:volgnummer> + <ZKN:omschrijving>Ended</ZKN:omschrijving> + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/> + </ZKN:gerelateerde> + <ZKN:datumStatusGezet>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</ZKN:datumStatusGezet> + </ZKN:heeft> + <ZKN:leidtTot StUF:entiteittype="ZAKBSL" StUF:verwerkingssoort="T" xsi:nil="true" StUF:noValue="geenWaarde"/> + </ZKN:object> + </ZKN:zakLk01> + </SOAP-ENV:Body> +</SOAP-ENV:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="b6adf35a-6784-46b1-97c0-78d348f17a4f" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="264e0ba4-55a0-4da7-b457-e8d218e45f7a" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="9c97fd53-2cda-48ab-b3c8-c4bf1358d3d6" name="Not SOAP Fault"/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/updateZaak_Lk01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="request" id="df36771b-3d8d-4908-bb93-440576fbdb45" name="06-zds-geefZaakdetails_Lv01-EndDateAndEndStatusAndResult"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsBeantwoordVraag</con:interface> + <con:operation>geefZaakdetails_Lv01</con:operation> + <con:request name="06-zds-geefZaakdetails_Lv01-EndDateAndEndStatusAndResult" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="b86f0444-e5bf-4a09-97a2-3d650e0b93ff"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/BeantwoordVraag</con:endpoint> + <con:request><![CDATA[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">\r + <s:Body>\r + <zakLv01 xmlns="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:xlink="http://www.w3.org/1999/xlink">\r + <stuurgegevens>\r + <StUF:berichtcode>Lv01</StUF:berichtcode>\r + <StUF:zender>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>GISVG</StUF:applicatie>\r + </StUF:zender>\r + <StUF:ontvanger>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>ZDS</StUF:applicatie>\r + </StUF:ontvanger>\r + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer>\r + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht>\r + <StUF:entiteittype>ZAK</StUF:entiteittype>\r + </stuurgegevens>\r + <parameters>\r + <StUF:sortering>0</StUF:sortering>\r + <StUF:indicatorVervolgvraag>false</StUF:indicatorVervolgvraag>\r + </parameters>\r + <gelijk StUF:entiteittype="ZAK">\r + <identificatie>${Properties#ZaakIdentificatie}</identificatie>\r + </gelijk>\r + <scope>\r + <object StUF:entiteittype="ZAK" StUF:scope="alles"/> + </scope>\r + </zakLv01>\r + </s:Body>\r +</s:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="a5bb9a97-6aff-4a26-bd8c-283295080f00" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="ed311230-3e49-4b1f-ad19-4ff7dad1ecf2" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="ecf082e3-2bda-418f-bc9e-32a49965d93b" name="Not SOAP Fault"/> + <con:assertion type="XPath Match" id="896bfc1a-2906-4c9a-8c56-35894bc51be4" name="EndDateSet"> + <con:configuration> + <path>//*:antwoord/*:object/*:einddatum</path> + <content>*</content> + <allowWildcards>true</allowWildcards> + <ignoreNamspaceDifferences>false</ignoreNamspaceDifferences> + <ignoreComments>false</ignoreComments> + </con:configuration> + </con:assertion> + <con:assertion type="XPath Match" id="23ad9965-ed52-44e2-9e78-1fb0b82f3a3a" name="EndStatusSet"> + <con:configuration> + <path>//*:antwoord/*:object/*:heeft/*:gerelateerde/*:omschrijving</path> + <content>Ended</content> + <allowWildcards>false</allowWildcards> + <ignoreNamspaceDifferences>false</ignoreNamspaceDifferences> + <ignoreComments>false</ignoreComments> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/geefZaakdetails_Lv01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="groovy" name="05-zgw-generateJwt" id="80212116-4e17-421a-9be3-dcf4a0265a21"> + <con:settings/> + <con:config> + <script>import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URI; +import java.net.URISyntaxException; +import org.apache.http.HttpEntity; +import org.apache.http.HttpResponse; +import org.apache.http.ParseException; +import org.apache.http.client.ClientProtocolException; +import org.apache.http.client.HttpClient; +import org.apache.http.client.methods.HttpGet; +import org.apache.http.entity.StringEntity; +import org.apache.http.impl.client.DefaultHttpClient; +import org.apache.http.util.EntityUtils; +import groovy.json.JsonOutput +import groovy.json.JsonSlurper +import javax.crypto.spec.SecretKeySpec +import javax.crypto.Mac +import java.time.Duration + +def jwtClientId = context.expand( '${#Project#jwtClientId}' ) +def jwtSecret = context.expand( '${#Project#jwtSecret}' ) + +def createJwt(Integer validSeconds, String clientId, String secret) { + TimeZone.setDefault(TimeZone.getTimeZone('UTC')) + def rightNowMilli = System.currentTimeMillis() + def rightNowSec = Math.round(rightNowMilli / 1000) + def expirationSec = rightNowSec + validSeconds + def jtiValue = UUID.randomUUID().toString() + + Map header = [alg: "HS256", typ: "JWT"] + def headerJson = JsonOutput.toJson(header) + def headerBase64 = headerJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + Map payload = [exp: expirationSec, iat: rightNowSec, iss: clientId, client_id: clientId, user_id: clientId, user_reresentation: clientId, jti: jtiValue] + def payloadJson = JsonOutput.toJson(payload) + def payloadBase64 = payloadJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + def toBeSigned = headerBase64 + "." + payloadBase64 + SecretKeySpec secretKeySpec = new SecretKeySpec(secret.getBytes("UTF-8"), "HmacSHA256") + + Mac mac = Mac.getInstance("HmacSHA256") + mac.init(secretKeySpec) + byte[] digest = mac.doFinal(toBeSigned.getBytes("UTF-8")) + def signature = digest.encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + headerBase64 + "." + payloadBase64 + "." + signature +} + +// Create the JWT. +def token = createJwt(600, jwtClientId, jwtSecret) +testRunner.testCase.getTestStepByName("Properties").setPropertyValue( 'JwtToken', "Bearer " + token)</script> + </con:config> + </con:testStep> + <con:testStep type="httprequest" name="06-zgw-getZaakByIdentificatie" id="0c675dad-556f-4f4b-a3b7-a8d2b50adb06"> + <con:settings/> + <con:config method="GET" xsi:type="con:HttpRequest" id="222f62b6-78c9-4982-89a5-c9ff716b456d" name="06-zgw-getZaakByIdentificatie" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:endpoint>${#Project#OpenZaakZakenApiRootUrl}/zaken</con:endpoint> + <con:request/> + <con:assertion type="Valid HTTP Status Codes" id="d8e05e85-ba0a-4eb6-a4c4-81da8c46d047" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <con:parameter> + <con:name>Accept-Crs</con:name> + <con:value>EPSG:4326</con:value> + <con:style>HEADER</con:style> + <con:default>EPSG:4326</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + <con:parameter> + <con:name>Content-Crs</con:name> + <con:value>EPSG:4326</con:value> + <con:style>HEADER</con:style> + <con:default>EPSG:4326</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + <con:parameter> + <con:name>Authorization</con:name> + <con:value>${Properties#JwtToken}</con:value> + <con:style>HEADER</con:style> + <con:default>${Properties#JwtToken}</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + <con:parameter> + <con:name>identificatie</con:name> + <con:value>${Properties#ZaakIdentificatie}</con:value> + <con:style>QUERY</con:style> + </con:parameter> + </con:parameters> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="99a-TransferZaakUrl" id="071fe755-d2df-4ff6-9a19-3b6fe1cd614e"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"> + <con:name>TransferZaakUrl</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>06-zgw-getZaakByIdentificatie</con:sourceStep> + <con:sourcePath>$.results[0].url</con:sourcePath> + <con:targetType>ZaakUrl</con:targetType> + <con:targetStep>Properties</con:targetStep> + <con:type>JSONPATH</con:type> + <con:targetTransferType>JSONPATH</con:targetTransferType> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="httprequest" name="99b-zgw-deleteZaak" id="e3459077-771d-4e16-b568-72fd472978f9"> + <con:settings/> + <con:config method="DELETE" xsi:type="con:HttpRequest" id="425cebae-0886-4cab-bf6c-e454353dbcf3" name="99b-zgw-deleteZaak" postQueryString="false" mediaType="application/json" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:endpoint>${Properties#ZaakUrl}</con:endpoint> + <con:request/> + <con:assertion type="Valid HTTP Status Codes" id="28a456ce-d6cf-4dfc-8877-9ca05bc0212a" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>204</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <con:parameter> + <con:name>Authorization</con:name> + <con:value>${Properties#JwtToken}</con:value> + <con:style>HEADER</con:style> + <con:default>${Properties#JwtToken}</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + </con:parameters> + </con:config> + </con:testStep> + <con:properties> + <con:property> + <con:name>DocumentSizeKb</con:name> + <con:value>0.1</con:value> + </con:property> + </con:properties> + </con:testCase> + <con:testCase id="f37fb2b1-111b-4ab8-b15b-0d02d15fd41d" failOnError="false" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="IEIAZS-EndDateAndResultInUpdateZaak-UpdateZaakShouldThrowErrorEndDateWithoutEndStatus" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" disabled="true"> + <con:settings/> + <con:testStep type="properties" name="Properties" id="e2b1be17-8764-48c8-ae22-a01fd6ad6adc"> + <con:settings/> + <con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:properties> + <con:property> + <con:name>ZaakIdentificatie</con:name> + <con:value/> + </con:property> + <con:property> + <con:name>ZaakUrl</con:name> + <con:value/> + </con:property> + <con:property> + <con:name>JwtToken</con:name> + <con:value/> + </con:property> + <con:property> + <con:name>ResultaatOfProfileJson</con:name> + <con:value/> + </con:property> + </con:properties> + </con:config> + </con:testStep> + <con:testStep type="request" id="d6094f80-6051-4315-a3dc-63aacb5335ca" name="01-zds-genereerZaakIdentificatie_Di02"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsVrijeBerichten</con:interface> + <con:operation>genereerZaakIdentificatie_Di02</con:operation> + <con:request name="01-zds-genereerZaakIdentificatie_Di02" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="78a97417-a2f7-4fe6-87ad-6af33391b0e1"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + <con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@dump-file"/> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/VrijBericht</con:endpoint> + <con:request><![CDATA[<SOAP-ENV:Envelope xsi:schemaLocation="http://www.egem.nl/StUF/sector/zkn/0310 zkn0310-p28\zs-dms\zkn0310_msg_zs-dms_resolved.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <SOAP-ENV:Header/> + <SOAP-ENV:Body> + <ZKN:genereerZaakIdentificatie_Di02> + <ZKN:stuurgegevens> + <StUF:berichtcode>Di02</StUF:berichtcode> + <StUF:zender> + <StUF:organisatie>1900</StUF:organisatie> + <StUF:applicatie>GWS4all</StUF:applicatie> + <StUF:gebruiker>Gebruiker</StUF:gebruiker> + </StUF:zender> + <StUF:ontvanger> + <StUF:organisatie>1900</StUF:organisatie> + <StUF:applicatie>CDR</StUF:applicatie> + </StUF:ontvanger> + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer> + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht> + <StUF:functie>genereerZaakidentificatie</StUF:functie> + </ZKN:stuurgegevens> + </ZKN:genereerZaakIdentificatie_Di02> + </SOAP-ENV:Body> +</SOAP-ENV:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="d95790e3-4684-4e55-bc88-a3472c2a786b" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="7c41213e-fa45-4a54-9b26-a2aae7cae18f" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="18ca3e91-13ed-4d5d-951f-992518c27752" name="Not SOAP Fault"/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/genereerZaakIdentificatie_Di02"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="01a-TransferZaakIdentificatie" id="e82c60b2-3d33-49ee-b0ea-b078d42db3a5"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false" disabled="false"> + <con:name>TransferZaakIdentificatie</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>01-zds-genereerZaakIdentificatie_Di02</con:sourceStep> + <con:sourcePath>declare namespace ZKN="http://www.egem.nl/StUF/sector/zkn/0310"; +//ZKN:identificatie[1]</con:sourcePath> + <con:targetType>ZaakIdentificatie</con:targetType> + <con:targetStep>Properties</con:targetStep> + <con:targetPath/> + <con:type>XPATH</con:type> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="request" id="835ecbe5-d51c-4243-bb8a-606d099273d3" name="02-zds-creeerZaak_Lk01-withoutStatusAndResultaat"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsOntvangAsynchroon</con:interface> + <con:operation>creeerZaak_Lk01</con:operation> + <con:request name="02-zds-creeerZaak_Lk01-withoutStatusAndResultaat" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="4afca0bd-189b-4572-b269-39ac6814fb73"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + <con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@dump-file"/> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/OntvangAsynchroon</con:endpoint> + <con:request><![CDATA[<SOAP-ENV:Envelope xsi:schemaLocation="http://www.egem.nl/StUF/sector/zkn/0310 zkn0310-p28\mutatie\zkn0310_msg_mutatie_resolved.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r + <SOAP-ENV:Header/>\r + <SOAP-ENV:Body>\r + <ZKN:zakLk01>\r + <ZKN:stuurgegevens>\r + <StUF:berichtcode>Lk01</StUF:berichtcode>\r + <StUF:zender>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>GWS4all</StUF:applicatie>\r + <StUF:gebruiker>Gebruiker</StUF:gebruiker>\r + </StUF:zender>\r + <StUF:ontvanger>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>CDR</StUF:applicatie>\r + </StUF:ontvanger>\r + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer>\r + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht>\r + <StUF:entiteittype>ZAK</StUF:entiteittype>\r + </ZKN:stuurgegevens>\r + <ZKN:parameters>\r + <StUF:mutatiesoort>T</StUF:mutatiesoort>\r + <StUF:indicatorOvername>V</StUF:indicatorOvername>\r + </ZKN:parameters>\r + <ZKN:object StUF:sleutelVerzendend="${Properties#ZaakIdentificatie}" StUF:entiteittype="ZAK" StUF:verwerkingssoort="T">\r + <ZKN:identificatie>${Properties#ZaakIdentificatie}</ZKN:identificatie>\r + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving>\r + <ZKN:kenmerk>\r + <ZKN:kenmerk StUF:noValue="geenWaarde" xsi:nil="true" /> + <ZKN:bron>soapui</ZKN:bron>\r + </ZKN:kenmerk>\r + <ZKN:kenmerk> + <ZKN:kenmerk>kenmerk2</ZKN:kenmerk> + <ZKN:bron StUF:noValue="geenWaarde" xsi:nil="true" /> + </ZKN:kenmerk> + <ZKN:startdatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:startdatum>\r + <ZKN:registratiedatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:registratiedatum>\r + <ZKN:einddatumGepland>20210101</ZKN:einddatumGepland>\r + <ZKN:archiefnominatie>J</ZKN:archiefnominatie>\r + <ZKN:zaakniveau>1</ZKN:zaakniveau>\r + <ZKN:deelzakenIndicatie>N</ZKN:deelzakenIndicatie>\r + <ZKN:isVan StUF:entiteittype="ZAKZKT" StUF:verwerkingssoort="T">\r + <ZKN:gerelateerde StUF:entiteittype="ZKT" StUF:verwerkingssoort="T">\r + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving>\r + <ZKN:code>IEIAZS</ZKN:code>\r + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </ZKN:gerelateerde>\r + </ZKN:isVan>\r + <ZKN:heeftAlsInitiator StUF:entiteittype="ZAKBTRINI" StUF:verwerkingssoort="T">\r + <ZKN:gerelateerde>\r + <ZKN:natuurlijkPersoon StUF:entiteittype="NPS" StUF:verwerkingssoort="T">\r + <BG:inp.bsn>111111110</BG:inp.bsn>\r + <BG:authentiek StUF:metagegeven="true">J</BG:authentiek>\r + <BG:geslachtsnaam>Precies</BG:geslachtsnaam>\r + <BG:voorvoegselGeslachtsnaam xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:voorletters>P</BG:voorletters>\r + <BG:voornamen>Pietje</BG:voornamen>\r + <BG:geslachtsaanduiding>M</BG:geslachtsaanduiding>\r + <BG:geboortedatum StUF:indOnvolledigeDatum="V">19010101</BG:geboortedatum>\r + <BG:verblijfsadres>\r + <BG:aoa.identificatie xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:authentiek StUF:metagegeven="true">J</BG:authentiek>\r + <BG:wpl.woonplaatsNaam>Bolsward</BG:wpl.woonplaatsNaam>\r + <BG:gor.openbareRuimteNaam xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:gor.straatnaam>Kerkstraat</BG:gor.straatnaam>\r + <BG:aoa.postcode>8701HP</BG:aoa.postcode>\r + <BG:aoa.huisnummer>1</BG:aoa.huisnummer>\r + <BG:aoa.huisletter xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:aoa.huisnummertoevoeging xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:inp.locatiebeschrijving xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </BG:verblijfsadres>\r + </ZKN:natuurlijkPersoon>\r + </ZKN:gerelateerde>\r + </ZKN:heeftAlsInitiator>\r + </ZKN:object>\r + </ZKN:zakLk01>\r + </SOAP-ENV:Body>\r +</SOAP-ENV:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="3cb2e495-2a67-440c-92d2-dc7a422a76cd" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="c6cff34b-dc2b-4014-adc6-06944c6d8448" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="77aec6d5-bcd1-489e-878f-f49b93530cf5" name="Not SOAP Fault"/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/creeerZaak_Lk01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="request" id="1261b81f-f144-4a28-bb05-c0fe0d68f372" name="03-zds-actualiseerZaakstatus_Lk01-endstatus"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsOntvangAsynchroon</con:interface> + <con:operation>actualiseerZaakstatus_Lk01</con:operation> + <con:request name="03-zds-actualiseerZaakstatus_Lk01-endstatus" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="95a9a1b6-e5c4-4df5-af54-82ed55c6e1e8"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + <con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@dump-file"/> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/OntvangAsynchroon</con:endpoint> + <con:request><![CDATA[<SOAP-ENV:Envelope xsi:schemaLocation="http://www.egem.nl/StUF/sector/zkn/0310 zkn0310-p28\mutatie\zkn0310_msg_mutatie_resolved.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r + <SOAP-ENV:Header/>\r + <SOAP-ENV:Body>\r + <ZKN:zakLk01>\r + <ZKN:stuurgegevens>\r + <StUF:berichtcode>Lk01</StUF:berichtcode>\r + <StUF:zender>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>GWS4all</StUF:applicatie>\r + <StUF:gebruiker>Gebruiker</StUF:gebruiker>\r + </StUF:zender>\r + <StUF:ontvanger>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>CDR</StUF:applicatie>\r + </StUF:ontvanger>\r + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer>\r + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht>\r + <StUF:entiteittype>ZAK</StUF:entiteittype>\r + </ZKN:stuurgegevens>\r + <ZKN:parameters>\r + <StUF:mutatiesoort>W</StUF:mutatiesoort>\r + <StUF:indicatorOvername>V</StUF:indicatorOvername>\r + </ZKN:parameters>\r + <ZKN:object StUF:sleutelVerzendend="${Properties#ZaakIdentificatie}" StUF:entiteittype="ZAK" StUF:verwerkingssoort="W">\r + <ZKN:identificatie>${Properties#ZaakIdentificatie}</ZKN:identificatie>\r + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving>\r + <ZKN:startdatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:startdatum>\r + <ZKN:registratiedatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:registratiedatum>\r + <ZKN:isVan StUF:entiteittype="ZAKZKT" StUF:verwerkingssoort="I">\r + <ZKN:gerelateerde StUF:entiteittype="ZKT" StUF:verwerkingssoort="I">\r + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving>\r + <ZKN:code>IEIAZS</ZKN:code>\r + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </ZKN:gerelateerde>\r + </ZKN:isVan>\r + <ZKN:heeft StUF:entiteittype="ZAKSTT" StUF:verwerkingssoort="T" xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </ZKN:object>\r + <ZKN:object StUF:sleutelVerzendend="${Properties#ZaakIdentificatie}" StUF:entiteittype="ZAK" StUF:verwerkingssoort="W">\r + <ZKN:identificatie>${Properties#ZaakIdentificatie}</ZKN:identificatie>\r + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving>\r + <ZKN:startdatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:startdatum>\r + <ZKN:registratiedatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:registratiedatum>\r + <ZKN:isVan StUF:entiteittype="ZAKZKT" StUF:verwerkingssoort="I">\r + <ZKN:gerelateerde StUF:entiteittype="ZKT" StUF:verwerkingssoort="I">\r + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving>\r + <ZKN:code>IEIAZS</ZKN:code>\r + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </ZKN:gerelateerde>\r + </ZKN:isVan>\r + <ZKN:heeft StUF:entiteittype="ZAKSTT" StUF:verwerkingssoort="T"> + <ZKN:gerelateerde StUF:entiteittype="STT" StUF:verwerkingssoort="T"> + <ZKN:zkt.code>IEIAZS</ZKN:zkt.code> + <ZKN:zkt.omschrijving>IEIAZS</ZKN:zkt.omschrijving> + <ZKN:volgnummer>0002</ZKN:volgnummer> + <ZKN:omschrijving>Ended</ZKN:omschrijving> + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/> + </ZKN:gerelateerde> + <ZKN:datumStatusGezet>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</ZKN:datumStatusGezet> + </ZKN:heeft> + </ZKN:object>\r + </ZKN:zakLk01>\r + </SOAP-ENV:Body>\r +</SOAP-ENV:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="d9b1365f-045b-4ea3-90d7-8a42cb57a880" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="750b8651-93c2-411c-b399-14831a38f014" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="b90ca0d8-cb3c-4619-b5ad-a90db97956f5" name="Not SOAP Fault"/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/actualiseerZaakstatus_Lk01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="request" id="3fd6b933-5aab-44b7-b5e2-f847b88135f1" name="04-zds-geefZaakdetails_Lv01-No Einddatum"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsBeantwoordVraag</con:interface> + <con:operation>geefZaakdetails_Lv01</con:operation> + <con:request name="04-zds-geefZaakdetails_Lv01-No Einddatum" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="b86f0444-e5bf-4a09-97a2-3d650e0b93ff"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/BeantwoordVraag</con:endpoint> + <con:request><![CDATA[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">\r + <s:Body>\r + <zakLv01 xmlns="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:xlink="http://www.w3.org/1999/xlink">\r + <stuurgegevens>\r + <StUF:berichtcode>Lv01</StUF:berichtcode>\r + <StUF:zender>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>GISVG</StUF:applicatie>\r + </StUF:zender>\r + <StUF:ontvanger>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>ZDS</StUF:applicatie>\r + </StUF:ontvanger>\r + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer>\r + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht>\r + <StUF:entiteittype>ZAK</StUF:entiteittype>\r + </stuurgegevens>\r + <parameters>\r + <StUF:sortering>0</StUF:sortering>\r + <StUF:indicatorVervolgvraag>false</StUF:indicatorVervolgvraag>\r + </parameters>\r + <gelijk StUF:entiteittype="ZAK">\r + <identificatie>${Properties#ZaakIdentificatie}</identificatie>\r + </gelijk>\r + <scope>\r + <object StUF:entiteittype="ZAK" StUF:scope="alles"/> + </scope>\r + </zakLv01>\r + </s:Body>\r +</s:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="a5bb9a97-6aff-4a26-bd8c-283295080f00" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="ed311230-3e49-4b1f-ad19-4ff7dad1ecf2" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="ecf082e3-2bda-418f-bc9e-32a49965d93b" name="Not SOAP Fault"/> + <con:assertion type="XPath Match" id="896bfc1a-2906-4c9a-8c56-35894bc51be4" name="EndDateNotSet"> + <con:configuration> + <path>string-length(//*:antwoord/*:object/*:einddatum)</path> + <content>0</content> + <allowWildcards>false</allowWildcards> + <ignoreNamspaceDifferences>false</ignoreNamspaceDifferences> + <ignoreComments>false</ignoreComments> + </con:configuration> + </con:assertion> + <con:assertion type="XPath Match" id="23ad9965-ed52-44e2-9e78-1fb0b82f3a3a" name="EndStatusNotSet"> + <con:configuration> + <path>count(//*:antwoord/*:object/*:heeft)</path> + <content>0</content> + <allowWildcards>false</allowWildcards> + <ignoreNamspaceDifferences>false</ignoreNamspaceDifferences> + <ignoreComments>false</ignoreComments> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/geefZaakdetails_Lv01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="request" id="b2118e3a-2bf1-43d8-8fbc-ab7109146fa6" name="05-zds-updateZaak_Lk01-EindatumAndResultaat"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsOntvangAsynchroon</con:interface> + <con:operation>updateZaak_Lk01</con:operation> + <con:request name="05-zds-updateZaak_Lk01-EindatumAndResultaat" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="5dd40494-7d68-42cb-a5bc-702ccf12d37e"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + <con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@dump-file"/> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/OntvangAsynchroon</con:endpoint> + <con:request><![CDATA[<SOAP-ENV:Envelope xsi:schemaLocation="http://www.egem.nl/StUF/sector/zkn/0310 zkn0310-p28\mutatie\zkn0310_msg_mutatie_resolved.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <SOAP-ENV:Header/> + <SOAP-ENV:Body> + <ZKN:zakLk01> + <ZKN:stuurgegevens> + <StUF:berichtcode>Lk01</StUF:berichtcode> + <StUF:zender> + <StUF:organisatie>1900</StUF:organisatie> + <StUF:applicatie>GWS4all</StUF:applicatie> + <StUF:gebruiker>Gebruiker</StUF:gebruiker> + </StUF:zender> + <StUF:ontvanger> + <StUF:organisatie>1900</StUF:organisatie> + <StUF:applicatie>CDR</StUF:applicatie> + </StUF:ontvanger> + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer> + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht> + <StUF:entiteittype>ZAK</StUF:entiteittype> + </ZKN:stuurgegevens> + <ZKN:parameters> + <StUF:mutatiesoort>W</StUF:mutatiesoort> + <StUF:indicatorOvername>V</StUF:indicatorOvername> + </ZKN:parameters> + <ZKN:object StUF:sleutelVerzendend="${Properties#ZaakIdentificatie}" StUF:entiteittype="ZAK" StUF:verwerkingssoort="W"> + <ZKN:identificatie>${Properties#ZaakIdentificatie}</ZKN:identificatie> + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving> + <ZKN:resultaat> + <ZKN:omschrijving>Gave a thing</ZKN:omschrijving> + </ZKN:resultaat> + <ZKN:startdatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:startdatum> + <ZKN:registratiedatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:registratiedatum> + <ZKN:einddatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:einddatum> + <ZKN:isVan StUF:entiteittype="ZAKZKT" StUF:verwerkingssoort="I"> + <ZKN:gerelateerde StUF:entiteittype="ZKT" StUF:verwerkingssoort="I"> + <ZKN:omschrijving>IEIAZS</ZKN:omschrijving> + <ZKN:code>IEIAZS</ZKN:code> + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/> + </ZKN:gerelateerde> + </ZKN:isVan> + <ZKN:leidtTot StUF:entiteittype="ZAKBSL" StUF:verwerkingssoort="T" xsi:nil="true" StUF:noValue="geenWaarde"/> + </ZKN:object> + </ZKN:zakLk01> + </SOAP-ENV:Body> +</SOAP-ENV:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="b6adf35a-6784-46b1-97c0-78d348f17a4f" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="264e0ba4-55a0-4da7-b457-e8d218e45f7a" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="Not SOAP Fault Assertion" id="f9ef9061-50a1-41b8-b111-97f000cedd45" name="SOAP Fault"/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/updateZaak_Lk01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="groovy" name="05-zgw-generateJwt" id="a49120bc-b64c-4197-9788-72077cd4eecc"> + <con:settings/> + <con:config> + <script>import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URI; +import java.net.URISyntaxException; +import org.apache.http.HttpEntity; +import org.apache.http.HttpResponse; +import org.apache.http.ParseException; +import org.apache.http.client.ClientProtocolException; +import org.apache.http.client.HttpClient; +import org.apache.http.client.methods.HttpGet; +import org.apache.http.entity.StringEntity; +import org.apache.http.impl.client.DefaultHttpClient; +import org.apache.http.util.EntityUtils; +import groovy.json.JsonOutput +import groovy.json.JsonSlurper +import javax.crypto.spec.SecretKeySpec +import javax.crypto.Mac +import java.time.Duration + +def jwtClientId = context.expand( '${#Project#jwtClientId}' ) +def jwtSecret = context.expand( '${#Project#jwtSecret}' ) + +def createJwt(Integer validSeconds, String clientId, String secret) { + TimeZone.setDefault(TimeZone.getTimeZone('UTC')) + def rightNowMilli = System.currentTimeMillis() + def rightNowSec = Math.round(rightNowMilli / 1000) + def expirationSec = rightNowSec + validSeconds + def jtiValue = UUID.randomUUID().toString() + + Map header = [alg: "HS256", typ: "JWT"] + def headerJson = JsonOutput.toJson(header) + def headerBase64 = headerJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + Map payload = [exp: expirationSec, iat: rightNowSec, iss: clientId, client_id: clientId, user_id: clientId, user_reresentation: clientId, jti: jtiValue] + def payloadJson = JsonOutput.toJson(payload) + def payloadBase64 = payloadJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + def toBeSigned = headerBase64 + "." + payloadBase64 + SecretKeySpec secretKeySpec = new SecretKeySpec(secret.getBytes("UTF-8"), "HmacSHA256") + + Mac mac = Mac.getInstance("HmacSHA256") + mac.init(secretKeySpec) + byte[] digest = mac.doFinal(toBeSigned.getBytes("UTF-8")) + def signature = digest.encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + headerBase64 + "." + payloadBase64 + "." + signature +} + +// Create the JWT. +def token = createJwt(600, jwtClientId, jwtSecret) +testRunner.testCase.getTestStepByName("Properties").setPropertyValue( 'JwtToken', "Bearer " + token)</script> + </con:config> + </con:testStep> + <con:testStep type="httprequest" name="06-zgw-getZaakByIdentificatie" id="9523b26c-dc5f-45f2-9e5e-b8f40bcf82cf"> + <con:settings/> + <con:config method="GET" xsi:type="con:HttpRequest" id="222f62b6-78c9-4982-89a5-c9ff716b456d" name="06-zgw-getZaakByIdentificatie" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:endpoint>${#Project#OpenZaakZakenApiRootUrl}/zaken</con:endpoint> + <con:request/> + <con:assertion type="Valid HTTP Status Codes" id="d8e05e85-ba0a-4eb6-a4c4-81da8c46d047" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <con:parameter> + <con:name>Accept-Crs</con:name> + <con:value>EPSG:4326</con:value> + <con:style>HEADER</con:style> + <con:default>EPSG:4326</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + <con:parameter> + <con:name>Content-Crs</con:name> + <con:value>EPSG:4326</con:value> + <con:style>HEADER</con:style> + <con:default>EPSG:4326</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + <con:parameter> + <con:name>Authorization</con:name> + <con:value>${Properties#JwtToken}</con:value> + <con:style>HEADER</con:style> + <con:default>${Properties#JwtToken}</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + <con:parameter> + <con:name>identificatie</con:name> + <con:value>${Properties#ZaakIdentificatie}</con:value> + <con:style>QUERY</con:style> + </con:parameter> + </con:parameters> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="99a-TransferZaakUrl" id="bcd58ee8-4aa9-49b9-b93f-021ec7fab9ce"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"> + <con:name>TransferZaakUrl</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>06-zgw-getZaakByIdentificatie</con:sourceStep> + <con:sourcePath>$.results[0].url</con:sourcePath> + <con:targetType>ZaakUrl</con:targetType> + <con:targetStep>Properties</con:targetStep> + <con:type>JSONPATH</con:type> + <con:targetTransferType>JSONPATH</con:targetTransferType> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="httprequest" name="99b-zgw-deleteZaak" id="2603f082-9b47-415d-a619-70023ca88690"> + <con:settings/> + <con:config method="DELETE" xsi:type="con:HttpRequest" id="425cebae-0886-4cab-bf6c-e454353dbcf3" name="99b-zgw-deleteZaak" postQueryString="false" mediaType="application/json" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:endpoint>${Properties#ZaakUrl}</con:endpoint> + <con:request/> + <con:assertion type="Valid HTTP Status Codes" id="28a456ce-d6cf-4dfc-8877-9ca05bc0212a" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>204</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <con:parameter> + <con:name>Authorization</con:name> + <con:value>${Properties#JwtToken}</con:value> + <con:style>HEADER</con:style> + <con:default>${Properties#JwtToken}</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + </con:parameters> + </con:config> + </con:testStep> + <con:properties> + <con:property> + <con:name>DocumentSizeKb</con:name> + <con:value>0.1</con:value> + </con:property> + </con:properties> + </con:testCase> + <con:testCase id="dd52e193-03b1-4f54-95b4-14c9f839764d" failOnError="false" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="TearDown-IEIAZS" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword=""> + <con:settings/> + <con:testStep type="properties" name="Properties" id="14bf97a4-98a4-423a-a99d-d5ce2c808248"> + <con:settings/> + <con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:properties> + <con:property> + <con:name>JwtToken</con:name> + <con:value/> + </con:property> + </con:properties> + </con:config> + </con:testStep> + <con:testStep type="groovy" name="00-zgw-generateJwt" id="f1248bb2-5dfa-4882-8cda-c5365aee40cd"> + <con:settings/> + <con:config> + <script>import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URI; +import java.net.URISyntaxException; +import org.apache.http.HttpEntity; +import org.apache.http.HttpResponse; +import org.apache.http.ParseException; +import org.apache.http.client.ClientProtocolException; +import org.apache.http.client.HttpClient; +import org.apache.http.client.methods.HttpGet; +import org.apache.http.entity.StringEntity; +import org.apache.http.impl.client.DefaultHttpClient; +import org.apache.http.util.EntityUtils; +import groovy.json.JsonOutput +import groovy.json.JsonSlurper +import javax.crypto.spec.SecretKeySpec +import javax.crypto.Mac +import java.time.Duration + +def jwtClientId = context.expand( '${#Project#jwtClientId}' ) +def jwtSecret = context.expand( '${#Project#jwtSecret}' ) + +def createJwt(Integer validSeconds, String clientId, String secret) { + TimeZone.setDefault(TimeZone.getTimeZone('UTC')) + def rightNowMilli = System.currentTimeMillis() + def rightNowSec = Math.round(rightNowMilli / 1000) + def expirationSec = rightNowSec + validSeconds + def jtiValue = UUID.randomUUID().toString() + + Map header = [alg: "HS256", typ: "JWT"] + def headerJson = JsonOutput.toJson(header) + def headerBase64 = headerJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + Map payload = [exp: expirationSec, iat: rightNowSec, iss: clientId, client_id: clientId, user_id: clientId, user_reresentation: clientId, jti: jtiValue] + def payloadJson = JsonOutput.toJson(payload) + def payloadBase64 = payloadJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + def toBeSigned = headerBase64 + "." + payloadBase64 + SecretKeySpec secretKeySpec = new SecretKeySpec(secret.getBytes("UTF-8"), "HmacSHA256") + + Mac mac = Mac.getInstance("HmacSHA256") + mac.init(secretKeySpec) + byte[] digest = mac.doFinal(toBeSigned.getBytes("UTF-8")) + def signature = digest.encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + headerBase64 + "." + payloadBase64 + "." + signature +} + +// Create the JWT. +def token = createJwt(600, jwtClientId, jwtSecret) +testRunner.testCase.getTestStepByName("Properties").setPropertyValue( 'JwtToken', "Bearer " + token)</script> + </con:config> + </con:testStep> + <con:testStep type="httprequest" name="01-zgw-deleteZaakType" id="bfed2311-2902-4040-b161-ed29b646ee28"> + <con:settings/> + <con:config method="DELETE" xsi:type="con:HttpRequest" id="e1476f25-af79-4621-8ef5-396d714d0c07" name="01-zgw-deleteZaakType" postQueryString="false" mediaType="application/json" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:endpoint>${#TestSuite#IEIAZSUrl}</con:endpoint> + <con:request/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <con:parameter> + <con:name>Authorization</con:name> + <con:value>${Properties#JwtToken}</con:value> + <con:style>HEADER</con:style> + <con:default>${Properties#JwtToken}</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + </con:parameters> + </con:config> + </con:testStep> + <con:properties/> + </con:testCase> + <con:testCase id="1ec9a4e5-6dc7-463a-8250-e292608f973c" failOnError="false" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="SetUp-IEIAZS-B" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" disabled="true"> + <con:settings/> + <con:testStep type="properties" name="Properties" id="af768f15-7271-4d71-ad20-c153fda162c5"> + <con:settings/> + <con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:properties> + <con:property> + <con:name>CatalogusCount</con:name> + <con:value/> + </con:property> + <con:property> + <con:name>JwtToken</con:name> + <con:value/> + </con:property> + </con:properties> + </con:config> + </con:testStep> + <con:testStep type="groovy" name="00-zgw-generateJwt" id="904a050f-ab9b-48d6-915a-e891626d0ab2"> + <con:settings/> + <con:config> + <script>import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URI; +import java.net.URISyntaxException; +import org.apache.http.HttpEntity; +import org.apache.http.HttpResponse; +import org.apache.http.ParseException; +import org.apache.http.client.ClientProtocolException; +import org.apache.http.client.HttpClient; +import org.apache.http.client.methods.HttpGet; +import org.apache.http.entity.StringEntity; +import org.apache.http.impl.client.DefaultHttpClient; +import org.apache.http.util.EntityUtils; +import groovy.json.JsonOutput +import groovy.json.JsonSlurper +import javax.crypto.spec.SecretKeySpec +import javax.crypto.Mac +import java.time.Duration + +def jwtClientId = context.expand( '${#Project#jwtClientId}' ) +def jwtSecret = context.expand( '${#Project#jwtSecret}' ) + +def createJwt(Integer validSeconds, String clientId, String secret) { + TimeZone.setDefault(TimeZone.getTimeZone('UTC')) + def rightNowMilli = System.currentTimeMillis() + def rightNowSec = Math.round(rightNowMilli / 1000) + def expirationSec = rightNowSec + validSeconds + def jtiValue = UUID.randomUUID().toString() + + Map header = [alg: "HS256", typ: "JWT"] + def headerJson = JsonOutput.toJson(header) + def headerBase64 = headerJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + Map payload = [exp: expirationSec, iat: rightNowSec, iss: clientId, client_id: clientId, user_id: clientId, user_reresentation: clientId, jti: jtiValue] + def payloadJson = JsonOutput.toJson(payload) + def payloadBase64 = payloadJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + def toBeSigned = headerBase64 + "." + payloadBase64 + SecretKeySpec secretKeySpec = new SecretKeySpec(secret.getBytes("UTF-8"), "HmacSHA256") + + Mac mac = Mac.getInstance("HmacSHA256") + mac.init(secretKeySpec) + byte[] digest = mac.doFinal(toBeSigned.getBytes("UTF-8")) + def signature = digest.encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + headerBase64 + "." + payloadBase64 + "." + signature +} + +// Create the JWT. +def token = createJwt(600, jwtClientId, jwtSecret) +testRunner.testCase.getTestStepByName("Properties").setPropertyValue( 'JwtToken', "Bearer " + token)</script> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="01-zgw-getCatalogus" id="dbb991b4-7607-4401-9fb6-bd4f99ce3212"> + <con:settings/> + <con:config service="Catalogi API" methodName="catalogus_list" resourcePath="/catalogussen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="01-zgw-getCatalogus" id="55c67fbc-e61f-456f-a202-69afc75b8b0b" mediaType="application/json"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request/> + <con:originalUri>http://localhost/catalogi/api/v1/catalogussen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="beb44b4d-8b6f-4654-87e1-2ac1760cc886" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters/> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="02-TransferCatalogusCount" id="64e90204-44b1-4d37-9e47-38b6d3e6f256"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"> + <con:name>TransferCatalogusCount</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>01-zgw-getCatalogus</con:sourceStep> + <con:sourcePath>$.count</con:sourcePath> + <con:targetType>CatalogusCount</con:targetType> + <con:targetStep>Properties</con:targetStep> + <con:type>JSONPATH</con:type> + <con:targetTransferType>JSONPATH</con:targetTransferType> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="goto" name="03-CheckIfCatalogusExists" id="c3eefc8e-f49a-40af-819b-4fd94238428a"> + <con:settings/> + <con:config xsi:type="con:GotoStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:condition> + <con:name>IsThereCatalogus</con:name> + <con:type>XPATH</con:type> + <con:expression>${Properties#CatalogusCount} = 1</con:expression> + <con:targetStep>04b-TransferExistingCatalogusUrl</con:targetStep> + </con:condition> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="04_a1-zgw-postCatalogus" id="8d8ca4ee-87bf-48bd-bd3d-4321bbfe36ee"> + <con:settings/> + <con:config service="Catalogi API" methodName="catalogus_create" resourcePath="/catalogussen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="04_a1-zgw-postCatalogus" id="f68c4a0d-caa2-4caf-a807-ff6d11e53694" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ + "domein": "ETESD", + "rsin": "548746485", + "contactpersoonBeheerNaam": "Marcel Lenterman", + "contactpersoonBeheerTelefoonnummer": "0636392161", + "contactpersoonBeheerEmailadres": "marcel@wearefrank.nl" +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/catalogussen/catalogussen</con:originalUri> + <con:assertion type="JsonPath Match" id="6af7fd0b-26ea-431f-811f-6b561a37d8f3" name="JsonPath Match"> + <con:configuration> + <path>$.domein</path> + <content>ETESD</content> + <allowWildcards>false</allowWildcards> + <ignoreNamspaceDifferences>false</ignoreNamspaceDifferences> + <ignoreComments>false</ignoreComments> + </con:configuration> + </con:assertion> + <con:credentials> + <con:username>1</con:username> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="04_a2-TransferCatalogusUrl" id="5cd641ab-cbd1-436b-8483-5cb6e7e589e5"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"> + <con:name>TransferCatalogusUrl</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>04_a1-zgw-postCatalogus</con:sourceStep> + <con:sourcePath>$.url</con:sourcePath> + <con:targetType>CatalogusUrl</con:targetType> + <con:targetStep>#TestSuite#</con:targetStep> + <con:type>JSONPATH</con:type> + <con:targetTransferType>JSONPATH</con:targetTransferType> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="goto" name="04_a3-CheckIfCatalogusUrlTransferred" id="a6e2f212-3830-4057-b830-56de2632e206"> + <con:settings/> + <con:config xsi:type="con:GotoStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:condition> + <con:name>IsCatalogusUrlTransferred</con:name> + <con:type>XPATH</con:type> + <con:expression>${Properties#CatalogusCount} = 0</con:expression> + <con:targetStep>05-zgw-postZaakType</con:targetStep> + </con:condition> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="04b-TransferExistingCatalogusUrl" id="c851cf44-cd66-4b0e-9670-cf49bf683476"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"> + <con:name>TransferExistingCatalogusUrl</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>01-zgw-getCatalogus</con:sourceStep> + <con:sourcePath>$.results[0].url</con:sourcePath> + <con:targetType>CatalogusUrl</con:targetType> + <con:targetStep>#TestSuite#</con:targetStep> + <con:type>JSONPATH</con:type> + <con:targetTransferType>JSONPATH</con:targetTransferType> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="05-zgw-postZaakType" id="12004657-5ebb-44d2-b567-35ad9743c79b"> + <con:settings/> + <con:config service="Catalogi API" methodName="zaaktype_create" resourcePath="/zaaktypen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="05-zgw-postZaakType" id="f6b24329-ce75-4920-ae18-3867ca60a1e8" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ + "identificatie": "IEIAZS-B", + "omschrijving": "IEIAZS-B", + "omschrijvingGeneriek": "Rijbewijs", + "vertrouwelijkheidaanduiding": "vertrouwelijk", + "doel": "Het behandelen van een aanvraag voor een rijbewijs", + "aanleiding": "Dit werkproces wordt extern getriggerd door een inkomende aanvraag.", + "toelichting": "NVVB-benaming 'Rijbewijzen'. Dit werkproces betreft het behandelen van een aanvraag voor een rijbewijs. 'NRD' staat voor Nieuw Rijbewijs Document en dit rijbewijs heeft een creditcardformaat.", + "indicatieInternOfExtern": "extern", + "handelingInitiator": "Aanvragen", + "onderwerp": "Rijbewijs", + "handelingBehandelaar": "Behandelen", + "doorlooptijd": "P28D", + "servicenorm": null, + "opschortingEnAanhoudingMogelijk": true, + "verlengingMogelijk": false, + "verlengingstermijn": null, + "trefwoorden": ["Rijbewijs"], + "publicatieIndicatie": false, + "publicatietekst": "", + "verantwoordingsrelatie": [], + "productenOfDiensten": [ + "https://referentielijsten-api.vng.cloud/api/v1/procestypen/3b29996b-bc3a-4493-ae35-e0de2926f007" + ], + "selectielijstProcestype": "https://selectielijst.openzaak.nl/api/v1/procestypen/0f86ece3-f863-4c67-928e-cc71ad0e2318", + "referentieproces": { + "naam": "Behandelen aanvraag product", + "link": "https://www.gemmaonline.nl/index.php/GEMMA2/0.9/id-49fe8555-b001-4c86-9a81-20491e16af75" + }, + "verantwoordelijke": "Projectleider", + "catalogus": "${#TestSuite#CatalogusUrl}", + "besluittypen": [], + "deelzaaktypen": [], + "gerelateerdeZaaktypen": [], + "beginGeldigheid": "2021-04-03", + "eindeGeldigheid": null, + "versiedatum": "2021-04-03" +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/zaaktypen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="ef9a828f-68b5-41bf-8043-e1fa80162fb8" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="06-TransferZaakTypeUrl" id="be8162d3-a7e1-4eb5-a9e5-ea6692c908e5"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"> + <con:name>TransferZaakTypeUrl</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>05-zgw-postZaakType</con:sourceStep> + <con:sourcePath>$.url</con:sourcePath> + <con:targetType>IEIAZS-BUrl</con:targetType> + <con:targetStep>#TestSuite#</con:targetStep> + <con:type>JSONPATH</con:type> + <con:targetTransferType>JSONPATH</con:targetTransferType> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="07-zgw-postResultaatType1" id="e4c60eb7-15e9-4817-b124-91a8a0680e43"> + <con:settings/> + <con:config service="Catalogi API" methodName="resultaattype_create" resourcePath="/resultaattypen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="07-zgw-postResultaatType1" id="22828885-d47b-49f8-bcb9-94131c4877f1" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ +"zaaktype": "${#TestSuite#IEIAZS-BUrl}", +"omschrijving": "Gave a thing", +"resultaattypeomschrijving": "https://selectielijst.openzaak.nl/api/v1/resultaattypeomschrijvingen/ce8cf476-0b59-496f-8eee-957a7c6e2506", +"selectielijstklasse": "https://selectielijst.openzaak.nl/api/v1/resultaten/733f7553-fb30-4e68-8aa6-2d211de84fb7", +"toelichting": "", +"archiefnominatie": "vernietigen", +"archiefactietermijn": "P365D", +"brondatumArchiefprocedure": { +"afleidingswijze": "afgehandeld", +"datumkenmerk": "", +"einddatumBekend": false, +"objecttype": "", +"registratie": "", +"procestermijn": null +} +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/resultaattypen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="1b675bfe-ef8a-478e-9f10-5d9a9dc0c13f" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="12-zgw-postRolType1" id="cacacd1d-6b11-428e-92d9-52097de662c2"> + <con:settings/> + <con:config service="Catalogi API" methodName="roltype_create" resourcePath="/roltypen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="12-zgw-postRolType1" id="22828885-d47b-49f8-bcb9-94131c4877f1" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ +"zaaktype": "${#TestSuite#IEIAZS-BUrl}", +"omschrijving": "Uitvoerende", +"omschrijvingGeneriek": "behandelaar" +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/resultaattypen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="171bb052-edf7-4434-a58b-c86f94106c12" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="13-zgw-postRolType2" id="514fa196-67bf-42fb-8b67-0c95fdde17bd"> + <con:settings/> + <con:config service="Catalogi API" methodName="roltype_create" resourcePath="/roltypen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="13-zgw-postRolType2" id="22828885-d47b-49f8-bcb9-94131c4877f1" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ +"zaaktype": "${#TestSuite#IEIAZS-BUrl}", +"omschrijving": "Initiator", +"omschrijvingGeneriek": "initiator" +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/resultaattypen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="89689a44-4074-46cd-b505-019422b79bce" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="14-zgw-postStatusType1" id="0d5ead27-52c2-40fb-8d4a-98ce64ccac00"> + <con:settings/> + <con:config service="Catalogi API" methodName="statustype_create" resourcePath="/statustypen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="14-zgw-postStatusType1" id="14a23733-5542-4db7-abd0-035ce3b7464e" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ +"omschrijving": "Started", +"omschrijvingGeneriek": "Started", +"statustekst": "", +"zaaktype": "${#TestSuite#IEIAZS-BUrl}", +"volgnummer": 1, +"informeren": false +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/statustypen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="7eaa2aee-be5a-43ba-bda5-f5902e6e94f4" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="restrequest" name="15-zgw-postStatusType2" id="6999dcef-00e2-4cbc-908e-d82905c12212"> + <con:settings/> + <con:config service="Catalogi API" methodName="statustype_create" resourcePath="/statustypen" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:restRequest name="15-zgw-postStatusType2" id="14a23733-5542-4db7-abd0-035ce3b7464e" mediaType="application/json" postQueryString="false"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Authorization" value="${Properties#JwtToken}" xmlns="http://eviware.com/soapui/config"/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#OpenZaakCatalogiApiRootUrl}</con:endpoint> + <con:request>{ +"omschrijving": "Ended", +"omschrijvingGeneriek": "Ended", +"statustekst": "", +"zaaktype": "${#TestSuite#IEIAZS-BUrl}", +"volgnummer": 2, +"informeren": false +}</con:request> + <con:originalUri>http://localhost/catalogi/api/v1/statustypen</con:originalUri> + <con:assertion type="Valid HTTP Status Codes" id="6f05a30b-deff-44cf-99b3-11290c74f71a" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <entry key="Content-Type" value="application/json" xmlns="http://eviware.com/soapui/config"/> + </con:parameters> + </con:restRequest> + </con:config> + </con:testStep> + <con:testStep type="httprequest" name="22-zgw-publiceerZaakType" id="a72e762a-b09c-4b4d-83df-1a83cd87d27e"> + <con:settings/> + <con:config method="POST" xsi:type="con:HttpRequest" id="22808fb7-c69f-4c7f-b9be-f07422340e76" name="22-zgw-publiceerZaakType" postQueryString="false" mediaType="application/xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:endpoint>${#TestSuite#IEIAZS-BUrl}/publish</con:endpoint> + <con:request/> + <con:assertion type="Valid HTTP Status Codes" id="3df6c2e0-d6a1-46a5-aa4d-9f9e3483be34" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <con:parameter> + <con:name>Content-Type</con:name> + <con:value>application/json</con:value> + <con:style>HEADER</con:style> + <con:default>application/json</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + <con:parameter> + <con:name>Authorization</con:name> + <con:value>${Properties#JwtToken}</con:value> + <con:style>HEADER</con:style> + <con:default>${#Project#JwtToken}</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + </con:parameters> + </con:config> + </con:testStep> + <con:properties/> + </con:testCase> + <con:testCase id="cf38e58b-1024-468b-be6d-717bf62e7dbe" failOnError="false" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="IEIAZS-B-EndDateAndResultInUpdateZaak-UpdateZaakShouldCloseCaseByCreatingEndStatusFromEndDate" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" disabled="true"> + <con:settings/> + <con:testStep type="properties" name="Properties" id="ccfc0c12-6823-4dd2-9f22-79d19dd4c43c"> + <con:settings/> + <con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:properties> + <con:property> + <con:name>ZaakIdentificatie</con:name> + <con:value/> + </con:property> + <con:property> + <con:name>ZaakUrl</con:name> + <con:value/> + </con:property> + <con:property> + <con:name>JwtToken</con:name> + <con:value/> + </con:property> + <con:property> + <con:name>ResultaatOfProfileJson</con:name> + <con:value/> + </con:property> + </con:properties> + </con:config> + </con:testStep> + <con:testStep type="request" id="71aaf181-7d53-42a6-a781-f7245c8a0cd7" name="01-zds-genereerZaakIdentificatie_Di02"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsVrijeBerichten</con:interface> + <con:operation>genereerZaakIdentificatie_Di02</con:operation> + <con:request name="01-zds-genereerZaakIdentificatie_Di02" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="78a97417-a2f7-4fe6-87ad-6af33391b0e1"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + <con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@dump-file"/> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/VrijBericht</con:endpoint> + <con:request><![CDATA[<SOAP-ENV:Envelope xsi:schemaLocation="http://www.egem.nl/StUF/sector/zkn/0310 zkn0310-p28\zs-dms\zkn0310_msg_zs-dms_resolved.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <SOAP-ENV:Header/> + <SOAP-ENV:Body> + <ZKN:genereerZaakIdentificatie_Di02> + <ZKN:stuurgegevens> + <StUF:berichtcode>Di02</StUF:berichtcode> + <StUF:zender> + <StUF:organisatie>1900</StUF:organisatie> + <StUF:applicatie>GWS4all</StUF:applicatie> + <StUF:gebruiker>Gebruiker</StUF:gebruiker> + </StUF:zender> + <StUF:ontvanger> + <StUF:organisatie>1900</StUF:organisatie> + <StUF:applicatie>CDR</StUF:applicatie> + </StUF:ontvanger> + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer> + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht> + <StUF:functie>genereerZaakidentificatie</StUF:functie> + </ZKN:stuurgegevens> + </ZKN:genereerZaakIdentificatie_Di02> + </SOAP-ENV:Body> +</SOAP-ENV:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="d95790e3-4684-4e55-bc88-a3472c2a786b" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="7c41213e-fa45-4a54-9b26-a2aae7cae18f" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="18ca3e91-13ed-4d5d-951f-992518c27752" name="Not SOAP Fault"/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/genereerZaakIdentificatie_Di02"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="01a-TransferZaakIdentificatie" id="a38a3cbc-68e3-4a85-9992-89bc76f28b7b"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false" disabled="false"> + <con:name>TransferZaakIdentificatie</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>01-zds-genereerZaakIdentificatie_Di02</con:sourceStep> + <con:sourcePath>declare namespace ZKN="http://www.egem.nl/StUF/sector/zkn/0310"; +//ZKN:identificatie[1]</con:sourcePath> + <con:targetType>ZaakIdentificatie</con:targetType> + <con:targetStep>Properties</con:targetStep> + <con:targetPath/> + <con:type>XPATH</con:type> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="request" id="030529c4-37b3-4a45-85e1-3b6f5b9e90cb" name="02-zds-creeerZaak_Lk01-withoutStatusAndResultaat"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsOntvangAsynchroon</con:interface> + <con:operation>creeerZaak_Lk01</con:operation> + <con:request name="02-zds-creeerZaak_Lk01-withoutStatusAndResultaat" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="4afca0bd-189b-4572-b269-39ac6814fb73"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + <con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@dump-file"/> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/OntvangAsynchroon</con:endpoint> + <con:request><![CDATA[<SOAP-ENV:Envelope xsi:schemaLocation="http://www.egem.nl/StUF/sector/zkn/0310 zkn0310-p28\mutatie\zkn0310_msg_mutatie_resolved.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r + <SOAP-ENV:Header/>\r + <SOAP-ENV:Body>\r + <ZKN:zakLk01>\r + <ZKN:stuurgegevens>\r + <StUF:berichtcode>Lk01</StUF:berichtcode>\r + <StUF:zender>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>GWS4all</StUF:applicatie>\r + <StUF:gebruiker>Gebruiker</StUF:gebruiker>\r + </StUF:zender>\r + <StUF:ontvanger>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>CDR</StUF:applicatie>\r + </StUF:ontvanger>\r + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer>\r + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht>\r + <StUF:entiteittype>ZAK</StUF:entiteittype>\r + </ZKN:stuurgegevens>\r + <ZKN:parameters>\r + <StUF:mutatiesoort>T</StUF:mutatiesoort>\r + <StUF:indicatorOvername>V</StUF:indicatorOvername>\r + </ZKN:parameters>\r + <ZKN:object StUF:sleutelVerzendend="${Properties#ZaakIdentificatie}" StUF:entiteittype="ZAK" StUF:verwerkingssoort="T">\r + <ZKN:identificatie>${Properties#ZaakIdentificatie}</ZKN:identificatie>\r + <ZKN:omschrijving>IEIAZS-B</ZKN:omschrijving>\r + <ZKN:kenmerk>\r + <ZKN:kenmerk StUF:noValue="geenWaarde" xsi:nil="true" /> + <ZKN:bron>soapui</ZKN:bron>\r + </ZKN:kenmerk>\r + <ZKN:kenmerk> + <ZKN:kenmerk>kenmerk2</ZKN:kenmerk> + <ZKN:bron StUF:noValue="geenWaarde" xsi:nil="true" /> + </ZKN:kenmerk> + <ZKN:startdatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:startdatum>\r + <ZKN:registratiedatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:registratiedatum>\r + <ZKN:einddatumGepland>20210101</ZKN:einddatumGepland>\r + <ZKN:archiefnominatie>J</ZKN:archiefnominatie>\r + <ZKN:zaakniveau>1</ZKN:zaakniveau>\r + <ZKN:deelzakenIndicatie>N</ZKN:deelzakenIndicatie>\r + <ZKN:isVan StUF:entiteittype="ZAKZKT" StUF:verwerkingssoort="T">\r + <ZKN:gerelateerde StUF:entiteittype="ZKT" StUF:verwerkingssoort="T">\r + <ZKN:omschrijving>IEIAZS-B</ZKN:omschrijving>\r + <ZKN:code>IEIAZS-B</ZKN:code>\r + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </ZKN:gerelateerde>\r + </ZKN:isVan>\r + <ZKN:heeftAlsInitiator StUF:entiteittype="ZAKBTRINI" StUF:verwerkingssoort="T">\r + <ZKN:gerelateerde>\r + <ZKN:natuurlijkPersoon StUF:entiteittype="NPS" StUF:verwerkingssoort="T">\r + <BG:inp.bsn>111111110</BG:inp.bsn>\r + <BG:authentiek StUF:metagegeven="true">J</BG:authentiek>\r + <BG:geslachtsnaam>Precies</BG:geslachtsnaam>\r + <BG:voorvoegselGeslachtsnaam xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:voorletters>P</BG:voorletters>\r + <BG:voornamen>Pietje</BG:voornamen>\r + <BG:geslachtsaanduiding>M</BG:geslachtsaanduiding>\r + <BG:geboortedatum StUF:indOnvolledigeDatum="V">19010101</BG:geboortedatum>\r + <BG:verblijfsadres>\r + <BG:aoa.identificatie xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:authentiek StUF:metagegeven="true">J</BG:authentiek>\r + <BG:wpl.woonplaatsNaam>Bolsward</BG:wpl.woonplaatsNaam>\r + <BG:gor.openbareRuimteNaam xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:gor.straatnaam>Kerkstraat</BG:gor.straatnaam>\r + <BG:aoa.postcode>8701HP</BG:aoa.postcode>\r + <BG:aoa.huisnummer>1</BG:aoa.huisnummer>\r + <BG:aoa.huisletter xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:aoa.huisnummertoevoeging xsi:nil="true" StUF:noValue="geenWaarde"/>\r + <BG:inp.locatiebeschrijving xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </BG:verblijfsadres>\r + </ZKN:natuurlijkPersoon>\r + </ZKN:gerelateerde>\r + </ZKN:heeftAlsInitiator>\r + </ZKN:object>\r + </ZKN:zakLk01>\r + </SOAP-ENV:Body>\r +</SOAP-ENV:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="3cb2e495-2a67-440c-92d2-dc7a422a76cd" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="c6cff34b-dc2b-4014-adc6-06944c6d8448" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="77aec6d5-bcd1-489e-878f-f49b93530cf5" name="Not SOAP Fault"/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/creeerZaak_Lk01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="request" id="68c1ef80-5238-4ae9-ba54-c99a910655cc" name="03-zds-actualiseerZaakstatus_Lk01-endstatus"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsOntvangAsynchroon</con:interface> + <con:operation>actualiseerZaakstatus_Lk01</con:operation> + <con:request name="03-zds-actualiseerZaakstatus_Lk01-endstatus" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="95a9a1b6-e5c4-4df5-af54-82ed55c6e1e8"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + <con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@dump-file"/> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/OntvangAsynchroon</con:endpoint> + <con:request><![CDATA[<SOAP-ENV:Envelope xsi:schemaLocation="http://www.egem.nl/StUF/sector/zkn/0310 zkn0310-p28\mutatie\zkn0310_msg_mutatie_resolved.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r + <SOAP-ENV:Header/>\r + <SOAP-ENV:Body>\r + <ZKN:zakLk01>\r + <ZKN:stuurgegevens>\r + <StUF:berichtcode>Lk01</StUF:berichtcode>\r + <StUF:zender>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>GWS4all</StUF:applicatie>\r + <StUF:gebruiker>Gebruiker</StUF:gebruiker>\r + </StUF:zender>\r + <StUF:ontvanger>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>CDR</StUF:applicatie>\r + </StUF:ontvanger>\r + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer>\r + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht>\r + <StUF:entiteittype>ZAK</StUF:entiteittype>\r + </ZKN:stuurgegevens>\r + <ZKN:parameters>\r + <StUF:mutatiesoort>W</StUF:mutatiesoort>\r + <StUF:indicatorOvername>V</StUF:indicatorOvername>\r + </ZKN:parameters>\r + <ZKN:object StUF:sleutelVerzendend="${Properties#ZaakIdentificatie}" StUF:entiteittype="ZAK" StUF:verwerkingssoort="W">\r + <ZKN:identificatie>${Properties#ZaakIdentificatie}</ZKN:identificatie>\r + <ZKN:omschrijving>IEIAZS-B</ZKN:omschrijving>\r + <ZKN:startdatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:startdatum>\r + <ZKN:registratiedatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:registratiedatum>\r + <ZKN:isVan StUF:entiteittype="ZAKZKT" StUF:verwerkingssoort="I">\r + <ZKN:gerelateerde StUF:entiteittype="ZKT" StUF:verwerkingssoort="I">\r + <ZKN:omschrijving>IEIAZS-B</ZKN:omschrijving>\r + <ZKN:code>IEIAZS-B</ZKN:code>\r + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </ZKN:gerelateerde>\r + </ZKN:isVan>\r + <ZKN:heeft StUF:entiteittype="ZAKSTT" StUF:verwerkingssoort="T" xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </ZKN:object>\r + <ZKN:object StUF:sleutelVerzendend="${Properties#ZaakIdentificatie}" StUF:entiteittype="ZAK" StUF:verwerkingssoort="W">\r + <ZKN:identificatie>${Properties#ZaakIdentificatie}</ZKN:identificatie>\r + <ZKN:omschrijving>IEIAZS-B</ZKN:omschrijving>\r + <ZKN:startdatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:startdatum>\r + <ZKN:registratiedatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:registratiedatum>\r + <ZKN:isVan StUF:entiteittype="ZAKZKT" StUF:verwerkingssoort="I">\r + <ZKN:gerelateerde StUF:entiteittype="ZKT" StUF:verwerkingssoort="I">\r + <ZKN:omschrijving>IEIAZS-B</ZKN:omschrijving>\r + <ZKN:code>IEIAZS-B</ZKN:code>\r + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/>\r + </ZKN:gerelateerde>\r + </ZKN:isVan>\r + <ZKN:heeft StUF:entiteittype="ZAKSTT" StUF:verwerkingssoort="T"> + <ZKN:gerelateerde StUF:entiteittype="STT" StUF:verwerkingssoort="T"> + <ZKN:zkt.code>IEIAZS-B</ZKN:zkt.code> + <ZKN:zkt.omschrijving>IEIAZS-B</ZKN:zkt.omschrijving> + <ZKN:volgnummer>0002</ZKN:volgnummer> + <ZKN:omschrijving>Ended</ZKN:omschrijving> + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/> + </ZKN:gerelateerde> + <ZKN:datumStatusGezet>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</ZKN:datumStatusGezet> + </ZKN:heeft> + </ZKN:object>\r + </ZKN:zakLk01>\r + </SOAP-ENV:Body>\r +</SOAP-ENV:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="d9b1365f-045b-4ea3-90d7-8a42cb57a880" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="750b8651-93c2-411c-b399-14831a38f014" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="b90ca0d8-cb3c-4619-b5ad-a90db97956f5" name="Not SOAP Fault"/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/actualiseerZaakstatus_Lk01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="request" id="95021a3d-c783-42a6-9f39-5221280a6fee" name="04-zds-geefZaakdetails_Lv01-No Einddatum"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsBeantwoordVraag</con:interface> + <con:operation>geefZaakdetails_Lv01</con:operation> + <con:request name="04-zds-geefZaakdetails_Lv01-No Einddatum" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="b86f0444-e5bf-4a09-97a2-3d650e0b93ff"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/BeantwoordVraag</con:endpoint> + <con:request><![CDATA[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">\r + <s:Body>\r + <zakLv01 xmlns="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:xlink="http://www.w3.org/1999/xlink">\r + <stuurgegevens>\r + <StUF:berichtcode>Lv01</StUF:berichtcode>\r + <StUF:zender>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>GISVG</StUF:applicatie>\r + </StUF:zender>\r + <StUF:ontvanger>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>ZDS</StUF:applicatie>\r + </StUF:ontvanger>\r + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer>\r + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht>\r + <StUF:entiteittype>ZAK</StUF:entiteittype>\r + </stuurgegevens>\r + <parameters>\r + <StUF:sortering>0</StUF:sortering>\r + <StUF:indicatorVervolgvraag>false</StUF:indicatorVervolgvraag>\r + </parameters>\r + <gelijk StUF:entiteittype="ZAK">\r + <identificatie>${Properties#ZaakIdentificatie}</identificatie>\r + </gelijk>\r + <scope>\r + <object StUF:entiteittype="ZAK" StUF:scope="alles"/> + </scope>\r + </zakLv01>\r + </s:Body>\r +</s:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="a5bb9a97-6aff-4a26-bd8c-283295080f00" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="ed311230-3e49-4b1f-ad19-4ff7dad1ecf2" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="ecf082e3-2bda-418f-bc9e-32a49965d93b" name="Not SOAP Fault"/> + <con:assertion type="XPath Match" id="896bfc1a-2906-4c9a-8c56-35894bc51be4" name="EndDateNotSet"> + <con:configuration> + <path>string-length(//*:antwoord/*:object/*:einddatum)</path> + <content>0</content> + <allowWildcards>false</allowWildcards> + <ignoreNamspaceDifferences>false</ignoreNamspaceDifferences> + <ignoreComments>false</ignoreComments> + </con:configuration> + </con:assertion> + <con:assertion type="XPath Match" id="23ad9965-ed52-44e2-9e78-1fb0b82f3a3a" name="EndStatusNotSet"> + <con:configuration> + <path>count(//*:antwoord/*:object/*:heeft)</path> + <content>0</content> + <allowWildcards>false</allowWildcards> + <ignoreNamspaceDifferences>false</ignoreNamspaceDifferences> + <ignoreComments>false</ignoreComments> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/geefZaakdetails_Lv01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="request" id="0146a2b6-5bc6-4eb8-a5bb-c52b52aedb43" name="05-zds-updateZaak_Lk01-EindatumAndResultaat"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsOntvangAsynchroon</con:interface> + <con:operation>updateZaak_Lk01</con:operation> + <con:request name="05-zds-updateZaak_Lk01-EindatumAndResultaat" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="5dd40494-7d68-42cb-a5bc-702ccf12d37e"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + <con:setting id="com.eviware.soapui.impl.support.AbstractHttpRequest@dump-file"/> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/OntvangAsynchroon</con:endpoint> + <con:request><![CDATA[<SOAP-ENV:Envelope xsi:schemaLocation="http://www.egem.nl/StUF/sector/zkn/0310 zkn0310-p28\mutatie\zkn0310_msg_mutatie_resolved.xsd" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <SOAP-ENV:Header/> + <SOAP-ENV:Body> + <ZKN:zakLk01> + <ZKN:stuurgegevens> + <StUF:berichtcode>Lk01</StUF:berichtcode> + <StUF:zender> + <StUF:organisatie>1900</StUF:organisatie> + <StUF:applicatie>GWS4all</StUF:applicatie> + <StUF:gebruiker>Gebruiker</StUF:gebruiker> + </StUF:zender> + <StUF:ontvanger> + <StUF:organisatie>1900</StUF:organisatie> + <StUF:applicatie>CDR</StUF:applicatie> + </StUF:ontvanger> + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer> + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht> + <StUF:entiteittype>ZAK</StUF:entiteittype> + </ZKN:stuurgegevens> + <ZKN:parameters> + <StUF:mutatiesoort>W</StUF:mutatiesoort> + <StUF:indicatorOvername>V</StUF:indicatorOvername> + </ZKN:parameters> + <ZKN:object StUF:sleutelVerzendend="${Properties#ZaakIdentificatie}" StUF:entiteittype="ZAK" StUF:verwerkingssoort="W"> + <ZKN:identificatie>${Properties#ZaakIdentificatie}</ZKN:identificatie> + <ZKN:omschrijving>IEIAZS-B</ZKN:omschrijving> + <ZKN:resultaat> + <ZKN:omschrijving>Gave a thing</ZKN:omschrijving> + </ZKN:resultaat> + <ZKN:startdatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:startdatum> + <ZKN:registratiedatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:registratiedatum> + <ZKN:einddatum>${=import java.text.SimpleDateFormat; new SimpleDateFormat("yyyyMMdd").format(new Date())}</ZKN:einddatum> + <ZKN:isVan StUF:entiteittype="ZAKZKT" StUF:verwerkingssoort="I"> + <ZKN:gerelateerde StUF:entiteittype="ZKT" StUF:verwerkingssoort="I"> + <ZKN:omschrijving>IEIAZS-B</ZKN:omschrijving> + <ZKN:code>IEIAZS-B</ZKN:code> + <ZKN:ingangsdatumObject xsi:nil="true" StUF:noValue="geenWaarde"/> + </ZKN:gerelateerde> + </ZKN:isVan> + <ZKN:leidtTot StUF:entiteittype="ZAKBSL" StUF:verwerkingssoort="T" xsi:nil="true" StUF:noValue="geenWaarde"/> + </ZKN:object> + </ZKN:zakLk01> + </SOAP-ENV:Body> +</SOAP-ENV:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="b6adf35a-6784-46b1-97c0-78d348f17a4f" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="264e0ba4-55a0-4da7-b457-e8d218e45f7a" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="9c97fd53-2cda-48ab-b3c8-c4bf1358d3d6" name="Not SOAP Fault"/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/updateZaak_Lk01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="request" id="20f4ee8d-8d69-482b-920d-b1217e322bc2" name="06-zds-geefZaakdetails_Lv01-EndDateAndEndStatusAndResult"> + <con:settings/> + <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:interface>ZdsBeantwoordVraag</con:interface> + <con:operation>geefZaakdetails_Lv01</con:operation> + <con:request name="06-zds-geefZaakdetails_Lv01-EndDateAndEndStatusAndResult" outgoingWss="" incomingWss="" timeout="" sslKeystore="" useWsAddressing="false" useWsReliableMessaging="false" wssPasswordType="" id="b86f0444-e5bf-4a09-97a2-3d650e0b93ff"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:encoding>UTF-8</con:encoding> + <con:endpoint>${#Project#ZaakbrugEndpoint}translate/generic/zds/BeantwoordVraag</con:endpoint> + <con:request><![CDATA[<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">\r + <s:Body>\r + <zakLv01 xmlns="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:BG="http://www.egem.nl/StUF/sector/bg/0310" xmlns:xlink="http://www.w3.org/1999/xlink">\r + <stuurgegevens>\r + <StUF:berichtcode>Lv01</StUF:berichtcode>\r + <StUF:zender>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>GISVG</StUF:applicatie>\r + </StUF:zender>\r + <StUF:ontvanger>\r + <StUF:organisatie>1900</StUF:organisatie>\r + <StUF:applicatie>ZDS</StUF:applicatie>\r + </StUF:ontvanger>\r + <StUF:referentienummer>${=java.util.UUID.randomUUID().toString() }</StUF:referentienummer>\r + <StUF:tijdstipBericht>${=import java.text.SimpleDateFormat; SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSS"); sdf.setTimeZone(TimeZone.getTimeZone("${#Project#ZdsTimezone}")); sdf.format(new Date());}</StUF:tijdstipBericht>\r + <StUF:entiteittype>ZAK</StUF:entiteittype>\r + </stuurgegevens>\r + <parameters>\r + <StUF:sortering>0</StUF:sortering>\r + <StUF:indicatorVervolgvraag>false</StUF:indicatorVervolgvraag>\r + </parameters>\r + <gelijk StUF:entiteittype="ZAK">\r + <identificatie>${Properties#ZaakIdentificatie}</identificatie>\r + </gelijk>\r + <scope>\r + <object StUF:entiteittype="ZAK" StUF:scope="alles"/> + </scope>\r + </zakLv01>\r + </s:Body>\r +</s:Envelope>]]></con:request> + <con:assertion type="SOAP Response" id="a5bb9a97-6aff-4a26-bd8c-283295080f00" name="SOAP Response"/> + <con:assertion type="Schema Compliance" id="ed311230-3e49-4b1f-ad19-4ff7dad1ecf2" name="Schema Compliance"> + <con:configuration/> + </con:assertion> + <con:assertion type="SOAP Fault Assertion" id="ecf082e3-2bda-418f-bc9e-32a49965d93b" name="Not SOAP Fault"/> + <con:assertion type="XPath Match" id="896bfc1a-2906-4c9a-8c56-35894bc51be4" name="EndDateSet"> + <con:configuration> + <path>//*:antwoord/*:object/*:einddatum</path> + <content>*</content> + <allowWildcards>true</allowWildcards> + <ignoreNamspaceDifferences>false</ignoreNamspaceDifferences> + <ignoreComments>false</ignoreComments> + </con:configuration> + </con:assertion> + <con:assertion type="XPath Match" id="23ad9965-ed52-44e2-9e78-1fb0b82f3a3a" name="EndStatusSet"> + <con:configuration> + <path>//*:antwoord/*:object/*:heeft/*:gerelateerde/*:omschrijving</path> + <content>Ended</content> + <allowWildcards>false</allowWildcards> + <ignoreNamspaceDifferences>false</ignoreNamspaceDifferences> + <ignoreComments>false</ignoreComments> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:wsaConfig mustUnderstand="NONE" version="200508" action="http://www.egem.nl/StUF/sector/zkn/0310/geefZaakdetails_Lv01"/> + <con:wsrmConfig version="1.2"/> + </con:request> + </con:config> + </con:testStep> + <con:testStep type="groovy" name="05-zgw-generateJwt" id="2b07bebe-6f88-44d3-8511-f5d9c8acf8a0"> + <con:settings/> + <con:config> + <script>import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URI; +import java.net.URISyntaxException; +import org.apache.http.HttpEntity; +import org.apache.http.HttpResponse; +import org.apache.http.ParseException; +import org.apache.http.client.ClientProtocolException; +import org.apache.http.client.HttpClient; +import org.apache.http.client.methods.HttpGet; +import org.apache.http.entity.StringEntity; +import org.apache.http.impl.client.DefaultHttpClient; +import org.apache.http.util.EntityUtils; +import groovy.json.JsonOutput +import groovy.json.JsonSlurper +import javax.crypto.spec.SecretKeySpec +import javax.crypto.Mac +import java.time.Duration + +def jwtClientId = context.expand( '${#Project#jwtClientId}' ) +def jwtSecret = context.expand( '${#Project#jwtSecret}' ) + +def createJwt(Integer validSeconds, String clientId, String secret) { + TimeZone.setDefault(TimeZone.getTimeZone('UTC')) + def rightNowMilli = System.currentTimeMillis() + def rightNowSec = Math.round(rightNowMilli / 1000) + def expirationSec = rightNowSec + validSeconds + def jtiValue = UUID.randomUUID().toString() + + Map header = [alg: "HS256", typ: "JWT"] + def headerJson = JsonOutput.toJson(header) + def headerBase64 = headerJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + Map payload = [exp: expirationSec, iat: rightNowSec, iss: clientId, client_id: clientId, user_id: clientId, user_reresentation: clientId, jti: jtiValue] + def payloadJson = JsonOutput.toJson(payload) + def payloadBase64 = payloadJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + def toBeSigned = headerBase64 + "." + payloadBase64 + SecretKeySpec secretKeySpec = new SecretKeySpec(secret.getBytes("UTF-8"), "HmacSHA256") + + Mac mac = Mac.getInstance("HmacSHA256") + mac.init(secretKeySpec) + byte[] digest = mac.doFinal(toBeSigned.getBytes("UTF-8")) + def signature = digest.encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + headerBase64 + "." + payloadBase64 + "." + signature +} + +// Create the JWT. +def token = createJwt(600, jwtClientId, jwtSecret) +testRunner.testCase.getTestStepByName("Properties").setPropertyValue( 'JwtToken', "Bearer " + token)</script> + </con:config> + </con:testStep> + <con:testStep type="httprequest" name="06-zgw-getZaakByIdentificatie" id="0be3f475-b36d-452d-b5f2-77d70f025771"> + <con:settings/> + <con:config method="GET" xsi:type="con:HttpRequest" id="222f62b6-78c9-4982-89a5-c9ff716b456d" name="06-zgw-getZaakByIdentificatie" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:endpoint>${#Project#OpenZaakZakenApiRootUrl}/zaken</con:endpoint> + <con:request/> + <con:assertion type="Valid HTTP Status Codes" id="d8e05e85-ba0a-4eb6-a4c4-81da8c46d047" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>200,201</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <con:parameter> + <con:name>Accept-Crs</con:name> + <con:value>EPSG:4326</con:value> + <con:style>HEADER</con:style> + <con:default>EPSG:4326</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + <con:parameter> + <con:name>Content-Crs</con:name> + <con:value>EPSG:4326</con:value> + <con:style>HEADER</con:style> + <con:default>EPSG:4326</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + <con:parameter> + <con:name>Authorization</con:name> + <con:value>${Properties#JwtToken}</con:value> + <con:style>HEADER</con:style> + <con:default>${Properties#JwtToken}</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + <con:parameter> + <con:name>identificatie</con:name> + <con:value>${Properties#ZaakIdentificatie}</con:value> + <con:style>QUERY</con:style> + </con:parameter> + </con:parameters> + </con:config> + </con:testStep> + <con:testStep type="transfer" name="99a-TransferZaakUrl" id="53ae4fa2-19df-40ae-b388-4751b0fb1189"> + <con:settings/> + <con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"> + <con:name>TransferZaakUrl</con:name> + <con:sourceType>Response</con:sourceType> + <con:sourceStep>06-zgw-getZaakByIdentificatie</con:sourceStep> + <con:sourcePath>$.results[0].url</con:sourcePath> + <con:targetType>ZaakUrl</con:targetType> + <con:targetStep>Properties</con:targetStep> + <con:type>JSONPATH</con:type> + <con:targetTransferType>JSONPATH</con:targetTransferType> + <con:upgraded>true</con:upgraded> + </con:transfers> + </con:config> + </con:testStep> + <con:testStep type="httprequest" name="99b-zgw-deleteZaak" id="3e8d0003-ef3b-4dfe-87c5-ba278d449f46"> + <con:settings/> + <con:config method="DELETE" xsi:type="con:HttpRequest" id="425cebae-0886-4cab-bf6c-e454353dbcf3" name="99b-zgw-deleteZaak" postQueryString="false" mediaType="application/json" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:endpoint>${Properties#ZaakUrl}</con:endpoint> + <con:request/> + <con:assertion type="Valid HTTP Status Codes" id="28a456ce-d6cf-4dfc-8877-9ca05bc0212a" name="Valid HTTP Status Codes"> + <con:configuration> + <codes>204</codes> + </con:configuration> + </con:assertion> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <con:parameter> + <con:name>Authorization</con:name> + <con:value>${Properties#JwtToken}</con:value> + <con:style>HEADER</con:style> + <con:default>${Properties#JwtToken}</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + </con:parameters> + </con:config> + </con:testStep> + <con:properties> + <con:property> + <con:name>DocumentSizeKb</con:name> + <con:value>0.1</con:value> + </con:property> + </con:properties> + </con:testCase> + <con:testCase id="2999e6d9-ad31-484c-828b-08da6cb4e38b" failOnError="false" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="TearDown-IEIAZS-B" searchProperties="true" timeout="0" wsrmEnabled="false" wsrmVersion="1.0" wsrmAckTo="" amfAuthorisation="false" amfEndpoint="" amfLogin="" amfPassword="" disabled="true"> + <con:settings/> + <con:testStep type="properties" name="Properties" id="deccaf96-69f5-4196-bf2c-56843830a9db"> + <con:settings/> + <con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:properties> + <con:property> + <con:name>JwtToken</con:name> + <con:value/> + </con:property> + </con:properties> + </con:config> + </con:testStep> + <con:testStep type="groovy" name="00-zgw-generateJwt" id="f045e938-bcd9-432f-b162-cffab4580011"> + <con:settings/> + <con:config> + <script>import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.URI; +import java.net.URISyntaxException; +import org.apache.http.HttpEntity; +import org.apache.http.HttpResponse; +import org.apache.http.ParseException; +import org.apache.http.client.ClientProtocolException; +import org.apache.http.client.HttpClient; +import org.apache.http.client.methods.HttpGet; +import org.apache.http.entity.StringEntity; +import org.apache.http.impl.client.DefaultHttpClient; +import org.apache.http.util.EntityUtils; +import groovy.json.JsonOutput +import groovy.json.JsonSlurper +import javax.crypto.spec.SecretKeySpec +import javax.crypto.Mac +import java.time.Duration + +def jwtClientId = context.expand( '${#Project#jwtClientId}' ) +def jwtSecret = context.expand( '${#Project#jwtSecret}' ) + +def createJwt(Integer validSeconds, String clientId, String secret) { + TimeZone.setDefault(TimeZone.getTimeZone('UTC')) + def rightNowMilli = System.currentTimeMillis() + def rightNowSec = Math.round(rightNowMilli / 1000) + def expirationSec = rightNowSec + validSeconds + def jtiValue = UUID.randomUUID().toString() + + Map header = [alg: "HS256", typ: "JWT"] + def headerJson = JsonOutput.toJson(header) + def headerBase64 = headerJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + Map payload = [exp: expirationSec, iat: rightNowSec, iss: clientId, client_id: clientId, user_id: clientId, user_reresentation: clientId, jti: jtiValue] + def payloadJson = JsonOutput.toJson(payload) + def payloadBase64 = payloadJson.getBytes("UTF-8").encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + def toBeSigned = headerBase64 + "." + payloadBase64 + SecretKeySpec secretKeySpec = new SecretKeySpec(secret.getBytes("UTF-8"), "HmacSHA256") + + Mac mac = Mac.getInstance("HmacSHA256") + mac.init(secretKeySpec) + byte[] digest = mac.doFinal(toBeSigned.getBytes("UTF-8")) + def signature = digest.encodeBase64().toString().split("=")[0].replaceAll("\\+", "-").replaceAll("/", "_") + + headerBase64 + "." + payloadBase64 + "." + signature +} + +// Create the JWT. +def token = createJwt(600, jwtClientId, jwtSecret) +testRunner.testCase.getTestStepByName("Properties").setPropertyValue( 'JwtToken', "Bearer " + token)</script> + </con:config> + </con:testStep> + <con:testStep type="httprequest" name="01-zgw-deleteZaakType" id="6b7e4047-322d-415e-9b19-876cf19476da"> + <con:settings/> + <con:config method="DELETE" xsi:type="con:HttpRequest" id="e1476f25-af79-4621-8ef5-396d714d0c07" name="01-zgw-deleteZaakType" postQueryString="false" mediaType="application/json" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <con:settings> + <con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting> + </con:settings> + <con:endpoint>${#TestSuite#IEIAZS-BUrl}</con:endpoint> + <con:request/> + <con:credentials> + <con:authType>No Authorization</con:authType> + </con:credentials> + <con:jmsConfig JMSDeliveryMode="PERSISTENT"/> + <con:jmsPropertyConfig/> + <con:parameters> + <con:parameter> + <con:name>Authorization</con:name> + <con:value>${Properties#JwtToken}</con:value> + <con:style>HEADER</con:style> + <con:default>${Properties#JwtToken}</con:default> + <con:path xsi:nil="true"/> + <con:description xsi:nil="true"/> + </con:parameter> + </con:parameters> + </con:config> + </con:testStep> + <con:properties/> + </con:testCase> <con:properties> <con:property> <con:name>CatalogusUrl</con:name> @@ -47447,6 +50565,14 @@ testRunner.testCase.getTestStepByName("Properties").setPropertyValue( 'JwtToken' <con:name>ZaakTypeRijbewijsUrl</con:name> <con:value/> </con:property> + <con:property> + <con:name>IEIAZSUrl</con:name> + <con:value/> + </con:property> + <con:property> + <con:name>IEIAZS-BUrl</con:name> + <con:value/> + </con:property> </con:properties> </con:testSuite> <con:testSuite id="6ea1fa45-6899-40a6-bf59-481a5f118127" name="TestSuite" disabled="true"> diff --git a/src/main/configurations/Translate/Common/xsl/GetIgnoreEindStatusInActualiseerZaakStatusFromTranslationProfile.xsl b/src/main/configurations/Translate/Common/xsl/GetIgnoreEindStatusInActualiseerZaakStatusFromTranslationProfile.xsl new file mode 100644 index 000000000..f4de7f9a2 --- /dev/null +++ b/src/main/configurations/Translate/Common/xsl/GetIgnoreEindStatusInActualiseerZaakStatusFromTranslationProfile.xsl @@ -0,0 +1,35 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="2.0"> + <xsl:output method="text" version="1.0" encoding="UTF-8" indent="yes" /> + <xsl:param name="ZaakTypeCode" select="''" as="xs:string" /> + + <xsl:template match="/"> + <xsl:choose> + <!-- First condition: Check if there is a profile with the specified ZaakTypeCode --> + <xsl:when test="//profile[zaakTypeIdentificatie = $ZaakTypeCode]"> + <xsl:choose> + <!-- Nested choose to handle the existence of ignoreEindStatusInActualiseerZaakStatus in specified profile--> + <xsl:when test="exists(//profile[zaakTypeIdentificatie = $ZaakTypeCode]/ignoreEindStatusInActualiseerZaakStatus)"> + <xsl:apply-templates select="//profile[zaakTypeIdentificatie = $ZaakTypeCode]/ignoreEindStatusInActualiseerZaakStatus" mode="copy"/> + </xsl:when> + <xsl:otherwise> + <xsl:value-of select="'false'" /> + </xsl:otherwise> + </xsl:choose> + </xsl:when> + + <!-- Second condition: Check if ignoreEindStatusInActualiseerZaakStatus exists under profileDefaults --> + <xsl:when test="exists(//profileDefaults/ignoreEindStatusInActualiseerZaakStatus)"> + <xsl:apply-templates select="//profileDefaults/ignoreEindStatusInActualiseerZaakStatus" mode="copy"/> + </xsl:when> + + <!-- Default condition: Output false --> + <xsl:otherwise> + <xsl:value-of select="'false'" /> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <xsl:template match="ignoreEindStatusInActualiseerZaakStatus" mode="copy"> + <xsl:value-of select="." /> + </xsl:template> +</xsl:stylesheet> diff --git a/src/main/configurations/Translate/Configuration_ActualiseerZaakStatus.xml b/src/main/configurations/Translate/Configuration_ActualiseerZaakStatus.xml index bbb3817c8..b33b610f7 100644 --- a/src/main/configurations/Translate/Configuration_ActualiseerZaakStatus.xml +++ b/src/main/configurations/Translate/Configuration_ActualiseerZaakStatus.xml @@ -123,6 +123,7 @@ <Param name="ZaakUrl" xpathExpression="$GetZaakResult/ZgwZaken/ZgwZaak/url"> <Param name="GetZaakResult" sessionKey="GetZaakResult" type="DOMDOC"/> </Param> + <Param name="isActualiseerZaakStatusMessage" sessionKey="isActualiseerZaakStatusMessage"/> </IbisLocalSender> <Forward name="success" path="EXIT"/> <Forward name="exception" path="EXCEPTION" /> diff --git a/src/main/configurations/Translate/Configuration_SetResultaatAndStatus.xml b/src/main/configurations/Translate/Configuration_SetResultaatAndStatus.xml index dd3852724..95e1e8000 100644 --- a/src/main/configurations/Translate/Configuration_SetResultaatAndStatus.xml +++ b/src/main/configurations/Translate/Configuration_SetResultaatAndStatus.xml @@ -85,9 +85,13 @@ <Param name="ZaakTypeUrl" xpathExpression="$ZgwZaakType/ZgwZaakType/url"> <Param name="ZgwZaakType" sessionKey="ZgwZaakType" type="DOMDOC"/> </Param> + <Param name="ZaakTypeCode" xpathExpression="$ZgwZaakType/ZgwZaakType/identificatie"> + <Param name="ZgwZaakType" sessionKey="ZgwZaakType" type="DOMDOC"/> + </Param> <Param name="ZaakUrl" sessionKey="ZaakUrl"/> <Param name="Beeindigd" sessionKey="Beeindigd"/> <Param name="Einddatum" xpathExpression="/*/object/einddatum" sessionKey="originalMessage"/> + <Param name="isActualiseerZaakStatusMessage" sessionKey="isActualiseerZaakStatusMessage"/> </IbisLocalSender> <Forward name="success" path="CheckForResultaat"/> <Forward name="exception" path="ResultWithErrorMessage" /> diff --git a/src/main/configurations/Translate/Configuration_SoapEndpointRouter_OntvangAsynchroon.xml b/src/main/configurations/Translate/Configuration_SoapEndpointRouter_OntvangAsynchroon.xml index 3323d0f7b..08435be16 100644 --- a/src/main/configurations/Translate/Configuration_SoapEndpointRouter_OntvangAsynchroon.xml +++ b/src/main/configurations/Translate/Configuration_SoapEndpointRouter_OntvangAsynchroon.xml @@ -128,6 +128,7 @@ name="ActualiseerZaakstatus_Lk01LocalSender" javaListener="ActualiseerZaakStatus" returnedSessionKeys="Error"> + <Param name="isActualiseerZaakStatusMessage" value="true"/> </IbisLocalSender> <Forward name="success" path="WrapBv03Response" /> <Forward name="exception" path="BackEndError" /> diff --git a/src/main/configurations/Translate/Configuration_ZdsHeeft.xml b/src/main/configurations/Translate/Configuration_ZdsHeeft.xml index 5ba4cdb92..6bd4243b3 100644 --- a/src/main/configurations/Translate/Configuration_ZdsHeeft.xml +++ b/src/main/configurations/Translate/Configuration_ZdsHeeft.xml @@ -89,9 +89,44 @@ <XmlIfPipe name="CheckForBeeindigd" getInputFromSessionKey="Beeindigd" xpathExpression="/beeindigd = 'true'" - thenForwardName="SetStatusExists" + thenForwardName="CheckIfActualiseerZaakStatus" elseForwardName="CompareDatumStatusGezet"> - </XmlIfPipe> + </XmlIfPipe> + + <XmlIfPipe name="CheckIfActualiseerZaakStatus" + xpathExpression="$isActualiseerZaakStatusMessage"> + <Param name="isActualiseerZaakStatusMessage" sessionKey="isActualiseerZaakStatusMessage" /> + <Forward name="then" path="ResolveProfileValuesSender"/> + <Forward name="else" path="SetStatusExists"/> + </XmlIfPipe> + + <SenderPipe + name="ResolveProfileValuesSender"> + <IbisLocalSender + name="ResolveProfileValuesLocalSender" + javaListener="ResolveProfileValues" + returnedSessionKeys="Error" + /> + <Forward name="success" path="GetIgnoreEindStatusInActualiseerZaakStatusFromTranslationProfile" /> + <Forward name="exception" path="EXCEPTION" /> + </SenderPipe> + + <XsltPipe + name="GetIgnoreEindStatusInActualiseerZaakStatusFromTranslationProfile" + styleSheetName="Common/xsl/GetIgnoreEindStatusInActualiseerZaakStatusFromTranslationProfile.xsl" + storeResultInSessionKey="ignoreEindStatusInActualiseerZaakStatus" + > + <Param name="ZaakTypeCode" sessionKey="ZaakTypeCode" /> + <Forward name="success" path="CheckZaakClosureIgnored" /> + </XsltPipe> + + <XmlIfPipe name="CheckZaakClosureIgnored" + getInputFromFixedValue="<dummy/>" + xpathExpression="$ignoreEindStatusInActualiseerZaakStatus = 'true'"> + <Param name="ignoreEindStatusInActualiseerZaakStatus" sessionKey="ignoreEindStatusInActualiseerZaakStatus" /> + <Forward name="then" path="EXIT"/> + <Forward name="else" path="SetStatusExists"/> + </XmlIfPipe> <XsltPipe name="SetStatusExists" diff --git a/src/main/configurations/Translate/Profiles.json b/src/main/configurations/Translate/Profiles.json index 8186bd5cb..4955d79b9 100644 --- a/src/main/configurations/Translate/Profiles.json +++ b/src/main/configurations/Translate/Profiles.json @@ -31,6 +31,34 @@ "endDateAndResultLastStatus": { "coalesceResultaat": "Aanvraag geannuleerd" } + }, + { + "zaakTypeIdentificatie": "IEIAZS", + "ignoreEindStatusInActualiseerZaakStatus": "true" + }, + { + "zaakTypeIdentificatie": "IEIAZS-B", + "ignoreEindStatusInActualiseerZaakStatus": "true", + "endCaseEndDate": { + "coalesceResultaat": "Gave a thing" + } + }, + { + "zaakTypeIdentificatie": "IEIAZS-C", + "ignoreEindStatusInActualiseerZaakStatus": "true", + "endDateAndResultLastStatus": { + "coalesceResultaat": "Gave a thing" + } + }, + { + "zaakTypeIdentificatie": "IEIAZS-D", + "ignoreEindStatusInActualiseerZaakStatus": "true", + "endCaseEndDate": { + "coalesceResultaat": "Gave a thing" + }, + "endDateAndResultLastStatus": { + "coalesceResultaat": "Gave a thing" + } } ] } \ No newline at end of file From 6dcec4d6d9597152ffae61668ead6699c2e1e12c Mon Sep 17 00:00:00 2001 From: semantic-release-bot <semantic-release-bot@martynus.net> Date: Wed, 17 Jul 2024 10:46:31 +0000 Subject: [PATCH 03/12] chore(minor): release 1.20.0 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.20.0](https://github.com/wearefrank/zaakbrug/compare/v1.19.16...v1.20.0) (2024-07-17) ### 🍕 Features * new case closing behavior that skips an endstatus in actualiseerZaakStatus so that a following updateZaak can close the case by setting the enddate ([#424](https://github.com/wearefrank/zaakbrug/issues/424)) ([1110d72](https://github.com/wearefrank/zaakbrug/commit/1110d72efd1f5c2c8c880042dadb314479625c9b)) --- CHANGELOG.md | 6 ++++++ src/main/resources/BuildInfo.properties | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 751040e9a..62d3ea3bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ [![conventional commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg)](https://conventionalcommits.org) [![semantic versioning](https://img.shields.io/badge/semantic%20versioning-2.0.0-green.svg)](https://semver.org) +## [1.20.0](https://github.com/wearefrank/zaakbrug/compare/v1.19.16...v1.20.0) (2024-07-17) + +### 🍕 Features + +* new case closing behavior that skips an endstatus in actualiseerZaakStatus so that a following updateZaak can close the case by setting the enddate ([#424](https://github.com/wearefrank/zaakbrug/issues/424)) ([1110d72](https://github.com/wearefrank/zaakbrug/commit/1110d72efd1f5c2c8c880042dadb314479625c9b)) + ## [1.19.16](https://github.com/wearefrank/zaakbrug/compare/v1.19.15...v1.19.16) (2024-07-16) ### 🐛 Bug Fixes diff --git a/src/main/resources/BuildInfo.properties b/src/main/resources/BuildInfo.properties index 97e348e74..95386f0ac 100644 --- a/src/main/resources/BuildInfo.properties +++ b/src/main/resources/BuildInfo.properties @@ -1,2 +1,2 @@ -instance.version=1.19.16 -versionDate_ddmmyyyy=16/07/2024 +instance.version=1.20.0 +versionDate_ddmmyyyy=17/07/2024 From bad76bd7d5b238a73059181864cdb46eaa4904c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Meri=C3=A7=20Akg=C3=BCl?= <39882155+mericakgul@users.noreply.github.com> Date: Fri, 19 Jul 2024 10:59:28 +0200 Subject: [PATCH 04/12] ci: automatically bump the Frank!Framework version on a weekly basis (#301) * feat: automatically update ff version, the required files are edited * feat: replacing FrankConfig.xsd file with the new one * feat: comparing new Parameter.java file and existing one added * fix: login to docker step added to the workflow * chore: add new trigger for test purposes * fix: update the paths * refactor: updating ff version is dependent on projects and can be updated any ff version instead of only latest * fix: add git credentials * refactor: set-output command has been updated since it's been deprecated * refactor: project name is also dynamic now instead of the fixed value 'Zaakbrug' * chore: test purposes, will be reverted. * chore: test purposes, will be reverted * chore: test purposes * chore: reverted the changes done for test purposes * fix: --format markdown flag is removed from the command creating PR body. * fix: --to flag removed from the command creating PR body * fix: install docker-scout * fix: docker-scout action step updated * fix: update docker-scout action step * fix: remove created folders before commit * fix: rm command updated to remove also the content of the folders * fix: update rm -r command * fix: save current image tag as output to be able to us in docker-scout action * chore: test purposes, will be reverted * fix: set the image tags in environment variables * chore: test the refactor * chore: revert the commit for testing * fix: update github_token * refactor: update github_token usage * chore: swap image locations in docker-scout action * refactor: separate the cli command into different steps * fix: update file_pattern in commit action * fix: new step to remove created files and folders before commiting added. * chore: test purposes * chore: revert the commit for testing * fix: update file_patern and delete the step which is removing the created folders and files * fix: readded the step that is removing the files and folders * chore: for testing * fix: docker-scout output is set as env variable to use in PR body. * fix: update the PR body * fix: update PR body * fix: update PR body * chore: for testing * chore: test * chore: test * chore: test * chore: test * chore: test * chore: test * fix: docker scout output is used in PR body directly instead of creating env variable (see previous commit) * fix: add removing folders and files step back * chore: remove commented lines * fix: update removing temporary files and folders created in the worflow step * fix: update 'Remove created and downloaded folders and files' step * fix: update 'Remove created and downloaded folders and files' step. * chore: test * fix: github action for committing changed * fix: update commit action * fix: update commit action * fix: update the way of removing temp files and folders. * fix: place removing temp files step after commit step * fix: create temp folder in src folder. * fix: commit step is done manually instead of using commit action * fix: branch checkout command added * fix: commit only the required files * chore: test * fix: create the new branch from master * fix: update origin branch * fix: update command order * fix: first checkout master before creating the new branch * fix: checkout origin/master * fix: first fetch the branches in the beginning of the workflow * fix: checkout master without origin * chore: add creating PR step back * chore: test * fix: create PR manually with gh command * chore: dummy commit * fix: update gh command by adding single quotes * fix: add github token to creating PR step * clean up the commented lines * workflow removed zaakbrug repo in order to add it to ci-cd-templates repo and triggering workflow updated * dummy commit * test configurable FrankConfig and custom file * add missing curly braces * update variable names usages to be able to use them in the for loop * update variable names in for loop * update usage of input variables * add curly braces * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * . * revert configurable custom code work * . * remove the auto bumper file * update the value of uses property so that to use ff version auto bumper from ci-cd-templates repo * . * use input variable of dockerfile regex * test * test * test * hav the new tag from env variable instead of inputs * test * test * test * test * test * test * test * use awk instead of grep * use dockerfile path from inputs * have separated steps for each file update * add missing } * get project name from github repository instead of inputs * add toggle for the step updating FrankConfig file * test checking out the branch upfront * add each updated file in own step * find frankconfig files dynamically * add running condition to checkout the new branch step * add toggle for the step updating custom code * use the variable of the default branch rertieved from github * have the default value of updating Parameter file false * send input for updating Parameter file true * put the docker scout result back to the PR body. * use maven repo instead of nexus * update ff to 8.1 instead of latest temporarily(till custom code issue solved) * truncate if PR body too long * first try to download from maven repo and if it fails then try nexus. * update truncation step * debug docker-scout output and truncated_output * test 8.1 intead latest version * delete truncating docker-scout output step * check PR body length in creating PR step lest to have an error * debugging * debug * debugging * debugging * debugging * debugging * debugging * debugging * debugging * debug * debug * debug * debug * debug * debug * debugging * debug * debug * debug * debug * debug * debug * debug * debug * run another creating pr command if the first one fails because of too large PR body * try the last commit for latest version * revert the changes done for test purposes * removed workflow file which is placed in ci-cd-templates repo * add manual trigger and mini corrections * enter --------- Co-authored-by: Meric Akgul <meric@wearefrank.nl> Co-authored-by: MLenterman <marcellenterman@hotmail.com> --- .github/workflows/bump-ff-version.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/bump-ff-version.yml diff --git a/.github/workflows/bump-ff-version.yml b/.github/workflows/bump-ff-version.yml new file mode 100644 index 000000000..9fa9e44bb --- /dev/null +++ b/.github/workflows/bump-ff-version.yml @@ -0,0 +1,22 @@ +name: Bump F!F Version + +on: + workflow_dispatch: + schedule: + - cron: '0 5 * * 1' # At 05:00 on Monday. + workflow_dispatch: + inputs: + ff-version-tag: + description: 'F!F version tag requested to update in your project to. It has to be after 8.0.1(including).' + required: false + default: 'latest' + +jobs: + bump-ff-version: + uses: wearefrank/ci-cd-templates/.github/workflows/ff-version-auto-bumper.yml@e073950d36ffdeb9f018b14b2ca0c13449825b2f # 1.0.3 + secrets: + token: ${{ secrets.GITHUB_TOKEN }} + dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }} + dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }} + with: + ff-version-tag: 'latest' From e0ef858f079d7382d73eb019260530374693310c Mon Sep 17 00:00:00 2001 From: MLenterman <marcellenterman@hotmail.com> Date: Fri, 19 Jul 2024 11:04:07 +0200 Subject: [PATCH 05/12] use provided version from manual dispatch input --- .github/workflows/bump-ff-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-ff-version.yml b/.github/workflows/bump-ff-version.yml index 9fa9e44bb..341746ac4 100644 --- a/.github/workflows/bump-ff-version.yml +++ b/.github/workflows/bump-ff-version.yml @@ -19,4 +19,4 @@ jobs: dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }} dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }} with: - ff-version-tag: 'latest' + ff-version-tag: ${{ github.event.inputs.ff-version-tag || 'latest' }} From 04508049b112247a1a6b5b01f823590ded9c354b Mon Sep 17 00:00:00 2001 From: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri, 19 Jul 2024 09:14:34 +0000 Subject: [PATCH 06/12] chore(patch): release 1.20.1 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.20.1](https://github.com/wearefrank/zaakbrug/compare/v1.20.0...v1.20.1) (2024-07-19) ### 🔁 Continuous Integration * automatically bump the Frank!Framework version on a weekly basis ([#301](https://github.com/wearefrank/zaakbrug/issues/301)) ([bad76bd](https://github.com/wearefrank/zaakbrug/commit/bad76bd7d5b238a73059181864cdb46eaa4904c1)) --- CHANGELOG.md | 6 ++++++ src/main/resources/BuildInfo.properties | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62d3ea3bf..886295f99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ [![conventional commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg)](https://conventionalcommits.org) [![semantic versioning](https://img.shields.io/badge/semantic%20versioning-2.0.0-green.svg)](https://semver.org) +## [1.20.1](https://github.com/wearefrank/zaakbrug/compare/v1.20.0...v1.20.1) (2024-07-19) + +### 🔁 Continuous Integration + +* automatically bump the Frank!Framework version on a weekly basis ([#301](https://github.com/wearefrank/zaakbrug/issues/301)) ([bad76bd](https://github.com/wearefrank/zaakbrug/commit/bad76bd7d5b238a73059181864cdb46eaa4904c1)) + ## [1.20.0](https://github.com/wearefrank/zaakbrug/compare/v1.19.16...v1.20.0) (2024-07-17) ### 🍕 Features diff --git a/src/main/resources/BuildInfo.properties b/src/main/resources/BuildInfo.properties index 95386f0ac..f561fdf89 100644 --- a/src/main/resources/BuildInfo.properties +++ b/src/main/resources/BuildInfo.properties @@ -1,2 +1,2 @@ -instance.version=1.20.0 -versionDate_ddmmyyyy=17/07/2024 +instance.version=1.20.1 +versionDate_ddmmyyyy=19/07/2024 From b396d7aa7764f2afec540d2925e3c2e1413960a9 Mon Sep 17 00:00:00 2001 From: MLenterman <marcellenterman@hotmail.com> Date: Fri, 19 Jul 2024 11:31:16 +0200 Subject: [PATCH 07/12] ff-version-tag required ff version bump --- .github/workflows/bump-ff-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-ff-version.yml b/.github/workflows/bump-ff-version.yml index 341746ac4..fa6bf0ca3 100644 --- a/.github/workflows/bump-ff-version.yml +++ b/.github/workflows/bump-ff-version.yml @@ -8,7 +8,7 @@ on: inputs: ff-version-tag: description: 'F!F version tag requested to update in your project to. It has to be after 8.0.1(including).' - required: false + required: true default: 'latest' jobs: From 703e177d74118035a8fd2c5ab66d608839272a75 Mon Sep 17 00:00:00 2001 From: MLenterman <marcellenterman@hotmail.com> Date: Fri, 19 Jul 2024 11:34:33 +0200 Subject: [PATCH 08/12] bump ff version tab fix --- .github/workflows/bump-ff-version.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bump-ff-version.yml b/.github/workflows/bump-ff-version.yml index fa6bf0ca3..a5afa3dbc 100644 --- a/.github/workflows/bump-ff-version.yml +++ b/.github/workflows/bump-ff-version.yml @@ -4,12 +4,12 @@ on: workflow_dispatch: schedule: - cron: '0 5 * * 1' # At 05:00 on Monday. - workflow_dispatch: - inputs: - ff-version-tag: - description: 'F!F version tag requested to update in your project to. It has to be after 8.0.1(including).' - required: true - default: 'latest' + workflow_dispatch: + inputs: + ff-version-tag: + description: 'F!F version tag requested to update in your project to. It has to be after 8.0.1(including).' + required: true + default: 'latest' jobs: bump-ff-version: From 18a3235d46bc9fc13102edd702ec01995f9e1225 Mon Sep 17 00:00:00 2001 From: MLenterman <marcellenterman@hotmail.com> Date: Fri, 19 Jul 2024 12:14:49 +0200 Subject: [PATCH 09/12] remove double workflow_dispatch --- .github/workflows/bump-ff-version.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/bump-ff-version.yml b/.github/workflows/bump-ff-version.yml index a5afa3dbc..650a3c821 100644 --- a/.github/workflows/bump-ff-version.yml +++ b/.github/workflows/bump-ff-version.yml @@ -4,7 +4,6 @@ on: workflow_dispatch: schedule: - cron: '0 5 * * 1' # At 05:00 on Monday. - workflow_dispatch: inputs: ff-version-tag: description: 'F!F version tag requested to update in your project to. It has to be after 8.0.1(including).' From 5e2df91ebf68b259f3d7f03ce993d7c3aafb66f3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 13:12:22 +0200 Subject: [PATCH 10/12] build(dependencies): bump the github-actions group with 2 updates (#426) [skip ci] Bumps the github-actions group with 2 updates: [wearefrank/ci-cd-templates](https://github.com/wearefrank/ci-cd-templates) and [step-security/harden-runner](https://github.com/step-security/harden-runner). Updates `wearefrank/ci-cd-templates` from 1.0.2 to 1.0.4 - [Release notes](https://github.com/wearefrank/ci-cd-templates/releases) - [Changelog](https://github.com/wearefrank/ci-cd-templates/blob/main/CHANGELOG.md) - [Commits](https://github.com/wearefrank/ci-cd-templates/compare/v1.0.2...5ec30763e8d8eeed008edcac3c6a329367e42760) Updates `step-security/harden-runner` from 2.8.1 to 2.9.0 - [Release notes](https://github.com/step-security/harden-runner/releases) - [Commits](https://github.com/step-security/harden-runner/compare/17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6...0d381219ddf674d61a7572ddd19d7941e271515c) --- updated-dependencies: - dependency-name: wearefrank/ci-cd-templates dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: step-security/harden-runner dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/bump-ff-version.yml | 2 +- .github/workflows/ci.yml | 8 ++++---- .github/workflows/release.yml | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/bump-ff-version.yml b/.github/workflows/bump-ff-version.yml index 650a3c821..7fdaa3358 100644 --- a/.github/workflows/bump-ff-version.yml +++ b/.github/workflows/bump-ff-version.yml @@ -12,7 +12,7 @@ on: jobs: bump-ff-version: - uses: wearefrank/ci-cd-templates/.github/workflows/ff-version-auto-bumper.yml@e073950d36ffdeb9f018b14b2ca0c13449825b2f # 1.0.3 + uses: wearefrank/ci-cd-templates/.github/workflows/ff-version-auto-bumper.yml@5ec30763e8d8eeed008edcac3c6a329367e42760 # 1.0.4 secrets: token: ${{ secrets.GITHUB_TOKEN }} dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0042bebf..2aca9fe64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: version-next: ${{ steps.reference.outputs.next-reference }} version-next-strict: ${{ steps.reference.outputs.next-reference }} steps: - - uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 + - uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0 with: disable-sudo: true egress-policy: block @@ -27,10 +27,10 @@ jobs: - name: Next Reference id: reference - uses: wearefrank/ci-cd-templates/next-reference@e8affe3c6b9d1a725b3332042f82096286974d15 #1.0.2 + uses: wearefrank/ci-cd-templates/next-reference@5ec30763e8d8eeed008edcac3c6a329367e42760 #1.0.4 ci: - uses: wearefrank/ci-cd-templates/.github/workflows/ci-generic.yml@e8affe3c6b9d1a725b3332042f82096286974d15 #1.0.2 + uses: wearefrank/ci-cd-templates/.github/workflows/ci-generic.yml@5ec30763e8d8eeed008edcac3c6a329367e42760 #1.0.4 needs: - version-next secrets: @@ -48,7 +48,7 @@ jobs: - version-next - ci steps: - - uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 + - uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0 with: egress-policy: audit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 260d7c3f0..50ebb107f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: version-next-tag: ${{ steps.next-version.outputs.release-tag }} version-next-type: ${{ steps.next-version.outputs.release-type }} steps: - - uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 + - uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0 with: disable-sudo: true egress-policy: audit @@ -40,7 +40,7 @@ jobs: GH_TOKEN: ${{ secrets.WEAREFRANK_BOT_PAT }} ci: - uses: wearefrank/ci-cd-templates/.github/workflows/ci-generic.yml@e8affe3c6b9d1a725b3332042f82096286974d15 #1.0.2 + uses: wearefrank/ci-cd-templates/.github/workflows/ci-generic.yml@5ec30763e8d8eeed008edcac3c6a329367e42760 #1.0.4 needs: analyze-commits secrets: token: ${{ secrets.GITHUB_TOKEN }} @@ -58,7 +58,7 @@ jobs: - analyze-commits - ci steps: - - uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 + - uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0 with: egress-policy: audit @@ -127,7 +127,7 @@ jobs: - ci - run-soapui-tests steps: - - uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 + - uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0 with: egress-policy: audit @@ -163,7 +163,7 @@ jobs: GH_TOKEN: ${{ secrets.WEAREFRANK_BOT_PAT }} docker-release: - uses: wearefrank/ci-cd-templates/.github/workflows/docker-release-generic.yml@e8affe3c6b9d1a725b3332042f82096286974d15 #1.0.2 + uses: wearefrank/ci-cd-templates/.github/workflows/docker-release-generic.yml@5ec30763e8d8eeed008edcac3c6a329367e42760 #1.0.4 needs: - analyze-commits - release @@ -193,4 +193,4 @@ jobs: - release # Set to true to enable Docusaurus publishing to GitHub Pages if: true - uses: wearefrank/ci-cd-templates/.github/workflows/docusaurus-release.yml@e8affe3c6b9d1a725b3332042f82096286974d15 #1.0.2 + uses: wearefrank/ci-cd-templates/.github/workflows/docusaurus-release.yml@5ec30763e8d8eeed008edcac3c6a329367e42760 #1.0.4 From 17949192cc76e2613161e4267e02779428be3fd0 Mon Sep 17 00:00:00 2001 From: MLenterman <marcellenterman@hotmail.com> Date: Fri, 26 Jul 2024 13:18:57 +0200 Subject: [PATCH 11/12] ci: use waf bot pat token for bump-ff-version workflow due to permission issue with ci checks in the created pr --- .github/workflows/bump-ff-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-ff-version.yml b/.github/workflows/bump-ff-version.yml index 7fdaa3358..92cc4383a 100644 --- a/.github/workflows/bump-ff-version.yml +++ b/.github/workflows/bump-ff-version.yml @@ -14,7 +14,7 @@ jobs: bump-ff-version: uses: wearefrank/ci-cd-templates/.github/workflows/ff-version-auto-bumper.yml@5ec30763e8d8eeed008edcac3c6a329367e42760 # 1.0.4 secrets: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.WEAREFRANK_BOT_PAT }} dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }} dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }} with: From 36758e11098d229748110330795dfd1025864869 Mon Sep 17 00:00:00 2001 From: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri, 26 Jul 2024 11:28:04 +0000 Subject: [PATCH 12/12] chore(patch): release 1.20.2 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.20.2](https://github.com/wearefrank/zaakbrug/compare/v1.20.1...v1.20.2) (2024-07-26) ### 🤖 Build System * **dependencies:** bump the github-actions group with 2 updates ([#426](https://github.com/wearefrank/zaakbrug/issues/426)) ([5e2df91](https://github.com/wearefrank/zaakbrug/commit/5e2df91ebf68b259f3d7f03ce993d7c3aafb66f3)) ### 🔁 Continuous Integration * use waf bot pat token for bump-ff-version workflow due to permission issue with ci checks in the created pr ([1794919](https://github.com/wearefrank/zaakbrug/commit/17949192cc76e2613161e4267e02779428be3fd0)) --- CHANGELOG.md | 10 ++++++++++ src/main/resources/BuildInfo.properties | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 886295f99..494d7d6a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ [![conventional commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg)](https://conventionalcommits.org) [![semantic versioning](https://img.shields.io/badge/semantic%20versioning-2.0.0-green.svg)](https://semver.org) +## [1.20.2](https://github.com/wearefrank/zaakbrug/compare/v1.20.1...v1.20.2) (2024-07-26) + +### 🤖 Build System + +* **dependencies:** bump the github-actions group with 2 updates ([#426](https://github.com/wearefrank/zaakbrug/issues/426)) ([5e2df91](https://github.com/wearefrank/zaakbrug/commit/5e2df91ebf68b259f3d7f03ce993d7c3aafb66f3)) + +### 🔁 Continuous Integration + +* use waf bot pat token for bump-ff-version workflow due to permission issue with ci checks in the created pr ([1794919](https://github.com/wearefrank/zaakbrug/commit/17949192cc76e2613161e4267e02779428be3fd0)) + ## [1.20.1](https://github.com/wearefrank/zaakbrug/compare/v1.20.0...v1.20.1) (2024-07-19) ### 🔁 Continuous Integration diff --git a/src/main/resources/BuildInfo.properties b/src/main/resources/BuildInfo.properties index f561fdf89..45edb36c0 100644 --- a/src/main/resources/BuildInfo.properties +++ b/src/main/resources/BuildInfo.properties @@ -1,2 +1,2 @@ -instance.version=1.20.1 -versionDate_ddmmyyyy=19/07/2024 +instance.version=1.20.2 +versionDate_ddmmyyyy=26/07/2024