project
project copied to clipboard
Testing of all phases with pm4ml (TTK verison)
This ticket's purpose is to record the compatibility testing results of new FX implementation in vnext core with TTK version (currently FX implementation is ready in TTK only)
Acceptance Criteria
- [x] Discovery Phase - Verify that the new changes can be tested with TTK
- [x] Conversion Phase - Verify that the new changes can be tested with TTK
- [x] Agreement Phase(POST /fxQuotes) - Verify that the new changes can be tested with TTK
- [ ] Regular Agreement Phase(POST /quotes) for FX process - Verify that the new changes can be tested with TTK
- [ ] Transfer Phase - Verify that the new changes can be tested with TTK
Discovery phase:
Payer TTK PUT /parties
Payee TTK PUT /parties
Ko @myo-min-htet , could you please add the "Conversion Phase" test results as well? Thank you!
GET /services/FXP
I called with the following curl to FSPIOP service:
curl --location 'http://localhost:4000/services/fxp'
--header 'accept: application/vnd.interoperability.services+json;version=1.0'
--header 'content-type: application/vnd.interoperability.services+json;version=1.0'
--header 'date: 2024-02-19T09:39:10.258Z'
--header 'x-forwarded-for;'
--header 'fspiop-source: okDollar'
--header 'fspiop-destination;'
--header 'fspiop-encryption;'
--header 'fspiop-signature;'
--header 'fspiop-uri;'
--header 'fspiop-http-method;'
I go the following respond at requester ttk.
POST /fxQuotes
I called with the following curl to FSPIOP service:
curl --location 'http://localhost:4000/fxQuotes'
--header 'content-type: application/vnd.interoperability.fxQuotes+json;version=1.0'
--header 'accept: application/vnd.interoperability.fxQuotes+json;version=1.0'
--header 'fspiop-source: demo-mfi-1'
--header 'fspiop-destination: demo-mfi-2'
--header 'date: 2024-03-15'
--data '{
"conversionRequestId": "b51ec534-ee48-4575-b6a9-ead2955b8061",
"conversionTerms": {
"conversionId": "b51ec534-ee48-4575-b6a9-ead2955b8066",
"determiningTransferId": "b51ec534-ee48-4575-b6a9-ead2955b8066",
"initiatingFsp": "demo-mfi-1",
"counterPartyFsp": "demo-mfi-2",
"amountType": "RECEIVE",
"sourceAmount": {
"currency": "EUR",
"amount": "100"
},
"targetAmount": {
"currency": "USD",
"amount": "109.43"
},
"expiration": "2024-03-21T08:38:08.699-04:00",
"charges": [
],
"extensionList": {
"extension": [
{
"key": "string",
"value": "string"
}
]
}
} }'
At FXP side
Post request
Callback
At Requester side