Skip to content

Commit

Permalink
Merge pull request #90 from ConductionNL/feature/AXCVDWOF-8/mapping-s…
Browse files Browse the repository at this point in the history
…harepoint

Added config files
  • Loading branch information
bbrands02 authored Nov 26, 2024
2 parents fa2b6ec + 2658087 commit 2457585
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configurations/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
You can add folders here for certain synchronizations flows.

These json files are meant to be copy/pasted into a Postman request that creates that specific type of object.

Reminder to always leave out sensitive information like authorization keys et cetera.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Sharepoint Woo verzoek to Publication",
"description": "",
"version": "0.0.1",
"mapping": {
"title": "Name"
},
"unset": [],
"cast": [],
"passThrough": false
}
34 changes: 34 additions & 0 deletions configurations/sharepoint-woo/sources/sharepoint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "Sharepoint Woo API",
"description": "Sharepoint Woo API",
"reference": null,
"version": "0.0.1",
"location": "",
"isEnabled": true,
"type": "api",
"authorizationHeader": "Authorization",
"auth": "none",
"authorizationPassthroughMethod": "header",
"authenticationConfig": [],
"configuration": {
"headers": {
"Authorization": "Bearer {{ oauthToken(source) }}",
"Accept": "application/json;odata=verbose"
},
"authentication": {
"grant_type": "",
"scope": "",
"authentication": "body",
"client_id": "",
"client_secret": "",
"client_assertion_type": "",
"private_key": "",
"x5t": "",
"payload": "",
"tokenUrl": ""
}
},
"logRetention": 3600,
"errorRetention": 86400,
"test": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "Sharepoint Convenanten to Publications",
"description": "",
"version": "0.0.1",
"sourceId": "1",
"sourceType": "api",
"sourceHash": "",
"sourceTargetMapping": "1",
"sourceConfig": {
"idPosition": "UniqueId",
"resultsPosition": "d.results",
"endpoint": "/Web/GetFolderByServerRelativePath(decodedurl='/WOO/Convenanten')/folders",
"headers": [],
"query": []
},
"targetId": "1/1",
"targetType": "register/schema"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "Sharepoint Woo-verzoeken en -besluiten to Publications",
"description": "",
"version": "0.0.1",
"sourceId": "1",
"sourceType": "api",
"sourceHash": "",
"sourceTargetMapping": "1",
"sourceConfig": {
"idPosition": "UniqueId",
"resultsPosition": "d.results",
"endpoint": "/Web/GetFolderByServerRelativePath(decodedurl='/WOO/Woo-verzoeken en -besluiten')/folders",
"headers": [],
"query": []
},
"targetId": "1/1",
"targetType": "register/schema"
}

0 comments on commit 2457585

Please sign in to comment.