generated from CommonGateway/PetStoreBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from CommonGateway/feature/ow-31/get-zaken
Get zaken collectie ZGW -> ZDS
- Loading branch information
Showing
14 changed files
with
446 additions
and
67 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
Installation/Action/ZgwZaakToZdsXmlEncodeAction.action.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"title": "ZgwZaakToZdsXmlEncodeAction.action.json", | ||
"$id": "https://dowr.simxml.nl/action/ZgwZaakToZdsXmlEncodeAction.action.json.action.json", | ||
"$schema": "https://docs.commongateway.nl/schemas/Action.schema.json", | ||
"version": "0.0.1", | ||
"listens": [ | ||
"zgwToZds.xmlEncode" | ||
], | ||
"conditions": { | ||
"==": [1,1] | ||
}, | ||
"class": "CommonGateway\\ZGWToZDSBundle\\ActionHandler\\ZgwToZDSXMLEncodeHandler" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"$id": "https://zds.vng.nl/mappings/zdsLv01ToZGWGeoSearch.mapping.json", | ||
"$schema": "https://docs.commongateway.nl/schemas/Mapping.schema.json", | ||
"version": "0.0.1", | ||
"title": "ZDS Lv01 to ZGW GeoSearch", | ||
"description": "", | ||
"mapping": { | ||
"rol__betrokkeneIdentificatie__natuurlijkPersoon__inpBsn": "SOAP-ENV:Body.ns2:zakLv01.ns2:gelijk.ns2:heeftAlsInitiator.ns2:gerelateerde.ns2:identificatie", | ||
"identificatie": "SOAP-ENV:Body.ns2:zakLv01.ns2:gelijk.ns2:identificatie", | ||
"expand": "zaaktype,status,resultaat,resultaat.resultaattype,zaakinformatieobjecten,status.statustype" | ||
}, | ||
"unset": [], | ||
"cast": { | ||
"rol__betrokkeneIdentificatie__natuurlijkPersoon__inpBsn": "unsetIfValue==SOAP-ENV:Body.ns2:zakLv01.ns2:gelijk.ns2:heeftAlsInitiator.ns2:gerelateerde.ns2:identificatie", | ||
"identificatie": "unsetIfValue==SOAP-ENV:Body.ns2:zakLv01.ns2:gelijk.ns2:identificatie" | ||
}, | ||
"passTrough": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"title": "ZgwZaakToZdsResponse", | ||
"$id": "https://zds.nl/mapping/zds.ZgwZaakToZdsResponse.mapping.json", | ||
"$schema": "https://docs.commongateway.nl/schemas/Mapping.schema.json", | ||
"version": "0.0.1", | ||
"passTrough": false, | ||
"mapping": { | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:stuurgegevens.StUF:berichtcode": "La01", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:stuurgegevens.StUF:zender.StUF:organisatie": "SIM", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:stuurgegevens.StUF:zender.StUF:applicatie": "SIMsite", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:stuurgegevens.StUF:zender.StUF:administratie": "", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:stuurgegevens.StUF:zender.StUF:gebruiker": "", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:stuurgegevens.StUF:ontvanger.StUF:organisatie": "1892", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:stuurgegevens.StUF:ontvanger.StUF:applicatie": "Liber", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:stuurgegevens.StUF:ontvanger.StUF:administratie": "", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:stuurgegevens.StUF:ontvanger.StUF:gebruiker": "", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:stuurgegevens.StUF:referentienummer": "identificatie", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:stuurgegevens.StUF:tijdstipBericht": "{{ 'now'|date('YmdHisv') }}", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:stuurgegevens.StUF:entiteittype": "ZAK", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:parameters.StUF:mutatiesoort": "T", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:parameters.StUF:indicatorOvername": "V", | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:antwoord.ZKN:object": "{{ map(\"https://zds.nl/mapping/zds.ZgwZaakToZdsResponseItem.mapping.json\", results, true)|json_encode }}", | ||
"@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:ns3": "http://www.egem.nl/StUF/sector/bg/0310", | ||
"@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance" | ||
}, | ||
"cast": { | ||
"SOAP-ENV:Body.ZKN:zakLa01.ZKN:antwoord.ZKN:object": ["jsonToArray"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"title": "ZgwZaakToZdsResponseItem", | ||
"$id": "https://zds.nl/mapping/zds.ZgwZaakToZdsResponseItem.mapping.json", | ||
"$schema": "https://docs.commongateway.nl/schemas/Mapping.schema.json", | ||
"version": "0.0.1", | ||
"passTrough": false, | ||
"mapping": { | ||
"@StUF:entiteittype": "ZAK", | ||
"@StUF:sleutelVerzendend": "12004", | ||
"@StUF:sleutelGegevensbeheer": "12004", | ||
"ZKN:identificatie": "identificatie", | ||
"ZKN:omschrijving": "omschrijving", | ||
"ZKN:toelichting": "toelichting", | ||
"ZKN:startdatum": "startdatum", | ||
"ZKN:registratiedatum": "registratiedatum", | ||
"ZKN:publicatiedatum": "publicatiedatum", | ||
"ZKN:einddatumGepland": "einddatumGepland", | ||
"ZKN:uiterlijkeEinddatum": "uiterlijkeEinddatumAfdoening", | ||
"ZKN:betalingsIndicatie": "betalingsindicatie", | ||
"ZKN:laatsteBetaaldatum": "laatsteBetaaldatum", | ||
"ZKN:zaakniveau": "1", | ||
"ZKN:deelzakenIndicatie": "N", | ||
"StUF:extraElementen.StUF:extraElement": "[{% for eigenschap in eigenschappen %}{% if not loop.first %},{% endif %}{{ map('https://zds.nl/mapping/zds.ZgwEigenschapToZds.mapping.json', eigenschap)|json_encode }}{% endfor %}]", | ||
"ZKN:isVan.@StUF:entiteittype": "ZAKZKT", | ||
"ZKN:isVan.@StUF:verwerkingssoort": "T", | ||
"ZKN:isVan.ZKN:gerelateerde.@StUF:entiteittype": "ZKT", | ||
"ZKN:isVan.ZKN:gerelateerde.@StUF:sleutelOntvangend": "5700000000000000000000000000000000000001", | ||
"ZKN:isVan.ZKN:gerelateerde.@StUF:verwerkingssoort": "T", | ||
"ZKN:isVan.ZKN:gerelateerde.ZKN:omschrijving": "Verhuizing doorgeven", | ||
"ZKN:isVan.ZKN:gerelateerde.ZKN:code": "VERDOOR", | ||
"ZKN:heeftAlsInitiator": "{% if rollen.0 is defined %}{{ map(\"https://zds.nl/mapping/zds.ZgwZaakToZdsResponseItemInitiator.mapping.json\", rollen.0)|json_encode }}{% else %}\"\"{% endif %}" | ||
}, | ||
"cast": { | ||
"StUF:extraElementen.StUF:extraElement": "jsonToArray", | ||
"ZKN:heeftAlsInitiator": ["jsonToArray", "unsetIfValue=="] | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
Installation/Mapping/ZgwZaakToZdsResponseItemInitiator.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"title": "ZgwZaakToZdsResponseItemInitiator", | ||
"$id": "https://zds.nl/mapping/zds.ZgwZaakToZdsResponseItemInitiator.mapping.json", | ||
"$schema": "https://docs.commongateway.nl/schemas/Mapping.schema.json", | ||
"version": "0.0.1", | ||
"passTrough": false, | ||
"mapping": { | ||
"@StUF:entiteittype": "ZAKBTRINI", | ||
"@StUF:verwerkingssoort": "T", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.@StUF:entiteittype": "NPS", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.@StUF:verwerkingssoort": "T", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:inp.bsn": "betrokkeneIdentificatie.inpBsn", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:authentiek.@StUF:metagegeven": "true", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:authentiek": "J", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:geslachtsnaam": "betrokkeneIdentificatie.geslachtsnaam", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:voorvoegselGeslachtsnaam.@xsi:nil": "true", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:voorvoegselGeslachtsnaam": "betrokkeneIdentificatie.voorvoegselGeslachtsnaam", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:voorletters.@xsi:nil": "true", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:voorletters": "betrokkeneIdentificatie.voorletters", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:voornamen": "betrokkeneIdentificatie.voornamen", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:geslachtsaanduiding.@xsi:nil": "true", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:geslachtsaanduiding": "betrokkeneIdentificatie.geslachtsaanduiding", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:geboortedatum": "betrokkeneIdentificatie.geboortedatum", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:verblijfsadres.BG:wpl.woonplaatsNaam": "betrokkeneIdentificatie.verblijfsadres.wplWoonplaatsNaam", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:verblijfsadres.BG:gor.openbareRuimteNaam": "betrokkeneIdentificatie.verblijfsadres.gorOpenbareRuimteNaam", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:verblijfsadres.BG:gor.straatnaam.@xsi:nil": "true", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:verblijfsadres.BG:aoa.postcode": "betrokkeneIdentificatie.verblijfsadres.aoaPostcode", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:verblijfsadres.BG:aoa.huisnummer": "betrokkeneIdentificatie.verblijfsadres.aoaHuisnummer", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:verblijfsadres.BG:aoa.huisletter": "betrokkeneIdentificatie.verblijfsadres.aoaHuisletter", | ||
"ZKN:gerelateerde.ZKN:natuurlijkPersoon.BG:verblijfsadres.BG:aoa.huisnummertoevoeging": "betrokkeneIdentificatie.verblijfsadres.aoaHuisnummertoevoeging" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"title": "ZGW ZRC API", | ||
"$id": "https://zds.vng.nl/endpoints/zgw.zrc.source.json", | ||
"$schema": "https://docs.commongateway.nl/schemas/Gateway.schema.json", | ||
"version": "0.0.1", | ||
"description": "ZGW ZRC source for ZDS proxies", | ||
"location": "!ChangeMe!", | ||
"isEnabled" : false, | ||
"headers": { | ||
"accept" : "application/json", | ||
"Accept-Crs": "EPSG:4326", | ||
"Content-Crs": "EPSG:4326" | ||
}, | ||
"auth": "none", | ||
"configuration": { | ||
"verify": false | ||
}, | ||
"endpointsConfig": { | ||
"/zaken/_zoek": { | ||
"out": { | ||
"body": { | ||
"mapping": "https://zds.vng.nl/mappings/zdsLv01ToZGWGeoSearch.mapping.json" | ||
} | ||
}, | ||
"in": { | ||
"body": { | ||
"mapping": "https://zds.nl/mapping/zds.ZgwZaakToZdsResponse.mapping.json" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# CommonGateway\ZGWToZDSBundle | ||
|
||
* [Service\InstallationService](Service/InstallationService.md) | ||
* [Service\ZGWToZDSService](Service/ZGWToZDSService.md) | ||
* [Service\InstallationService](Service/InstallationService.md) | ||
* [Service\ZGWToZDSService](Service/ZGWToZDSService.md) |
Oops, something went wrong.