-
Notifications
You must be signed in to change notification settings - Fork 2
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 #146 from ConductionNL/test-last-branches-merged
Test last branches merged
- Loading branch information
Showing
26 changed files
with
914 additions
and
251 deletions.
There are no files selected for viewing
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
22 changes: 22 additions & 0 deletions
22
configurations/xxllnc-zoekendpoint-woo/mappings/xxllnc-document-to-attachment
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,22 @@ | ||
{ | ||
"name": "Xxllnc document to attachment", | ||
"version": "0.0.1", | ||
"mapping": { | ||
"title": "filename", | ||
"labels": "[{{ label }}]", | ||
"size": "size", | ||
"type": "mimetype", | ||
"extension": "{{ filename|split('.')|last }}", | ||
"shareUrl": "{ \"accessUrl\": \"https://urlvanzaaksysteem/{{ caseId }}/document/{{ uuid }}/download\",\"downloadUrl\": \"https://zaaksysteem-accept.noordwijk.nl/api/case/{{ caseId }}/document/{{ uuid }}/download\",\"shareUrl\": \"https://zaaksysteem-accept.noordwijk.nl/api/case/{{ caseId }}/document/{{ uuid }}/download\", {% if filename|default %}\"filename\": \"filename\",\"extension\": \"{{ filename|split('.')|last }}\",{% endif %}\"source\": \"1\" }" | ||
}, | ||
"unset": [], | ||
"cast": { | ||
"title": "unsetIfValue==filename", | ||
"labels": "jsonToArray", | ||
"size": "unsetIfValue==size", | ||
"type": "unsetIfValue==mimetype", | ||
"extension": "unsetIfValue==", | ||
"shareUrl": "jsonToArray" | ||
}, | ||
"passThrough": false | ||
} |
29 changes: 29 additions & 0 deletions
29
configurations/xxllnc-zoekendpoint-woo/mappings/xxllnc-zoek-endpoint-to-publication.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,29 @@ | ||
{ | ||
"name": "Xxllnc zoek endpoint to Publication", | ||
"version": "0.0.1", | ||
"mapping": { | ||
"title": "{{ values['case.subject'] }}", | ||
"summary": "{{ values['attribute.woo_samenvatting'] }}", | ||
"description": "{{ values['attribute.woo_beschrijving'] }}", | ||
"category": "{{ values['attribute.woo_categorie'] }}", | ||
"featured": false, | ||
"status": "Published", | ||
"attachmentCount": 0, | ||
"published": "{{ values['attribute.woo_publicatiedatum'] }}", | ||
"modified": "{{ \"now\"|date(\"Y-m-d\\\\TH:i:s.v\\\\Z\") }}", | ||
"license": "eupl2", | ||
"catalog": "1bcb99cd-7e47-4242-b7a7-ac7d36fe5d5e", | ||
"attachments": "[{% set fileCount = 0 %}{% for file in values['attribute.woo_publicatie'] %}{% if fileCount > 0 %}, {% endif %}{% set file = file|merge({'label': 'Publicatie', 'caseId': id}) %}{{ executeMapping(2, file)|json_encode }}{% set fileCount = fileCount + 1 %}{% endfor %}{% for file in values['attribute.woo_inventarisatielijst'] %}{% if fileCount > 0 %}, {% endif %}{% set file = file|merge({'label': 'Inventarisatielijst', 'caseId': id}) %}{{ executeMapping(2, file)|json_encode }}{% set fileCount = fileCount + 1 %}{% endfor %}{% for file in values['attribute.woo_informatieverzoek'] %}{% if fileCount > 0 %}, {% endif %}{% set file = file|merge({'label': 'Informatieverzoek', 'caseId': id}) %}{{ executeMapping(2, file)|json_encode }}{% set fileCount = fileCount + 1 %}{% endfor %}{% for file in values['attribute.woo_besluit'] %}{% if fileCount > 0 %}, {% endif %}{% set file = file|merge({'label': 'Besluit', 'caseId': id}) %}{{ executeMapping(2, file)|json_encode }}{% set fileCount = fileCount + 1 %}{% endfor %}]" | ||
}, | ||
"unset": [], | ||
"cast": { | ||
"title": "unsetIfValue==", | ||
"summary": "unsetIfValue==", | ||
"description": "unsetIfValue==", | ||
"category": "unsetIfValue==", | ||
"published": "unsetIfValue==", | ||
"modified": "unsetIfValue==", | ||
"attachments": "jsonToArray" | ||
}, | ||
"passThrough": false | ||
} |
18 changes: 18 additions & 0 deletions
18
configurations/xxllnc-zoekendpoint-woo/sources/xxllnc-v1.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,18 @@ | ||
{ | ||
"name": "Xxllnc zaaksysteem", | ||
"version": "0.0.1", | ||
"location": "", | ||
"isEnabled": true, | ||
"type": "api", | ||
"auth": "none", | ||
"authorizationPassthroughMethod": "header", | ||
"configuration": { | ||
"headers.API-KEY": "", | ||
"headers.API-Interface-ID": "" | ||
}, | ||
"endpointsConfig": [], | ||
"logRetention": 3600, | ||
"errorRetention": 86400, | ||
"objectCount": 0, | ||
"test": false | ||
} |
31 changes: 31 additions & 0 deletions
31
...ations/xxllnc-zoekendpoint-woo/synchronizations/xxllnc-zoek-endpoint-to-publications.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,31 @@ | ||
{ | ||
"name": "Xxllnc zoek endpoint to Publications", | ||
"description": "", | ||
"version": "0.0.1", | ||
"sourceId": "1", | ||
"sourceType": "api", | ||
"sourceTargetMapping": "1", | ||
"sourceConfig": { | ||
"idPosition": "id", | ||
"resultsPosition": "result", | ||
"endpoint": "/public_search/x/search", | ||
"headers": [], | ||
"query": [] | ||
}, | ||
"currentPage": 1, | ||
"targetId": "1/1", | ||
"targetType": "register/schema", | ||
"conditions": { | ||
"and": [ | ||
{ | ||
"var": "values['attribute.woo_categorie']" | ||
}, | ||
{ | ||
"var": "values['case.subject']" | ||
}, | ||
{ | ||
"var": "values['attribute.woo_publicatiedatum']" | ||
} | ||
] | ||
} | ||
} |
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
Oops, something went wrong.