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

fix(mojaloop/#2535): fspiop api version negotiation not handled by quoting service #289

Conversation

mdebarros
Copy link
Member

@mdebarros mdebarros commented Oct 29, 2021

  • chore: updated dependencies

    • updated dependencies
    • add 'json-rules-engine' and 'eslint' to ncurc.json ignore file as they have breaking changes
    • fixed audit-resolve issues
    • added fixes for api negotiation validation
    • re-factored outgoing messages by using the in-line config
    • fixed unit tests
  • fix(mojaloop/#2535): fspiop api version negotiation not handled by quoting service - FSPIOP API version negotiation not handled - Quoting-Service project#2535

    • added getOptionsForFSPIOPHeaderValidation to the plugin configuration
    • added new config key for PROTOCOL_VERSIONS to default and integration configs
    • added DEFAULT_PROTOCOL_VERSION for backward compatibility
    • updated config and unit tests to FSPIOP v1.1 protocol version
    • QUOTE_PROTOCOL_VERSIONS__ACCEPT__VALIDATELIST can be set as follows "[ "1", "1.1"]" and it will be parsed correctly into a object
    • Added unit tests for config changes

BREAKING CHANGE: Forcing a major version change for awareness of the config changes. The LIB_RESOURCE_VERSIONS env var is now deprecated, and this is now also controlled by the PROTOCOL_VERSIONS config in the default.json. This has been done for consistency between all API services going forward and unifies the config for both inbound and outbound Protocol API validation/transformation features.

…ansfers service

- updated dependencies
- add 'json-rules-engine' and 'eslint' to ncurc.json ignore file as they have breaking changes
- fixed audit-resolve issues
- added fixes for api negotiation validation
- re-factored outgoing messages by using the in-line config
- fixed unit tests

BREAKING CHANGE: Forcing a major version change for awareness of the config changes. The `LIB_RESOURCE_VERSIONS` env var is now deprecated, and this is now also controlled by the PROTOCOL_VERSIONS config in the default.json. This has been done for consistency between all API services going forward and unifies the config for both inbound and outbound Protocol API validation/transformation features.
…LIDATELIST

- QUOTE_PROTOCOL_VERSIONS__ACCEPT__VALIDATELIST can be set as follows "[ \"1\", \"1.1\"]" and it will be parsed correctly into a object
@mdebarros mdebarros marked this pull request as ready for review October 29, 2021 10:31
@mdebarros mdebarros merged commit 737c7b4 into mojaloop:master Nov 5, 2021
mdebarros added a commit to mdebarros/quoting-service that referenced this pull request Nov 15, 2021
…oting service (mojaloop#289)

- fix(mojaloop/#2535): fspiop api version negotiation not handled by quoting service - mojaloop/project#2535
    - general fixes for quoting-service changes
mdebarros added a commit that referenced this pull request Nov 16, 2021
…oting service (#289) (#290)

- fix(mojaloop/#2535): fspiop api version negotiation not handled by quoting service - mojaloop/project#2535
    - general fixes for quoting-service changes
    - fixed unit tests to correctly load config
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.

None yet

2 participants