You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an FSP / Mojaloop Switch
I want the sdk-scheme-adapter component to support Bulk Transfers end-points and related functionality
so that I can use it for QA and Validation of Bulk transfers (including mojaloop-simulator)
Tasks:
Analyze sdk-scheme-adapter codebase to verify bulk transfers support [@oderayi]
Bulk transfers is currently not supported in scheme-adapter
Validate if Design is needed and include if needed [@oderayi]
Design added as comment below
Implement support for bulk quotes and bulk transfers [@oderayi]
Initial Design for Bulk Transfers Support in SDK Scheme Adapter and Mojaloop Simulator
Inbound API (sdk-scheme-adapter)
The inbound API of the scheme adapter accepts and processes requests from the Switch to facilitate transfers and other operations between the Switch and the DFSP backend.
The following endpoints will be implemented to support bulk transfers:
POST /bulkQuotes
POST /bulkTransfers
Accepts and processes requests for creating new bulk transfers.
PUT /bulkTransfers/{ID}
Accepts and processess callbacks from ealier requested bulk transfers creation or information request.
PUT /bulkTransfers/{ID}/error
Accepts and processes error callbacks from ealier requested bulk transfers creation or information.
Outbound API (sdk-scheme-adapter)
The outbound API of the scheme adapter accepts and processes requests from the DFSP backend system to the Switch to facilitate transfers and other operations.
The following endpoints will be implemented to support bulk transfers:
POST /bulkQuotes
POST /bulkTransfers
Initiates a bulk transfer to payees' DFSP through the Switch. This will comprise of all the three stages involved in a transfer (namely parties lookup, quoting, and actual transfer).
This endpoint will support both synchronous and asynchronous modes to allow pausing and resuming of transfers at each stage determined by the value of respective environment variables (i.e AUTO_ACCEPT_PARTIES, AUTO_ACCEPT_QUOTES), and to allow DFSPs freedom to implement against the sdk-scheme-adapter as they see fit.
PUT /bulkTransfers/{ID}
Continues a bulk transfer previously paused at the party lookup or quoting stage.
GET /bulkTransfers/{ID}
Retireves information for a specific bulk transfer.
DFSP backend (Mojaloop Simulator)
These are inbound requests from the sdk-scheme-adapter to the DFSP backend that needs to be implemented at the DFSP backend to support bulk transfers.
The following endpoints will be implemented:
POST /bulkTransfers
Accepts and processes incoming request to transfer funds between an external account and internal accounts.
General Considerations/Note
Inbound requests are cached if the scheme adapter is running in test mode, determined by an environment variable.
Outbound request handlers set up subscriber on a pubsub queue topic per request (where applicable) to handle callback from peer.
Subscriptions are carefully unsubscribed to prevent memory leaks.
Switch-bound requests are implemented in the sdk-standard-components. New requests for the switch should be implemented there for easy maintainance.
Goal:
As an FSP / Mojaloop Switch
I want the sdk-scheme-adapter component to support Bulk Transfers end-points and related functionality
so that I can use it for QA and Validation of Bulk transfers (including mojaloop-simulator)
Tasks:
PUT /bulkTransfers/{ID} (test-api)PUT /bulkTransfers/{ID} (Outbound scheme-adapter)Local testing/validationQA - postman testsUpdate helm scripts to support changes and for deploymentDeploy on dev2 and validateAcceptance Criteria:
Pull Requests:
Follow-up:
Dependencies:
Accountability:
The text was updated successfully, but these errors were encountered: