-
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 #33 from CommonGateway/feature/AXCVDWOF-14/tilburg…
…-cases-sync Added working sync for Tilburg cases to OpenIndex Publication
- Loading branch information
Showing
48 changed files
with
1,403 additions
and
170 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
Installation/Action/openindex.woo.SyncTilburgCasesAction.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,30 @@ | ||
{ | ||
"title" : "OpenIndex SyncTilburgCasesAction", | ||
"$id" : "https://openwoo.app/openindex.woo.SyncTilburgCasesAction.action.json", | ||
"$schema" : "https://docs.commongateway.nl/schemas/Action.schema.json", | ||
"version" : "0.0.1", | ||
"listens" : [ | ||
"tilburg.openindex.default.listens" | ||
], | ||
"configuration" : { | ||
"oin" : "00000001001172773000", | ||
"portalUrl" : "https://conductionnl.github.io/woo-website-tubbergen", | ||
"source" : "https://openwoo.app/source/openindex.tilburg.zaaksysteem.source.json", | ||
"schema" : "https://openwoo.app/schemas/publication.schema.json", | ||
"mapping" : "https://openwoo.app/mapping/openindex.woo.tilburgCaseToWoo.mapping.json", | ||
"organisatie" : "Gemeente Tilburg", | ||
"caseIndex" : "/v1/zaken", | ||
"caseDetail" : "/v1/zaken/:identificatie/informatieobjecten", | ||
"caseDocument" : "/v1/informatieobjecten/:identificatie", | ||
"fileEndpoint" : "https://openwoo.app/openindex.woo.ViewFile.endpoint.json", | ||
"rateLimitStart": "2024-06-06", | ||
"rateLimitEnd": "2024-08-01" | ||
}, | ||
"conditions" : { | ||
"==" : [ | ||
1, | ||
1 | ||
] | ||
}, | ||
"class" : "CommonGateway\\OpenIndex\\ActionHandler\\SyncTilburgCasesHandler" | ||
} |
15 changes: 15 additions & 0 deletions
15
Installation/Action/openindex.woo.viewFileAction.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,15 @@ | ||
{ | ||
"title": "OpenIndex ViewFileAction", | ||
"$id": "https://commongateway.nl/openindex.woo.ViewFileAction.action.json", | ||
"$schema": "https://docs.commongateway.nl/schemas/Action.schema.json", | ||
"version": "0.0.1", | ||
"listens": ["woo.openindex.file.view"], | ||
"configuration": { | ||
"schemaThisFileBelongsTo": ["https://openwoo.app/schemas/publication.schema.json", "https://openwoo.app/schemas/attachment.schema.json"] | ||
}, | ||
"conditions": | ||
{ | ||
"==": [1, 1] | ||
}, | ||
"class": "CommonGateway\\OpenIndex\\ActionHandler\\ViewFileHandler" | ||
} |
12 changes: 12 additions & 0 deletions
12
Installation/Cronjob/openindex.tilburg.default.cronjob.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,12 @@ | ||
{ | ||
"title": "OpenIndex Tilburg default cronjob", | ||
"$id": "https://openwoo.app/openindex.tilburg.default.cronjob.json", | ||
"$schema": "https://docs.commongateway.nl/schemas/Cronjob.schema.json", | ||
"version": "0.0.1", | ||
"description": "This cronjob fires the OpenIndex Tilburg actions every night at 03.00", | ||
"crontab": "0 3 * * *", | ||
"throws": [ | ||
"tilburg.openindex.default.listens" | ||
], | ||
"isEnabled": false | ||
} |
27 changes: 27 additions & 0 deletions
27
Installation/Mapping/openindex.woo.tilburgCaseToWoo.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"title" : "OpenIndex TilburgCaseToWoo", | ||
"$id" : "https://openwoo.app/mapping/openindex.woo.tilburgCaseToWoo.mapping.json", | ||
"$schema" : "https://docs.commongateway.nl/schemas/Mapping.schema.json", | ||
"version" : "0.0.1", | ||
"passTrough" : false, | ||
"mapping" : { | ||
"_sourceId" : "identificatie", | ||
"reference" : "identificatie", | ||
"title" : "omschrijving", | ||
"summary" : "zaaktypeomschrijving", | ||
"description" : "zaaktypeomschrijving", | ||
"image" : "", | ||
"category" : "Woo-verzoeken en -besluiten", | ||
"portal" : "", | ||
"publicationDate" : "startdatum", | ||
"featured" : "false", | ||
"schema" : "https://openwoo.app/schemas/metadata.tooi_verzoeken_en_besluiten.schema.json", | ||
"attachments" : "[]", | ||
"data.datumBesluit" : "startdatum", | ||
"data.datumOntvangst": "startdatum" | ||
}, | ||
"cast" : { | ||
"featured": "bool", | ||
"attachments" : "jsonToArray" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Installation/Mapping/openindex.woo.tilburgCustomFields.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"title" : "OpenIndex TilburgCustomFields", | ||
"$id" : "https://openwoo.app/mapping/openindex.woo.tilburgCustomFields.mapping.json", | ||
"$schema" : "https://docs.commongateway.nl/schemas/Mapping.schema.json", | ||
"version" : "0.0.1", | ||
"passTrough" : false, | ||
"mapping" : { | ||
"_sourceId" : "id", | ||
"metadata.statuscode" : "statuscode" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
Installation/Mapping/openindex.woo.tilburgDocumentSetSourceId.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"title" : "OpenIndex TilburgDocumentSetSourceId", | ||
"$id" : "https://openwoo.app/mapping/openindex.woo.tilburgDocumentSetSourceId.schema.json", | ||
"$schema" : "https://docs.commongateway.nl/schemas/Mapping.schema.json", | ||
"version" : "0.0.1", | ||
"passTrough" : false, | ||
"mapping" : { | ||
"_sourceId" : "identificatie", | ||
"titel" : "Temporarily title so a object gets created for file fetching and url genering." | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
Installation/Mapping/openindex.woo.tilburgDocumentToAttachment.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"title" : "OpenIndex tilburgDocumentToAttachment", | ||
"$id" : "https://openwoo.app/mapping/openindex.woo.tilburgDocumentToAttachment.mapping.json", | ||
"$schema" : "https://docs.commongateway.nl/schemas/Mapping.schema.json", | ||
"version" : "0.0.1", | ||
"passTrough" : false, | ||
"mapping" : { | ||
"_sourceId" : "identificatie", | ||
"id" : "identificatie", | ||
"title" : "titel", | ||
"accessURL" : "link", | ||
"type" : "formaat" | ||
} | ||
} |
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
14 changes: 14 additions & 0 deletions
14
Installation/Source/openindex.tilburg.zaaksysteem.source.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,14 @@ | ||
{ | ||
"title" : "OpenIndex Tilburg Zaaksysteem", | ||
"$id" : "https://openwoo.app/source/openindex.tilburg.zaaksysteem.source.json", | ||
"$schema" : "https://docs.commongateway.nl/schemas/Gateway.schema.json", | ||
"version" : "0.0.1", | ||
"description" : "OpenIndex Tilburg Zaaksysteem api", | ||
"location" : "https://secure1.acc.enable-u.cloud/tlb/zaaksysteem/api", | ||
"headers" : { | ||
"Accept" : "*/*", | ||
"Host" : "localhost", | ||
"Content-Type" : "application/json" | ||
}, | ||
"isEnabled" : true | ||
} |
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
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
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
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
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
Oops, something went wrong.