From 42323d5d7b587ab0d7e884ae553c84f9ebc215ce Mon Sep 17 00:00:00 2001 From: Miguel de Barros Date: Tue, 9 Nov 2021 17:11:01 +0200 Subject: [PATCH 1/5] fix: fspiop api version negotiation not handled - Updates for Transfer Service: https://github.com/mojaloop/project/issues/2536 --- .../payee_abort_v1.1.json | 51 ++++++++++++------- 1 file changed, 34 insertions(+), 17 deletions(-) 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 13666843..06943bf6 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 @@ -1,4 +1,5 @@ { + "name": "multi", "test_cases": [ { "id": 1, @@ -134,30 +135,31 @@ "assertions": [ { "id": 1, - "description": "Response status to be 202", + "description": "Response status to be 406", "exec": [ - "expect(response.status).to.equal(202)" + "expect(response.status).to.equal(406)" ] }, { "id": 2, - "description": "Response statusText be Accepted", + "description": "Response errorInformation to be 3001 with Unacceptable version request", "exec": [ - "expect(response.statusText).to.equal('Accepted')" + "expect(response.body.errorInformation.errorCode).to.equal(\"3001\")", + "expect(response.body.errorInformation.errorDescription).to.equal(\"Unacceptable version requested - Client supplied a protocol version which is not supported by the server\")" ] } ] }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "ignoreCallbacks": true, + "scriptingEngine": "javascript", "scripts": { "preRequest": { "exec": [ "requestVariables.transferExpiration = new Date(new Date().getTime() + 2000).toISOString()" ] } - }, - "scriptingEngine": "javascript" + } }, { "id": 4, @@ -245,9 +247,17 @@ "assertions": [ { "id": 1, - "description": "Response status to be 200", + "description": "Response status to be 406", "exec": [ - "expect(response.status).to.equal(200)" + "expect(response.status).to.equal(406)" + ] + }, + { + "id": 2, + "description": "Response errorInformation to be 3001 with Unacceptable version request", + "exec": [ + "expect(response.body.errorInformation.errorCode).to.equal(\"3001\")", + "expect(response.body.errorInformation.errorDescription).to.equal(\"Unacceptable version requested - Client supplied a protocol version which is not supported by the server\")" ] } ] @@ -361,14 +371,23 @@ "assertions": [ { "id": 1, - "description": "Status code is 200", + "description": "Status code is 406", "exec": [ - "expect(response.status).to.equal(200)" + "expect(response.status).to.equal(406)" + ] + }, + { + "id": 2, + "description": "Response errorInformation to be 3001 with Unacceptable version request", + "exec": [ + "expect(response.body.errorInformation.errorCode).to.equal(\"3001\")", + "expect(response.body.errorInformation.errorDescription).to.equal(\"Unacceptable version requested - Client supplied a protocol version which is not supported by the server\")" ] } ] }, "ignoreCallbacks": true, + "scriptingEngine": "javascript", "scripts": { "preRequest": { "exec": [ @@ -385,8 +404,7 @@ "" ] } - }, - "scriptingEngine": "javascript" + } }, { "id": 8, @@ -475,8 +493,7 @@ "id": 17, "description": "Callback Header - fspiop-uri is /transfers/transferId", "exec": [ - "expect(callback.headers['fspiop-uri']).to.equal('/transfers/' + request.params.ID)", - "" + "expect(callback.headers['fspiop-uri']).to.equal('/transfers/' + request.params.ID + '/error')" ] }, { @@ -489,10 +506,10 @@ }, { "id": 19, - "description": "Callback Body - transferState is ABORTED", + "description": "Response errorInformation to be 3208 with Transfer ID not found", "exec": [ - "expect(callback.body.transferState).to.equal('ABORTED')", - "" + "expect(callback.body.errorInformation.errorCode).to.equal(\"3208\")", + "expect(callback.body.errorInformation.errorDescription).to.equal(\"Transfer ID not found - Provided Transfer ID was not found on the server.\")" ] } ] From 5e85117d8804b78948d67cca06ade90c9ba74c63 Mon Sep 17 00:00:00 2001 From: Miguel de Barros Date: Fri, 12 Nov 2021 11:56:10 +0200 Subject: [PATCH 2/5] fix(mojaloop/#2574): sdk-scheme-adapter is not returning party sub-id - updated unit tests p2p_happy_path_subid to resolve this issue: https://github.com/mojaloop/project/issues/2574 - Mojaloop-Simulator DFSP API incorrectly set the subIdValue instead of the idSubValue when creating the Party --- .../p2p_happy_path_subid.json | 74 +++++++++---------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_subid.json b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_subid.json index da5a5e4d..611245e5 100644 --- a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_subid.json +++ b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_subid.json @@ -71,7 +71,7 @@ "dateOfBirth": "1984-01-01", "idType": "{$inputs.toIdType}", "idValue": "{$inputs.toIdValue}", - "subIdValue": "{$inputs.toSubIdValue}" + "idSubValue": "{$inputs.toSubIdValue}" } }, { @@ -189,6 +189,7 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "path": "/parties/{$inputs.toIdType}/{$inputs.toIdValue}/{$inputs.toSubIdValue}", + "scriptingEngine": "javascript", "scripts": { "preRequest": { "exec": [ @@ -204,8 +205,7 @@ "}" ] } - }, - "scriptingEngine": "javascript" + } }, { "id": 4, @@ -267,22 +267,6 @@ "note": "{$inputs.note}" }, "scriptingEngine": "javascript", - "scripts": { - "preRequest": { - "exec": [ - "if (environment.ENABLE_WS_ASSERTIONS===true) {", - " await websocket.connect(environment.PAYEEFSP_SDK_TESTAPI_WS_URL + '/requests/{$request.body.quoteId}', 'payeeRequest')", - "}" - ] - }, - "postRequest": { - "exec": [ - "if (environment.ENABLE_WS_ASSERTIONS===true) {", - " environment.payeeRequest = await websocket.getMessage('payeeRequest', environment.WS_ASSERTION_TIMEOUT)", - "}" - ] - } - }, "tests": { "assertions": [ { @@ -406,7 +390,23 @@ "ID": "{$inputs.toIdValue}" }, "path": "/quotes", - "url": "{$inputs.HOST_QUOTING_SERVICE}" + "url": "{$inputs.HOST_QUOTING_SERVICE}", + "scripts": { + "preRequest": { + "exec": [ + "if (environment.ENABLE_WS_ASSERTIONS===true) {", + " await websocket.connect(environment.PAYEEFSP_SDK_TESTAPI_WS_URL + '/requests/{$request.body.quoteId}', 'payeeRequest')", + "}" + ] + }, + "postRequest": { + "exec": [ + "if (environment.ENABLE_WS_ASSERTIONS===true) {", + " environment.payeeRequest = await websocket.getMessage('payeeRequest', environment.WS_ASSERTION_TIMEOUT)", + "}" + ] + } + } }, { "id": 5, @@ -442,22 +442,6 @@ "condition": "{$prev.4.callback.body.condition}" }, "scriptingEngine": "javascript", - "scripts": { - "preRequest": { - "exec": [ - "if (environment.ENABLE_WS_ASSERTIONS===true) {", - " await websocket.connect(environment.PAYEEFSP_SDK_TESTAPI_WS_URL + '/requests/{$request.body.transferId}', 'payeeRequest')", - "}" - ] - }, - "postRequest": { - "exec": [ - "if (environment.ENABLE_WS_ASSERTIONS===true) {", - " environment.payeeRequest = await websocket.getMessage('payeeRequest', environment.WS_ASSERTION_TIMEOUT)", - "}" - ] - } - }, "tests": { "assertions": [ { @@ -562,7 +546,23 @@ } ] }, - "url": "{$inputs.HOST_ML_API_ADAPTER}" + "url": "{$inputs.HOST_ML_API_ADAPTER}", + "scripts": { + "preRequest": { + "exec": [ + "if (environment.ENABLE_WS_ASSERTIONS===true) {", + " await websocket.connect(environment.PAYEEFSP_SDK_TESTAPI_WS_URL + '/requests/{$request.body.transferId}', 'payeeRequest')", + "}" + ] + }, + "postRequest": { + "exec": [ + "if (environment.ENABLE_WS_ASSERTIONS===true) {", + " environment.payeeRequest = await websocket.getMessage('payeeRequest', environment.WS_ASSERTION_TIMEOUT)", + "}" + ] + } + } } ] } From 34219bce9684cc5922b2bac3bf4ece672fe7df77 Mon Sep 17 00:00:00 2001 From: Miguel de Barros Date: Fri, 12 Nov 2021 15:32:50 +0200 Subject: [PATCH 3/5] fix: fspiop api version negotiation not handled - quoting-service #2535 - fixes for https://github.com/mojaloop/project/issues/2535 --- .../p2p_money_transfer/p2p_happy_path_accent_unicode.json | 4 ++-- .../p2p_money_transfer/p2p_happy_path_burmese_unicode.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_accent_unicode.json b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_accent_unicode.json index e4717284..499805e3 100644 --- a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_accent_unicode.json +++ b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_accent_unicode.json @@ -211,8 +211,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.1", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.1", + "Accept": "application/vnd.interoperability.quotes+json;version=1.0", + "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", diff --git a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_burmese_unicode.json b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_burmese_unicode.json index 96aa1fe7..77c15803 100644 --- a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_burmese_unicode.json +++ b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_burmese_unicode.json @@ -211,8 +211,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.1", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.1", + "Accept": "application/vnd.interoperability.quotes+json;version=1.0", + "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", From acbfec9eb69027cd56a37303fbd6e79f235fa5bf Mon Sep 17 00:00:00 2001 From: vijayg10 <33152110+vijayg10@users.noreply.github.com> Date: Tue, 14 Dec 2021 02:39:28 -0800 Subject: [PATCH 4/5] Feature/change fspiop to new version (#58) * Removed unneccessary input values from some collections * Parameterised the accept and content-type headers * Parameterised the accept header of get transfers requests * Adjusted accept headers for get quotes * handled put requests * handled put error callbacks * TransactionRequests * authorizations * participants * SubID * Parameterized the accept and contenttype headers in provisioning * Reverted the content-type header deletions for get requests * Minor fixes * Fixed issues with test cases in bugfix folder * Fix quoting service tests * Fix transaction requests service * fix 1.1 --- .../golden_path/get_quotes_transfers.json | 21 -- .../dfsp/golden_path/p2p_happy_path.json | 21 -- .../provision_mojaloop_simulator.json | 21 -- .../Quotes/quotes-negative-scenarios.json | 56 ++--- .../Test for 4 decimal points #949.json | 8 +- ...Bugfix #1378 - extension list missing.json | 12 +- ...st for Bugfix #742 - Error code check.json | 4 +- ...- missing ID for transfers and quotes.json | 4 +- ...ts for Bugfix #990 and #1016 - Quotes.json | 52 ++-- ...ervice not using most recent endpoint.json | 8 +- .../bug fixes/other-bug-fixes.json | 10 +- .../active_and_inactive_participant.json | 16 +- ...ve_and_inactive_participants_accounts.json | 16 +- .../feature_tests/block_transfer.json | 12 +- .../transfers/fulfill_commit.json | 38 ++- .../transfers/fulfill_reject.json | 48 ++-- .../original_transfer_at_committed.json | 16 +- .../feature_tests/funds_in/funds_in_ttk.json | 4 +- .../Reserve&Abort/funds_out_abort.json | 8 +- .../Reserve&Commit/funds_out_commit.json | 8 +- .../feature_tests/get_transfers.json | 32 +-- .../p2p_money_transfer/p2p_happy_path.json | 18 +- .../p2p_happy_path_accent_unicode.json | 18 +- .../p2p_happy_path_burmese_unicode.json | 18 +- .../p2p_happy_path_subid.json | 18 +- .../p2p_happy_path_subid_error_callback.json | 10 +- .../post_scenarios/positive.json | 10 +- .../fulfil-reserved-v1.0.json | 31 ++- .../payee_abort_v1.1.json | 67 ++---- .../payee_invalid_fulfillment.json | 21 +- .../payee_invalid_timestamp.json | 21 +- .../p2p_money_transfer_on_us.json | 12 +- .../quoting_service/quoting_service.json | 24 +- .../golden_path/settlement_cgs/newsetcgs.json | 8 +- ...ment-management-primary-currency-test.json | 48 ++-- ...ement-management-second-currency-test.json | 48 ++-- .../mixed_settlement_model.json | 48 ++-- .../Error-framework-authorizations.json | 85 +++---- .../authorizations.json | 9 +- .../error-framework.json | 22 +- .../received State.json | 13 +- .../rejected State.json | 13 +- ...sers-to-new-sims-and-als-registration.json | 44 ++-- .../MojaloopSims_Onboarding/payeefsp.json | 8 +- .../MojaloopSims_Onboarding/payerfsp.json | 4 +- .../MojaloopSims_Onboarding/testfsp1.json | 8 +- .../MojaloopSims_Onboarding/testfsp2.json | 8 +- ...lookup-post-participants-batch-7.1.1].json | 59 ----- ...q-acct-lookup-post-participant-7.1.3].json | 59 ----- ...q-acct-lookup-del-participants-7.1.2].json | 59 ----- scripts/set-accept-content-type-headers.js | 222 ++++++++++++++++++ 51 files changed, 687 insertions(+), 761 deletions(-) create mode 100644 scripts/set-accept-content-type-headers.js diff --git a/collections/dfsp/golden_path/get_quotes_transfers.json b/collections/dfsp/golden_path/get_quotes_transfers.json index a1bfa9eb..c7ea7bb7 100644 --- a/collections/dfsp/golden_path/get_quotes_transfers.json +++ b/collections/dfsp/golden_path/get_quotes_transfers.json @@ -1,26 +1,5 @@ { "name": "dfsp-p2p-tests", - "inputValues": { - "fromIdType": "MSISDN", - "fromIdValue": "44123456789", - "fromFirstName": "Firstname-Test", - "fromLastName": "Lastname-Test", - "fromDOB": "1984-01-01", - "note": "Test Payment", - "currency": "{$inputs.currency}", - "amount": "100", - "homeTransactionId": "123ABC", - "fromFspId": "testingtoolkitdfsp", - "accept": "application/vnd.interoperability.parties+json;version=1.0", - "contentType": "application/vnd.interoperability.parties+json;version=1.0", - "toIdValue": "9876543210", - "toIdType": "MSISDN", - "toFspId": "userdfsp", - "acceptQuotes": "application/vnd.interoperability.quotes+json;version=1.0", - "contentTypeQuotes": "application/vnd.interoperability.quotes+json;version=1.0", - "acceptTransfers": "application/vnd.interoperability.transfers+json;version=1.0", - "contentTransfers": "application/vnd.interoperability.transfers+json;version=1.0" - }, "test_cases": [ { "id": 2, diff --git a/collections/dfsp/golden_path/p2p_happy_path.json b/collections/dfsp/golden_path/p2p_happy_path.json index 7febf39c..78d24d45 100644 --- a/collections/dfsp/golden_path/p2p_happy_path.json +++ b/collections/dfsp/golden_path/p2p_happy_path.json @@ -1,26 +1,5 @@ { "name": "dfsp-p2p-tests", - "inputValues": { - "fromIdType": "MSISDN", - "fromIdValue": "44123456789", - "fromFirstName": "Firstname-Test", - "fromLastName": "Lastname-Test", - "fromDOB": "1984-01-01", - "note": "Test Payment", - "currency": "{$inputs.currency}", - "amount": "100", - "homeTransactionId": "123ABC", - "fromFspId": "testingtoolkitdfsp", - "accept": "application/vnd.interoperability.parties+json;version=1.0", - "contentType": "application/vnd.interoperability.parties+json;version=1.0", - "toIdValue": "9876543210", - "toIdType": "MSISDN", - "toFspId": "userdfsp", - "acceptQuotes": "application/vnd.interoperability.quotes+json;version=1.0", - "contentTypeQuotes": "application/vnd.interoperability.quotes+json;version=1.0", - "acceptTransfers": "application/vnd.interoperability.transfers+json;version=1.0", - "contentTransfers": "application/vnd.interoperability.transfers+json;version=1.0" - }, "test_cases": [ { "id": 1, diff --git a/collections/dfsp/provisioning/provision_mojaloop_simulator.json b/collections/dfsp/provisioning/provision_mojaloop_simulator.json index 77865407..05781deb 100644 --- a/collections/dfsp/provisioning/provision_mojaloop_simulator.json +++ b/collections/dfsp/provisioning/provision_mojaloop_simulator.json @@ -1,26 +1,5 @@ { "name": "Test1", - "inputValues": { - "payerIdType": "MSISDN", - "payerIdValue": "44123456789", - "payeeFirstName": "Vijay", - "payeeMiddleName": "Kumar", - "payeeLastName": "Guthi", - "payeeDOB": "1984-01-01", - "note": "Test Payment", - "currency": "{$inputs.currency}", - "amount": "100", - "homeTransactionId": "123ABC", - "accept": "application/vnd.interoperability.parties+json;version=1.0", - "contentType": "application/vnd.interoperability.parties+json;version=1.0", - "payeeIdType": "MSISDN", - "payeeIdValue": "9876543210", - "payeeFspId": "userdfsp", - "scenario": "PAYMENT", - "initiator": "PAYEE", - "initiatorType": "BUSINESS", - "refundReason": "userdfsp" - }, "test_cases": [ { "id": 1, diff --git a/collections/hub/golden_path/api-tests/Quotes/quotes-negative-scenarios.json b/collections/hub/golden_path/api-tests/Quotes/quotes-negative-scenarios.json index 6b9d5a62..e202cb61 100644 --- a/collections/hub/golden_path/api-tests/Quotes/quotes-negative-scenarios.json +++ b/collections/hub/golden_path/api-tests/Quotes/quotes-negative-scenarios.json @@ -25,8 +25,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -268,8 +268,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -511,8 +511,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -625,8 +625,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -863,8 +863,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -1107,8 +1107,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -1230,8 +1230,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -1347,8 +1347,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -1464,8 +1464,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -1581,8 +1581,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -1696,8 +1696,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -1811,8 +1811,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -1926,8 +1926,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -2041,8 +2041,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", diff --git a/collections/hub/golden_path/bug fixes/Test for 4 decimal points #949.json b/collections/hub/golden_path/bug fixes/Test for 4 decimal points #949.json index 5f069c2e..e374d713 100644 --- a/collections/hub/golden_path/bug fixes/Test for 4 decimal points #949.json +++ b/collections/hub/golden_path/bug fixes/Test for 4 decimal points #949.json @@ -23,8 +23,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -184,8 +184,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}" diff --git a/collections/hub/golden_path/bug fixes/Test for Bugfix #1378 - extension list missing.json b/collections/hub/golden_path/bug fixes/Test for Bugfix #1378 - extension list missing.json index c6f434db..0d48fd79 100644 --- a/collections/hub/golden_path/bug fixes/Test for Bugfix #1378 - extension list missing.json +++ b/collections/hub/golden_path/bug fixes/Test for Bugfix #1378 - extension list missing.json @@ -13,7 +13,7 @@ "meta": { "info": "Send quote" }, - "description": "Send quote", + "description": "Send quote with wrong accept header", "apiVersion": { "minorVersion": 1, "majorVersion": 1, @@ -23,8 +23,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=3.2", + "Accept": "application/vnd.interoperability.quotes+json;version=9.9", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -117,7 +117,7 @@ "meta": { "info": "Send quote Copy" }, - "description": "Send quote Copy", + "description": "Send quote with wrong content type header", "apiVersion": { "minorVersion": 1, "majorVersion": 1, @@ -127,8 +127,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=3.2", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "application/vnd.interoperability.quotes+json;version=3.9", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", diff --git a/collections/hub/golden_path/bug fixes/Test for Bugfix #742 - Error code check.json b/collections/hub/golden_path/bug fixes/Test for Bugfix #742 - Error code check.json index 56e7b795..e18962aa 100644 --- a/collections/hub/golden_path/bug fixes/Test for Bugfix #742 - Error code check.json +++ b/collections/hub/golden_path/bug fixes/Test for Bugfix #742 - Error code check.json @@ -135,8 +135,8 @@ "method": "post", "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}" diff --git a/collections/hub/golden_path/bug fixes/Test for Bugfix #849 - missing ID for transfers and quotes.json b/collections/hub/golden_path/bug fixes/Test for Bugfix #849 - missing ID for transfers and quotes.json index 6f0cd12c..0b9976d5 100644 --- a/collections/hub/golden_path/bug fixes/Test for Bugfix #849 - missing ID for transfers and quotes.json +++ b/collections/hub/golden_path/bug fixes/Test for Bugfix #849 - missing ID for transfers and quotes.json @@ -29,7 +29,7 @@ "url": "{$inputs.HOST_ML_API_ADAPTER}", "ignoreCallbacks": true, "headers": { - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", @@ -95,7 +95,7 @@ "url": "{$inputs.HOST_QUOTING_SERVICE}", "ignoreCallbacks": true, "headers": { - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", diff --git a/collections/hub/golden_path/bug fixes/Tests for Bugfix #990 and #1016 - Quotes.json b/collections/hub/golden_path/bug fixes/Tests for Bugfix #990 and #1016 - Quotes.json index 65e41b5f..ae073c6e 100644 --- a/collections/hub/golden_path/bug fixes/Tests for Bugfix #990 and #1016 - Quotes.json +++ b/collections/hub/golden_path/bug fixes/Tests for Bugfix #990 and #1016 - Quotes.json @@ -23,8 +23,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -188,8 +188,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -298,8 +298,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -418,8 +418,7 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;", + "Accept": "{$inputs.acceptQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -505,7 +504,7 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", "Content-Type": "application/json", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", @@ -592,7 +591,7 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", "Content-Type": "application/xml", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", @@ -679,8 +678,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -766,8 +765,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -860,8 +859,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=9.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "application/vnd.interoperability.quotes+json;version=9.9", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -950,7 +949,7 @@ }, "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -1011,12 +1010,11 @@ }, "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", "FSPIOP-Destination": "{$inputs.payeefsp}", - "Accept": "*/*" + "Content-Type": "{$inputs.contentTypeQuotes}" }, "tests": { "assertions": [ @@ -1031,14 +1029,14 @@ "id": 2, "description": "Check Malformed syntax - Invalid accept header", "exec": [ - "expect(response.body.errorInformation.errorDescription).to.include('Malformed syntax - Invalid accept header');" + "expect(response.body.errorInformation.errorDescription).to.include('Accept is required');" ] }, { "id": 3, "description": "Check error code 3101", "exec": [ - "expect(response.body.errorInformation.errorCode).to.equal('3101');" + "expect(response.body.errorInformation.errorCode).to.equal('3102');" ] } ] @@ -1064,11 +1062,11 @@ }, "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", "Date": "{$function.generic.curDate}", "FSPIOP-Destination": "{$inputs.payeefsp}", - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Accept": "{$inputs.acceptQuotes}", + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeQuotes}" }, "tests": { "assertions": [ @@ -1139,11 +1137,11 @@ }, "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", "FSPIOP-Destination": "{$inputs.payeefsp}", - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeQuotes}" }, "tests": { "assertions": [ diff --git a/collections/hub/golden_path/bug fixes/Tests for Bugfix #998 - Quoting service not using most recent endpoint.json b/collections/hub/golden_path/bug fixes/Tests for Bugfix #998 - Quoting service not using most recent endpoint.json index ca2f4b94..f60ac28f 100644 --- a/collections/hub/golden_path/bug fixes/Tests for Bugfix #998 - Quoting service not using most recent endpoint.json +++ b/collections/hub/golden_path/bug fixes/Tests for Bugfix #998 - Quoting service not using most recent endpoint.json @@ -63,8 +63,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", @@ -206,8 +206,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", diff --git a/collections/hub/golden_path/bug fixes/other-bug-fixes.json b/collections/hub/golden_path/bug fixes/other-bug-fixes.json index f079ad76..d6add202 100644 --- a/collections/hub/golden_path/bug fixes/other-bug-fixes.json +++ b/collections/hub/golden_path/bug fixes/other-bug-fixes.json @@ -80,11 +80,11 @@ "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "ignoreCallbacks": true, "headers": { - "Content-Type": "application/vnd.interoperability.parties+json;version=1.0", - "Accept": "application/vnd.interoperability.parties+json;version=1.0", + "Accept": "{$inputs.acceptParties}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeParties}" }, "scriptingEngine": "javascript", "tests": { @@ -153,8 +153,8 @@ "url": "{$inputs.HOST_ML_API_ADAPTER}", "ignoreCallbacks": true, "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", 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 d31852dc..a8aa3438 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 @@ -61,8 +61,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "FSPIOP-Destination": "{$inputs.SIM2_NAME}", @@ -262,8 +262,8 @@ "url": "{$inputs.HOST_ML_API_ADAPTER}", "ignoreCallbacks": true, "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}", @@ -476,8 +476,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}", @@ -743,8 +743,8 @@ "url": "{$inputs.HOST_ML_API_ADAPTER}", "ignoreCallbacks": true, "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}", 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 bea110b0..7e08037f 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 @@ -99,8 +99,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}", @@ -300,8 +300,8 @@ "url": "{$inputs.HOST_ML_API_ADAPTER}", "ignoreCallbacks": true, "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}", @@ -515,8 +515,8 @@ "method": "post", "url": "{$inputs.HOST_QUOTING_SERVICE}", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}", @@ -782,8 +782,8 @@ "url": "{$inputs.HOST_ML_API_ADAPTER}", "ignoreCallbacks": true, "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}", diff --git a/collections/hub/golden_path/feature_tests/block_transfer.json b/collections/hub/golden_path/feature_tests/block_transfer.json index 40e10daf..0710b40a 100644 --- a/collections/hub/golden_path/feature_tests/block_transfer.json +++ b/collections/hub/golden_path/feature_tests/block_transfer.json @@ -233,8 +233,8 @@ "url": "{$inputs.HOST_QUOTING_SERVICE}", "scriptingEngine": "javascript", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", "FSPIOP-Destination": "{$inputs.SIMPAYEE_NAME}", @@ -320,7 +320,7 @@ "description": "Payee FSP 'accept' is same as sent in the request", "exec": [ "if (environment.ENABLE_WS_ASSERTIONS===true) {", - " expect(requestVariables.payeeRequest.headers['accept']).to.equal(\"application/vnd.interoperability.quotes+json;version=1.0\")", + " expect(requestVariables.payeeRequest.headers['accept']).to.equal(request.headers['Accept'])", "}" ] }, @@ -329,7 +329,7 @@ "description": "Payee FSP 'content-type' is same as sent in the request", "exec": [ "if (environment.ENABLE_WS_ASSERTIONS===true) {", - " expect(requestVariables.payeeRequest.headers['content-type']).to.equal(\"application/vnd.interoperability.quotes+json;version=1.0\")", + " expect(requestVariables.payeeRequest.headers['content-type']).to.equal(request.headers['Content-Type'])", "}" ] }, @@ -481,8 +481,8 @@ "condition": "{$prev.5.callback.body.condition}" }, "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", 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 d981429d..9b7fbcc8 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 @@ -24,8 +24,8 @@ "path": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -287,8 +287,8 @@ "method": "post", "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -348,8 +348,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -407,8 +406,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -466,11 +464,11 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "scripts": { "preRequest": { @@ -515,9 +513,9 @@ }, { "id": 14, - "description": "Callback Header - content-type is application/vnd.interoperability.transfers+json;version=1.0", + "description": "Callback Header - content-type", "exec": [ - "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version=1.0')", + "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version={$inputs.expectedTransfersVersion}')", "" ] }, @@ -598,8 +596,8 @@ "path": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -861,8 +859,8 @@ "method": "post", "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -922,8 +920,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -981,8 +978,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", 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 4c578090..2478a7a2 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 @@ -24,8 +24,8 @@ "path": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -287,8 +287,8 @@ "method": "post", "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -348,8 +348,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -416,8 +415,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -484,11 +482,11 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "scripts": { "preRequest": { @@ -532,9 +530,9 @@ }, { "id": 14, - "description": "Callback Header - content-type is application/vnd.interoperability.transfers+json;version=1.0", + "description": "Callback Header - content-type", "exec": [ - "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version=1.0')", + "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version={$inputs.expectedTransfersVersion}')", "" ] }, @@ -607,8 +605,8 @@ "path": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -870,8 +868,8 @@ "method": "post", "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -931,8 +929,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -999,8 +996,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -1074,11 +1070,11 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "scripts": { "preRequest": { @@ -1122,9 +1118,9 @@ }, { "id": 14, - "description": "Callback Header - content-type is application/vnd.interoperability.transfers+json;version=1.0", + "description": "Callback Header - content-type", "exec": [ - "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version=1.0')", + "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version={$inputs.expectedTransfersVersion}')", "" ] }, 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 1c266004..825779eb 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 @@ -29,8 +29,8 @@ }, "headers": { "FSPIOP-Source": "{$inputs.toFspId}", - "Accept": "application/vnd.interoperability.participants+json;version=1.0", - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", + "Accept": "{$inputs.acceptParticipants}", + "Content-Type": "{$inputs.contentTypeParticipants}", "Date": "{$function.generic.curDate}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" }, @@ -87,8 +87,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -385,8 +385,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}" @@ -683,8 +683,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}" 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 580489cd..cad44fbc 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 @@ -349,8 +349,8 @@ "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", - "Accept": "application/vnd.interoperability.transfers+json;version=1.0" + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "tests": { "assertions": [ 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 6f006642..c37c1169 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 @@ -349,8 +349,8 @@ "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", - "Accept": "application/vnd.interoperability.transfers+json;version=1.0" + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "tests": { "assertions": [ @@ -748,8 +748,8 @@ "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", - "Accept": "application/vnd.interoperability.transfers+json;version=1.0" + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "tests": { "assertions": [ 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 e041a7c2..82b41b42 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 @@ -349,8 +349,8 @@ "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", - "Accept": "application/vnd.interoperability.transfers+json;version=1.0" + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "tests": { "assertions": [ @@ -748,8 +748,8 @@ "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", - "Accept": "application/vnd.interoperability.transfers+json;version=1.0" + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "tests": { "assertions": [ diff --git a/collections/hub/golden_path/feature_tests/get_transfers.json b/collections/hub/golden_path/feature_tests/get_transfers.json index 3f1ebc7a..14f2eba9 100644 --- a/collections/hub/golden_path/feature_tests/get_transfers.json +++ b/collections/hub/golden_path/feature_tests/get_transfers.json @@ -26,8 +26,8 @@ "url": "{$inputs.HOST_QUOTING_SERVICE}", "scriptingEngine": "javascript", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", "FSPIOP-Destination": "{$inputs.SIMPAYEE_NAME}", @@ -273,8 +273,8 @@ "condition": "{$prev.1.callback.body.condition}" }, "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -527,11 +527,11 @@ "url": "{$inputs.HOST_ML_API_ADAPTER}", "scriptingEngine": "javascript", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "tests": { "assertions": [ @@ -642,9 +642,9 @@ "headers": { "FSPIOP-Source": "{$environment.SIMPAYEE_NAME}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}", - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", - "Date": "{$function.generic.curDate}" + "Accept": "{$inputs.acceptTransfers}", + "Date": "{$function.generic.curDate}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "scriptingEngine": "javascript", "tests": { @@ -770,9 +770,9 @@ "headers": { "FSPIOP-Source": "{$environment.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}", - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", - "Date": "{$function.generic.curDate}" + "Accept": "{$inputs.acceptTransfers}", + "Date": "{$function.generic.curDate}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "scriptingEngine": "javascript", "tests": { @@ -907,9 +907,9 @@ "headers": { "FSPIOP-Source": "{$environment.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", - "Date": "{$function.generic.curDate}" + "Accept": "{$inputs.acceptTransfers}", + "Date": "{$function.generic.curDate}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "scriptingEngine": "javascript", "tests": { diff --git a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path.json b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path.json index fbb824fb..9047cb8e 100644 --- a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path.json +++ b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path.json @@ -30,8 +30,8 @@ "headers": { "FSPIOP-Source": "{$inputs.toFspId}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}", - "Accept": "application/vnd.interoperability.participants+json;version=1.0", - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", + "Accept": "{$inputs.acceptParticipants}", + "Content-Type": "{$inputs.contentTypeParticipants}", "Date": "{$function.generic.curDate}" }, "body": { @@ -87,11 +87,11 @@ "operationPath": "/parties/{Type}/{ID}", "method": "get", "headers": { - "Accept": "{$inputs.accept}", - "Content-Type": "{$inputs.contentType}", + "Accept": "{$inputs.acceptParties}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeParties}" }, "params": { "Type": "{$inputs.toIdType}", @@ -211,8 +211,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -411,8 +411,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}" diff --git a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_accent_unicode.json b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_accent_unicode.json index 499805e3..55cf8354 100644 --- a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_accent_unicode.json +++ b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_accent_unicode.json @@ -30,8 +30,8 @@ "headers": { "FSPIOP-Source": "{$inputs.toAccentIdFspId}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}", - "Accept": "application/vnd.interoperability.participants+json;version=1.0", - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", + "Accept": "{$inputs.acceptParticipants}", + "Content-Type": "{$inputs.contentTypeParticipants}", "Date": "{$function.generic.curDate}" }, "body": { @@ -87,11 +87,11 @@ "operationPath": "/parties/{Type}/{ID}", "method": "get", "headers": { - "Accept": "{$inputs.accept}", - "Content-Type": "{$inputs.contentType}", + "Accept": "{$inputs.acceptParties}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeParties}" }, "params": { "Type": "{$inputs.toAccentIdType}", @@ -211,8 +211,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -419,8 +419,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}" diff --git a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_burmese_unicode.json b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_burmese_unicode.json index 77c15803..6008a7a9 100644 --- a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_burmese_unicode.json +++ b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_burmese_unicode.json @@ -30,8 +30,8 @@ "headers": { "FSPIOP-Source": "{$inputs.toBurmeseIdFspId}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}", - "Accept": "application/vnd.interoperability.participants+json;version=1.0", - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", + "Accept": "{$inputs.acceptParticipants}", + "Content-Type": "{$inputs.contentTypeParticipants}", "Date": "{$function.generic.curDate}" }, "body": { @@ -87,11 +87,11 @@ "operationPath": "/parties/{Type}/{ID}", "method": "get", "headers": { - "Accept": "{$inputs.accept}", - "Content-Type": "{$inputs.contentType}", + "Accept": "{$inputs.acceptParties}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeParties}" }, "params": { "Type": "{$inputs.toBurmeseIdType}", @@ -211,8 +211,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -419,8 +419,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}" diff --git a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_subid.json b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_subid.json index 611245e5..800cb909 100644 --- a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_subid.json +++ b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_subid.json @@ -30,8 +30,8 @@ }, "headers": { "FSPIOP-Source": "{$inputs.toFspId}", - "Accept": "application/vnd.interoperability.participants+json;version=1.0", - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", + "Accept": "{$inputs.acceptParticipants}", + "Content-Type": "{$inputs.contentTypeParticipants}", "Date": "{$function.generic.curDate}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" }, @@ -89,11 +89,11 @@ "operationPath": "/parties/{Type}/{ID}/{SubId}", "method": "get", "headers": { - "Accept": "{$inputs.accept}", - "Content-Type": "{$inputs.contentType}", + "Accept": "{$inputs.acceptParties}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeParties}" }, "params": { "Type": "{$inputs.toIdType}", @@ -222,8 +222,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -423,8 +423,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}" diff --git a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_subid_error_callback.json b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_subid_error_callback.json index 2221b75a..5ffd1618 100644 --- a/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_subid_error_callback.json +++ b/collections/hub/golden_path/feature_tests/p2p_money_transfer/p2p_happy_path_subid_error_callback.json @@ -30,8 +30,8 @@ }, "headers": { "FSPIOP-Source": "{$inputs.toFspId}", - "Accept": "application/vnd.interoperability.participants+json;version=1.0", - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", + "Accept": "{$inputs.acceptParticipants}", + "Content-Type": "{$inputs.contentTypeParticipants}", "Date": "{$function.generic.curDate}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" }, @@ -57,11 +57,11 @@ "operationPath": "/parties/{Type}/{ID}/{SubId}", "method": "get", "headers": { - "Accept": "{$inputs.accept}", - "Content-Type": "{$inputs.contentType}", + "Accept": "{$inputs.acceptParties}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeParties}" }, "params": { "SubId": "31", diff --git a/collections/hub/golden_path/feature_tests/post_scenarios/positive.json b/collections/hub/golden_path/feature_tests/post_scenarios/positive.json index dc8f7782..b4280a09 100644 --- a/collections/hub/golden_path/feature_tests/post_scenarios/positive.json +++ b/collections/hub/golden_path/feature_tests/post_scenarios/positive.json @@ -29,8 +29,8 @@ }, "headers": { "FSPIOP-Source": "{$inputs.toFspId}", - "Accept": "application/vnd.interoperability.participants+json;version=1.0", - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", + "Accept": "{$inputs.acceptParticipants}", + "Content-Type": "{$inputs.contentTypeParticipants}", "Date": "{$function.generic.curDate}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" }, @@ -110,11 +110,11 @@ "operationPath": "/parties/{Type}/{ID}", "method": "get", "headers": { - "Accept": "{$inputs.accept}", - "Content-Type": "{$inputs.contentType}", + "Accept": "{$inputs.acceptParties}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeParties}" }, "params": { "Type": "MSISDN", 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 12ad1dc7..b82e383a 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 @@ -24,8 +24,8 @@ "path": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "FSPIOP-Destination": "{$inputs.SIMPAYEE_NAME}", @@ -287,8 +287,8 @@ "method": "post", "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -348,8 +348,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -400,11 +399,11 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "scripts": { "preRequest": { @@ -449,9 +448,9 @@ }, { "id": 14, - "description": "Callback Header - content-type is application/vnd.interoperability.transfers+json;version=1.0", + "description": "Callback Header - content-type", "exec": [ - "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version=1.0')", + "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version={$inputs.expectedTransfersVersion}')", "" ] }, @@ -519,11 +518,11 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "scripts": { "preRequest": { @@ -568,9 +567,9 @@ }, { "id": 14, - "description": "Callback Header - content-type is application/vnd.interoperability.transfers+json;version=1.0", + "description": "Callback Header - content-type", "exec": [ - "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version=1.0')", + "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version={$inputs.expectedTransfersVersion}')", "" ] }, 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 06943bf6..2e138564 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 @@ -112,8 +112,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.1", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.1", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -135,17 +135,9 @@ "assertions": [ { "id": 1, - "description": "Response status to be 406", - "exec": [ - "expect(response.status).to.equal(406)" - ] - }, - { - "id": 2, - "description": "Response errorInformation to be 3001 with Unacceptable version request", + "description": "Response status to be 202", "exec": [ - "expect(response.body.errorInformation.errorCode).to.equal(\"3001\")", - "expect(response.body.errorInformation.errorDescription).to.equal(\"Unacceptable version requested - Client supplied a protocol version which is not supported by the server\")" + "expect(response.status).to.equal(202)" ] } ] @@ -230,8 +222,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.1", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.1", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -247,17 +238,9 @@ "assertions": [ { "id": 1, - "description": "Response status to be 406", + "description": "Response status to be 200", "exec": [ - "expect(response.status).to.equal(406)" - ] - }, - { - "id": 2, - "description": "Response errorInformation to be 3001 with Unacceptable version request", - "exec": [ - "expect(response.body.errorInformation.errorCode).to.equal(\"3001\")", - "expect(response.body.errorInformation.errorDescription).to.equal(\"Unacceptable version requested - Client supplied a protocol version which is not supported by the server\")" + "expect(response.status).to.equal(200)" ] } ] @@ -346,8 +329,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.1", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.1", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -371,17 +353,9 @@ "assertions": [ { "id": 1, - "description": "Status code is 406", - "exec": [ - "expect(response.status).to.equal(406)" - ] - }, - { - "id": 2, - "description": "Response errorInformation to be 3001 with Unacceptable version request", + "description": "Status code is 200", "exec": [ - "expect(response.body.errorInformation.errorCode).to.equal(\"3001\")", - "expect(response.body.errorInformation.errorDescription).to.equal(\"Unacceptable version requested - Client supplied a protocol version which is not supported by the server\")" + "expect(response.status).to.equal(200)" ] } ] @@ -426,12 +400,12 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", - "FSPIOP-Destination": "{$inputs.NORESPONSE_SIMPAYEE_NAME}" + "FSPIOP-Destination": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "tests": { "assertions": [ @@ -469,7 +443,7 @@ "id": 14, "description": "Callback Header - content-type is application/vnd.interoperability.transfers+json;version=1.0", "exec": [ - "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version=1.0')", + "expect(callback.headers['content-type']).to.equal('{$inputs.contentTypeTransfers}')", "" ] }, @@ -489,13 +463,6 @@ "" ] }, - { - "id": 17, - "description": "Callback Header - fspiop-uri is /transfers/transferId", - "exec": [ - "expect(callback.headers['fspiop-uri']).to.equal('/transfers/' + request.params.ID + '/error')" - ] - }, { "id": 18, "description": "Callback Header - fspiop-http-method is PUT", @@ -506,10 +473,10 @@ }, { "id": 19, - "description": "Response errorInformation to be 3208 with Transfer ID not found", + "description": "Callback transferState is ABORTED", "exec": [ - "expect(callback.body.errorInformation.errorCode).to.equal(\"3208\")", - "expect(callback.body.errorInformation.errorDescription).to.equal(\"Transfer ID not found - Provided Transfer ID was not found on the server.\")" + "expect(callback.body.transferState).to.equal('ABORTED')", + "" ] } ] 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 27997b2b..e6a64d56 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 @@ -107,8 +107,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -372,8 +372,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -432,8 +432,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -512,12 +511,12 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", - "FSPIOP-Destination": "{$inputs.NORESPONSE_SIMPAYEE_NAME}" + "FSPIOP-Destination": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "tests": { "assertions": [ @@ -553,9 +552,9 @@ }, { "id": 14, - "description": "Callback Header - content-type is application/vnd.interoperability.transfers+json;version=1.0", + "description": "Callback Header - content-type", "exec": [ - "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version=1.0')", + "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version={$inputs.expectedTransfersVersion}')", "" ] }, 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 19640527..b8928964 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 @@ -107,8 +107,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -372,8 +372,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", @@ -461,8 +461,7 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", "Authorization": "{$inputs.NORESPONSE_BEARER_TOKEN}", @@ -515,12 +514,12 @@ }, "url": "{$inputs.HOST_ML_API_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.fromFspId}", "Authorization": "{$inputs.TTK_BEARER_TOKEN}", - "FSPIOP-Destination": "{$inputs.NORESPONSE_SIMPAYEE_NAME}" + "FSPIOP-Destination": "{$inputs.NORESPONSE_SIMPAYEE_NAME}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "tests": { "assertions": [ @@ -556,9 +555,9 @@ }, { "id": 14, - "description": "Callback Header - content-type is application/vnd.interoperability.transfers+json;version=1.0", + "description": "Callback Header - content-type", "exec": [ - "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version=1.0')", + "expect(callback.headers['content-type']).to.equal('application/vnd.interoperability.transfers+json;version={$inputs.expectedTransfersVersion}')", "" ] }, 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 7d8850e9..e8abe77d 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 @@ -29,8 +29,8 @@ }, "headers": { "FSPIOP-Source": "{$inputs.toFspId}", - "Accept": "application/vnd.interoperability.participants+json;version=1.0", - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", + "Accept": "{$inputs.acceptParticipants}", + "Content-Type": "{$inputs.contentTypeParticipants}", "Date": "{$function.generic.curDate}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" }, @@ -97,8 +97,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.toFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -301,8 +301,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.toFspId}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" diff --git a/collections/hub/golden_path/quoting_service/quoting_service.json b/collections/hub/golden_path/quoting_service/quoting_service.json index 99d529c2..a00789f2 100644 --- a/collections/hub/golden_path/quoting_service/quoting_service.json +++ b/collections/hub/golden_path/quoting_service/quoting_service.json @@ -23,8 +23,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -293,12 +293,12 @@ "url": "{$inputs.HOST_QUOTING_SERVICE}", "ignoreCallbacks": true, "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.payerfsp}", "FSPIOP-Destination": "{$inputs.toFspId}", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeQuotes}" }, "tests": { "assertions": [ @@ -327,8 +327,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "FSPIOP-Source": "{$inputs.toFspId}", "FSPIOP-Destination": "{$inputs.toFspId}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" @@ -438,7 +438,7 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -548,7 +548,7 @@ "url": "{$inputs.HOST_QUOTING_SERVICE}", "ignoreCallbacks": false, "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.payerfsp}", "FSPIOP-Destination": "{$inputs.toFspId}", @@ -601,12 +601,12 @@ "url": "{$inputs.HOST_QUOTING_SERVICE}", "ignoreCallbacks": false, "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.payerfsp}", "FSPIOP-Destination": "{$inputs.toFspId}", - "Content-Type": "application/vnd.interoperability.quotes+xml;version=1.0", - "Authorization": "{$inputs.TTK_BEARER_TOKEN}" + "Authorization": "{$inputs.TTK_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeTransfers}" }, "tests": { "assertions": [ diff --git a/collections/hub/golden_path/settlement_cgs/newsetcgs.json b/collections/hub/golden_path/settlement_cgs/newsetcgs.json index 226ccd2a..ae5ff431 100644 --- a/collections/hub/golden_path/settlement_cgs/newsetcgs.json +++ b/collections/hub/golden_path/settlement_cgs/newsetcgs.json @@ -7145,8 +7145,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$environment.SIM4_NAME}" }, @@ -7275,8 +7275,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$environment.SIM4_NAME}" }, 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 aa2bb3ab..77066cea 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 @@ -1388,8 +1388,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}", @@ -1558,8 +1558,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}" @@ -1694,8 +1694,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "FSPIOP-Destination": "{$inputs.SIMPAYEE_NAME}", @@ -1864,8 +1864,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}" @@ -1996,8 +1996,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.SIM1_NAME}", @@ -2166,8 +2166,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" @@ -2298,8 +2298,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM2_NAME}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", @@ -2469,8 +2469,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM2_NAME}", "Authorization": "{$inputs.TESTFSP2_BEARER_TOKEN}" @@ -2599,8 +2599,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}", "FSPIOP-Destination": "{$inputs.SIM2_NAME}", @@ -2769,8 +2769,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" @@ -2901,8 +2901,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", @@ -3071,8 +3071,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" 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 b2f7fa21..98474ca3 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 @@ -1388,8 +1388,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}", @@ -1558,8 +1558,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}" @@ -1694,8 +1694,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "FSPIOP-Destination": "{$inputs.SIMPAYEE_NAME}", @@ -1864,8 +1864,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}" @@ -1996,8 +1996,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.SIM1_NAME}", @@ -2166,8 +2166,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" @@ -2298,8 +2298,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM2_NAME}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", @@ -2469,8 +2469,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM2_NAME}", "Authorization": "{$inputs.TESTFSP2_BEARER_TOKEN}" @@ -2599,8 +2599,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}", "FSPIOP-Destination": "{$inputs.SIM2_NAME}", @@ -2769,8 +2769,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" @@ -2901,8 +2901,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", @@ -3071,8 +3071,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" 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 1d0553cf..43a1dc7a 100644 --- a/collections/hub/golden_path/settlement_management/mixed_settlement_model.json +++ b/collections/hub/golden_path/settlement_management/mixed_settlement_model.json @@ -2196,8 +2196,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}", @@ -2366,8 +2366,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}" @@ -2502,8 +2502,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "FSPIOP-Destination": "{$inputs.SIMPAYEE_NAME}", @@ -2672,8 +2672,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}", "Authorization": "{$inputs.TESTFSP1_BEARER_TOKEN}" @@ -2804,8 +2804,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.SIM1_NAME}", @@ -2974,8 +2974,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" @@ -3106,8 +3106,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM2_NAME}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", @@ -3277,8 +3277,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM2_NAME}", "Authorization": "{$inputs.TESTFSP2_BEARER_TOKEN}" @@ -3407,8 +3407,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}", "FSPIOP-Destination": "{$inputs.SIM2_NAME}", @@ -3577,8 +3577,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" @@ -3709,8 +3709,8 @@ "operationPath": "/quotes", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.quotes+json;version=1.0", - "Content-Type": "application/vnd.interoperability.quotes+json;version=1.0", + "Accept": "{$inputs.acceptQuotes}", + "Content-Type": "{$inputs.contentTypeQuotes}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", @@ -3879,8 +3879,8 @@ "operationPath": "/transfers", "method": "post", "headers": { - "Accept": "application/vnd.interoperability.transfers+json;version=1.0", - "Content-Type": "application/vnd.interoperability.transfers+json;version=1.0", + "Accept": "{$inputs.acceptTransfers}", + "Content-Type": "{$inputs.contentTypeTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" diff --git a/collections/hub/golden_path/transaction_request_service/Error-framework-authorizations.json b/collections/hub/golden_path/transaction_request_service/Error-framework-authorizations.json index fc50446c..99c31f56 100644 --- a/collections/hub/golden_path/transaction_request_service/Error-framework-authorizations.json +++ b/collections/hub/golden_path/transaction_request_service/Error-framework-authorizations.json @@ -56,11 +56,11 @@ "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Accept": "{$inputs.acceptAuthorizations}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/authorizations", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeAuthorizations}" }, "scriptingEngine": "javascript", "queryParams": { @@ -126,11 +126,11 @@ "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Accept": "{$inputs.acceptAuthorizations}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/authorizations", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeAuthorizations}" }, "scriptingEngine": "javascript", "queryParams": { @@ -196,11 +196,11 @@ "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Accept": "{$inputs.acceptAuthorizations}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/authorizations", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeAuthorizations}" }, "scriptingEngine": "javascript", "queryParams": { @@ -266,11 +266,11 @@ "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Accept": "{$inputs.acceptAuthorizations}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/authorizations", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeAuthorizations}" }, "scriptingEngine": "javascript", "queryParams": { @@ -337,11 +337,11 @@ "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Accept": "{$inputs.acceptAuthorizations}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/authorizations", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeAuthorizations}" }, "scriptingEngine": "javascript", "queryParams": { @@ -408,11 +408,11 @@ "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Accept": "{$inputs.acceptAuthorizations}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/authorizations", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeAuthorizations}" }, "scriptingEngine": "javascript", "queryParams": { @@ -479,10 +479,10 @@ "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/authorizations", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeAuthorizations}" }, "scriptingEngine": "javascript", "queryParams": { @@ -548,11 +548,11 @@ "headers": { "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/authorizations", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Accept": "{$inputs.acceptAuthorizations}", + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeAuthorizations}" }, "scriptingEngine": "javascript", "queryParams": { @@ -628,11 +628,11 @@ "headers": { "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Accept": "{$inputs.acceptAuthorizations}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/authorizations", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeAuthorizations}" }, "scriptingEngine": "javascript", "queryParams": { @@ -698,7 +698,7 @@ "headers": { "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Accept": "{$inputs.acceptAuthorizations}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/authorizations", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", @@ -768,12 +768,12 @@ "headers": { "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Accept": "{$inputs.acceptAuthorizations}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/authorizations", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=4.0", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "application/vnd.interoperability.authorizations+json;version=9.9" }, "scriptingEngine": "javascript", "queryParams": { @@ -823,8 +823,7 @@ "FSPIOP-Source": "{$inputs.payeefsp}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Content-Type": "{$inputs.contentTypeAuthorizations}", "FSPIOP-HTTP-Method": "PUT", "FSPIOP-URI": "/authorizations", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" @@ -881,8 +880,7 @@ "FSPIOP-Source": "{$inputs.payeefsp}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Content-Type": "{$inputs.contentTypeAuthorizations}", "FSPIOP-HTTP-Method": "PUT", "FSPIOP-URI": "/authorizations", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" @@ -953,8 +951,7 @@ "FSPIOP-Source": "{$inputs.payeefsp}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Content-Type": "{$inputs.contentTypeAuthorizations}", "FSPIOP-HTTP-Method": "PUT", "FSPIOP-URI": "/authorizations", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" @@ -1025,8 +1022,7 @@ "FSPIOP-Source": "{$inputs.payeefsp}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Content-Type": "{$inputs.contentTypeAuthorizations}", "FSPIOP-HTTP-Method": "PUT", "FSPIOP-URI": "/authorizations", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" @@ -1098,7 +1094,6 @@ "FSPIOP-Source": "{$inputs.payeefsp}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", "Date": "{$function.generic.curDate}", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", "FSPIOP-HTTP-Method": "PUT", "FSPIOP-URI": "/authorizations", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" @@ -1171,10 +1166,9 @@ "headers": { "FSPIOP-Source": "{$inputs.payeefsp}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", "FSPIOP-HTTP-Method": "PUT", "FSPIOP-URI": "/authorizations", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", + "Content-Type": "{$inputs.contentTypeAuthorizations}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" }, "tests": { @@ -1242,10 +1236,9 @@ }, "headers": { "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", "FSPIOP-HTTP-Method": "PUT", "FSPIOP-URI": "/authorizations", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", + "Content-Type": "{$inputs.contentTypeAuthorizations}", "Date": "{$function.generic.curDate}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" }, @@ -1325,11 +1318,11 @@ "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", "FSPIOP-HTTP-Method": "PUT", "FSPIOP-URI": "/authorizations", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", + "Content-Type": "{$inputs.contentTypeAuthorizations}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.payeefsp}", - "Accept": "*/*", - "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}", + "Accept": "*/*" }, "tests": { "assertions": [ diff --git a/collections/hub/golden_path/transaction_request_service/authorizations.json b/collections/hub/golden_path/transaction_request_service/authorizations.json index 0f524eee..e0d7c9a5 100644 --- a/collections/hub/golden_path/transaction_request_service/authorizations.json +++ b/collections/hub/golden_path/transaction_request_service/authorizations.json @@ -42,11 +42,11 @@ "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Accept": "{$inputs.acceptAuthorizations}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/authorizations", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeAuthorizations}" }, "scriptingEngine": "javascript", "queryParams": { @@ -96,8 +96,7 @@ "FSPIOP-Source": "{$inputs.payeefsp}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.authorizations+json;version=1.0", - "Accept": "application/vnd.interoperability.authorizations+json;version=1.0", + "Content-Type": "{$inputs.contentTypeAuthorizations}", "FSPIOP-HTTP-Method": "PUT", "FSPIOP-URI": "/authorizations", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" diff --git a/collections/hub/golden_path/transaction_request_service/error-framework.json b/collections/hub/golden_path/transaction_request_service/error-framework.json index b1b564b8..7c84ec65 100644 --- a/collections/hub/golden_path/transaction_request_service/error-framework.json +++ b/collections/hub/golden_path/transaction_request_service/error-framework.json @@ -31,11 +31,11 @@ "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.transactionRequests+json;version=1.0", - "Accept": "application/vnd.interoperability.transactionRequests+json;version=1.0", + "Accept": "{$inputs.acceptTransactionRequests}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/transactionRequests", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeTransactionRequests}" }, "tests": { "assertions": [ @@ -94,8 +94,8 @@ "headers": { "FSPIOP-Source": "{$inputs.payeefsp}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", - "Content-Type": "application/vnd.interoperability.transactionRequests+json;version=1.0", - "Accept": "application/vnd.interoperability.transactionRequests+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransactionRequests}", + "Accept": "{$inputs.acceptTransactionRequests}", "FSPIOP-HTTP-Method": "POST", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" }, @@ -215,8 +215,8 @@ "url": "{$inputs.HOST_TRANSACTION_REQUESTS_SERVICE}", "headers": { "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", - "Content-Type": "application/vnd.interoperability.transactionRequests+json;version=1.0", - "Accept": "application/vnd.interoperability.transactionRequests+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransactionRequests}", + "Accept": "{$inputs.acceptTransactionRequests}", "FSPIOP-HTTP-Method": "POST", "Date": "{$function.generic.curDate}", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" @@ -345,8 +345,8 @@ "url": "{$inputs.HOST_TRANSACTION_REQUESTS_SERVICE}", "headers": { "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", - "Content-Type": "application/vnd.interoperability.transactionRequests+json;version=4.0", - "Accept": "application/vnd.interoperability.transactionRequests+json;version=1.0", + "Content-Type": "application/vnd.interoperability.transactionRequests+json;version=9.9", + "Accept": "{$inputs.acceptTransactionRequests}", "FSPIOP-HTTP-Method": "POST", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", @@ -468,8 +468,8 @@ "url": "{$inputs.HOST_TRANSACTION_REQUESTS_SERVICE}", "headers": { "FSPIOP-Destination": "{$inputs.payeefsp}", - "Content-Type": "application/vnd.interoperability.transactionRequests+xml;version=1.0", - "Accept": "application/vnd.interoperability.transactionRequests+json;version=1.0", + "Content-Type": "application/vnd.interoperability.transactionRequests+xml;version=1.1", + "Accept": "{$inputs.acceptTransactionRequests}", "FSPIOP-HTTP-Method": "POST", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", diff --git a/collections/hub/golden_path/transaction_request_service/received State.json b/collections/hub/golden_path/transaction_request_service/received State.json index 546769c5..18bed2a2 100644 --- a/collections/hub/golden_path/transaction_request_service/received State.json +++ b/collections/hub/golden_path/transaction_request_service/received State.json @@ -28,8 +28,8 @@ "FSPIOP-Source": "{$inputs.payeefsp}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.transactionRequests+json;version=1.0", - "Accept": "application/vnd.interoperability.transactionRequests+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransactionRequests}", + "Accept": "{$inputs.acceptTransactionRequests}", "FSPIOP-HTTP-Method": "POST", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" }, @@ -158,8 +158,7 @@ "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.transactionRequests+json;version=1.0", - "Accept": "application/vnd.interoperability.transactionRequests+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransactionRequests}", "FSPIOP-HTTP-Method": "PUT", "FSPIOP-URI": "/transactionRequests/{$prev.5.request.body.transactionRequestId}", "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" @@ -256,11 +255,11 @@ "FSPIOP-Source": "{$inputs.payeefsp}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.transactionRequests+json;version=1.0", - "Accept": "application/vnd.interoperability.transactionRequests+json;version=1.0", + "Accept": "{$inputs.acceptTransactionRequests}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/transactionRequests", - "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeTransactionRequests}" }, "tests": { "assertions": [ diff --git a/collections/hub/golden_path/transaction_request_service/rejected State.json b/collections/hub/golden_path/transaction_request_service/rejected State.json index f0f43947..6f735dfc 100644 --- a/collections/hub/golden_path/transaction_request_service/rejected State.json +++ b/collections/hub/golden_path/transaction_request_service/rejected State.json @@ -28,8 +28,8 @@ "FSPIOP-Source": "{$inputs.payeefsp}", "FSPIOP-Destination": "{$inputs.SIMPAYER_NAME}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.transactionRequests+json;version=1.0", - "Accept": "application/vnd.interoperability.transactionRequests+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransactionRequests}", + "Accept": "{$inputs.acceptTransactionRequests}", "FSPIOP-HTTP-Method": "POST", "Authorization": "{$inputs.PAYEE_BEARER_TOKEN}" }, @@ -157,8 +157,7 @@ "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$function.generic.curDate}", - "Content-Type": "application/vnd.interoperability.transactionRequests+json;version=1.0", - "Accept": "application/vnd.interoperability.transactionRequests+json;version=1.0", + "Content-Type": "{$inputs.contentTypeTransactionRequests}", "FSPIOP-HTTP-Method": "PUT", "FSPIOP-URI": "/transactionRequests/{$prev.5.request.body.transactionRequestId}", "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" @@ -254,11 +253,11 @@ "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}", "FSPIOP-Destination": "{$inputs.payeefsp}", "Date": "{$environment.transactionRequestDatex}", - "Content-Type": "application/vnd.interoperability.transactionRequests+json;version=1.0", - "Accept": "application/vnd.interoperability.transactionRequests+json;version=1.0", + "Accept": "{$inputs.acceptTransactionRequests}", "FSPIOP-HTTP-Method": "GET", "FSPIOP-URI": "/transactionRequests", - "Authorization": "{$inputs.PAYER_BEARER_TOKEN}" + "Authorization": "{$inputs.PAYER_BEARER_TOKEN}", + "Content-Type": "{$inputs.contentTypeTransactionRequests}" }, "tests": { "assertions": [ diff --git a/collections/hub/provisioning/CGS_Specific/add-users-to-new-sims-and-als-registration.json b/collections/hub/provisioning/CGS_Specific/add-users-to-new-sims-and-als-registration.json index 22fd7279..964625c2 100644 --- a/collections/hub/provisioning/CGS_Specific/add-users-to-new-sims-and-als-registration.json +++ b/collections/hub/provisioning/CGS_Specific/add-users-to-new-sims-and-als-registration.json @@ -254,8 +254,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}" }, @@ -342,8 +342,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYER_NAME}" }, @@ -430,8 +430,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}" }, @@ -518,8 +518,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}" }, @@ -606,8 +606,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM2_NAME}" }, @@ -694,8 +694,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM2_NAME}" }, @@ -782,8 +782,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM3_NAME}" }, @@ -870,8 +870,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM3_NAME}" }, @@ -958,8 +958,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM4_NAME}" }, @@ -1046,8 +1046,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM4_NAME}" }, @@ -1128,8 +1128,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}" }, diff --git a/collections/hub/provisioning/MojaloopSims_Onboarding/payeefsp.json b/collections/hub/provisioning/MojaloopSims_Onboarding/payeefsp.json index 1aa0e801..3ce578b8 100644 --- a/collections/hub/provisioning/MojaloopSims_Onboarding/payeefsp.json +++ b/collections/hub/provisioning/MojaloopSims_Onboarding/payeefsp.json @@ -1412,8 +1412,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIMPAYEE_NAME}" }, @@ -1465,8 +1465,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.hub_operator}" }, diff --git a/collections/hub/provisioning/MojaloopSims_Onboarding/payerfsp.json b/collections/hub/provisioning/MojaloopSims_Onboarding/payerfsp.json index 9502371c..a4a928b5 100644 --- a/collections/hub/provisioning/MojaloopSims_Onboarding/payerfsp.json +++ b/collections/hub/provisioning/MojaloopSims_Onboarding/payerfsp.json @@ -1413,8 +1413,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.hub_operator}" }, diff --git a/collections/hub/provisioning/MojaloopSims_Onboarding/testfsp1.json b/collections/hub/provisioning/MojaloopSims_Onboarding/testfsp1.json index d15fe39e..72132671 100644 --- a/collections/hub/provisioning/MojaloopSims_Onboarding/testfsp1.json +++ b/collections/hub/provisioning/MojaloopSims_Onboarding/testfsp1.json @@ -1226,8 +1226,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM1_NAME}" }, @@ -1279,8 +1279,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.hub_operator}" }, diff --git a/collections/hub/provisioning/MojaloopSims_Onboarding/testfsp2.json b/collections/hub/provisioning/MojaloopSims_Onboarding/testfsp2.json index 0f005a82..58cb358e 100644 --- a/collections/hub/provisioning/MojaloopSims_Onboarding/testfsp2.json +++ b/collections/hub/provisioning/MojaloopSims_Onboarding/testfsp2.json @@ -1226,8 +1226,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.SIM2_NAME}" }, @@ -1279,8 +1279,8 @@ }, "url": "{$inputs.HOST_ACCOUNT_LOOKUP_SERVICE}", "headers": { - "Content-Type": "application/vnd.interoperability.participants+json;version=1.0", - "Accept": "application/vnd.interoperability.participants+json;version=1", + "Content-Type": "{$inputs.contentTypeParticipants}", + "Accept": "{$inputs.acceptParticipants}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "{$inputs.hub_operator}" }, diff --git a/collections/hub/sequence/account-lookup-service/Create Batch Participants - [seq-acct-lookup-post-participants-batch-7.1.1].json b/collections/hub/sequence/account-lookup-service/Create Batch Participants - [seq-acct-lookup-post-participants-batch-7.1.1].json index 1e515bb5..4a93d34d 100644 --- a/collections/hub/sequence/account-lookup-service/Create Batch Participants - [seq-acct-lookup-post-participants-batch-7.1.1].json +++ b/collections/hub/sequence/account-lookup-service/Create Batch Participants - [seq-acct-lookup-post-participants-batch-7.1.1].json @@ -1,64 +1,5 @@ { "name": "Create Batch Participant Details - [seq-acct-lookup-post-participants-batch-7.1.1]", - "inputValues": { - "BASE_CENTRAL_LEDGER_ADMIN": "", - "CALLBACK_ENDPOINT_BASE_URL": "http://dev-testing-toolkit-specapi.mojaloop.live", - "HOST_ACCOUNT_LOOKUP_SERVICE": "http://dev1-account-lookup.mojaloop.live", - "HOST_BULK_ADAPTER": "http://dev1-bulk-api-adapter.mojaloop.live", - "HOST_CENTRAL_LEDGER": "http://dev1-central-ledger.mojaloop.live", - "HOST_CENTRAL_SETTLEMENT": "http://dev1-central-settlement.mojaloop.live/v1", - "HOST_LEGACY_SIMULATOR": "http://dev1-simulator.mojaloop.live", - "HOST_ML_API_ADAPTER": "http://dev1-ml-api-adapter.mojaloop.live", - "HOST_QUOTING_SERVICE": "http://dev1-quoting-service.mojaloop.live", - "HOST_SIMULATOR": "http://dev1-simulator.mojaloop.live", - "HOST_TRANSACTION_REQUESTS_SERVICE": "http://dev1-transaction-requests-service.mojaloop.live", - "HUB_OPERATOR_BEARER_TOKEN": "NOT_APPLICABLE", - "PAYEEFSP_BACKEND_TESTAPI_URL": "http://dev1-sim-payeefsp.mojaloop.live/sim/payeefsp/test", - "PAYEEFSP_SDK_TESTAPI_URL": "http://dev1-sim-payeefsp.mojaloop.live/sim/payeefsp/sdktest", - "PAYERFSP_BACKEND_TESTAPI_URL": "http://dev1-sim-payerfsp.mojaloop.live/sim/payerfsp/test", - "PAYERFSP_SDK_TESTAPI_URL": "http://dev1-sim-payerfsp.mojaloop.live/sim/payerfsp/sdktest", - "accept": "application/vnd.interoperability.parties+json;version=1.0", - "acceptQuotes": "application/vnd.interoperability.quotes+json;version=1.0", - "acceptTransfers": "application/vnd.interoperability.transfers+json;version=1.0", - "amount": "100", - "condition": "n2cwS3w4ekGlvNYoXg2uBAqssu3FCoXjADE2mziU5jU", - "contentTransfers": "application/vnd.interoperability.transfers+json;version=1.0", - "contentType": "application/vnd.interoperability.parties+json;version=1.0", - "contentTypeQuotes": "application/vnd.interoperability.quotes+json;version=1.0", - "currency": "{$inputs.currency}", - "currency2": "{$inputs.currency}", - "fromDOB": "1984-01-01", - "fromFirstName": "Firstname-Test", - "fromFspId": "testingtoolkitdfsp", - "fromIdType": "MSISDN", - "fromIdValue": "44123456789", - "fromLastName": "Lastname-Test", - "fspiopSignature": "{\"signature\":\"iU4GBXSfY8twZMj1zXX1CTe3LDO8Zvgui53icrriBxCUF_wltQmnjgWLWI4ZUEueVeOeTbDPBZazpBWYvBYpl5WJSUoXi14nVlangcsmu2vYkQUPmHtjOW-yb2ng6_aPfwd7oHLWrWzcsjTF-S4dW7GZRPHEbY_qCOhEwmmMOnE1FWF1OLvP0dM0r4y7FlnrZNhmuVIFhk_pMbEC44rtQmMFv4pm4EVGqmIm3eyXz0GkX8q_O1kGBoyIeV_P6RRcZ0nL6YUVMhPFSLJo6CIhL2zPm54Qdl2nVzDFWn_shVyV0Cl5vpcMJxJ--O_Zcbmpv6lxqDdygTC782Ob3CNMvg\\\",\\\"protectedHeader\\\":\\\"eyJhbGciOiJSUzI1NiIsIkZTUElPUC1VUkkiOiIvdHJhbnNmZXJzIiwiRlNQSU9QLUhUVFAtTWV0aG9kIjoiUE9TVCIsIkZTUElPUC1Tb3VyY2UiOiJPTUwiLCJGU1BJT1AtRGVzdGluYXRpb24iOiJNVE5Nb2JpbGVNb25leSIsIkRhdGUiOiIifQ\"}", - "homeTransactionId": "123ABC", - "hub_operator": "NOT_APPLICABLE", - "ilpPacket": "AYIDBQAAAAAAACcQJGcucGF5ZWVmc3AubXNpc2RuLnt7cmVjZWl2ZXJtc2lzZG59fYIC1GV5SjBjbUZ1YzJGamRHbHZia2xrSWpvaVptVXhNREU0Wm1NdE1EaGxZeTAwWWpJM0xUbGpZalF0TnpjMk9URTFNR00zT1dKaklpd2ljWFZ2ZEdWSlpDSTZJbVpsTVRBeE9HWmpMVEE0WldNdE5HSXlOeTA1WTJJMExUYzNOamt4TlRCak56bGlZeUlzSW5CaGVXVmxJanA3SW5CaGNuUjVTV1JKYm1adklqcDdJbkJoY25SNVNXUlVlWEJsSWpvaVRWTkpVMFJPSWl3aWNHRnlkSGxKWkdWdWRHbG1hV1Z5SWpvaWUzdHlaV05sYVhabGNrMVRTVk5FVG4xOUlpd2labk53U1dRaU9pSndZWGxsWldaemNDSjlmU3dpY0dGNVpYSWlPbnNpY0dGeWRIbEpaRWx1Wm04aU9uc2ljR0Z5ZEhsSlpGUjVjR1VpT2lKTlUwbFRSRTRpTENKd1lYSjBlVWxrWlc1MGFXWnBaWElpT2lJeU56Y3hNemd3TXprd05TSXNJbVp6Y0Vsa0lqb2ljR0Y1WlhKbWMzQWlmU3dpY0dWeWMyOXVZV3hKYm1adklqcDdJbU52YlhCc1pYaE9ZVzFsSWpwN0ltWnBjbk4wVG1GdFpTSTZJazFoZEhNaUxDSnNZWE4wVG1GdFpTSTZJa2hoWjIxaGJpSjlMQ0prWVhSbFQyWkNhWEowYUNJNklqRTVPRE10TVRBdE1qVWlmWDBzSW1GdGIzVnVkQ0k2ZXlKaGJXOTFiblFpT2lJeE1EQWlMQ0pqZFhKeVpXNWplU0k2SWxWVFJDSjlMQ0owY21GdWMyRmpkR2x2YmxSNWNHVWlPbnNpYzJObGJtRnlhVzhpT2lKVVVrRk9VMFpGVWlJc0ltbHVhWFJwWVhSdmNpSTZJbEJCV1VWU0lpd2lhVzVwZEdsaGRHOXlWSGx3WlNJNklrTlBUbE5WVFVWU0luMTkA", - "invalidFulfillment": "_3cco-YN5OGpRKVWV3n6x6uNpBTH9tYUdOYmHA-----", - "note": "test", - "payeeIdType": "MSISDN", - "payeeIdentifier": "22556999125", - "payeefsp": "payeefsp", - "payerIdType": "MSISDN", - "payerIdentifier": "22507008181", - "payerfsp": "testingtoolkitdfsp", - "toFspId": "payeefsp", - "toIdType": "MSISDN", - "toIdValue": "27713803912", - "validCondition": "GRzLaTP7DJ9t4P-a_BA0WA9wzzlsugf00-Tn6kESAfM", - "validCondition2": "kPLCKM62VY2jbekuw3apCTBg5zk_mVs9DD8-XpljQms", - "validFulfillment": "UNlJ98hZTY_dsw0cAqw4i_UN3v4utt7CZFB4yfLbVFA", - "validIlpPacket2": "AYIC9AAAAAAAABdwHWcucGF5ZWVmc3AubXNpc2RuLjIyNTU2OTk5MTI1ggLKZXlKMGNtRnVjMkZqZEdsdmJrbGtJam9pWmpRMFltUmtOV010WXpreE1DMDBZVGt3TFRoa05qa3RaR0ppWVRaaVl6aGxZVFpqSWl3aWNYVnZkR1ZKWkNJNklqVTBaRFZtTURsaUxXRTBOMlF0TkRCa05pMWhZVEEzTFdFNVkyWXpZbUl5TkRsaFpDSXNJbkJoZVdWbElqcDdJbkJoY25SNVNXUkpibVp2SWpwN0luQmhjblI1U1dSVWVYQmxJam9pVFZOSlUwUk9JaXdpY0dGeWRIbEpaR1Z1ZEdsbWFXVnlJam9pTWpJMU5UWTVPVGt4TWpVaUxDSm1jM0JKWkNJNkluQmhlV1ZsWm5Od0luMTlMQ0p3WVhsbGNpSTZleUp3WVhKMGVVbGtTVzVtYnlJNmV5SndZWEowZVVsa1ZIbHdaU0k2SWsxVFNWTkVUaUlzSW5CaGNuUjVTV1JsYm5ScFptbGxjaUk2SWpJeU5UQTNNREE0TVRneElpd2labk53U1dRaU9pSndZWGxsY21aemNDSjlMQ0p3WlhKemIyNWhiRWx1Wm04aU9uc2lZMjl0Y0d4bGVFNWhiV1VpT25zaVptbHljM1JPWVcxbElqb2lUV0YwY3lJc0lteGhjM1JPWVcxbElqb2lTR0ZuYldGdUluMHNJbVJoZEdWUFprSnBjblJvSWpvaU1UazRNeTB4TUMweU5TSjlmU3dpWVcxdmRXNTBJanA3SW1GdGIzVnVkQ0k2SWpZd0lpd2lZM1Z5Y21WdVkza2lPaUpWVTBRaWZTd2lkSEpoYm5OaFkzUnBiMjVVZVhCbElqcDdJbk5qWlc1aGNtbHZJam9pVkZKQlRsTkdSVklpTENKcGJtbDBhV0YwYjNJaU9pSlFRVmxGVWlJc0ltbHVhWFJwWVhSdmNsUjVjR1VpT2lKRFQwNVRWVTFGVWlKOWZRAA", - "acceptParticipants": "application/vnd.interoperability.participants+json;version=1.0", - "contentTypeParticipants": "application/vnd.interoperability.participants+json;version=1.0", - "toIdValueDelete": "27713803913", - "batchToIdValue1": "27713803066", - "batchToIdValue2": "27713803067", - "invalidToIdType": "ACCOUNT_ID" - }, "test_cases": [ { "id": 12, diff --git a/collections/hub/sequence/account-lookup-service/Create Participant - [seq-acct-lookup-post-participant-7.1.3].json b/collections/hub/sequence/account-lookup-service/Create Participant - [seq-acct-lookup-post-participant-7.1.3].json index f1af9a66..696d9f3e 100644 --- a/collections/hub/sequence/account-lookup-service/Create Participant - [seq-acct-lookup-post-participant-7.1.3].json +++ b/collections/hub/sequence/account-lookup-service/Create Participant - [seq-acct-lookup-post-participant-7.1.3].json @@ -1,64 +1,5 @@ { "name": "Create Participant Details - [seq-acct-lookup-post-participants-7.1.3]", - "inputValues": { - "BASE_CENTRAL_LEDGER_ADMIN": "", - "CALLBACK_ENDPOINT_BASE_URL": "http://dev-testing-toolkit-specapi.mojaloop.live", - "HOST_ACCOUNT_LOOKUP_SERVICE": "http://dev1-account-lookup.mojaloop.live", - "HOST_BULK_ADAPTER": "http://dev1-bulk-api-adapter.mojaloop.live", - "HOST_CENTRAL_LEDGER": "http://dev1-central-ledger.mojaloop.live", - "HOST_CENTRAL_SETTLEMENT": "http://dev1-central-settlement.mojaloop.live/v1", - "HOST_LEGACY_SIMULATOR": "http://dev1-simulator.mojaloop.live", - "HOST_ML_API_ADAPTER": "http://dev1-ml-api-adapter.mojaloop.live", - "HOST_QUOTING_SERVICE": "http://dev1-quoting-service.mojaloop.live", - "HOST_SIMULATOR": "http://dev1-simulator.mojaloop.live", - "HOST_TRANSACTION_REQUESTS_SERVICE": "http://dev1-transaction-requests-service.mojaloop.live", - "HUB_OPERATOR_BEARER_TOKEN": "NOT_APPLICABLE", - "PAYEEFSP_BACKEND_TESTAPI_URL": "http://dev1-sim-payeefsp.mojaloop.live/sim/payeefsp/test", - "PAYEEFSP_SDK_TESTAPI_URL": "http://dev1-sim-payeefsp.mojaloop.live/sim/payeefsp/sdktest", - "PAYERFSP_BACKEND_TESTAPI_URL": "http://dev1-sim-payerfsp.mojaloop.live/sim/payerfsp/test", - "PAYERFSP_SDK_TESTAPI_URL": "http://dev1-sim-payerfsp.mojaloop.live/sim/payerfsp/sdktest", - "accept": "application/vnd.interoperability.parties+json;version=1.0", - "acceptQuotes": "application/vnd.interoperability.quotes+json;version=1.0", - "acceptTransfers": "application/vnd.interoperability.transfers+json;version=1.0", - "amount": "100", - "condition": "n2cwS3w4ekGlvNYoXg2uBAqssu3FCoXjADE2mziU5jU", - "contentTransfers": "application/vnd.interoperability.transfers+json;version=1.0", - "contentType": "application/vnd.interoperability.parties+json;version=1.0", - "contentTypeQuotes": "application/vnd.interoperability.quotes+json;version=1.0", - "currency": "{$inputs.currency}", - "currency2": "{$inputs.currency}", - "fromDOB": "1984-01-01", - "fromFirstName": "Firstname-Test", - "fromFspId": "testingtoolkitdfsp", - "fromIdType": "MSISDN", - "fromIdValue": "44123456789", - "fromLastName": "Lastname-Test", - "fspiopSignature": "{\"signature\":\"iU4GBXSfY8twZMj1zXX1CTe3LDO8Zvgui53icrriBxCUF_wltQmnjgWLWI4ZUEueVeOeTbDPBZazpBWYvBYpl5WJSUoXi14nVlangcsmu2vYkQUPmHtjOW-yb2ng6_aPfwd7oHLWrWzcsjTF-S4dW7GZRPHEbY_qCOhEwmmMOnE1FWF1OLvP0dM0r4y7FlnrZNhmuVIFhk_pMbEC44rtQmMFv4pm4EVGqmIm3eyXz0GkX8q_O1kGBoyIeV_P6RRcZ0nL6YUVMhPFSLJo6CIhL2zPm54Qdl2nVzDFWn_shVyV0Cl5vpcMJxJ--O_Zcbmpv6lxqDdygTC782Ob3CNMvg\\\",\\\"protectedHeader\\\":\\\"eyJhbGciOiJSUzI1NiIsIkZTUElPUC1VUkkiOiIvdHJhbnNmZXJzIiwiRlNQSU9QLUhUVFAtTWV0aG9kIjoiUE9TVCIsIkZTUElPUC1Tb3VyY2UiOiJPTUwiLCJGU1BJT1AtRGVzdGluYXRpb24iOiJNVE5Nb2JpbGVNb25leSIsIkRhdGUiOiIifQ\"}", - "homeTransactionId": "123ABC", - "hub_operator": "NOT_APPLICABLE", - "ilpPacket": "AYIDBQAAAAAAACcQJGcucGF5ZWVmc3AubXNpc2RuLnt7cmVjZWl2ZXJtc2lzZG59fYIC1GV5SjBjbUZ1YzJGamRHbHZia2xrSWpvaVptVXhNREU0Wm1NdE1EaGxZeTAwWWpJM0xUbGpZalF0TnpjMk9URTFNR00zT1dKaklpd2ljWFZ2ZEdWSlpDSTZJbVpsTVRBeE9HWmpMVEE0WldNdE5HSXlOeTA1WTJJMExUYzNOamt4TlRCak56bGlZeUlzSW5CaGVXVmxJanA3SW5CaGNuUjVTV1JKYm1adklqcDdJbkJoY25SNVNXUlVlWEJsSWpvaVRWTkpVMFJPSWl3aWNHRnlkSGxKWkdWdWRHbG1hV1Z5SWpvaWUzdHlaV05sYVhabGNrMVRTVk5FVG4xOUlpd2labk53U1dRaU9pSndZWGxsWldaemNDSjlmU3dpY0dGNVpYSWlPbnNpY0dGeWRIbEpaRWx1Wm04aU9uc2ljR0Z5ZEhsSlpGUjVjR1VpT2lKTlUwbFRSRTRpTENKd1lYSjBlVWxrWlc1MGFXWnBaWElpT2lJeU56Y3hNemd3TXprd05TSXNJbVp6Y0Vsa0lqb2ljR0Y1WlhKbWMzQWlmU3dpY0dWeWMyOXVZV3hKYm1adklqcDdJbU52YlhCc1pYaE9ZVzFsSWpwN0ltWnBjbk4wVG1GdFpTSTZJazFoZEhNaUxDSnNZWE4wVG1GdFpTSTZJa2hoWjIxaGJpSjlMQ0prWVhSbFQyWkNhWEowYUNJNklqRTVPRE10TVRBdE1qVWlmWDBzSW1GdGIzVnVkQ0k2ZXlKaGJXOTFiblFpT2lJeE1EQWlMQ0pqZFhKeVpXNWplU0k2SWxWVFJDSjlMQ0owY21GdWMyRmpkR2x2YmxSNWNHVWlPbnNpYzJObGJtRnlhVzhpT2lKVVVrRk9VMFpGVWlJc0ltbHVhWFJwWVhSdmNpSTZJbEJCV1VWU0lpd2lhVzVwZEdsaGRHOXlWSGx3WlNJNklrTlBUbE5WVFVWU0luMTkA", - "invalidFulfillment": "_3cco-YN5OGpRKVWV3n6x6uNpBTH9tYUdOYmHA-----", - "note": "test", - "payeeIdType": "MSISDN", - "payeeIdentifier": "22556999125", - "payeefsp": "payeefsp", - "payerIdType": "MSISDN", - "payerIdentifier": "22507008181", - "payerfsp": "testingtoolkitdfsp", - "toFspId": "payeefsp", - "toIdType": "MSISDN", - "toIdValue": "27713803912", - "validCondition": "GRzLaTP7DJ9t4P-a_BA0WA9wzzlsugf00-Tn6kESAfM", - "validCondition2": "kPLCKM62VY2jbekuw3apCTBg5zk_mVs9DD8-XpljQms", - "validFulfillment": "UNlJ98hZTY_dsw0cAqw4i_UN3v4utt7CZFB4yfLbVFA", - "validIlpPacket2": "AYIC9AAAAAAAABdwHWcucGF5ZWVmc3AubXNpc2RuLjIyNTU2OTk5MTI1ggLKZXlKMGNtRnVjMkZqZEdsdmJrbGtJam9pWmpRMFltUmtOV010WXpreE1DMDBZVGt3TFRoa05qa3RaR0ppWVRaaVl6aGxZVFpqSWl3aWNYVnZkR1ZKWkNJNklqVTBaRFZtTURsaUxXRTBOMlF0TkRCa05pMWhZVEEzTFdFNVkyWXpZbUl5TkRsaFpDSXNJbkJoZVdWbElqcDdJbkJoY25SNVNXUkpibVp2SWpwN0luQmhjblI1U1dSVWVYQmxJam9pVFZOSlUwUk9JaXdpY0dGeWRIbEpaR1Z1ZEdsbWFXVnlJam9pTWpJMU5UWTVPVGt4TWpVaUxDSm1jM0JKWkNJNkluQmhlV1ZsWm5Od0luMTlMQ0p3WVhsbGNpSTZleUp3WVhKMGVVbGtTVzVtYnlJNmV5SndZWEowZVVsa1ZIbHdaU0k2SWsxVFNWTkVUaUlzSW5CaGNuUjVTV1JsYm5ScFptbGxjaUk2SWpJeU5UQTNNREE0TVRneElpd2labk53U1dRaU9pSndZWGxsY21aemNDSjlMQ0p3WlhKemIyNWhiRWx1Wm04aU9uc2lZMjl0Y0d4bGVFNWhiV1VpT25zaVptbHljM1JPWVcxbElqb2lUV0YwY3lJc0lteGhjM1JPWVcxbElqb2lTR0ZuYldGdUluMHNJbVJoZEdWUFprSnBjblJvSWpvaU1UazRNeTB4TUMweU5TSjlmU3dpWVcxdmRXNTBJanA3SW1GdGIzVnVkQ0k2SWpZd0lpd2lZM1Z5Y21WdVkza2lPaUpWVTBRaWZTd2lkSEpoYm5OaFkzUnBiMjVVZVhCbElqcDdJbk5qWlc1aGNtbHZJam9pVkZKQlRsTkdSVklpTENKcGJtbDBhV0YwYjNJaU9pSlFRVmxGVWlJc0ltbHVhWFJwWVhSdmNsUjVjR1VpT2lKRFQwNVRWVTFGVWlKOWZRAA", - "batchToIdValue1": "27713803066", - "batchToIdValue2": "27713803067", - "invalidToIdType": "ACCOUNT_ID", - "acceptParticipants": "application/vnd.interoperability.participants+json;version=1.0", - "contentTypeParticipants": "application/vnd.interoperability.participants+json;version=1.0", - "toIdValueDelete": "27713803913" - }, "test_cases": [ { "id": 1, diff --git a/collections/hub/sequence/account-lookup-service/Delete Participant Details - [seq-acct-lookup-del-participants-7.1.2].json b/collections/hub/sequence/account-lookup-service/Delete Participant Details - [seq-acct-lookup-del-participants-7.1.2].json index 68b845de..75352883 100644 --- a/collections/hub/sequence/account-lookup-service/Delete Participant Details - [seq-acct-lookup-del-participants-7.1.2].json +++ b/collections/hub/sequence/account-lookup-service/Delete Participant Details - [seq-acct-lookup-del-participants-7.1.2].json @@ -1,64 +1,5 @@ { "name": "Delete Participant Details - [seq-acct-lookup-del-participants-7.1.2]", - "inputValues": { - "BASE_CENTRAL_LEDGER_ADMIN": "", - "CALLBACK_ENDPOINT_BASE_URL": "http://dev-testing-toolkit-specapi.mojaloop.live", - "HOST_ACCOUNT_LOOKUP_SERVICE": "http://dev1-account-lookup.mojaloop.live", - "HOST_BULK_ADAPTER": "http://dev1-bulk-api-adapter.mojaloop.live", - "HOST_CENTRAL_LEDGER": "http://dev1-central-ledger.mojaloop.live", - "HOST_CENTRAL_SETTLEMENT": "http://dev1-central-settlement.mojaloop.live/v1", - "HOST_LEGACY_SIMULATOR": "http://dev1-simulator.mojaloop.live", - "HOST_ML_API_ADAPTER": "http://dev1-ml-api-adapter.mojaloop.live", - "HOST_QUOTING_SERVICE": "http://dev1-quoting-service.mojaloop.live", - "HOST_SIMULATOR": "http://dev1-simulator.mojaloop.live", - "HOST_TRANSACTION_REQUESTS_SERVICE": "http://dev1-transaction-requests-service.mojaloop.live", - "HUB_OPERATOR_BEARER_TOKEN": "NOT_APPLICABLE", - "PAYEEFSP_BACKEND_TESTAPI_URL": "http://dev1-sim-payeefsp.mojaloop.live/sim/payeefsp/test", - "PAYEEFSP_SDK_TESTAPI_URL": "http://dev1-sim-payeefsp.mojaloop.live/sim/payeefsp/sdktest", - "PAYERFSP_BACKEND_TESTAPI_URL": "http://dev1-sim-payerfsp.mojaloop.live/sim/payerfsp/test", - "PAYERFSP_SDK_TESTAPI_URL": "http://dev1-sim-payerfsp.mojaloop.live/sim/payerfsp/sdktest", - "accept": "application/vnd.interoperability.parties+json;version=1.0", - "acceptQuotes": "application/vnd.interoperability.quotes+json;version=1.0", - "acceptTransfers": "application/vnd.interoperability.transfers+json;version=1.0", - "amount": "100", - "condition": "n2cwS3w4ekGlvNYoXg2uBAqssu3FCoXjADE2mziU5jU", - "contentTransfers": "application/vnd.interoperability.transfers+json;version=1.0", - "contentType": "application/vnd.interoperability.parties+json;version=1.0", - "contentTypeQuotes": "application/vnd.interoperability.quotes+json;version=1.0", - "currency": "{$inputs.currency}", - "currency2": "{$inputs.currency}", - "fromDOB": "1984-01-01", - "fromFirstName": "Firstname-Test", - "fromFspId": "testingtoolkitdfsp", - "fromIdType": "MSISDN", - "fromIdValue": "44123456789", - "fromLastName": "Lastname-Test", - "fspiopSignature": "{\"signature\":\"iU4GBXSfY8twZMj1zXX1CTe3LDO8Zvgui53icrriBxCUF_wltQmnjgWLWI4ZUEueVeOeTbDPBZazpBWYvBYpl5WJSUoXi14nVlangcsmu2vYkQUPmHtjOW-yb2ng6_aPfwd7oHLWrWzcsjTF-S4dW7GZRPHEbY_qCOhEwmmMOnE1FWF1OLvP0dM0r4y7FlnrZNhmuVIFhk_pMbEC44rtQmMFv4pm4EVGqmIm3eyXz0GkX8q_O1kGBoyIeV_P6RRcZ0nL6YUVMhPFSLJo6CIhL2zPm54Qdl2nVzDFWn_shVyV0Cl5vpcMJxJ--O_Zcbmpv6lxqDdygTC782Ob3CNMvg\\\",\\\"protectedHeader\\\":\\\"eyJhbGciOiJSUzI1NiIsIkZTUElPUC1VUkkiOiIvdHJhbnNmZXJzIiwiRlNQSU9QLUhUVFAtTWV0aG9kIjoiUE9TVCIsIkZTUElPUC1Tb3VyY2UiOiJPTUwiLCJGU1BJT1AtRGVzdGluYXRpb24iOiJNVE5Nb2JpbGVNb25leSIsIkRhdGUiOiIifQ\"}", - "homeTransactionId": "123ABC", - "hub_operator": "NOT_APPLICABLE", - "ilpPacket": "AYIDBQAAAAAAACcQJGcucGF5ZWVmc3AubXNpc2RuLnt7cmVjZWl2ZXJtc2lzZG59fYIC1GV5SjBjbUZ1YzJGamRHbHZia2xrSWpvaVptVXhNREU0Wm1NdE1EaGxZeTAwWWpJM0xUbGpZalF0TnpjMk9URTFNR00zT1dKaklpd2ljWFZ2ZEdWSlpDSTZJbVpsTVRBeE9HWmpMVEE0WldNdE5HSXlOeTA1WTJJMExUYzNOamt4TlRCak56bGlZeUlzSW5CaGVXVmxJanA3SW5CaGNuUjVTV1JKYm1adklqcDdJbkJoY25SNVNXUlVlWEJsSWpvaVRWTkpVMFJPSWl3aWNHRnlkSGxKWkdWdWRHbG1hV1Z5SWpvaWUzdHlaV05sYVhabGNrMVRTVk5FVG4xOUlpd2labk53U1dRaU9pSndZWGxsWldaemNDSjlmU3dpY0dGNVpYSWlPbnNpY0dGeWRIbEpaRWx1Wm04aU9uc2ljR0Z5ZEhsSlpGUjVjR1VpT2lKTlUwbFRSRTRpTENKd1lYSjBlVWxrWlc1MGFXWnBaWElpT2lJeU56Y3hNemd3TXprd05TSXNJbVp6Y0Vsa0lqb2ljR0Y1WlhKbWMzQWlmU3dpY0dWeWMyOXVZV3hKYm1adklqcDdJbU52YlhCc1pYaE9ZVzFsSWpwN0ltWnBjbk4wVG1GdFpTSTZJazFoZEhNaUxDSnNZWE4wVG1GdFpTSTZJa2hoWjIxaGJpSjlMQ0prWVhSbFQyWkNhWEowYUNJNklqRTVPRE10TVRBdE1qVWlmWDBzSW1GdGIzVnVkQ0k2ZXlKaGJXOTFiblFpT2lJeE1EQWlMQ0pqZFhKeVpXNWplU0k2SWxWVFJDSjlMQ0owY21GdWMyRmpkR2x2YmxSNWNHVWlPbnNpYzJObGJtRnlhVzhpT2lKVVVrRk9VMFpGVWlJc0ltbHVhWFJwWVhSdmNpSTZJbEJCV1VWU0lpd2lhVzVwZEdsaGRHOXlWSGx3WlNJNklrTlBUbE5WVFVWU0luMTkA", - "invalidFulfillment": "_3cco-YN5OGpRKVWV3n6x6uNpBTH9tYUdOYmHA-----", - "note": "test", - "payeeIdType": "MSISDN", - "payeeIdentifier": "22556999125", - "payeefsp": "payeefsp", - "payerIdType": "MSISDN", - "payerIdentifier": "22507008181", - "payerfsp": "testingtoolkitdfsp", - "toFspId": "payeefsp", - "toIdType": "MSISDN", - "toIdValue": "27713803912", - "validCondition": "GRzLaTP7DJ9t4P-a_BA0WA9wzzlsugf00-Tn6kESAfM", - "validCondition2": "kPLCKM62VY2jbekuw3apCTBg5zk_mVs9DD8-XpljQms", - "validFulfillment": "UNlJ98hZTY_dsw0cAqw4i_UN3v4utt7CZFB4yfLbVFA", - "validIlpPacket2": "AYIC9AAAAAAAABdwHWcucGF5ZWVmc3AubXNpc2RuLjIyNTU2OTk5MTI1ggLKZXlKMGNtRnVjMkZqZEdsdmJrbGtJam9pWmpRMFltUmtOV010WXpreE1DMDBZVGt3TFRoa05qa3RaR0ppWVRaaVl6aGxZVFpqSWl3aWNYVnZkR1ZKWkNJNklqVTBaRFZtTURsaUxXRTBOMlF0TkRCa05pMWhZVEEzTFdFNVkyWXpZbUl5TkRsaFpDSXNJbkJoZVdWbElqcDdJbkJoY25SNVNXUkpibVp2SWpwN0luQmhjblI1U1dSVWVYQmxJam9pVFZOSlUwUk9JaXdpY0dGeWRIbEpaR1Z1ZEdsbWFXVnlJam9pTWpJMU5UWTVPVGt4TWpVaUxDSm1jM0JKWkNJNkluQmhlV1ZsWm5Od0luMTlMQ0p3WVhsbGNpSTZleUp3WVhKMGVVbGtTVzVtYnlJNmV5SndZWEowZVVsa1ZIbHdaU0k2SWsxVFNWTkVUaUlzSW5CaGNuUjVTV1JsYm5ScFptbGxjaUk2SWpJeU5UQTNNREE0TVRneElpd2labk53U1dRaU9pSndZWGxsY21aemNDSjlMQ0p3WlhKemIyNWhiRWx1Wm04aU9uc2lZMjl0Y0d4bGVFNWhiV1VpT25zaVptbHljM1JPWVcxbElqb2lUV0YwY3lJc0lteGhjM1JPWVcxbElqb2lTR0ZuYldGdUluMHNJbVJoZEdWUFprSnBjblJvSWpvaU1UazRNeTB4TUMweU5TSjlmU3dpWVcxdmRXNTBJanA3SW1GdGIzVnVkQ0k2SWpZd0lpd2lZM1Z5Y21WdVkza2lPaUpWVTBRaWZTd2lkSEpoYm5OaFkzUnBiMjVVZVhCbElqcDdJbk5qWlc1aGNtbHZJam9pVkZKQlRsTkdSVklpTENKcGJtbDBhV0YwYjNJaU9pSlFRVmxGVWlJc0ltbHVhWFJwWVhSdmNsUjVjR1VpT2lKRFQwNVRWVTFGVWlKOWZRAA", - "acceptParticipants": "application/vnd.interoperability.participants+json;version=1.0", - "contentTypeParticipants": "application/vnd.interoperability.participants+json;version=1.0", - "toIdValueDelete": "27713803913", - "batchToIdValue1": "27713803066", - "batchToIdValue2": "27713803067", - "invalidToIdType": "ACCOUNT_ID" - }, "test_cases": [ { "id": 12, diff --git a/scripts/set-accept-content-type-headers.js b/scripts/set-accept-content-type-headers.js new file mode 100644 index 00000000..6431100f --- /dev/null +++ b/scripts/set-accept-content-type-headers.js @@ -0,0 +1,222 @@ +/** + * @file set-accept-content-type-headers.js + * @description Use this file to replace the value of a field based on some search criteria + * @example: + * `node set-accept-content-type-headers.js ` + */ + + const fs = require('fs'); + const { exit } = require('process'); + var myArgs = process.argv.slice(2); + + if (myArgs.length !== 1) { + console.log('Usage: node set-accept-content-type-headers.js \n') + exit(1) + } + + const env1 = fs.readFileSync(myArgs[0]) + let inputJson = JSON.parse(env1) + + if (!inputJson.test_cases) { + console.log('ERROR: No test_cases found in the file\n') + exit(1) + } + const test_cases = inputJson.test_cases + + test_cases.forEach(testCaseItem => { + const requests = testCaseItem.requests + requests.forEach(requestItem => { + if (requestItem.apiVersion && requestItem.apiVersion.type === 'fspiop') { + if (requestItem.operationPath && requestItem.method === 'post' && requestItem.operationPath === '/quotes') { + if (requestItem.headers && requestItem.headers.Accept) { + requestItem.headers.Accept = '{$inputs.acceptQuotes}' + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeQuotes}' + } + } else if (requestItem.operationPath && requestItem.method === 'post' && requestItem.operationPath === '/transfers') { + if (requestItem.headers && requestItem.headers.Accept) { + requestItem.headers.Accept = '{$inputs.acceptTransfers}' + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeTransfers}' + } + } else if (requestItem.operationPath && requestItem.method === 'post' && requestItem.operationPath.startsWith('/participants')) { + if (requestItem.headers && requestItem.headers.Accept) { + requestItem.headers.Accept = '{$inputs.acceptParticipants}' + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeParticipants}' + } + } else if (requestItem.operationPath && requestItem.method === 'post' && requestItem.operationPath === '/transactionRequests') { + if (requestItem.headers && requestItem.headers.Accept) { + requestItem.headers.Accept = '{$inputs.acceptTransactionRequests}' + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeTransactionRequests}' + } + } else if (requestItem.operationPath && requestItem.method === 'get' && requestItem.operationPath === '/parties/{Type}/{ID}') { + if (requestItem.headers && requestItem.headers.Accept) { + requestItem.headers.Accept = '{$inputs.acceptParties}' + } + // if (requestItem.headers && requestItem.headers['Content-Type']) { + // delete requestItem.headers['Content-Type'] + // } + if (requestItem.headers) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeParties}' + } + } else if (requestItem.operationPath && requestItem.method === 'get' && requestItem.operationPath === '/parties/{Type}/{ID}/{SubId}') { + if (requestItem.headers && requestItem.headers.Accept) { + requestItem.headers.Accept = '{$inputs.acceptParties}' + } + // if (requestItem.headers && requestItem.headers['Content-Type']) { + // delete requestItem.headers['Content-Type'] + // } + if (requestItem.headers) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeParties}' + } + } else if (requestItem.operationPath && requestItem.method === 'get' && requestItem.operationPath === '/participants/{Type}/{ID}') { + if (requestItem.headers && requestItem.headers.Accept) { + requestItem.headers.Accept = '{$inputs.acceptParticipants}' + } + // if (requestItem.headers && requestItem.headers['Content-Type']) { + // delete requestItem.headers['Content-Type'] + // } + if (requestItem.headers) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeParticipants}' + } + } else if (requestItem.operationPath && requestItem.method === 'get' && requestItem.operationPath === '/participants/{Type}/{ID}/{SubId}') { + if (requestItem.headers && requestItem.headers.Accept) { + requestItem.headers.Accept = '{$inputs.acceptParticipants}' + } + // if (requestItem.headers && requestItem.headers['Content-Type']) { + // delete requestItem.headers['Content-Type'] + // } + if (requestItem.headers) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeParticipants}' + } + } else if (requestItem.operationPath && requestItem.method === 'get' && requestItem.operationPath === '/quotes/{ID}') { + if (requestItem.headers && requestItem.headers.Accept) { + requestItem.headers.Accept = '{$inputs.acceptQuotes}' + } + // if (requestItem.headers && requestItem.headers['Content-Type']) { + // delete requestItem.headers['Content-Type'] + // } + if (requestItem.headers) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeQuotes}' + } + } else if (requestItem.operationPath && requestItem.method === 'get' && requestItem.operationPath === '/transfers/{ID}') { + if (requestItem.headers && requestItem.headers.Accept) { + requestItem.headers.Accept = '{$inputs.acceptTransfers}' + } + // if (requestItem.headers && requestItem.headers['Content-Type']) { + // delete requestItem.headers['Content-Type'] + // } + if (requestItem.headers) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeTransfers}' + } + } else if (requestItem.operationPath && requestItem.method === 'get' && requestItem.operationPath === '/authorizations/{ID}') { + if (requestItem.headers && requestItem.headers.Accept) { + requestItem.headers.Accept = '{$inputs.acceptAuthorizations}' + } + // if (requestItem.headers && requestItem.headers['Content-Type']) { + // delete requestItem.headers['Content-Type'] + // } + if (requestItem.headers) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeAuthorizations}' + } + } else if (requestItem.operationPath && requestItem.method === 'get' && requestItem.operationPath === '/transactionRequests/{ID}') { + if (requestItem.headers && requestItem.headers.Accept) { + requestItem.headers.Accept = '{$inputs.acceptTransactionRequests}' + } + // if (requestItem.headers && requestItem.headers['Content-Type']) { + // delete requestItem.headers['Content-Type'] + // } + if (requestItem.headers) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeTransactionRequests}' + } + } else if (requestItem.operationPath && requestItem.method === 'put' && requestItem.operationPath === '/parties/{Type}/{ID}') { + if (requestItem.headers && requestItem.headers.Accept) { + delete requestItem.headers.Accept + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeParties}' + } + } else if (requestItem.operationPath && requestItem.method === 'put' && requestItem.operationPath === '/parties/{Type}/{ID}/{SubId}') { + if (requestItem.headers && requestItem.headers.Accept) { + delete requestItem.headers.Accept + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeParties}' + } + } else if (requestItem.operationPath && requestItem.method === 'put' && requestItem.operationPath === '/participants/{Type}/{ID}') { + if (requestItem.headers && requestItem.headers.Accept) { + delete requestItem.headers.Accept + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeParticipants}' + } + } else if (requestItem.operationPath && requestItem.method === 'put' && requestItem.operationPath === '/participants/{Type}/{ID}/{SubId}') { + if (requestItem.headers && requestItem.headers.Accept) { + delete requestItem.headers.Accept + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeParticipants}' + } + } else if (requestItem.operationPath && requestItem.method === 'put' && requestItem.operationPath === '/quotes/{ID}') { + if (requestItem.headers && requestItem.headers.Accept) { + delete requestItem.headers.Accept + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeQuotes}' + } + } else if (requestItem.operationPath && requestItem.method === 'put' && requestItem.operationPath === '/transfers/{ID}') { + if (requestItem.headers && requestItem.headers.Accept) { + delete requestItem.headers.Accept + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeTransfers}' + } + } else if (requestItem.operationPath && requestItem.method === 'put' && requestItem.operationPath === '/authorizations/{ID}') { + if (requestItem.headers && requestItem.headers.Accept) { + delete requestItem.headers.Accept + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeAuthorizations}' + } + } else if (requestItem.operationPath && requestItem.method === 'put' && requestItem.operationPath === '/transactionRequests/{ID}') { + if (requestItem.headers && requestItem.headers.Accept) { + delete requestItem.headers.Accept + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeTransactionRequests}' + } + } else if (requestItem.operationPath && requestItem.method === 'put' && requestItem.operationPath === '/quotes/{ID}/error') { + if (requestItem.headers && requestItem.headers.Accept) { + delete requestItem.headers.Accept + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeQuotes}' + } + } else if (requestItem.operationPath && requestItem.method === 'put' && requestItem.operationPath === '/transfers/{ID}/error') { + if (requestItem.headers && requestItem.headers.Accept) { + delete requestItem.headers.Accept + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeTransfers}' + } + } else if (requestItem.operationPath && requestItem.method === 'put' && requestItem.operationPath === '/transactionRequests/{ID}/error') { + if (requestItem.headers && requestItem.headers.Accept) { + delete requestItem.headers.Accept + } + if (requestItem.headers && requestItem.headers['Content-Type']) { + requestItem.headers['Content-Type'] = '{$inputs.contentTypeTransactionRequests}' + } + } + } + }) + }) + + const modifiedData = JSON.stringify(inputJson, null, 2) + fs.writeFileSync(myArgs[0], modifiedData) + \ No newline at end of file From 04bfe7a4e2f6e4965aa6f56b4ed1d52a98d6db02 Mon Sep 17 00:00:00 2001 From: Miguel de Barros Date: Tue, 14 Dec 2021 11:03:43 +0000 Subject: [PATCH 5/5] feat: change fspiop to new version for builk api adapter update hub/other_tests/bulk_transfers to use parameterised accept & content-type headers (#59), with the following inputs added: - $inputs.acceptBulkTransfer - $inputs.contentBulkTransfers Please ensure that you updated your environment config to reflect this change. --- .../bulk_transfers/negative_scenarios.json | 54 ++++++++++--------- .../bulk_transfers/positive_scenarios.json | 25 +++++---- 2 files changed, 44 insertions(+), 35 deletions(-) diff --git a/collections/hub/other_tests/bulk_transfers/negative_scenarios.json b/collections/hub/other_tests/bulk_transfers/negative_scenarios.json index f251771b..42918d77 100644 --- a/collections/hub/other_tests/bulk_transfers/negative_scenarios.json +++ b/collections/hub/other_tests/bulk_transfers/negative_scenarios.json @@ -1,12 +1,15 @@ { - "name": "hub-bulk-transfers-tests", + "name": "multi", "test_cases": [ { - "id": 2, + "id": 1, "name": "negative scenario - payee_abort", "meta": { "info": "negative scenario - payee_abort" }, + "fileInfo": { + "path": "hub/other_tests/bulk_transfers/negative_scenarios.json" + }, "requests": [ { "id": 1, @@ -37,14 +40,14 @@ } ] }, + "scriptingEngine": "javascript", "scripts": { "postRequest": { "exec": [ "environment[\"payerfspPositionBeforePrepare\"] = response.body[0].value" ] } - }, - "scriptingEngine": "javascript" + } }, { "id": 2, @@ -75,14 +78,14 @@ } ] }, + "scriptingEngine": "javascript", "scripts": { "postRequest": { "exec": [ "environment[\"payeefspPositionBeforePrepare\"] = response.body[0].value" ] } - }, - "scriptingEngine": "javascript" + } }, { "id": 3, @@ -100,8 +103,8 @@ "method": "post", "url": "{$inputs.HOST_BULK_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.bulkTransfers+json;version=1", - "Content-Type": "application/vnd.interoperability.bulkTransfers+json;version=1.0", + "Accept": "{$inputs.acceptBulkTransfers}", + "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$environment.headerDate}", "FSPIOP-Source": "testingtoolkitdfsp", "FSPIOP-Destination": "noresponsepayeefsp" @@ -285,8 +288,8 @@ }, "url": "{$inputs.HOST_BULK_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.bulkTransfers+json;version=1", - "Content-Type": "application/vnd.interoperability.bulkTransfers+json;version=1.0", + "Accept": "{$inputs.acceptBulkTransfers}", + "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$environment.headerDate}", "FSPIOP-Source": "testingtoolkitdfsp", "FSPIOP-Destination": "switch" @@ -349,6 +352,8 @@ ] }, "ignoreCallbacks": false, + "scriptingEngine": "javascript", + "delay": "1000", "scripts": { "postRequest": { "exec": [ @@ -360,9 +365,7 @@ "" ] } - }, - "scriptingEngine": "javascript", - "delay": "1000" + } }, { "id": 7, @@ -442,11 +445,14 @@ ] }, { - "id": 3, + "id": 2, "name": "negative scenario - partial fulfil", "meta": { "info": "negative scenario - partial fulfil" }, + "fileInfo": { + "path": "hub/other_tests/bulk_transfers/negative_scenarios.json" + }, "requests": [ { "id": 3, @@ -464,8 +470,8 @@ "method": "post", "url": "{$inputs.HOST_BULK_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.bulkTransfers+json;version=1", - "Content-Type": "application/vnd.interoperability.bulkTransfers+json;version=1.0", + "Accept": "{$inputs.acceptBulkTransfers}", + "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", "FSPIOP-Destination": "payeefsp" @@ -767,6 +773,7 @@ "name": "testingtoolkitdfsp" }, "path": "/bulkTransfers", + "scriptingEngine": "javascript", "scripts": { "preRequest": { "exec": [ @@ -799,8 +806,7 @@ "}" ] } - }, - "scriptingEngine": "javascript" + } }, { "id": 5, @@ -823,8 +829,8 @@ }, "url": "{$inputs.HOST_BULK_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.bulkTransfers+json;version=1", - "Content-Type": "application/vnd.interoperability.bulkTransfers+json;version=1.0", + "Accept": "{$inputs.acceptBulkTransfers}", + "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "payeefsp", "FSPIOP-Destination": "switch" @@ -911,6 +917,7 @@ ] }, "ignoreCallbacks": true, + "scriptingEngine": "javascript", "scripts": { "postRequest": { "exec": [ @@ -926,8 +933,7 @@ "}" ] } - }, - "scriptingEngine": "javascript" + } }, { "id": 6, @@ -950,8 +956,8 @@ }, "url": "{$inputs.HOST_BULK_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.bulkTransfers+json;version=1", - "Content-Type": "application/vnd.interoperability.bulkTransfers+json;version=1.0", + "Accept": "{$inputs.acceptBulkTransfers}", + "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", "FSPIOP-Destination": "switch" diff --git a/collections/hub/other_tests/bulk_transfers/positive_scenarios.json b/collections/hub/other_tests/bulk_transfers/positive_scenarios.json index 8df0a7e1..04073f08 100644 --- a/collections/hub/other_tests/bulk_transfers/positive_scenarios.json +++ b/collections/hub/other_tests/bulk_transfers/positive_scenarios.json @@ -1,5 +1,5 @@ { - "name": "hub-bulk-transfers-tests", + "name": "multi", "test_cases": [ { "id": 1, @@ -7,6 +7,9 @@ "meta": { "info": "positive scenario - fulfil" }, + "fileInfo": { + "path": "hub/other_tests/bulk_transfers/positive_scenarios.json" + }, "requests": [ { "id": 3, @@ -24,8 +27,8 @@ "method": "post", "url": "{$inputs.HOST_BULK_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.bulkTransfers+json;version=1", - "Content-Type": "application/vnd.interoperability.bulkTransfers+json;version=1.0", + "Accept": "{$inputs.acceptBulkTransfers}", + "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", "FSPIOP-Destination": "payeefsp" @@ -362,6 +365,7 @@ "name": "testingtoolkitdfsp" }, "path": "/bulkTransfers", + "scriptingEngine": "javascript", "scripts": { "preRequest": { "exec": [ @@ -394,8 +398,7 @@ "}" ] } - }, - "scriptingEngine": "javascript" + } }, { "id": 5, @@ -418,8 +421,8 @@ }, "url": "{$inputs.HOST_BULK_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.bulkTransfers+json;version=1", - "Content-Type": "application/vnd.interoperability.bulkTransfers+json;version=1.0", + "Accept": "{$inputs.acceptBulkTransfers}", + "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "payeefsp", "FSPIOP-Destination": "switch" @@ -508,6 +511,7 @@ ] }, "ignoreCallbacks": true, + "scriptingEngine": "javascript", "scripts": { "postRequest": { "exec": [ @@ -523,8 +527,7 @@ "}" ] } - }, - "scriptingEngine": "javascript" + } }, { "id": 6, @@ -547,8 +550,8 @@ }, "url": "{$inputs.HOST_BULK_ADAPTER}", "headers": { - "Accept": "application/vnd.interoperability.bulkTransfers+json;version=1", - "Content-Type": "application/vnd.interoperability.bulkTransfers+json;version=1.0", + "Accept": "{$inputs.acceptBulkTransfers}", + "Content-Type": "{$inputs.contentBulkTransfers}", "Date": "{$function.generic.curDate}", "FSPIOP-Source": "testingtoolkitdfsp", "FSPIOP-Destination": "switch"