Skip to content

Commit

Permalink
Map a Lv01 to a ZGW GeoSearch, add endpoint and source
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzondervan committed Feb 15, 2024
1 parent 9387c51 commit 330ede4
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Installation/Endpoint/zds.request.endpoint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"title": "ZDS Request Endpoint",
"$id": "https://zds.vng.nl/endpoints/zds.request.endpoint.json",
"path": [
"stuf",
"zds",
"requests"
],
"pathRegex": "^stuf/zds/requests$",
"methods": [
"POST"
],
"source": "https://zds.vng.nl/endpoints/zgw.zrc.source.json",
"description": "",
"proxy": "/admin/gateways/a29e78fa-c3b9-416f-8b03-8ea973a678a7"
}
18 changes: 18 additions & 0 deletions Installation/Mapping/ZdsLv01ToZgwGeoSearch.mapping.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$id": "https://zds.vng.nl/mappings/zdsLv01ToZGWGeoSearch.mapping.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"
},
"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,
"dateCreated": "2024-02-15T09:48:17+00:00",
"dateModified": "2024-02-15T09:48:17+00:00"
}
27 changes: 27 additions & 0 deletions Installation/Source/zgw.zrc.source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"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"
}
}
}
}
}

0 comments on commit 330ede4

Please sign in to comment.