Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: tests for iso 20022 compatibility #173

Merged
merged 99 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
7d9d7b0
feat(csi-20): replace hard-coded hub name with input var (#145)
oderayi Jun 24, 2024
5cb604c
Merge branch 'master' of github.com:mojaloop/testing-toolkit-test-cas…
oderayi Jun 27, 2024
aa35fa2
feat: update env vars
oderayi Jun 27, 2024
d695fbf
feat: parameterize switch id
oderayi Jun 27, 2024
aa0fc13
feat: parameterize switch id
oderayi Jun 27, 2024
ea9f31c
chore: update test
oderayi Jun 28, 2024
e5c1005
feat: update test descriptions
oderayi Jun 28, 2024
ffb27f8
feat: update test descriptions
oderayi Jun 28, 2024
a50f5f1
feat: update test descriptions
oderayi Jun 28, 2024
6663c1a
feat: update default switch name
oderayi Jun 28, 2024
cd755d2
Feat/#3910 fxp golden path (#150)
sri-miriyala Jul 2, 2024
5485685
PR for Proxy Discovery GP (#151)
sri-miriyala Jul 16, 2024
437118d
Feat/#225 proxy gp quotes (#152)
sri-miriyala Jul 16, 2024
1a8ebc8
fix: add proxy support
kalinkrustev Aug 1, 2024
ac20ba9
feat(mojaloop/#3984): parameterize switch id (#149) (#155)
kalinkrustev Aug 1, 2024
873ccb2
fix: create settlement and reconciliation accounts in the hub for the…
kalinkrustev Aug 2, 2024
bfb3df5
fxp provisioning
kalinkrustev Aug 21, 2024
89ca792
fxp provisioning
kalinkrustev Aug 21, 2024
46caecf
fix: fxquotes
vijayg10 Aug 21, 2024
a5e955d
feat: added fxTransfer rule
vijayg10 Aug 22, 2024
ee02121
fix: fxtransfers
vijayg10 Aug 22, 2024
3eecc7e
fix: fxp provisioning endpoints
kalinkrustev Aug 23, 2024
110a2a0
fix: fxquotes rule
vijayg10 Aug 26, 2024
36a77e1
chore: values
vijayg10 Aug 28, 2024
03558b9
Feat/#csi 25 ttk for proxy simulation (#153)
sri-miriyala Sep 18, 2024
5b10656
fix: assertions on versions
vijayg10 Sep 18, 2024
497b731
fix: test case
vijayg10 Sep 18, 2024
fdaa823
fix: switch some settlement tests to use WS (#158)
oderayi Sep 19, 2024
3dcb60c
chore: cleanup
vijayg10 Sep 19, 2024
83e785e
fix: assertions
vijayg10 Sep 19, 2024
63ee498
fix: interscheme
vijayg10 Sep 19, 2024
7bf98e2
fix: proxy env
vijayg10 Sep 19, 2024
8c5cb32
fix: test
vijayg10 Sep 19, 2024
3aa773b
fix: oracle url
vijayg10 Sep 19, 2024
ba8b742
fix: test
vijayg10 Sep 20, 2024
f0e894d
feat: fx currencies
vijayg10 Sep 23, 2024
b26831e
fix: onboarding
vijayg10 Sep 23, 2024
de2d111
feat: add ULID support (#160)
kalinkrustev Sep 26, 2024
eee0bf8
Merge branch 'master' into feat/fx-impl
kalinkrustev Oct 8, 2024
7662a31
fix: interscheme
vijayg10 Oct 17, 2024
62779d0
fix: assertion
vijayg10 Oct 18, 2024
b7fc38f
feat: added basic callback rules of iso20022
vijayg10 Oct 18, 2024
808ea9f
fix: rules
vijayg10 Oct 21, 2024
8978949
fix: condition
vijayg10 Oct 23, 2024
8a4d9d9
fix: rules
vijayg10 Oct 24, 2024
952ca03
fix: put fxquotes
vijayg10 Oct 25, 2024
f82fff2
fix: fx validation rules
vijayg10 Oct 28, 2024
7bf7ca4
chore: label management
vijayg10 Oct 29, 2024
ce83a47
chore: changed ttk p2p with balance check
vijayg10 Oct 29, 2024
f1006eb
fix: tag
vijayg10 Oct 29, 2024
486e6c6
fix: interscheme
vijayg10 Oct 29, 2024
ff30ebe
fix: ttk env variable
vijayg10 Oct 30, 2024
916030c
fix: pm4ml rule
vijayg10 Oct 30, 2024
e688042
fix: quotes rule
vijayg10 Nov 1, 2024
294de4a
increase proxy funds and NDC
kalinkrustev Nov 1, 2024
81746fa
fix: block-transfer (#167)
geka-evk Nov 1, 2024
7c60bb3
fix: rules and collection
vijayg10 Nov 1, 2024
09a6d46
fix: skip subId assertion in iso mode
oderayi Nov 1, 2024
aab22f8
fix: skip subId assertion in iso mode
oderayi Nov 1, 2024
1dfb356
fix: removed uuid v4 (#168)
geka-evk Nov 1, 2024
d7d69e0
fix: used integer amount
geka-evk Nov 1, 2024
7a02ccb
fix: some failures in fulfil reserved 1.0 and similar pattern elsewhere
oderayi Nov 4, 2024
5420256
fix: reorder callback rules
vijayg10 Nov 4, 2024
3ad8e0a
fix: fixes for fulfil reserved 1.0
oderayi Nov 4, 2024
1c6b5fd
fix: skip extensionlist assert in iso mode
oderayi Nov 4, 2024
b1a9343
chore: alter test cases that check for exact error description (#170)
kleyow Nov 4, 2024
81e3137
fix: moved only FSPIOP GP tests into a separate folder (#169)
geka-evk Nov 5, 2024
9da38a3
chore: revert delay for fulfil reserved 1.0
oderayi Nov 5, 2024
3a539c7
fix: header cases
vijayg10 Nov 5, 2024
671e195
Merge branch 'minor/iso' of https://github.com/mojaloop/testing-toolk…
vijayg10 Nov 5, 2024
18fea5c
fix: assertions
vijayg10 Nov 5, 2024
273f383
fix: patch notification tests
oderayi Nov 5, 2024
f2533db
feat: add rules for patch
oderayi Nov 5, 2024
083c1ce
fix: rule
vijayg10 Nov 5, 2024
52afe9a
fix: test cases
vijayg10 Nov 5, 2024
906ae68
fix: tests
vijayg10 Nov 5, 2024
7ff4f51
chore: moved decimal tests back to GP
geka-evk Nov 5, 2024
97f6ce5
fix: test
vijayg10 Nov 5, 2024
dd14b9c
Merge branch 'minor/iso' of https://github.com/mojaloop/testing-toolk…
vijayg10 Nov 5, 2024
8c843f7
fix: oracle env
vijayg10 Nov 8, 2024
53d4579
increase proxy funds and NDC
kalinkrustev Nov 11, 2024
b15b50b
feat: allow funds in and net debit cap to be configured in the profil…
kalinkrustev Nov 11, 2024
676033b
fix: labels
vijayg10 Nov 13, 2024
34125f6
chore: hardcode test currency in settlement model (#172)
kleyow Nov 28, 2024
8302ba8
fix: rule
vijayg10 Nov 29, 2024
00b4e60
fix: minor testcase
vijayg10 Dec 10, 2024
4357889
fix: testcase
vijayg10 Dec 11, 2024
51d7125
fix: test
vijayg10 Dec 12, 2024
dbf5b69
feat: add proxy2
oderayi Jan 8, 2025
8d3d4c5
feat: delete party in oracle before inter-scheme lookup
oderayi Jan 10, 2025
b75075c
fix: update test assertion for get quotes
oderayi Jan 22, 2025
87fb400
fix: add missing content-type header and update quotes error assertion
oderayi Jan 27, 2025
c23f858
fix: missing content-type
oderayi Jan 27, 2025
dfe7d5b
Merge branch 'master' into minor/iso
kleyow Jan 28, 2025
5f8e577
feat: add msisdn oracle during dfsp onboarding (#177)
kalinkrustev Jan 29, 2025
2843785
fix: update date header test
oderayi Jan 29, 2025
f0a0a79
Merge branch 'minor/iso' of github.com:mojaloop/testing-toolkit-test-…
oderayi Jan 29, 2025
54ef938
fix: trxReq date header
oderayi Jan 29, 2025
7e1ca39
feat(csi-706): added executionOrder for HA tests (#174)
geka-evk Jan 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,376 changes: 1,376 additions & 0 deletions collections/dfsp/provisioning/proxy_testing/proxy1.json

Large diffs are not rendered by default.

1,376 changes: 1,376 additions & 0 deletions collections/dfsp/provisioning/proxy_testing/proxy2.json

Large diffs are not rendered by default.

1,427 changes: 1,427 additions & 0 deletions collections/dfsp/provisioning/proxy_testing/testdfsp.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@
}
],
"fileInfo": {
"path": "hub/golden_path/api-tests/SettlementWindows/settlementadmin.json"
"path": "hub/golden_path/api-tests/SettlementWindows/settlementadmin.json",
"labels": [
"prod-tests"
]
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,10 @@
}
],
"fileInfo": {
"path": "hub/golden_path/api-tests/admin-api-tests/Admintests-20201221.json"
"path": "hub/golden_path/api-tests/admin-api-tests/Admintests-20201221.json",
"labels": [
"prod-tests"
]
}
}
]
Expand Down
4 changes: 0 additions & 4 deletions collections/hub/golden_path/api-tests/master.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
"name": "admin-api-tests",
"type": "folder"
},
{
"name": "Quotes",
"type": "folder"
},
{
"name": "SettlementWindows",
"type": "folder"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"Authorization": "{$inputs.TTK_BEARER_TOKEN}"
},
"body": {
"quoteId": "{$function.generic.generateUUID}",
"transactionId": "{$function.generic.generateUUID}",
"quoteId": "{$function.generic.generateID}",
"transactionId": "{$function.generic.generateID}",
"payer": {
"partyIdInfo": {
"partyIdType": "{$inputs.fromIdType}",
Expand Down Expand Up @@ -274,7 +274,10 @@
}
],
"fileInfo": {
"path": "hub/golden_path/bug fixes/Test for 4 decimal points #949.json"
"path": "hub/golden_path/bug fixes/Test for 4 decimal points #949.json",
"labels": [
"prod-tests"
]
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"FSPIOP-Destination": "{$inputs.toFspId}"
},
"body": {
"quoteId": "{$function.generic.generateUUID}",
"transactionId": "{$function.generic.generateUUID}",
"quoteId": "{$function.generic.generateID}",
"transactionId": "{$function.generic.generateID}",
"payer": {
"partyIdInfo": {
"partyIdType": "{$inputs.fromIdType}",
Expand Down Expand Up @@ -135,8 +135,8 @@
"FSPIOP-Destination": "{$inputs.toFspId}"
},
"body": {
"quoteId": "{$function.generic.generateUUID}",
"transactionId": "{$function.generic.generateUUID}",
"quoteId": "{$function.generic.generateID}",
"transactionId": "{$function.generic.generateID}",
"payer": {
"partyIdInfo": {
"partyIdType": "{$inputs.fromIdType}",
Expand Down Expand Up @@ -218,7 +218,10 @@
}
],
"fileInfo": {
"path": "hub/golden_path/bug fixes/Test for Bugfix #1378 - extension list missing.json"
"path": "hub/golden_path/bug fixes/Test for Bugfix #1378 - extension list missing.json",
"labels": [
"prod-tests"
]
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"info": "p2p_money_transfer - payee_request_for_notification_v.1.1"
},
"fileInfo": {
"path": "hub/golden_path/bug fixes/Test for Bugfix #2697 - Central-Ledger Fulfil Handler does not correctly invalidate requests with an incorrect-non-existent FSP-ID in the FSPIOP-Destination header.json"
"path": "hub/golden_path/bug fixes/Test for Bugfix #2697 - Central-Ledger Fulfil Handler does not correctly invalidate requests with an incorrect-non-existent FSP-ID in the FSPIOP-Destination header.json",
"labels": [
"prod-tests"
]
},
"requests": [
{
Expand All @@ -33,8 +36,8 @@
"FSPIOP-Destination": "ttkpayeefsp"
},
"body": {
"quoteId": "{$environment.quiteId}",
"transactionId": "{$environment.transfer_ID}",
"quoteId": "{$function.generic.generateID}",
"transactionId": "{$function.generic.generateID}",
"payer": {
"partyIdInfo": {
"partyIdType": "{$inputs.fromIdType}",
Expand Down Expand Up @@ -156,9 +159,6 @@
},
"preRequest": {
"exec": [
"const uuid = require('uuid')",
"pm.environment.set('transfer_ID', uuid.v4())",
"pm.environment.set('quiteId', uuid.v4())",
"pm.environment.set('patchAmount', '104')",
""
]
Expand Down Expand Up @@ -239,7 +239,7 @@
"id": 6,
"description": "Payer Callback content-type to be transfers",
"exec": [
"expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version=1.1')"
"expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version={$inputs.expectedTransfersVersion}')"
]
},
{
Expand Down Expand Up @@ -374,7 +374,10 @@
"info": "p2p_money_transfer - payee_request_for_notification_v.1.1"
},
"fileInfo": {
"path": "hub/golden_path/bug fixes/Test for Bugfix #2697 - Central-Ledger Fulfil Handler does not correctly invalidate requests with an incorrect-non-existent FSP-ID in the FSPIOP-Destination header.json"
"path": "hub/golden_path/bug fixes/Test for Bugfix #2697 - Central-Ledger Fulfil Handler does not correctly invalidate requests with an incorrect-non-existent FSP-ID in the FSPIOP-Destination header.json",
"labels": [
"prod-tests"
]
},
"requests": [
{
Expand All @@ -399,8 +402,8 @@
"FSPIOP-Destination": "ttkpayeefsp"
},
"body": {
"quoteId": "{$environment.quiteId}",
"transactionId": "{$environment.transfer_ID}",
"quoteId": "{$function.generic.generateID}",
"transactionId": "{$function.generic.generateID}",
"payer": {
"partyIdInfo": {
"partyIdType": "{$inputs.fromIdType}",
Expand Down Expand Up @@ -522,9 +525,6 @@
},
"preRequest": {
"exec": [
"const uuid = require('uuid')",
"pm.environment.set('transfer_ID', uuid.v4())",
"pm.environment.set('quiteId', uuid.v4())",
"pm.environment.set('patchAmount', '102')",
""
]
Expand Down Expand Up @@ -605,7 +605,7 @@
"id": 6,
"description": "Payer Callback content-type to be transfers",
"exec": [
"expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version=1.1')"
"expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version={$inputs.expectedTransfersVersion}')"
]
},
{
Expand Down Expand Up @@ -666,14 +666,6 @@
"",
"expect(environment.payeeCallbackNotification.body.transferState).to.equal('ABORTED')"
]
},
{
"id": 16,
"description": "Payee Notification extension cause contains 'fspiop-destination does not match payer fsp on the Fulfil callback response'",
"exec": [
"expect(environment.payeeCallbackNotification.body.extensionList.extension[0].value).contains('fspiop-destination does not match payer fsp on the Fulfil callback response')",
""
]
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"Authorization": "{$inputs.TTK_BEARER_TOKEN}"
},
"body": {
"transferId": "{$function.generic.generateUUID}+´+1´",
"transferId": "{$function.generic.generateID}+´+1´",
"payerFsp": "{$inputs.fromFspId}",
"payeeFsp": "{$inputs.payeefsp}",
"amount": {
Expand All @@ -166,23 +166,9 @@
},
{
"id": 2,
"description": "Check Malformed syntax",
"description": "Check Error code 3100",
"exec": [
"expect(response.body.errorInformation.errorDescription).to.include('Malformed syntax');"
]
},
{
"id": 3,
"description": "Check Transfer Id is included in error",
"exec": [
"expect(response.body.errorInformation.errorDescription).to.include('Transfer Id');"
]
},
{
"id": 4,
"description": "Check Error code 3101",
"exec": [
"expect(response.body.errorInformation.errorCode).to.include('3101');"
"expect(response.body.errorInformation.errorCode).to.include('3100');"
]
}
]
Expand All @@ -197,7 +183,10 @@
}
],
"fileInfo": {
"path": "hub/golden_path/bug fixes/Test for Bugfix #742 - Error code check.json"
"path": "hub/golden_path/bug fixes/Test for Bugfix #742 - Error code check.json",
"labels": [
"prod-tests"
]
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,10 @@
}
],
"fileInfo": {
"path": "hub/golden_path/bug fixes/Test for Bugfix #849 - missing ID for transfers and quotes.json"
"path": "hub/golden_path/bug fixes/Test for Bugfix #849 - missing ID for transfers and quotes.json",
"labels": [
"prod-tests"
]
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,10 @@
}
],
"fileInfo": {
"path": "hub/golden_path/bug fixes/Tests for Bugfix #1009 - ML Adapter and ALS service health should include broker status.json"
"path": "hub/golden_path/bug fixes/Tests for Bugfix #1009 - ML Adapter and ALS service health should include broker status.json",
"labels": [
"prod-tests"
]
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@
}
],
"fileInfo": {
"path": "hub/golden_path/bug fixes/Tests for Bugfix #981 - Fix 500 http code instead of 400.json"
"path": "hub/golden_path/bug fixes/Tests for Bugfix #981 - Fix 500 http code instead of 400.json",
"labels": [
"prod-tests"
]
}
}
]
Expand Down
Loading