Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: fx and interscheme implementation #353

Merged
merged 53 commits into from
Dec 17, 2024
Merged

feat!: fx and interscheme implementation #353

merged 53 commits into from
Dec 17, 2024

Conversation

vijayg10
Copy link
Contributor

@vijayg10 vijayg10 commented Aug 29, 2024

Changes:

  • Currency Conversion (FX)
    • FxQuotes API implementation in both simple routing mode and persistent mode
    • Adjusted participants validation to accommodate FX
  • Interscheme
    • Proxy cache implementation using redis
    • Parameterize switch id
    • Adjusted participants validation to accommodate interscheme
  • Performance optimisations
    • Option to send audit and trace events directly to Kafka instead of using sidecars
    • Allowed UUID v7 in the API patterns

oderayi and others added 30 commits March 8, 2024 11:05
feat(mojaloop/#3933): update participant accounts validation
- Added validation for `supportedCurrencies` when present in `POST /quotes` request (payer DFSP must have position account for all supported currencies
- Added validation for `payeeReceiveAmount` currency when present (payee DFSP must have position account for the `payeeReceiveAmount` currency)
- Fixed error handling to prevent sending double error callbacks
- Ensure top-level tracing spans are finished correctly
- Updated integration tests harness to support new changes
- Added integration tests for the use case
- Updated dependencies and resolve audit issues
* fix: quotes validation

* chore(snapshot): 15.8.0-snapshot.22

* fix: integration test

* chore: await in promise all

* fix: lint
feat(mojaloop/#3991): add support for cross-network proxy routing (#341)
- Added proxy lib
- Added configuration for proxy
- Added unit and integration tests for proxy related functionalities
* feat(csi-334): updated proxyCache lib to use redis cluster

* chore(snapshot): 15.8.0-snapshot.33
…updated proxyCache lib; added request logging (#344)

* feat(csi-334): updated proxyCache lib; added request logging

* fix(csi-414): fixed TypeError - Cannot read properties of undefined (reading 'value')
@vijayg10 vijayg10 changed the title feat: fx impl feat: fx and interscheme implementation Sep 4, 2024
@kleyow kleyow changed the title feat: fx and interscheme implementation feat!: fx and interscheme implementation Sep 26, 2024
Dockerfile Fixed Show fixed Hide fixed
Copy link

sonarqubecloud bot commented Oct 21, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
9.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@elnyry-sam-k
Copy link
Member

A general comment: I couldn't find any changes to readme files corresponding to these updates and on the documentation repo, could only find the PR: mojaloop/documentation#434 for the fx transfers sequences but not quotes.

Please update here if these are provided elsewhere or if they're still needed.

@oderayi oderayi assigned oderayi and unassigned oderayi Dec 2, 2024
@oderayi oderayi self-assigned this Dec 17, 2024
@elnyry-sam-k
Copy link
Member

Thanks Steven, for the updates!

Few comments / questions for clarification:

  1. Is there no ILP packet being returned in the PUT /fxQuotes? to confirm, is it just the condition?
  2. There's also some/servicesrelated requests here, is the implementation for those provided here or is it just represented for context?

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
7.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@oderayi
Copy link
Contributor

oderayi commented Dec 17, 2024

Thanks Steven, for the updates!

Few comments / questions for clarification:

  1. Is there no ILP packet being returned in the PUT /fxQuotes? to confirm, is it just the condition?
  2. There's also some/servicesrelated requests here, is the implementation for those provided here or is it just represented for context?
  1. Yes, we only need condition in PUT /fxQuotes
  2. I removed services. Vijay confirmed multi-fxps is no longer implemented/supported. FXP detail is added as config in sdk-scheme-adapter.

@oderayi oderayi merged commit bc4e126 into main Dec 17, 2024
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants