diff --git a/collections/hub/golden_path/api-tests/admin-api-tests/Admintests-20201221.json b/collections/hub/golden_path/api-tests/admin-api-tests/Admintests-20201221.json index 76a8dbde..a36af446 100644 --- a/collections/hub/golden_path/api-tests/admin-api-tests/Admintests-20201221.json +++ b/collections/hub/golden_path/api-tests/admin-api-tests/Admintests-20201221.json @@ -85,10 +85,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { diff --git a/collections/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 b/collections/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 index 88dc0898..1ab87491 100644 --- a/collections/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 +++ b/collections/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 @@ -290,7 +290,7 @@ "id": 14, "description": "Payee Notification FSP Source is Switch", "exec": [ - "// expect(environment.payeeCallbackNotification.headers['fspiop-source']).to.equal('switch')" + "// expect(environment.payeeCallbackNotification.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -656,7 +656,7 @@ "id": 14, "description": "Payee Notification FSP Source is Switch", "exec": [ - "expect(environment.payeeCallbackNotification.headers['fspiop-source']).to.equal('switch')" + "expect(environment.payeeCallbackNotification.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { diff --git a/collections/hub/golden_path/feature_tests/Active_Inactive_participants/active_and_inactive_participant.json b/collections/hub/golden_path/feature_tests/Active_Inactive_participants/active_and_inactive_participant.json index 9b104bc8..90fabbe7 100644 --- a/collections/hub/golden_path/feature_tests/Active_Inactive_participants/active_and_inactive_participant.json +++ b/collections/hub/golden_path/feature_tests/Active_Inactive_participants/active_and_inactive_participant.json @@ -173,10 +173,10 @@ }, { "id": 5, - "description": "Payer side Callback Header - fspiop-source is switch", + "description": "Payer side Callback Header - fspiop-source is switch's name", "exec": [ "if (environment.ENABLE_WS_ASSERTIONS===true) {", - " expect(requestVariables.sim1Callback.headers['fspiop-source']).to.equal('switch')", + " expect(requestVariables.sim1Callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "}" ] }, @@ -352,10 +352,10 @@ }, { "id": 5, - "description": "Payer side Callback Header - fspiop-source is switch", + "description": "Payer side Callback Header - fspiop-source is switch's name", "exec": [ "if (environment.ENABLE_WS_ASSERTIONS===true) {", - " expect(requestVariables.sim1Callback.headers['fspiop-source']).to.equal('switch')", + " expect(requestVariables.sim1Callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "}" ] }, diff --git a/collections/hub/golden_path/feature_tests/Active_Inactive_participants/active_and_inactive_participants_accounts.json b/collections/hub/golden_path/feature_tests/Active_Inactive_participants/active_and_inactive_participants_accounts.json index cbf0989b..097fc99f 100644 --- a/collections/hub/golden_path/feature_tests/Active_Inactive_participants/active_and_inactive_participants_accounts.json +++ b/collections/hub/golden_path/feature_tests/Active_Inactive_participants/active_and_inactive_participants_accounts.json @@ -210,10 +210,10 @@ }, { "id": 5, - "description": "Payer side Callback Header - fspiop-source is switch", + "description": "Payer side Callback Header - fspiop-source is switch's name", "exec": [ "if (environment.ENABLE_WS_ASSERTIONS===true) {", - " expect(requestVariables.sim1Callback.headers['fspiop-source']).to.equal('switch')", + " expect(requestVariables.sim1Callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "}" ] }, @@ -388,10 +388,10 @@ }, { "id": 5, - "description": "Payer side Callback Header - fspiop-source is switch", + "description": "Payer side Callback Header - fspiop-source is switch's name", "exec": [ "if (environment.ENABLE_WS_ASSERTIONS===true) {", - " expect(requestVariables.sim1Callback.headers['fspiop-source']).to.equal('switch')", + " expect(requestVariables.sim1Callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "}" ] }, diff --git a/collections/hub/golden_path/feature_tests/block_transfer.json b/collections/hub/golden_path/feature_tests/block_transfer.json index 03119d5e..e6ebb873 100644 --- a/collections/hub/golden_path/feature_tests/block_transfer.json +++ b/collections/hub/golden_path/feature_tests/block_transfer.json @@ -457,9 +457,9 @@ }, { "id": 4, - "description": "'fspiop-source' should be 'switch'", + "description": "'fspiop-source' should be switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch');" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}');" ] }, { @@ -1259,9 +1259,9 @@ }, { "id": 4, - "description": "'fspiop-source' should be 'switch'", + "description": "'fspiop-source' should be switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch');" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}');" ] }, { diff --git a/collections/hub/golden_path/feature_tests/duplicate_handling/transfers/fulfill_commit.json b/collections/hub/golden_path/feature_tests/duplicate_handling/transfers/fulfill_commit.json index 7e35bf0e..cd35c32b 100644 --- a/collections/hub/golden_path/feature_tests/duplicate_handling/transfers/fulfill_commit.json +++ b/collections/hub/golden_path/feature_tests/duplicate_handling/transfers/fulfill_commit.json @@ -441,9 +441,9 @@ }, { "id": 12, - "description": "Callback Header - fspiop-source is switch", + "description": "Callback Header - fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')", + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "" ] }, @@ -880,9 +880,9 @@ }, { "id": 3, - "description": "Payee Side Callback Header - fspiop-source is switch", + "description": "Payee Side Callback Header - fspiop-source is switch's name", "exec": [ - "expect(requestVariables.payeeCallback.headers['fspiop-source']).to.equal('switch')", + "expect(requestVariables.payeeCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "" ] }, diff --git a/collections/hub/golden_path/feature_tests/duplicate_handling/transfers/fulfill_reject.json b/collections/hub/golden_path/feature_tests/duplicate_handling/transfers/fulfill_reject.json index 7d672e32..0b2e1ea3 100644 --- a/collections/hub/golden_path/feature_tests/duplicate_handling/transfers/fulfill_reject.json +++ b/collections/hub/golden_path/feature_tests/duplicate_handling/transfers/fulfill_reject.json @@ -437,9 +437,9 @@ }, { "id": 12, - "description": "Callback Header - fspiop-source is switch", + "description": "Callback Header - fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')", + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "" ] }, @@ -956,9 +956,9 @@ }, { "id": 12, - "description": "Callback Header - fspiop-source is switch", + "description": "Callback Header - fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')", + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "" ] }, diff --git a/collections/hub/golden_path/feature_tests/duplicate_handling/transfers/original_transfer_at_committed.json b/collections/hub/golden_path/feature_tests/duplicate_handling/transfers/original_transfer_at_committed.json index 508427a3..4c8390aa 100644 --- a/collections/hub/golden_path/feature_tests/duplicate_handling/transfers/original_transfer_at_committed.json +++ b/collections/hub/golden_path/feature_tests/duplicate_handling/transfers/original_transfer_at_committed.json @@ -736,9 +736,9 @@ }, { "id": 15, - "description": "Callback Header - fspiop-source is switch", + "description": "Callback Header - fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')", + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "" ] }, diff --git a/collections/hub/golden_path/feature_tests/funds_in/funds_in_ttk.json b/collections/hub/golden_path/feature_tests/funds_in/funds_in_ttk.json index 115baa2c..7f99bf2b 100644 --- a/collections/hub/golden_path/feature_tests/funds_in/funds_in_ttk.json +++ b/collections/hub/golden_path/feature_tests/funds_in/funds_in_ttk.json @@ -72,10 +72,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -277,10 +277,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -363,9 +363,9 @@ }, { "id": 2, - "description": "fspiop-source is switch", + "description": "fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { diff --git a/collections/hub/golden_path/feature_tests/funds_out/Reserve&Abort/funds_out_abort.json b/collections/hub/golden_path/feature_tests/funds_out/Reserve&Abort/funds_out_abort.json index c2565f6c..f65762b0 100644 --- a/collections/hub/golden_path/feature_tests/funds_out/Reserve&Abort/funds_out_abort.json +++ b/collections/hub/golden_path/feature_tests/funds_out/Reserve&Abort/funds_out_abort.json @@ -72,10 +72,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -277,10 +277,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -363,9 +363,9 @@ }, { "id": 2, - "description": "fspiop-source is switch", + "description": "fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -504,10 +504,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -675,10 +675,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -762,9 +762,9 @@ }, { "id": 2, - "description": "fspiop-source is switch", + "description": "fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { diff --git a/collections/hub/golden_path/feature_tests/funds_out/Reserve&Commit/funds_out_commit.json b/collections/hub/golden_path/feature_tests/funds_out/Reserve&Commit/funds_out_commit.json index 09dd0298..ae54c282 100644 --- a/collections/hub/golden_path/feature_tests/funds_out/Reserve&Commit/funds_out_commit.json +++ b/collections/hub/golden_path/feature_tests/funds_out/Reserve&Commit/funds_out_commit.json @@ -72,10 +72,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -277,10 +277,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -363,9 +363,9 @@ }, { "id": 2, - "description": "fspiop-source is switch", + "description": "fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -504,10 +504,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -675,10 +675,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -762,9 +762,9 @@ }, { "id": 2, - "description": "fspiop-source is switch", + "description": "fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { diff --git a/collections/hub/golden_path/feature_tests/get_transfers.json b/collections/hub/golden_path/feature_tests/get_transfers.json index db5f899b..020b03da 100644 --- a/collections/hub/golden_path/feature_tests/get_transfers.json +++ b/collections/hub/golden_path/feature_tests/get_transfers.json @@ -544,9 +544,9 @@ }, { "id": 2, - "description": "Payer FSP: 'fspiop-source' is 'switch'", + "description": "Payer FSP: 'fspiop-source' is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -658,10 +658,10 @@ }, { "id": 2, - "description": "Payee FSP: 'fspiop-source' is 'switch'", + "description": "Payee FSP: 'fspiop-source' is switch's name", "exec": [ "if (environment.ENABLE_WS_ASSERTIONS===true) {", - " expect(requestVariables.payeeCallback.headers['fspiop-source']).to.equal('switch')", + " expect(requestVariables.payeeCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "}" ] }, @@ -786,10 +786,10 @@ }, { "id": 2, - "description": "Payee FSP: 'fspiop-source' is 'switch'", + "description": "Payee FSP: 'fspiop-source' is switch's name", "exec": [ "if (environment.ENABLE_WS_ASSERTIONS===true) {", - " expect(requestVariables.payeeCallback.headers['fspiop-source']).to.equal('switch')", + " expect(requestVariables.payeeCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "}" ] }, @@ -923,9 +923,9 @@ }, { "id": 2, - "description": "Payer FSP: 'fspiop-source' is 'switch'", + "description": "Payer FSP: 'fspiop-source' is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { diff --git a/collections/hub/golden_path/feature_tests/patch_notifications/patch_notification.json b/collections/hub/golden_path/feature_tests/patch_notifications/patch_notification.json index ecac66e7..12eacf47 100644 --- a/collections/hub/golden_path/feature_tests/patch_notifications/patch_notification.json +++ b/collections/hub/golden_path/feature_tests/patch_notifications/patch_notification.json @@ -287,9 +287,9 @@ }, { "id": 14, - "description": "Payee Notification FSP Source is Switch", + "description": "Payee Notification FSP Source is switch's name", "exec": [ - "expect(environment.payeeCallbackNotification.headers['fspiop-source']).to.equal('switch')" + "expect(environment.payeeCallbackNotification.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -618,9 +618,9 @@ }, { "id": 14, - "description": "Payee Notification FSP Source is Switch", + "description": "Payee Notification FSP Source is switch's name", "exec": [ - "expect(environment.payeeCallbackNotification.headers['fspiop-source']).to.equal('switch')" + "expect(environment.payeeCallbackNotification.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { diff --git a/collections/hub/golden_path/feature_tests/post_scenarios/reserve_notification_positive_testfsp1_testfsp2.json b/collections/hub/golden_path/feature_tests/post_scenarios/reserve_notification_positive_testfsp1_testfsp2.json index 592094be..6aa0710d 100644 --- a/collections/hub/golden_path/feature_tests/post_scenarios/reserve_notification_positive_testfsp1_testfsp2.json +++ b/collections/hub/golden_path/feature_tests/post_scenarios/reserve_notification_positive_testfsp1_testfsp2.json @@ -997,11 +997,11 @@ }, { "id": 74, - "description": "On testfsp1 'fspiop-source' is 'switch'", + "description": "On testfsp1 'fspiop-source' is switch's name", "exec": [ "/* Disabled temporarily", "if (environment.TEST_NOTIFICATIONS && environment.ENABLE_WS_ASSERTIONS===true) {", - " expect(requestVariables.payeeSideTransferRequest.headers['fspiop-source']).to.equal('switch')", + " expect(requestVariables.payeeSideTransferRequest.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "}", "*/" ] diff --git a/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/fulfil-reserved-v1.0.json b/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/fulfil-reserved-v1.0.json index 1f2e2639..0d326062 100644 --- a/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/fulfil-reserved-v1.0.json +++ b/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/fulfil-reserved-v1.0.json @@ -360,9 +360,9 @@ }, { "id": 12, - "description": "Callback Header - fspiop-source is switch", + "description": "Callback Header - fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')", + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "" ] }, @@ -479,9 +479,9 @@ }, { "id": 12, - "description": "Callback Header - fspiop-source is switch", + "description": "Callback Header - fspiop-source is switch's name", "exec": [ - "expect(requestVariables.transferCallback.headers['fspiop-source']).to.equal('switch')", + "expect(requestVariables.transferCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "" ] }, diff --git a/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payee_abort_v1.1.json b/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payee_abort_v1.1.json index 1a69e07f..fbd5a9b0 100644 --- a/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payee_abort_v1.1.json +++ b/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payee_abort_v1.1.json @@ -434,9 +434,9 @@ }, { "id": 12, - "description": "Callback Header - fspiop-source is switch", + "description": "Callback Header - fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')", + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "" ] }, diff --git a/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payee_invalid_fulfillment.json b/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payee_invalid_fulfillment.json index 4c637da0..b0eb7d0d 100644 --- a/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payee_invalid_fulfillment.json +++ b/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payee_invalid_fulfillment.json @@ -460,9 +460,9 @@ }, { "id": 12, - "description": "Callback Header - fspiop-source is switch", + "description": "Callback Header - fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')", + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "" ] }, diff --git a/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payee_invalid_timestamp.json b/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payee_invalid_timestamp.json index 2e3ee85a..768cd5af 100644 --- a/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payee_invalid_timestamp.json +++ b/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payee_invalid_timestamp.json @@ -452,9 +452,9 @@ }, { "id": 12, - "description": "Callback Header - fspiop-source is switch", + "description": "Callback Header - fspiop-source is switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')", + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "" ] }, diff --git a/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payer_transfer_timeout.json b/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payer_transfer_timeout.json index d30cf3ff..a2754ea0 100644 --- a/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payer_transfer_timeout.json +++ b/collections/hub/golden_path/feature_tests/transfer_negative_scenarios/payer_transfer_timeout.json @@ -153,9 +153,9 @@ }, { "id": 3, - "description": "Payer FSP Callback Header - fspiop-source is switch", + "description": "Payer FSP Callback Header - fspiop-source is switch's name", "exec": [ - "expect(requestVariables.payerCallback.headers['fspiop-source']).to.equal('switch')", + "expect(requestVariables.payerCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "" ] }, @@ -185,9 +185,9 @@ }, { "id": 7, - "description": "Payee FSP Callback Header - fspiop-source is switch", + "description": "Payee FSP Callback Header - fspiop-source is switch's name", "exec": [ - "expect(requestVariables.payeeCallback.headers['fspiop-source']).to.equal('switch')", + "expect(requestVariables.payeeCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "" ] }, diff --git a/collections/hub/golden_path/p2p_on_us_transfers/p2p_money_transfer_on_us.json b/collections/hub/golden_path/p2p_on_us_transfers/p2p_money_transfer_on_us.json index 527e57ad..48c49539 100644 --- a/collections/hub/golden_path/p2p_on_us_transfers/p2p_money_transfer_on_us.json +++ b/collections/hub/golden_path/p2p_on_us_transfers/p2p_money_transfer_on_us.json @@ -403,7 +403,7 @@ "if (environment.ON_US_TRANSFERS_ENABLED===true) {", "expect(environment.callbackt.headers['fspiop-source']).to.equal('{$inputs.toFspId}')", "}else{", - " expect(environment.callbackt.headers['fspiop-source']).to.equal('switch')", + " expect(environment.callbackt.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')", "}" ] }, diff --git a/collections/hub/golden_path/settlement_cgs/newsetcgs.json b/collections/hub/golden_path/settlement_cgs/newsetcgs.json index cd29f807..027ed061 100644 --- a/collections/hub/golden_path/settlement_cgs/newsetcgs.json +++ b/collections/hub/golden_path/settlement_cgs/newsetcgs.json @@ -416,10 +416,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { diff --git a/collections/hub/golden_path/settlement_management/Settlement-management-primary-currency-test.json b/collections/hub/golden_path/settlement_management/Settlement-management-primary-currency-test.json index 6f81bcc6..a3cff400 100644 --- a/collections/hub/golden_path/settlement_management/Settlement-management-primary-currency-test.json +++ b/collections/hub/golden_path/settlement_management/Settlement-management-primary-currency-test.json @@ -1462,10 +1462,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -5331,10 +5331,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { diff --git a/collections/hub/golden_path/settlement_management/Settlement-management-second-currency-test.json b/collections/hub/golden_path/settlement_management/Settlement-management-second-currency-test.json index 7a6c1456..8b7084c2 100644 --- a/collections/hub/golden_path/settlement_management/Settlement-management-second-currency-test.json +++ b/collections/hub/golden_path/settlement_management/Settlement-management-second-currency-test.json @@ -1462,10 +1462,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -5331,10 +5331,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { diff --git a/collections/hub/golden_path/settlement_management/mixed_settlement_model.json b/collections/hub/golden_path/settlement_management/mixed_settlement_model.json index cf3cfe0e..4976383b 100644 --- a/collections/hub/golden_path/settlement_management/mixed_settlement_model.json +++ b/collections/hub/golden_path/settlement_management/mixed_settlement_model.json @@ -2138,10 +2138,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -6749,10 +6749,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "get", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { diff --git a/collections/hub/other_tests/bulk_transfers/bulk-duplicated-transfers.json b/collections/hub/other_tests/bulk_transfers/bulk-duplicated-transfers.json index b10194af..27b363d2 100644 --- a/collections/hub/other_tests/bulk_transfers/bulk-duplicated-transfers.json +++ b/collections/hub/other_tests/bulk_transfers/bulk-duplicated-transfers.json @@ -90,9 +90,9 @@ }, { "id": 3, - "description": "payerfsp callback - fspiop-source should be switch", + "description": "payerfsp callback - fspiop-source should be switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -162,9 +162,9 @@ }, { "id": 13, - "description": "payeefsp callback - fspiop-source should be switch", + "description": "payeefsp callback - fspiop-source should be switch's name", "exec": [ - "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('switch')" + "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -234,9 +234,9 @@ }, { "id": 23, - "description": "payeefsp request - fspiop-source should be switch", + "description": "payeefsp request - fspiop-source should be switch's name", "exec": [ - "expect(environment.bulkTransfersNegativeRequest.headers['fspiop-source']).to.equal('switch')" + "expect(environment.bulkTransfersNegativeRequest.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -634,9 +634,9 @@ }, { "id": 3, - "description": "payerfsp callback - fspiop-source should be switch", + "description": "payerfsp callback - fspiop-source should be switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -706,9 +706,9 @@ }, { "id": 13, - "description": "payeefsp callback - fspiop-source should be switch", + "description": "payeefsp callback - fspiop-source should be switch's name", "exec": [ - "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('switch')" + "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -778,9 +778,9 @@ }, { "id": 23, - "description": "payeefsp request - fspiop-source should be switch", + "description": "payeefsp request - fspiop-source should be switch's name", "exec": [ - "expect(environment.bulkTransfersNegativeRequest.headers['fspiop-source']).to.equal('switch')" + "expect(environment.bulkTransfersNegativeRequest.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { diff --git a/collections/hub/other_tests/bulk_transfers/bulk-invalid-timestamp.json b/collections/hub/other_tests/bulk_transfers/bulk-invalid-timestamp.json index a0d848a2..fb3a4f96 100644 --- a/collections/hub/other_tests/bulk_transfers/bulk-invalid-timestamp.json +++ b/collections/hub/other_tests/bulk_transfers/bulk-invalid-timestamp.json @@ -335,7 +335,7 @@ "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$environment.headerDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "FSPIOP-Destination": "switch" + "FSPIOP-Destination": "{$inputs.HUB_NAME}" }, "tests": { "assertions": [ @@ -355,9 +355,9 @@ }, { "id": 3, - "description": "payerfsp callback - fspiop-source should be switch", + "description": "payerfsp callback - fspiop-source should be switch's name", "exec": [ - "expect(requestVariables.bulkTransferCallback.headers['fspiop-source']).to.equal('switch')" + "expect(requestVariables.bulkTransferCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -441,7 +441,7 @@ " Accept: `{$inputs.acceptBulkTransfers}`,", " Date: `{$environment.headerDate}`,", " 'FSPIOP-Source': `{$inputs.fromFspId}`,", - " 'FSPIOP-Destination': 'switch'", + " 'FSPIOP-Destination': '{$inputs.HUB_NAME}'", " }", " };", " ", diff --git a/collections/hub/other_tests/bulk_transfers/bulk-warm-up.json b/collections/hub/other_tests/bulk_transfers/bulk-warm-up.json index c17b0a4c..923772e3 100644 --- a/collections/hub/other_tests/bulk_transfers/bulk-warm-up.json +++ b/collections/hub/other_tests/bulk_transfers/bulk-warm-up.json @@ -139,7 +139,7 @@ "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.toFspId}", - "FSPIOP-Destination": "switch" + "FSPIOP-Destination": "{$inputs.HUB_NAME}" }, "tests": { "assertions": [] @@ -189,7 +189,7 @@ "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", - "FSPIOP-Destination": "switch" + "FSPIOP-Destination": "{$inputs.HUB_NAME}" }, "tests": { "assertions": [] @@ -349,7 +349,7 @@ "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.toFspId}", - "FSPIOP-Destination": "switch" + "FSPIOP-Destination": "{$inputs.HUB_NAME}" }, "tests": { "assertions": [] @@ -399,7 +399,7 @@ "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", - "FSPIOP-Destination": "switch" + "FSPIOP-Destination": "{$inputs.HUB_NAME}" }, "tests": { "assertions": [] @@ -559,7 +559,7 @@ "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.toFspId}", - "FSPIOP-Destination": "switch" + "FSPIOP-Destination": "{$inputs.HUB_NAME}" }, "tests": { "assertions": [] @@ -609,7 +609,7 @@ "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", - "FSPIOP-Destination": "switch" + "FSPIOP-Destination": "{$inputs.HUB_NAME}" }, "tests": { "assertions": [] diff --git a/collections/hub/other_tests/bulk_transfers/fspiop_protocol_validation.json b/collections/hub/other_tests/bulk_transfers/fspiop_protocol_validation.json index 92bfee61..6d8ecb8c 100644 --- a/collections/hub/other_tests/bulk_transfers/fspiop_protocol_validation.json +++ b/collections/hub/other_tests/bulk_transfers/fspiop_protocol_validation.json @@ -90,9 +90,9 @@ }, { "id": 3, - "description": "payerfsp callback - fspiop-source should be switch", + "description": "payerfsp callback - fspiop-source should be switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -162,9 +162,9 @@ }, { "id": 13, - "description": "payeefsp callback - fspiop-source should be switch", + "description": "payeefsp callback - fspiop-source should be switch's name", "exec": [ - "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('switch')" + "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -234,9 +234,9 @@ }, { "id": 23, - "description": "payeefsp request - fspiop-source should be switch", + "description": "payeefsp request - fspiop-source should be switch's name", "exec": [ - "expect(environment.bulkTransfersNegativeRequest.headers['fspiop-source']).to.equal('switch')" + "expect(environment.bulkTransfersNegativeRequest.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { diff --git a/collections/hub/other_tests/bulk_transfers/negative_scenarios.json b/collections/hub/other_tests/bulk_transfers/negative_scenarios.json index 1948ae98..c2ee11f8 100644 --- a/collections/hub/other_tests/bulk_transfers/negative_scenarios.json +++ b/collections/hub/other_tests/bulk_transfers/negative_scenarios.json @@ -318,7 +318,7 @@ "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$environment.headerDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "FSPIOP-Destination": "switch" + "FSPIOP-Destination": "{$inputs.HUB_NAME}" }, "tests": { "assertions": [ @@ -338,9 +338,9 @@ }, { "id": 3, - "description": "payerfsp callback - fspiop-source should be switch", + "description": "payerfsp callback - fspiop-source should be {$inputs.HUB_NAME}", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -556,9 +556,9 @@ }, { "id": 3, - "description": "payer callback fspiop-source should be switch", + "description": "payer callback fspiop-source should be {$inputs.HUB_NAME}", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -630,9 +630,9 @@ }, { "id": 13, - "description": "payee callback - fspiop-source should be switch", + "description": "payee callback - fspiop-source should be switch's name", "exec": [ - "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('switch')" + "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -700,9 +700,9 @@ }, { "id": 23, - "description": "request to payee - fspiop-source should be switch", + "description": "request to payee - fspiop-source should be switch's name", "exec": [ - "expect(environment.bulkTransfersNegativeRequest.headers['fspiop-source']).to.equal('switch')" + "expect(environment.bulkTransfersNegativeRequest.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -854,7 +854,7 @@ "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.toFspId}", - "FSPIOP-Destination": "switch" + "FSPIOP-Destination": "{$inputs.HUB_NAME}" }, "tests": { "assertions": [ @@ -874,9 +874,9 @@ }, { "id": 3, - "description": "Callback - fspiop-source should be switch", + "description": "Callback - fspiop-source should be switch's name", "exec": [ - "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('switch')" + "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -981,7 +981,7 @@ "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "FSPIOP-Destination": "switch" + "FSPIOP-Destination": "{$inputs.HUB_NAME}" }, "tests": { "assertions": [ @@ -1001,9 +1001,9 @@ }, { "id": 3, - "description": "Callback - fspiop-source should be switch", + "description": "Callback - fspiop-source should be switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { diff --git a/collections/hub/other_tests/bulk_transfers/positive_scenarios.json b/collections/hub/other_tests/bulk_transfers/positive_scenarios.json index f3f231d6..ecbf1581 100644 --- a/collections/hub/other_tests/bulk_transfers/positive_scenarios.json +++ b/collections/hub/other_tests/bulk_transfers/positive_scenarios.json @@ -90,9 +90,9 @@ }, { "id": 3, - "description": "payerfsp callback - fspiop-source should be switch", + "description": "payerfsp callback - fspiop-source should be switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -162,9 +162,9 @@ }, { "id": 13, - "description": "payeefsp callback - fspiop-source should be switch", + "description": "payeefsp callback - fspiop-source should be switch's name", "exec": [ - "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('switch')" + "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -234,9 +234,9 @@ }, { "id": 23, - "description": "payeefsp request - fspiop-source should be switch", + "description": "payeefsp request - fspiop-source should be switch's name", "exec": [ - "expect(environment.bulkTransfersNegativeRequest.headers['fspiop-source']).to.equal('switch')" + "expect(environment.bulkTransfersNegativeRequest.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -426,7 +426,7 @@ "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.toFspId}", - "FSPIOP-Destination": "switch" + "FSPIOP-Destination": "{$inputs.HUB_NAME}" }, "tests": { "assertions": [ @@ -446,9 +446,9 @@ }, { "id": 3, - "description": "Callback fspiop-source should be switch", + "description": "Callback fspiop-source should be switch's name", "exec": [ - "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('switch')" + "expect(environment.bulkTransfersNegativeCallback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { @@ -556,7 +556,7 @@ "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", - "FSPIOP-Destination": "switch" + "FSPIOP-Destination": "{$inputs.HUB_NAME}" }, "tests": { "assertions": [ @@ -576,9 +576,9 @@ }, { "id": 3, - "description": "Callback fspiop-source should be switch", + "description": "Callback fspiop-source should be switch's name", "exec": [ - "expect(callback.headers['fspiop-source']).to.equal('switch')" + "expect(callback.headers['fspiop-source']).to.equal('{$inputs.HUB_NAME}')" ] }, { diff --git a/collections/hub/provisioning/MojaloopHub_Setup/hub.json b/collections/hub/provisioning/MojaloopHub_Setup/hub.json index c51af8a9..36e2e2b8 100644 --- a/collections/hub/provisioning/MojaloopHub_Setup/hub.json +++ b/collections/hub/provisioning/MojaloopHub_Setup/hub.json @@ -20,10 +20,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "body": { "type": "HUB_MULTILATERAL_SETTLEMENT", @@ -62,10 +62,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "body": { "type": "HUB_RECONCILIATION", @@ -104,10 +104,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/endpoints", - "path": "/participants/Hub/endpoints", + "path": "/participants/{$inputs.HUB_NAME}/endpoints", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -142,10 +142,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/endpoints", - "path": "/participants/Hub/endpoints", + "path": "/participants/{$inputs.HUB_NAME}/endpoints", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -180,10 +180,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/endpoints", - "path": "/participants/Hub/endpoints", + "path": "/participants/{$inputs.HUB_NAME}/endpoints", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -218,10 +218,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "body": { "type": "HUB_MULTILATERAL_SETTLEMENT", @@ -260,10 +260,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "body": { "type": "HUB_RECONCILIATION", @@ -302,10 +302,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "body": { "type": "HUB_MULTILATERAL_SETTLEMENT", @@ -344,10 +344,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "body": { "type": "HUB_RECONCILIATION", diff --git a/collections/hub/provisioning_thirdparty/hub.json b/collections/hub/provisioning_thirdparty/hub.json index 77573118..9ce165d4 100644 --- a/collections/hub/provisioning_thirdparty/hub.json +++ b/collections/hub/provisioning_thirdparty/hub.json @@ -20,10 +20,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "body": { "type": "HUB_MULTILATERAL_SETTLEMENT", @@ -62,10 +62,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "body": { "type": "HUB_RECONCILIATION", @@ -104,10 +104,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/endpoints", - "path": "/participants/Hub/endpoints", + "path": "/participants/{$inputs.HUB_NAME}/endpoints", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -142,10 +142,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/endpoints", - "path": "/participants/Hub/endpoints", + "path": "/participants/{$inputs.HUB_NAME}/endpoints", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -180,10 +180,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/endpoints", - "path": "/participants/Hub/endpoints", + "path": "/participants/{$inputs.HUB_NAME}/endpoints", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "url": "{$inputs.HOST_CENTRAL_LEDGER}", "headers": { @@ -218,10 +218,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "body": { "type": "HUB_MULTILATERAL_SETTLEMENT", @@ -260,10 +260,10 @@ "type": "central_admin" }, "operationPath": "/participants/{name}/accounts", - "path": "/participants/Hub/accounts", + "path": "/participants/{$inputs.HUB_NAME}/accounts", "method": "post", "params": { - "name": "Hub" + "name": "{$inputs.HUB_NAME}" }, "body": { "type": "HUB_RECONCILIATION", diff --git a/environments/hub.json b/environments/hub.json index b48fbdb0..b2d26ec3 100644 --- a/environments/hub.json +++ b/environments/hub.json @@ -1,5 +1,6 @@ { "inputValues": { + "HUB_NAME": "Hub", "BASE_CENTRAL_LEDGER_ADMIN": "", "CALLBACK_ENDPOINT_BASE_URL": "http://ml-testing-toolkit-backend:5000", "HOST_ACCOUNT_LOOKUP_ADMIN": "http://account-lookup-service-admin", diff --git a/environments/hub_cgs.json b/environments/hub_cgs.json index 56d550c0..154ac601 100644 --- a/environments/hub_cgs.json +++ b/environments/hub_cgs.json @@ -1,5 +1,6 @@ { "inputValues": { + "HUB_NAME": "Hub", "BASE_CENTRAL_LEDGER_ADMIN": "", "CALLBACK_ENDPOINT_BASE_URL": "http://$release_name-ml-testing-toolkit-backend:5000", "ENABLE_JWS_SIGNING": true,