generated from mojaloop/typescript-svc-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement consentRequests( post and put) endpoints (#80)
* feat: implement consentRequests( post and put) endpoints * chore: fix linting issues * chore: skip pisp-transaction integration test * chore: fix linting issues * chore: address review comments * chore: address review comments * chore: fix linting issues * chore: replace if-else with switch * chore: address review comments * chore: throw exception in case of invalid auth channel
- Loading branch information
1 parent
1a0de27
commit a95d6d2
Showing
45 changed files
with
3,654 additions
and
84 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
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
56 changes: 55 additions & 1 deletion
56
docker/contract/ml-testing-toolkit/spec_files/rules_validation/default.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 |
---|---|---|
@@ -1 +1,55 @@ | ||
[] | ||
[ | ||
{ | ||
"ruleId": 1, | ||
"priority": 1, | ||
"description": "post /consentRequests -error", | ||
"apiVersion": { | ||
"minorVersion": 1, | ||
"majorVersion": 0, | ||
"type": "thirdparty_pisp", | ||
"asynchronous": true | ||
}, | ||
"conditions": { | ||
"all": [ | ||
{ | ||
"fact": "body", | ||
"operator": "equal", | ||
"value": "d51ec534-ee48-4575-b6a9-ead2955b8069", | ||
"path": "id" | ||
}, | ||
{ | ||
"fact": "operationPath", | ||
"operator": "equal", | ||
"value": "/consentRequests" | ||
}, | ||
{ | ||
"fact": "method", | ||
"operator": "equal", | ||
"value": "post" | ||
} | ||
] | ||
}, | ||
"event": { | ||
"method": "put", | ||
"path": "/consentRequests/{ID}/error", | ||
"params": { | ||
"headers": { | ||
"Accept": "application/vnd.interoperability.thirdparty+json;version=1.0", | ||
"Content-Type": "application/vnd.interoperability.thirdparty+json;version=1.0", | ||
"Date": "Wed, 27 May 2020 11:13:34 GMT", | ||
"FSPIOP-Source": "DFSPA" | ||
}, | ||
"body": { | ||
"errorInformation": { | ||
"errorCode": "7204", | ||
"errorDescription": "FSP does not support any requested scope actions" | ||
} | ||
}, | ||
"scripts": {} | ||
}, | ||
"type": "FIXED_ERROR_CALLBACK" | ||
}, | ||
"type": "validation", | ||
"version": 1 | ||
} | ||
] |
Oops, something went wrong.