project icon indicating copy to clipboard operation
project copied to clipboard

Testing of all phases with pm4ml (TTK verison)

Open zarchituntw opened this issue 11 months ago • 4 comments

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

zarchituntw avatar Mar 07 '24 13:03 zarchituntw

Discovery phase: Payer TTK PUT /parties image.png

Payee TTK PUT /parties image.png

myo-min-htet avatar Mar 07 '24 14:03 myo-min-htet

Ko @myo-min-htet , could you please add the "Conversion Phase" test results as well? Thank you!

zarchituntw avatar Mar 08 '24 09:03 zarchituntw

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. image.png

myo-min-htet avatar Mar 11 '24 08:03 myo-min-htet

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 image.png

Callback image (1).png

At Requester side image (2).png

ZweHMyat avatar Mar 19 '24 08:03 ZweHMyat