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

adding changes to the goldenpath #54

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions collections/hub/golden_path/master.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
{
"name": "api-tests",
"type": "folder"
},
{
"name": "settlement_cgs",
"type": "folder"
}
]
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
},
"body": {
"fspId": "{$environment.SIMPAYEE_NAME}",
"currency": "{$environment.currency}"
"currency": "{$environment.cgscurrency}"
},
"tests": {
"assertions": [
Expand All @@ -273,7 +273,8 @@
]
}
]
}
},
"ignoreCallbacks": true
},
{
"id": 10,
Expand Down Expand Up @@ -348,7 +349,7 @@
},
"body": {
"fspId": "{$environment.SIMPAYER_NAME}",
"currency": "{$environment.currency}"
"currency": "{$environment.cgscurrency}"
},
"tests": {
"assertions": [
Expand All @@ -360,7 +361,8 @@
]
}
]
}
},
"ignoreCallbacks": true
},
{
"id": 12,
Expand Down Expand Up @@ -435,7 +437,7 @@
},
"body": {
"fspId": "{$environment.SIM1_NAME}",
"currency": "{$environment.currency}"
"currency": "{$environment.cgscurrency}"
},
"tests": {
"assertions": [
Expand All @@ -447,7 +449,8 @@
]
}
]
}
},
"ignoreCallbacks": true
},
{
"id": 14,
Expand Down Expand Up @@ -522,7 +525,7 @@
},
"body": {
"fspId": "{$environment.SIM1_NAME}",
"currency": "{$environment.currency}"
"currency": "{$environment.cgscurrency}"
},
"tests": {
"assertions": [
Expand All @@ -534,7 +537,8 @@
]
}
]
}
},
"ignoreCallbacks": true
},
{
"id": 16,
Expand Down Expand Up @@ -609,7 +613,7 @@
},
"body": {
"fspId": "{$environment.SIM2_NAME}",
"currency": "{$environment.currency}"
"currency": "{$environment.cgscurrency}"
},
"tests": {
"assertions": [
Expand All @@ -621,7 +625,8 @@
]
}
]
}
},
"ignoreCallbacks": true
},
{
"id": 18,
Expand Down Expand Up @@ -696,7 +701,7 @@
},
"body": {
"fspId": "{$environment.SIM2_NAME}",
"currency": "{$environment.currency}"
"currency": "{$environment.cgscurrency}"
},
"tests": {
"assertions": [
Expand All @@ -708,7 +713,8 @@
]
}
]
}
},
"ignoreCallbacks": true
},
{
"id": 20,
Expand Down Expand Up @@ -783,7 +789,7 @@
},
"body": {
"fspId": "{$environment.SIM3_NAME}",
"currency": "{$environment.currency}"
"currency": "{$environment.cgscurrency}"
},
"tests": {
"assertions": [
Expand All @@ -795,7 +801,8 @@
]
}
]
}
},
"ignoreCallbacks": true
},
{
"id": 22,
Expand Down Expand Up @@ -870,7 +877,7 @@
},
"body": {
"fspId": "{$environment.SIM3_NAME}",
"currency": "{$environment.currency}"
"currency": "{$environment.cgscurrency}"
},
"tests": {
"assertions": [
Expand All @@ -882,7 +889,8 @@
]
}
]
}
},
"ignoreCallbacks": true
},
{
"id": 24,
Expand Down Expand Up @@ -957,7 +965,7 @@
},
"body": {
"fspId": "{$environment.SIM4_NAME}",
"currency": "{$environment.currency}"
"currency": "{$environment.cgscurrency}"
},
"tests": {
"assertions": [
Expand All @@ -969,7 +977,8 @@
]
}
]
}
},
"ignoreCallbacks": true
},
{
"id": 26,
Expand Down Expand Up @@ -1044,7 +1053,7 @@
},
"body": {
"fspId": "{$environment.SIM4_NAME}",
"currency": "{$environment.currency}"
"currency": "{$environment.cgscurrency}"
},
"tests": {
"assertions": [
Expand All @@ -1056,7 +1065,8 @@
]
}
]
}
},
"ignoreCallbacks": true
},
{
"id": 28,
Expand Down Expand Up @@ -1125,7 +1135,7 @@
},
"body": {
"fspId": "{$environment.SIMPAYEE_NAME}",
"currency": "{$environment.currency}"
"currency": "{$environment.cgscurrency}"
},
"tests": {
"assertions": [
Expand All @@ -1137,7 +1147,8 @@
]
}
]
}
},
"ignoreCallbacks": true
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "multi",
"test_cases": [
{
"id": 9,
"id": 1,
"name": "adjust ALL participants limits NET DEBIT CAP (parametrized)",
"meta": {
"info": "adjust ALL participants limits NET DEBIT CAP (parametrized)"
Expand Down Expand Up @@ -50,18 +50,18 @@
"type": "central_admin"
},
"operationPath": "/participants/{name}/limits",
"path": "/participants/payerfsp/limits",
"path": "/participants/{$inputs.SIMPAYER_NAME}/limits",
"method": "put",
"params": {
"name": "payerfsp"
"name": "{$inputs.SIMPAYER_NAME}"
},
"url": "{$inputs.HOST_CENTRAL_LEDGER}",
"queryParams": {},
"headers": {
"Content-Type": "application/json"
},
"body": {
"currency": "{$environment.currency}",
"currency": "{$environment.cgscurrency}",
"limit": {
"type": "NET_DEBIT_CAP",
"value": "{$environment.NET_DEBIT_CAP}",
Expand Down Expand Up @@ -92,18 +92,18 @@
"type": "central_admin"
},
"operationPath": "/participants/{name}/limits",
"path": "/participants/payeefsp/limits",
"path": "/participants/{$inputs.SIMPAYEE_NAME}/limits",
"method": "put",
"params": {
"name": "payeefsp"
"name": "{$inputs.SIMPAYEE_NAME}"
},
"url": "{$inputs.HOST_CENTRAL_LEDGER}",
"queryParams": {},
"headers": {
"Content-Type": "application/json"
},
"body": {
"currency": "{$environment.currency}",
"currency": "{$environment.cgscurrency}",
"limit": {
"type": "NET_DEBIT_CAP",
"value": "{$environment.NET_DEBIT_CAP}",
Expand Down Expand Up @@ -134,18 +134,18 @@
"type": "central_admin"
},
"operationPath": "/participants/{name}/limits",
"path": "/participants/testfsp1/limits",
"path": "/participants/{$inputs.SIM1_NAME}/limits",
"method": "put",
"params": {
"name": "testfsp1"
"name": "{$inputs.SIM1_NAME}"
},
"url": "{$inputs.HOST_CENTRAL_LEDGER}",
"queryParams": {},
"headers": {
"Content-Type": "application/json"
},
"body": {
"currency": "{$environment.currency}",
"currency": "{$environment.cgscurrency}",
"limit": {
"type": "NET_DEBIT_CAP",
"value": "{$environment.NET_DEBIT_CAP}",
Expand Down Expand Up @@ -176,18 +176,18 @@
"type": "central_admin"
},
"operationPath": "/participants/{name}/limits",
"path": "/participants/testfsp2/limits",
"path": "/participants/{$inputs.SIM2_NAME}/limits",
"method": "put",
"params": {
"name": "testfsp2"
"name": "{$inputs.SIM2_NAME}"
},
"url": "{$inputs.HOST_CENTRAL_LEDGER}",
"queryParams": {},
"headers": {
"Content-Type": "application/json"
},
"body": {
"currency": "{$environment.currency}",
"currency": "{$environment.cgscurrency}",
"limit": {
"type": "NET_DEBIT_CAP",
"value": "{$environment.NET_DEBIT_CAP}",
Expand Down Expand Up @@ -218,18 +218,18 @@
"type": "central_admin"
},
"operationPath": "/participants/{name}/limits",
"path": "/participants/testfsp3/limits",
"path": "/participants/{$inputs.SIM3_NAME}/limits",
"method": "put",
"params": {
"name": "testfsp3"
"name": "{$inputs.SIM3_NAME}"
},
"url": "{$inputs.HOST_CENTRAL_LEDGER}",
"queryParams": {},
"headers": {
"Content-Type": "application/json"
},
"body": {
"currency": "{$environment.currency}",
"currency": "{$environment.cgscurrency}",
"limit": {
"type": "NET_DEBIT_CAP",
"value": "{$environment.NET_DEBIT_CAP}",
Expand Down Expand Up @@ -260,18 +260,18 @@
"type": "central_admin"
},
"operationPath": "/participants/{name}/limits",
"path": "/participants/testfsp4/limits",
"path": "/participants/{$inputs.SIM4_NAME}/limits",
"method": "put",
"params": {
"name": "testfsp4"
"name": "{$inputs.SIM4_NAME}"
},
"url": "{$inputs.HOST_CENTRAL_LEDGER}",
"queryParams": {},
"headers": {
"Content-Type": "application/json"
},
"body": {
"currency": "{$environment.currency}",
"currency": "{$environment.cgscurrency}",
"limit": {
"type": "NET_DEBIT_CAP",
"value": "{$environment.NET_DEBIT_CAP}",
Expand Down
16 changes: 16 additions & 0 deletions collections/hub/provisioning/CGS_Specific/master.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"order": [
{
"name": "add-users-to-new-sims-and-als-registration.json",
"type": "file"
},
{
"name": "adjust-participants-limits.json",
"type": "file"
},
{
"name": "oracle-onboarding.json",
"type": "file"
}
]
}
Loading