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(ime-5): extension list caching changes #530

Merged
merged 3 commits into from
Jan 21, 2025
Merged

feat(ime-5): extension list caching changes #530

merged 3 commits into from
Jan 21, 2025

Conversation

Ujjwal-Izyane
Copy link
Contributor

  • ime-412:update cache set function to include ttl for keys

  • ime-416: add redisCacheTtl as env variable for ttl

  • ime-396: add modifyDataForUi function to OutboundTransfersModel

  • chore: Update @mojaloop/ml-schema-transformer-lib version to v2.5.0

  • ime-396: update outboundtransfersmodel to not cache extensionlist for UI


* chore: add log statements for debugging

* ime-392:save the cache in fspiop form for payer side

* ime-392:save the cache in fspiop form for inboundModel

* ime-392:remove unused logs and variables

* ime-406: stringify json payload for the experience api

* ime-412:update cache set function to include ttl for keys

* ime-416: add redisCacheTtl as env variable for ttl

* ime-396: add modifyDataForUi function to OutboundTransfersModel

* chore: Update @mojaloop/ml-schema-transformer-lib version to v2.5.0

* ime-396: update outboundtransfersmodel to not cache extensionlist for UI

---------

Co-authored-by: v3-Panwar-Ujjwal <[email protected]>
Copy link
Collaborator

@kleyow kleyow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 nits

@kleyow
Copy link
Collaborator

kleyow commented Jan 21, 2025

addressed some nits. merging.

