- GitHub issue: mojaloop/project#2382
- For breaking changes, please review the section
#7
"Breaking Changes" below. - Revisions:
Date | Revision | Description |
---|---|---|
2021-09-17 | 0 | Initial release |
- Patch bump to Mojaloop Helm Charts
- Bump to Quoting-Service Helm Chart
- Updated Quoting-Service from 12.0.6 to 12.0.10
- Bump to Account-Lookup-Service Helm Charts
- Updated Account-Lookup-Service from 11.7.0 to 11.7.7
- Included Mojaloop-Simulator helm chart changes to fix mojaloop/2405
- Added missing Kafka Consumer configs for
allow.auto.create.topics
- This may have caused some handlers to fail on startup as they cannot find the specific topic depending on their startup order - Updated MySQL configs to use UTF8 as the default character-set to support unicode-character mojaloop/2471
- Added waitForCache initContainers on the Mojaloop-Simulator's SDK-Scheme-Adapter deployment, this fixes an issue when upgrading from previous versions where the cache pod is restarted after the actual Adapter is upgraded, thereby losing connectivity to Redis - the result being that all WS subscriptions from the Test-API will be lost thereby causing GP tests to fail
- Updated Testing-Toolkit Backend statefulset to include
checksum/config
annotation containing the checksum for configMaps to ensure that pods are restarted on config changes mojaloop/2476 - Updated supported charts to include
checksum/*
annotations for configMaps and secrets - this should ensure that pods will gracefully restart if their respective config/secrets are modified
- #2264: add more robust header validation for inbound server (sdk-scheme-adapter/pull/278 closes mojaloop/2264)
- feat: added ilp packet to transfer object (sdk-scheme-adapter/pull/280)
- Central-ledger migration scripts should configure the Quote Party table to utf8 character set (central-ledger/pull/862 closes mojaloop/2480)
- Testing Toolkit:
- Added a demo friendly test runner in TTK (ml-testing-toolkit-ui/pull/115)
- TTK hosted mode: Optional JWS & mTLS (ml-testing-toolkit-ui/pull/116 and ml-testing-toolkit/pull/184 closes mojaloop/project/issues/2376)
- Provisioned payment manager api in TTK (ml-testing-toolkit/pull/182)
- feat: improved ttk inbound scripts (ml-testing-toolkit/pull/187)
- Updated Golden-Path Tests to cater for updated regex for Accented & other Unicode Characters (testing-toolkit-test-cases/pull/49, testing-toolkit-test-cases/pull/48 closes mojaloop/1452)
- Support for parameterized FspIds in TTK's Provisioning & Golden-Path Collections (testing-toolkit-test-cases/pull/50 closes mojaloop/2477)
- Several bug-fixes to SDK-Scheme-Adapter for TLS configs, and Extension-lists (sdk-scheme-adapter/pull/279)
- #2358: firstname, middlename and lastname regex not supporting myanmar script unicode strings (ml-testing-toolkit/pull/186, sdk-scheme-adapter/pull/281, account-lookup-service/pull/423, account-lookup-service/pull/425, quoting-service/pull/278, transaction-requests-service/pull/77 closes mojaloop/2358)
- #2373: Mojaloop Oracle Simulator is not correctly filtering results when SubId request param is provided (simulator/pull/230 closes mojaloop/2373)
- #2374: ALS is sending out multiple requests to participants for both Oracle records that match non-subId and subId result set (account-lookup-service/pull/424 closes mojaloop/#2374)
- 2405: Helm release v13.0.x upgrades fail after several iterations (helm/commit/7feed6fb120e4fafa2d5cbc8cd9643736750af4b closes mojaloop/2405)
- 2433: sdk-scheme-adapter v11.18.6 release failing on startup (sdk-scheme-adapter/pull/282 closes mojaloop/2433)
- 2436: SDK-Scheme-Adapter Inbound API responds incorrectly for 'Unknown URI' Error scenario (sdk-scheme-adapter/pull/283 closes mojaloop/2436)
- 2439: quoting-service model.validateQuoteRequest doesn't perform correct validation when simpleRoutingMode is TRUE (quoting-service/pull/280 closes mojaloop/2439)
- 2445: TTKs Iteration Runner on Moja1 & Moja2 fails with "Terminated" regardless on the number of Iterations configured. (ml-testing-toolkit/pull/184 closes mojaloop/2445)
- 2400: TTK demo test runner option to "import from GitHub" causing browser crash (ml-testing-toolkit-ui/pull/117 closes mojaloop/2400)
- 2470: Central-services-shared streamingProtocol encode/decode functionality working incorrectly (central-services-shared/pull/313, mojaloop/account-lookup-service/pull/428 closes mojaloop/2470)
- 2474: TTK test-cases that contain Unicode characters from Github imports are incorrectly parsed (ml-testing-toolkit-ui/pull/120, ml-testing-toolkit-ui/commit/9d2ad7c37db761672ac8c88831305e48855f8a45 closes mojaloop/2474)
- SDK-Scheme-Adapter does not publish WS notifications when Cache is restarted (sdk-scheme-adapter/pull/285 closes mojaloop/2478)
- ml-api-adapter: v11.1.6
- central-ledger: 13.12.1 -> v13.14.0
- account-lookup-service: v11.7.0 -> v11.7.7
- quoting-service: v12.0.6 -> 12.0.10
- central-settlement: v13.2.0 -> 13.4.1
- central-event-processor: v11.0.2
- bulk-api-adapter: v11.1.4
- email-notifier: v11.0.2
- als-oracle-pathfinder: v11.0.0
- transaction-requests-service: v11.1.5 -> v11.1.7
- finance-portal-ui: v10.4.3
- finance-portal-backend-service: v15.0.2
- settlement-management: v11.0.0
- operator-settlement: v11.0.0
- event-sidecar: v11.0.1
- event-stream-processor: v11.0.0-snapshot
- simulator: v11.1.3
- mojaloop-simulator: v11.4.3
- sdk-scheme-adapter: v11.17.1 -> v11.18.8
- ml-testing-toolkit: v13.2.2 -> v13.5.1
- ml-testing-toolkit-ui: v13.2.2 -> v13.5.2
- ml-api-adapter - https://github.com/mojaloop/ml-api-adapter/releases/tag/v11.1.6
- central-ledger - https://github.com/mojaloop/central-ledger/releases/tag/v13.14.0
- account-lookup-service - https://github.com/mojaloop/account-lookup-service/releases/tag/v11.7.7
- quoting-service - https://github.com/mojaloop/quoting-service/releases/tag/v12.0.10
- central-settlement- https://github.com/mojaloop/central-settlement/releases/tag/v13.4.1
- central-event-processor - https://github.com/mojaloop/central-event-processor/releases/tag/v11.0.2
- bulk-api-adapter - https://github.com/mojaloop/bulk-api-adapter/releases/tag/v11.1.4
- email-notifier - https://github.com/mojaloop/email-notifier/releases/tag/v11.0.2
- als-oracle-pathfinder - https://github.com/mojaloop/als-oracle-pathfinder/releases/tag/v11.0.0
- transaction-requests-service - https://github.com/mojaloop/transaction-requests-service/releases/tag/v11.1.7
- finance-portal-ui - https://github.com/mojaloop/finance-portal-ui/releases/tag/v10.4.3
- finance-portal-backend-service - https://github.com/mojaloop/finance-portal-backend-service/releases/tag/v15.0.2
- settlement-management - https://github.com/mojaloop/settlement-management/releases/tag/v11.0.0
- operator-settlement - https://github.com/mojaloop/operator-settlement/releases/tag/v11.0.0
- event-sidecar - https://github.com/mojaloop/event-sidecar/releases/tag/v11.0.1
- event-stream-processor - https://github.com/mojaloop/event-stream-processor/releases/v11.0.0-snapshot
- simulator - https://github.com/mojaloop/simulator/releases/tag/v11.1.3
- mojaloop-simulator - https://github.com/mojaloop/mojaloop-simulator/releases/tag/v11.4.3
- sdk-scheme-adapter - https://github.com/mojaloop/sdk-scheme-adapter/releases/tag/v11.18.8
- ml-testing-toolkit - https://github.com/mojaloop/ml-testing-toolkit/releases/tag/v13.5.1
- ml-testing-toolkit-ui - https://github.com/mojaloop/ml-testing-toolkit-ui/releases/tag/v13.5.2
- EFK: v12.0.0
- Promfana: v11.0.0
N/A
-
This release is fully compatible with prior v13.0.x releases, for Golden Path tests to fully pass you must ensure that your Central-Ledger Database has been correctly configured to support a UTF8 character-sets. Refer to the mojaloop/2471 for more information. This is due to the Golden-Path Tests enhancements to cater for updated regex for Accented & other Unicode Characters ((mojaloop/1452)[mojaloop/project#1452]). The Central-ledger v13.14.0 migration scripts will modify the Quote Party table to the utf8 character set (mojaloop/2480). If you disable the migration scripts, ensure that you make this configuration change manually prior to upgrade.
WARNING: The Migration script 500601_party-2480.js will convert the PARTY table's character-set to utf8mb4 with utf8mb4_unicode_ci collation. This cannot be undone automatically (i.e. through a rollback), but can be done manually if required. The migration script will print out the current character-set and collation as per the following example: ```bash ❯ kubectl -n moja get po| grep centralledger-service moja-centralledger-service-645dfc6674-fzpfr 1/1 Running 0 8m49s ❯ kubectl -n moja logs moja-centralledger-service-645dfc6674-fzpfr -c run-migration > @mojaloop/central-ledger@13.14.0 migrate /opt/central-ledger > run-s migrate:latest seed:run > @mojaloop/central-ledger@13.14.0 migrate:latest /opt/central-ledger > knex $npm_package_config_knex migrate:latest Working directory changed to /opt/central-ledger/config WARNING: Migration script 500601_party-2480.js is converting PARTY table to use the following character set utf8mb4 with utf8mb4_unicode_ci collation WARNING: Migration script 500601_party-2480.js - take note of the current configuration if you wish to revert= [{"character_set_name":"latin1","collation_name":"latin1_swedish_ci"}] Batch 2 run: 1 migrations > @mojaloop/central-ledger@13.14.0 seed:run /opt/central-ledger > knex seed:run $npm_package_config_knex Working directory changed to /opt/central-ledger/config Ran 23 seed files ``` However it is recommended that you check the PARTY table's character-set and collation before doing the upgrade.
-
If you have customized the TTK's configuration for
ml-testing-toolkit.extraEnvironments.hub-k8s-default-environment.json
in themojaloop/values.yaml
, note the following new inputValues have been added as part of mojaloop/1452. Ensure you add these before running the Provisioning and Golden-Path collections when running testing-toolkit-test-cases/releases/tag/v13.0.2 versions:```json "toAccentIdType": "MSISDN", "toAccentIdValue": "97039819999", "toAccentIdDOB": "2000-01-01", "toAccentIdFirstName": "Seán", "toAccentIdMiddleName": "François", "toAccentIdLastName": "Nuñez", "toAccentIdFspId": "payeefsp", "toBurmeseIdType": "MSISDN", "toBurmeseIdValue": "2224448888", "toBurmeseIdDOB": "1990-01-01", "toBurmeseIdFirstName": "ကောင်းထက်စံ", "toBurmeseIdMiddleName": "အောင်", "toBurmeseIdLastName": "ဒေါ်သန္တာထွန်", "toBurmeseIdFspId": "payeefsp", ```
-
If upgrades fail due to a similar error reported by one of the Mojaloop-Simulators' SDK-Scheme-Adapter components as follows:
```log Error: UPGRADE FAILED: cannot patch "moja-sim-payeefsp-scheme-adapter" with kind Deployment: The order in patch list: [map[name:IN_SERVER_KEY_PATH value:./secrets/inbound-key.pem] map[name:IN_SERVER_KEY_PATH value:/secrets/inbound-key.pem] map[name:OUT_CA_CERT_PATH value:/secrets/outbound-cacert.pem] map[name:OUT_CA_CERT_PATH value:./secrets/outbound-cacert.pem] map[name:OUT_CLIENT_CERT_PATH value:/secrets/outbound-cert.pem] map[name:OUT_CLIENT_CERT_PATH value:./secrets/outbound-cert.pem] map[name:OUT_CLIENT_KEY_PATH value:./secrets/outbound-key.pem] map[name:OUT_CLIENT_KEY_PATH value:/secrets/outbound-key.pem] map[name:OAUTH_CLIENT_KEY value:] map[name:OAUTH_CLIENT_SECRET value:] map[name:OAUTH_TOKEN_ENDPOINT value:]] doesn't match $setElementOrder list ``` In the above example, one can modify the `Deployment: moja-sim-payeefsp-scheme-adapter` descriptor by removing any duplicate environment variables (e.g. `IN_SERVER_KEY_PATH`, `OUT_CA_CERT_PATH`, etc), and then retrying the upgrade. This issue is related to [mojaloop/2405](https://github.com/mojaloop/project/issues/2405). This is a list of the environment variables that are most likely to be duplicated depending on your current installed configuration: * IN_CA_CERT_PATH * IN_SERVER_CERT_PATH * IN_SERVER_KEY_PATH * OUT_CA_CERT_PATH * OUT_CLIENT_CERT_PATH * OUT_CLIENT_KEY_PATH * JWS_SIGNING_KEY_PATH It was possible to have these configured by both the `mojaloop/values.yaml` and the `Helm Deployment.yaml template` itself in v13.0.1 and earlier releases - thus causing the duplicates. These are now solely configured the `mojaloop/values.yaml` as part of this release going forward.
-
It is recommended that all Mojaloop deployments are verified using the Mojaloop Testing Toolkit. More information can be found in the Mojaloop Deployment Guide.
-
The testing-toolkit-test-cases' Golden Path collections expects:
- the Quoting service operating mode to be set quoting-service.config.simple_routing_mode_enabled=true. If this is incorrectly configured, it will result in several failures in the quoting-service tests (7 expected failures). If this is disabled, ensure that you update the corresponding test-case environment variable parameter SIMPLE_ROUTING_MODE_ENABLED to match.
- the on-us transfers configuration to be disabled. The test-case environment variable parameter (ON_US_TRANSFERS_ENABLED, the same name used on postman collections) must similarly match this value.
-
Simulators
- Mojaloop-Simulator is enabled by default (six instances used).
- Ensure that correct Postman Scripts are used if you wish to test against the Mojaloop-Simulators:
- Setup Mojaloop Hub: MojaloopHub_Setup
- Setup Mojaloop Simulators for testing : MojaloopSims_Onboarding
- Golden path tests: Golden_Path_Mojaloop
- Legacy Simulators are still required and deployed by default; disabling this will cause issues since there is Account Lookup directory mocking functionality in this service.
-
This release has been tested against the following:
- Kubernetes: v1.20.6
- Nginx Ingress Controllers: 0.43.0
- Testing Toolkit Test Cases: v13.0.2
- #2119 - Idempotency for duplicate quote request
- #2322 - Helm install failing with with "medium to large" release names
- #2352 - Mojaloop Helm support for Kubernetes 1.22
- #2448 - Nginx Ingress Controller v1.0.0 is incompatible with Mojaloop Helm v13.0.x releases
- Contributing organizations: BMGF, CrossLake, ModusBox
- ModusBox: @elnyry-sam-k, @mdebarros, @vijayg10, @kleyow, @lewisdaly
Note: companies in alphabetical order