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/#2538): fspiop api version negotiation not handled #67

Conversation

mdebarros
Copy link
Member

@mdebarros mdebarros commented Nov 17, 2021

  • fix(mojaloop/#2538): fspiop api version negotiation not handled - FSPIOP API version negotiation not handled - Bulk-api-adapter project#2538

    • 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
    • BKAPI_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
  • chore: added automated ci-cd release configs for circleci

    • updated circleci config
    • added standard-version dependency and release script to package.json
  • chore: changed circleci config to use the commit sha1 instead of package checksum to fix caching issues

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.

- fix(mojaloop/#2538): fspiop api version negotiation not handled - mojaloop/project#2538
    - 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
    - BKAPI_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.
- updated central-object-store to object-store-lib, and aligned imports in code
- updated all dependencies
- fixed audit issues
- updated circleci config
- added standard-version dependency and release script to package.json
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