@kleyow kleyow merged commit 55ef1f1 into minor/iso Jan 21, 2025
15 checks passed
@kleyow kleyow deleted the feat/ime-5 branch January 21, 2025 21:04
kleyow added a commit that referenced this pull request Jan 27, 2025
* feat(3618): added support for POST /fxQuotes and /fxTransfers inbound requests (#458)

* feat(3618): added support for POST /fxQuotes and /fxTransfers inbound requests

* feat(3618): added support for POST /fxQuotes and /fxTransfers inbound requests

* feat(3618): ignored some vulnerabilities

* feat(3618): added unit-test for postFxQuote model

* feat(3618): added unit-test for postFxQuote model

* feat(3618): added unit-tests for postFxTransfers method

* feat(3618): added FX endpoints to .env

* chore(snapshot): 20.7.0-snapshot.2

* feat(3618): updated @mojaloop/central-services-shared version to support FX resources

* chore(snapshot): 20.7.0-snapshot.3

* feat(3618): disabled @mojaloop/central-services-shared"downgrading" from snapshot version (by dep:update)

* chore(snapshot): 20.7.0-snapshot.4

* feat(3618): added ilp unit-test;  updated Ilp version

* chore(snapshot): 20.7.0-snapshot.5

* feat(3618): updated ilp packet version (with amount)

* chore(snapshot): 20.7.0-snapshot.6

* feat(3618): added extractBodyHeadersSourceFspId()

* add cache implementationf or fxquote

* validate cache on conversionId

* lint

* feat(3618): reverted 3 last commits

---------

Co-authored-by: Aaron Reynoza <[email protected]>

* feat(mojaloop/#3655): add support for parties supportedcurrencies & kyc (#459)

* feat: add support for parties supportedcurrencies & kyc

* dep updates and fix unit tests

* update vulnerability check

* move supportedCurrencies to inbound server

* lint

* fix: func tests

* fix: func tests

* feat: refactored

* fix: func tests

* fix: func tests

* fix: add fx func test

* fix: test

* fix: test

* fix: deps

---------

Co-authored-by: Vijay <[email protected]>

* fix: unit test

* chore(snapshot): 23.2.0-snapshot.0

* feat(3654): added FX States and Transitions for OutboundTransfersModel;  small refactoring (#460)

* feat(3618): added support for POST /fxQuotes and /fxTransfers inbound requests

* feat(3618): added support for POST /fxQuotes and /fxTransfers inbound requests

* feat(3618): ignored some vulnerabilities

* feat(3618): added unit-test for postFxQuote model

* feat(3618): added unit-test for postFxQuote model

* feat(3618): added unit-tests for postFxTransfers method

* feat(3618): added FX endpoints to .env

* chore(snapshot): 20.7.0-snapshot.2

* feat(3618): updated @mojaloop/central-services-shared version to support FX resources

* chore(snapshot): 20.7.0-snapshot.3

* feat(3618): disabled @mojaloop/central-services-shared"downgrading" from snapshot version (by dep:update)

* chore(snapshot): 20.7.0-snapshot.4

* feat(3618): added ilp unit-test;  updated Ilp version

* chore(snapshot): 20.7.0-snapshot.5

* feat(3618): updated ilp packet version (with amount)

* chore(snapshot): 20.7.0-snapshot.6

* feat(3654): added FX States and Transitions for OutboundTransfersModel;  small refactoring

* feat(3654): added ErrorMessages; updated deps

* feat(3654): added fxQuote step to outbound model; added inbound fxQuotes handler (#461)

* feat(3618): added support for POST /fxQuotes and /fxTransfers inbound requests

* feat(3618): added support for POST /fxQuotes and /fxTransfers inbound requests

* feat(3618): ignored some vulnerabilities

* feat(3618): added unit-test for postFxQuote model

* feat(3618): added unit-test for postFxQuote model

* feat(3618): added unit-tests for postFxTransfers method

* feat(3618): added FX endpoints to .env

* chore(snapshot): 20.7.0-snapshot.2

* feat(3618): updated @mojaloop/central-services-shared version to support FX resources

* chore(snapshot): 20.7.0-snapshot.3

* feat(3618): disabled @mojaloop/central-services-shared"downgrading" from snapshot version (by dep:update)

* chore(snapshot): 20.7.0-snapshot.4

* feat(3618): added ilp unit-test;  updated Ilp version

* chore(snapshot): 20.7.0-snapshot.5

* feat(3618): updated ilp packet version (with amount)

* chore(snapshot): 20.7.0-snapshot.6

* feat(3654): added FX States and Transitions for OutboundTransfersModel;  small refactoring

* feat(3654): added ErrorMessages; updated deps

* feat(3654): added fxQuote step to outbound model

* feat(3654): added fxQuotes inbound handler

* fix: fxquotes

---------

Co-authored-by: Vijay <[email protected]>

* feat(3654): added fxTransfer flow (#462)

* feat(3618): added support for POST /fxQuotes and /fxTransfers inbound requests

* feat(3618): added support for POST /fxQuotes and /fxTransfers inbound requests

* feat(3618): ignored some vulnerabilities

* feat(3618): added unit-test for postFxQuote model

* feat(3618): added unit-test for postFxQuote model

* feat(3618): added unit-tests for postFxTransfers method

* feat(3618): added FX endpoints to .env

* chore(snapshot): 20.7.0-snapshot.2

* feat(3618): updated @mojaloop/central-services-shared version to support FX resources

* chore(snapshot): 20.7.0-snapshot.3

* feat(3618): disabled @mojaloop/central-services-shared"downgrading" from snapshot version (by dep:update)

* chore(snapshot): 20.7.0-snapshot.4

* feat(3618): added ilp unit-test;  updated Ilp version

* chore(snapshot): 20.7.0-snapshot.5

* feat(3618): updated ilp packet version (with amount)

* chore(snapshot): 20.7.0-snapshot.6

* feat(3654): added FX States and Transitions for OutboundTransfersModel;  small refactoring

* feat(3654): added ErrorMessages; updated deps

* feat(3654): added fxQuote step to outbound model

* feat(3654): added fxQuotes inbound handler

* feat(3654): added fxTransfer flow

* feat(3654): added fxTransfer flow

* fix: lint

* chore(snapshot): 23.2.0-snapshot.1

* fix: deps

* chore(snapshot): 23.2.0-snapshot.2

---------

Co-authored-by: Vijay <[email protected]>

* feat(3654): added subscribeToOneMessageWithTimer(); simplified FX handlers; added e2e unit-test (#463)

* feat(3654): added cache.subscribeToOneMessageWithTimer();  simplified FX handlers

* feat(3654): added e2e FX transfer unit test

* feat(3654): added e2e FX transfer unit test

* feat(3654): fixed POST /quotes payload.amount for FX

* chore(snapshot): 23.2.0-snapshot.3

* feat(mojaloop/#3689): fx quotes changes (#469)

* feat(TestServer): add getFxQuoteQuoteById endpoint

* chore(snapshot): 23.2.0-snapshot.4

* feat(3784): updated deps

* feat(3784): updated deps

* feat(3784): updated @mojaloop/central-services-shared version

* feat(3784): updated @mojaloop/sdk-standard-components version

* chore: update enabled checks

* feat(3784): updated @mojaloop/sdk-standard-components version to v18.1.0-snapshot.0

* chore(snapshot): 23.5.0-snapshot.0

* chore(snapshot): 23.2.0-snapshot.5

* chore(snapshot): 23.2.0-snapshot.6

* fix: oauth tls

* chore(snapshot): 23.5.0-snapshot.1

* fix: audit

* chore(snapshot): 23.5.0-snapshot.2

* fix: fx jws

* chore(snapshot): 23.5.0-snapshot.3

* chore(snapshot): 23.5.0-snapshot.4

* feat: configurable generation of ids (#484)

* chore(mojaloop/#3909): add unit tests for fx flow (#488)

* chore(mojaloop/#3909): add unit tests for fx flow

* audit

* update harness

* update harness

* update func harness verisons

* chore(snapshot): 20.7.0-snapshot.17

* fix

* audit

* chore(snapshot): 23.6.0-snapshot.0

* chore(mojaloop/#3909): update func test harness and add fx sdk tests (#489)

* chore(mojaloop/#3909): add func tests for fx sdk functionality

* chore: fix fx test

* chore: clean up ttk setup

* revert spec and add config to dto

* revert

* bump client lib

* unit

* add error test cases

* yarn lock

* remove unneed specs

* save report

* remove hub unneeded specs

* fix: fx quotes error

* fix: deps

* chore(snapshot): 23.6.0-snapshot.1

* fix(csi-498): added logs to incoming requests (#491)

* fix(csi-498): added logs to incoming requests

* fix(csi-498): added logs to incoming requests

* fix(csi-498): added logs to incoming requests

* fix(csi-498): added logs to incoming requests

* fix(csi-498): added logs to incoming requests

* chore(snapshot): 23.6.0-snapshot.2

* fix(csi-498): updated central-services-shared version

* chore(snapshot): 23.6.0-snapshot.3

* chore(snapshot): 23.6.0-snapshot.4

* fix(csi-532): added logs for restarting (#492)

* fix(csi-532): added logs for restarting

* chore(snapshot): 23.6.0-snapshot.4

* fix(csi-532): added logs for restarting

* chore(snapshot): 23.6.0-snapshot.5

* fix(csi-532): improved BackendRequests logging

* chore(snapshot): 23.6.0-snapshot.6

* fix(csi-532): added OutboundTransfersModel logs with tls.creds

* chore(snapshot): 23.6.0-snapshot.7

* fix(csi-532): improved ControlAgent closing logic

* fix(csi-532): improved ControlAgent closing logic

* chore(snapshot): 23.6.0-snapshot.8

* fix(csi-532): updated deps

* fix(csi-532): updated deps

* fix: new public jws keys hot reload (#494)

* fix: jws keys update

* chore: deps

* chore: cleanup

* chore(snapshot): 23.6.0-snapshot.9

* chore(snapshot): 23.6.0-snapshot.10

* chore(snapshot): 23.6.0-snapshot.11

* fix: memory leaks (#497)

* chore(snapshot): 23.6.0-snapshot.12

* chore(snapshot): 23.6.0-snapshot.13

* chore(snapshot): 23.6.0-snapshot.14

* fix: empty supported currencies (#495)

* chore(snapshot): 23.6.0-snapshot.15

* feat: add ULID support (#499)

* feat: IME 115 ADD patch fx transfer (#498)

* Add determining transfer id to fxQuoteRequest

* Add patchFxTransfers to InboundServer handlers

* Rename sendNotificationToBackend to sendFxPatchNotificationToBackend

* Add unit test for PATCH fxTransfers of InboundApi

* Add unit test for sendFxPatchNotificationToBackend of InboundTransferModel

* fix: unit test

* fix: unit test , update:mock data for sendFxPatchNotificationToBackend

---------

Co-authored-by: v3-Panwar-Ujjwal <[email protected]>
Co-authored-by: Vijay <[email protected]>

* fix: sonar security hot spots

* Fix many broken things after updating deps as required by commit hooks.

* attempt to fix python3 missing distutil issue for node gyp

* attempt to fix python3 missing distutil issue for node gyp

* attempt to fix python3 missing distutil issue for node gyp

* attempt to fix python3 missing distutil issue for node gyp

* attempt to fix python3 missing distutil issue for node gyp

* attempt to fix python3 missing distutil issue for node gyp

* bump deps yet again to fix whining ci.

* bump deps yet again to fix whining ci.

* bump deps yet again to fix whining ci.

* add exceptions to audit temporarily

* outbound ISO20022 translation working for all three phases

* inbound translation from iso20022 to fspiop for parties, quotes and transfers working.

* add ILP version switch to config.

* feat(csi-194): updated deps; fixed unit-tests

* feat(csi-110): updated deps

* feat(csi-110): fixed unit tests

* feat(csi-110): fixed unit tests

* feat(csi-110): updated deps

* feat(csi-110): added ilpFactory

* feat(csi-110): made Inbound handlers dynamically detect API_TYPE and ILP version

* chore: add context for iso put quote/post transfer

* feat(csi-110): added transformation for ISO POST fxQuotes/fxTransfers

* feat(csi-110): added transformation for ISO error callbacks

* chore(snapshot): 23.6.0-snapshot.17

* chore(snapshot): 23.6.0-snapshot.18

* feat(csi-110): fixed headers and body validation for ISO requests

* chore(snapshot): 23.6.0-snapshot.19

* feat(csi-110): updated sdk-standard-components version

* chore(snapshot): 23.6.0-snapshot.20

* feat(csi-110): updated ml-schema-transformer-lib

* chore(snapshot): 23.6.0-snapshot.21

* feat(csi-110): updated ml-schema-transformer-lib

* chore(snapshot): 23.6.0-snapshot.22

* feat(csi-110): updated ml-schema-transformer-lib

* chore(snapshot): 23.6.0-snapshot.23

* feat(csi-110): updated ml-schema-transformer-lib

* chore(snapshot): 23.6.0-snapshot.24

* feat(csi-110): updated ml-schema-transformer-lib and sdk-standard-components

* chore(snapshot): 23.6.0-snapshot.25

* feat(csi-110): updated ml-schema-transformer-lib and sdk-standard-components

* chore(snapshot): 23.6.0-snapshot.26

* chore: store fspiop payloads for websocket test server (#505)

* chore: update deps

* chore: store fspiop payloads for websocket test server

* chore: lock

* chore: update post transfers to use original put iso quote as context

* chore: unit tests

* chore(snapshot): 23.6.0-snapshot.27

* feat: transform iso headers for test server fspiop payload (#507)

* chore: update deps (#508)

* chore(snapshot): 23.6.0-snapshot.29

* chore(snapshot): 23.6.0-snapshot.30

* chore(csi-110): fixed ILP creation logic (#506)

* chore(csi-110): fixed ILP creation logic

* chore(csi-110): fixed ILP creation logic

* chore(snapshot): 23.6.0-snapshot.31

* chore: test server fix (#509)

* fix: inbound /transactionRequests with only FSPIOP header (#510)

* fix: inbound /transactionRequests with only FSPIOP header

* fix: inbound /transactionRequests with only FSPIOP header

* chore(snapshot): 23.6.0-snapshot.32

* chore(snapshot): 23.6.0-snapshot.33

* chore: start using the mojaloop/build orb (#511)

* chore(release): [ci skip] 23.6.0-iso.0

* fix: updated sdk-standard-components

* chore(release): [ci skip] 23.6.0-iso.1

* fix: put-transaction-requests-callback (#512)

* chore(release): [ci skip] 23.6.0-iso.2

* chore: updated deps

* chore(release): [ci skip] 23.6.0-iso.3

* feat(csi-128): updated sdk-standard-components with axios impl.; fixed unit-tests (#513)

* feat(csi-128): updated sdk-standard-components with axios impl.; fixed unit-tests

* feat(csi-128): added logs to artifacts in CI

* feat(csi-128): added logs to artifacts in CI

* feat(csi-128): added NODE_TLS_REJECT_UNAUTHORIZED=0

* feat(csi-128): updated sdk-standard-components with agent field

* feat(csi-128): added NODE_TLS_REJECT_UNAUTHORIZED=0

* feat(csi-128): updated sdk components

* feat(csi-128): added log on start

* feat(csi-128): updated sdk components

* feat(csi-128): updated sdk components with httpConfig

* feat(csi-128): removed NODE_TLS_REJECT_UNAUTHORIZED env var

* feat(csi-128): disabled coverageThreshold for outbound handlers

* feat(csi-128): updated sdk-components with retry logic

* feat(csi-128): fixed BR.sendRequest error handling

* feat(csi-128): clean up

* chore(snapshot): 23.6.0-snapshot.0

* chore(snapshot): 23.6.0-snapshot.1

* chore(snapshot): 23.7.0-snapshot.0

* feat(csi-128): skipped test coverage check for outbound handlers

* chore(snapshot): 23.7.0-snapshot.1

* feat(csi-128): updated deps

* feat(csi-128): reverted iso version

* feat(csi-128): reverted iso version

* feat(csi-128): added audit:check to pre-commit

* feat(csi-128): updated deps

* chore(release): [ci skip] 23.6.0-iso.4

* feat(csi-303): added support for FX transfer RECEIVE type (#516)

* feat(csi-128): updated sdk-standard-components with axios impl.; fixed unit-tests

* feat(csi-128): added logs to artifacts in CI

* feat(csi-128): added logs to artifacts in CI

* feat(csi-128): added NODE_TLS_REJECT_UNAUTHORIZED=0

* feat(csi-128): updated sdk-standard-components with agent field

* feat(csi-128): added NODE_TLS_REJECT_UNAUTHORIZED=0

* feat(csi-128): updated sdk components

* feat(csi-128): added log on start

* feat(csi-128): updated sdk components

* feat(csi-128): updated sdk components with httpConfig

* feat(csi-128): removed NODE_TLS_REJECT_UNAUTHORIZED env var

* feat(csi-128): disabled coverageThreshold for outbound handlers

* feat(csi-128): updated sdk-components with retry logic

* feat(csi-128): fixed BR.sendRequest error handling

* feat(csi-128): clean up

* chore(snapshot): 23.6.0-snapshot.0

* chore(snapshot): 23.6.0-snapshot.1

* chore(snapshot): 23.7.0-snapshot.0

* feat(csi-128): skipped test coverage check for outbound handlers

* chore(snapshot): 23.7.0-snapshot.1

* feat(csi-303): added support for FX transfer RECEIVE type

* feat(csi-303): updated transform lib

* feat(csi-303): added pre-push hook

* feat(csi-303): added pre-push hook

* feat(csi-303): fixed func. tests

* feat(csi-303): fixed func. tests

* feat(csi-303): added func. test for transfer RECEIVE type

* chore(release): [ci skip] 23.6.0-iso.5

* fix: participants not working (#517)

* fix: participants api type

* fix: audit issues

* fix: test

* chore: update deps

* chore(release): [ci skip] 23.6.0-iso.6

* feat(csi-303): added RESOURCE_VERSIONS_STRING (#519)

* feat(csi-303): added RESOURCE_VERSIONS_STRING

* feat(csi-303): added RESOURCE_VERSIONS_STRING

* chore(snapshot): 23.6.0-snapshot.0

* chore(snapshot): 23.6.0-snapshot.1

* chore(snapshot): 23.6.0-snapshot.2

* feat(csi-303): added RESOURCE_VERSIONS_STRING

* chore(release): [ci skip] 23.6.0-iso.7

* fix: participant resource versions

* chore(release): [ci skip] 23.6.0-iso.8

* feat(csi-927): excluded internal routes from logging (#522)

* feat(csi-927): excluded internal routes from logging

* feat(csi-927): excluded internal routes from logging

* feat(csi-927): excluded internal routes from logging

* chore(release): [ci skip] 23.6.0-iso.9

* fix(csi-1023): used updated api-snippets (#523)

* chore(release): [ci skip] 23.6.0-iso.10

* feat: allow optional dfspId to be in the endpoint path (#526)

* chore(release): [ci skip] 23.6.0-iso.11

* feat: allow optional dfspId to be in the endpoint path (#528)

* chore(release): [ci skip] 23.6.0-iso.12

* fix: handle multiDfsp

* chore(release): [ci skip] 23.6.0-iso.13

* feat(ime-306): fix experience api crashing issue (#525)

* chore: add log statements for debugging (#520)

Co-authored-by: v3-Panwar-Ujjwal <[email protected]>

* feat(ime-392): disable iso cache (#524)

* chore: add log statements for debugging

* ime-392:save the cache in fspiop form for payer side

* ime-392:save the cache in fspiop form for inboundModel

* ime-392:remove unused logs and variables

* ime-406: stringify json payload for the experience api

* Update advisories

* ime-465: remove json stringify from sdk before caching

* chore: update package versions

* chore: update yarn.lock

---------

Co-authored-by: v3-Panwar-Ujjwal <[email protected]>
Co-authored-by: Nguni Phakela <[email protected]>

* chore: update yarn.lock and dependencies

---------

Co-authored-by: v3-Panwar-Ujjwal <[email protected]>
Co-authored-by: Nguni Phakela <[email protected]>

* chore(release): [ci skip] 23.6.0-iso.14

* chore: dep update

* chore(release): [ci skip] 23.6.0-iso.15

* chore: add build phase script to package.json

* chore(release): [ci skip] 23.6.0-iso.16

* feat(ime-5): extension list caching changes (#530)

* feat!: extension list caching changes (#529)

* chore: add log statements for debugging

* ime-392:save the cache in fspiop form for payer side

* ime-392:save the cache in fspiop form for inboundModel

* ime-392:remove unused logs and variables

* ime-406: stringify json payload for the experience api

* ime-412:update cache set function to include ttl for keys

* ime-416: add redisCacheTtl as env variable for ttl

* ime-396: add modifyDataForUi function to OutboundTransfersModel

* chore: Update @mojaloop/ml-schema-transformer-lib version to v2.5.0

* ime-396: update outboundtransfersmodel to not cache extensionlist for UI

---------

Co-authored-by: v3-Panwar-Ujjwal <[email protected]>

* chore: address nits

* chore: address nits

---------

Co-authored-by: v3-Panwar-Ujjwal <[email protected]>
Co-authored-by: Kevin Leyow <[email protected]>

* chore(release): [ci skip] 23.6.0-iso.17

* chore: address comments

* chore: address comments

* chore: lock

* chore: lock

* chore(release): [ci skip] 23.6.0-iso.18

* fix: restore mem leak fix #497

* chore(release): [ci skip] 23.6.0-iso.19

* chore: address comments

* chore: why is test failing again?

* chore: fix?

* chore: update snippets with reordered resources

* chore: give down more time

* chore: fix

* chore(release): [ci skip] 23.6.0-iso.20

* chore: add message on close

* chore lockfile

* chore(release): [ci skip] 23.6.0-iso.21

* chore: tin foil hat

* chore(release): [ci skip] 23.6.0-iso.22

* chore: tin foil hat

* chore: tin foil hat

* chore(release): [ci skip] 23.6.0-iso.23

* chore: tin foil hat

* chore(release): [ci skip] 23.6.0-iso.24

* chore: address comments

* chore(release): [ci skip] 23.6.0-iso.25

---------

Co-authored-by: Eugen Klymniuk <[email protected]>
Co-authored-by: Aaron Reynoza <[email protected]>
Co-authored-by: Vijay <[email protected]>
Co-authored-by: Steven Oderayi <[email protected]>
Co-authored-by: geka.evk <[email protected]>
Co-authored-by: Kalin Krustev <[email protected]>
Co-authored-by: vijayg10 <[email protected]>
Co-authored-by: Ujjwal-Izyane <[email protected]>
Co-authored-by: v3-Panwar-Ujjwal <[email protected]>
Co-authored-by: bushj <[email protected]>
Co-authored-by: mojaloopci <[email protected]>
Co-authored-by: Nguni Phakela <[email protected]>
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.

2 participants