From 9bc9b8e6bee6fe0a384c570b0b4c1063403b286e Mon Sep 17 00:00:00 2001 From: Miguel de Barros Date: Wed, 4 Aug 2021 18:55:20 +0200 Subject: [PATCH] fix: release/v13.0.1 (#445) - Upgraded Central-Settlement from v13.4.0 to v13.4.1, fixes errors when `sidecar.enabled=true` issue (https://github.com/mojaloop/project/issues/2368). - Added missing `default-sidecar.json` to Central-Settlement Template chart - Added a `.changelog` folder with release notes for v13.0.0 and v13.0.1 - Added additional "commented" values to Testing Toolkit to improve the ease of configurability - fixed issue (https://github.com/mojaloop/project/issues/2359) when running TTK deployments in "hosted" mode. - Updated Testing Toolkit v13.2.1 to v13.2.2 - Updated structure to Testing Toolkit (TTK) Backend value for `CONNECTION_MANAGER_AUTH_ENABLED` to `CONNECTION_MANAGER.AUTH_ENABLED`. --- .changelog/release-v13.0.0.md | 170 +++++++++++ .changelog/release-v13.0.1.md | 139 +++++++++ central/Chart.yaml | 2 +- central/values.yaml | 276 ++++++++++------- centralsettlement/Chart.yaml | 2 +- centralsettlement/chart-service/Chart.yaml | 2 +- .../configs/default-sidecar.json | 50 +++ .../chart-service/templates/config.yaml | 15 + .../chart-service/templates/deployment.yaml | 140 ++++----- centralsettlement/chart-service/values.yaml | 76 +++-- centralsettlement/values.yaml | 276 ++++++++++------- ml-testing-toolkit-cli/values.yaml | 2 +- ml-testing-toolkit/Chart.yaml | 2 +- ml-testing-toolkit/chart-backend/values.yaml | 2 +- ml-testing-toolkit/chart-frontend/values.yaml | 2 +- ml-testing-toolkit/values.yaml | 72 ++++- mojaloop/Chart.yaml | 2 +- mojaloop/values.yaml | 284 +++++++++++------- 18 files changed, 1064 insertions(+), 450 deletions(-) create mode 100644 .changelog/release-v13.0.0.md create mode 100644 .changelog/release-v13.0.1.md create mode 100644 centralsettlement/chart-service/configs/default-sidecar.json diff --git a/.changelog/release-v13.0.0.md b/.changelog/release-v13.0.0.md new file mode 100644 index 000000000..86fa69e26 --- /dev/null +++ b/.changelog/release-v13.0.0.md @@ -0,0 +1,170 @@ +## Helm release notes +1. GitHub issue: https://github.com/mojaloop/project/issues/2151 +2. For breaking changes, please review the section `#7` "Breaking Changes" below. +3. Revisions: + +Date | Revision | Description +---------|----------|--------- + 2021-06-29 | 0 | Initial release - https://github.com/mojaloop/helm/pull/436 https://github.com/mojaloop/helm/pull/440 + 2021-07-02 | 1 | Maintenance fixes - https://github.com/mojaloop/helm/pull/441 + 2021-07-12 | 1 | Updated release notes with two additional known issues - [#2325](https://github.com/mojaloop/project/issues/2325) [#2342](https://github.com/mojaloop/project/issues/2342) + +### 1. Maintenance updates + +1. fix(release): v13.0.0-release.1: + - Upgraded event-stream-processor from v9.5.0 to v11.0.0 + +### 2. New Features + +1. Default SettlementModel feature is now supported (https://github.com/mojaloop/project/issues/2123) +2. The following are the improvements for TTK apart from bug-fixes: + +New Features + - mTLS support for websocket and outbound requests +(https://github.com/mojaloop/project/issues/2098) + - Configurable timeouts during test case execution (https://github.com/mojaloop/project/issues/2023) + - Javascript compatibility to inbound scripting (https://github.com/mojaloop/project/issues/2138) + - Ability to wait for an inbound request from the outbound scripts (https://github.com/mojaloop/project/issues/2086) + - History endpoints for getting requests and callbacks history (https://github.com/mojaloop/project/issues/2262) + - Github test collection browser in “Test Runner” (https://github.com/mojaloop/project/issues/2186) + +Feature enhancements: + - Improved inbound script logging + - Enable http and https keep alive (https://github.com/mojaloop/project/issues/2139) + - Added logs to monitoring page when the requests are going from scripts (https://github.com/mojaloop/project/issues/1797) + - Improved Collection Manager and Environment Manager components in "Test Runner" page + +### 3. Bug Fixes + +1. TTK Tests is using hard-coded USD currency [#2066](https://github.com/mojaloop/project/issues/2066) +2. GET /parties/Type/ID/SubID does not return partySubIdOrType in the body [#2102](https://github.com/mojaloop/project/issues/2102) +3. ElasticSearch ran out of disk space [#2135](https://github.com/mojaloop/project/issues/2135) +4. quoting service does not handle the partySubIdOrType in party [#2103](https://github.com/mojaloop/project/issues/2103) +5. Helm v12.1.0 pre-release Fix: Regex Validations against swagger interface spec no longer working [#2182](https://github.com/mojaloop/project/issues/2182) +6. Central Shared Services - Header validation does not take into account valid structure [#2246](https://github.com/mojaloop/project/issues/2246) +7. SDK Scheme Adapter is not accepting PUT /parties with 1.1 content-type header [#1891](https://github.com/mojaloop/project/issues/1891) +8. mojaloop-simulator helm chart template is not handling booleans logical comparisons correctly against VALIDATE_INBOUND_JWS value config [#2083](https://github.com/mojaloop/project/issues/2083) +9. mojaloop/helm - HUB_PARTICIPANT.NAME in default.json is not consistent across services [#2243](https://github.com/mojaloop/project/issues/2243) +10. Security Vulnerability : CVE-2019-19919 - Prototype Pollution [#2171](https://github.com/mojaloop/project/issues/2171) +11. InterchangeFee calculation example fails with parties with missing extensionList [#2149](https://github.com/mojaloop/project/issues/2149) +12. Central-settlements calculating amounts incorrectly for every settlementModel that matches the ledgerAccountTypeId [#2304](https://github.com/mojaloop/project/issues/2304) +13. Disabled keep-alive in TTK backend config to improve stability when executing test-case: [#2313](https://github.com/mojaloop/project/issues/2313) + +## 4. Application versions + +1. ml-api-adapter: v11.1.5 -> **v11.1.6** +2. central-ledger: v13.2.6 -> **v13.12.1** +3. account-lookup-service: v11.3.2 -> **v11.5.3** +4. quoting-service: v12.0.0 -> **v12.0.6** +5. central-settlement: v13.0.0 -> **13.2.0** +6. central-event-processor: v11.0.1 -> **v11.0.2** +7. bulk-api-adapter: v11.1.2 -> **v11.1.4** +8. email-notifier: v11.0.0 -> **v11.0.2** +9. als-oracle-pathfinder: **v11.0.0** (no change) +10. transaction-requests-service: v11.1.4 -> **v11.1.5** +11. finance-portal-ui: **v10.4.3** (no change) +12. finance-portal-backend-service: v10.5.1 -> **v15.0.2** +13. settlement-management: **v11.0.0** (no change) +14. operator-settlement: **v11.0.0** (no change) +15. event-sidecar: v11.0.0 -> **v11.0.1** +16. event-stream-processor: v9.5.0-snapshot -> **v11.0.0-snapshot** +17. simulator: v11.1.0 -> **v11.1.2** +18. mojaloop-simulator: v11.4.2 -> **v11.4.3** +19. sdk-scheme-adapter: v11.16.2 -> **v11.17.1** +20. ml-testing-toolkit: v12.0.2 -> **v12.4.2** +21. ml-testing-toolkit-ui: v12.0.2 -> **v12.2.3** + +## 5. Application release notes + +1. ml-api-adapter - https://github.com/mojaloop/ml-api-adapter/releases/tag/v11.1.6 +2. central-ledger - https://github.com/mojaloop/central-ledger/releases/tag/v13.12.1 +3. account-lookup-service - https://github.com/mojaloop/account-lookup-service/releases/tag/v11.5.3 +4. quoting-service - https://github.com/mojaloop/quoting-service/releases/tag/v12.0.6 +5. central-settlement- https://github.com/mojaloop/central-settlement/releases/tag/v13.2.0 +6. central-event-processor - https://github.com/mojaloop/central-event-processor/releases/tag/v11.0.2 +7. bulk-api-adapter - https://github.com/mojaloop/bulk-api-adapter/releases/tag/v11.1.4 +8. email-notifier - https://github.com/mojaloop/email-notifier/releases/tag/v11.0.2 +9. als-oracle-pathfinder - https://github.com/mojaloop/als-oracle-pathfinder/releases/tag/v11.0.0 +10. transaction-requests-service - https://github.com/mojaloop/transaction-requests-service/releases/tag/v11.1.5 +11. finance-portal-ui - https://github.com/mojaloop/finance-portal-ui/releases/tag/v10.4.3 +12. finance-portal-backend-service - https://github.com/mojaloop/finance-portal-backend-service/releases/tag/v15.0.2 +13. settlement-management - https://github.com/mojaloop/settlement-management/releases/tag/v11.0.0 +14. operator-settlement - https://github.com/mojaloop/operator-settlement/releases/tag/v11.0.0 +15. event-sidecar - https://github.com/mojaloop/event-sidecar/releases/tag/v11.0.1 +16. event-stream-processor - https://github.com/mojaloop/event-stream-processor/releases/v11.0.0-snapshot +17. simulator - https://github.com/mojaloop/simulator/releases/tag/v11.1.2 +18. mojaloop-simulator - https://github.com/mojaloop/mojaloop-simulator/releases/tag/v11.4.3 +19. sdk-scheme-adapter - https://github.com/mojaloop/sdk-scheme-adapter/releases/tag/v11.17.1 +20. ml-testing-toolkit - https://github.com/mojaloop/ml-testing-toolkit/releases/tag/v12.4.2 +21. ml-testing-toolkit-ui - https://github.com/mojaloop/ml-testing-toolkit-ui/releases/tag/v12.2.3 + +## 6. Operational Chart versions + +1. EFK: **v12.0.0** (no change) +2. Promfana: **v11.0.0** (no change) + +## 7. Breaking changes + +- Deployment SelectorLabels for Mojaloop-Simulator have been aligned to be best-practices to fix upgrade issues going forward: https://github.com/mojaloop/project/issues/2302. +- Default Mojaloop (mojaloop/values.yaml) Ingress config for the Mojaloop Simulator has been changed to support Nginx Ingress Controller v0.22.0+. If you are using an older version, please comment the correct ingress config: +``` +Mojaloop-simulators: + ingress: + # If you're using nginx ingress controller >= v0.22.0 set this to (/|$)(.*). Ensure that you set the `"nginx.ingress.kubernetes.io/rewrite-target": "/$2"` + # If you're using nginx ingress controller < v0.22.0 set this to an empty string or "/". Ensure that you set the `"nginx.ingress.kubernetes.io/rewrite-target": "/"` + # This affects the way your rewrite target will work. + # For more information see "Breaking changes" here: + # https://github.com/kubernetes/ingress-nginx/blob/master/Changelog.md#0220 + + ## https://kubernetes.github.io/ingress-nginx/examples/rewrite/ + # nginx.ingress.kubernetes.io/rewrite-target: '/' + # nginx.ingress.kubernetes.io/rewrite-target: '/$2' + + ## nginx ingress controller >= v0.22.0 + annotations: + nginx.ingress.kubernetes.io/rewrite-target: '/$2' + ingressPathRewriteRegex: (/|$)(.*) + + ## nginx ingress controller < v0.22.0 + # annotations: + # nginx.ingress.kubernetes.io/rewrite-target: '/' + # ingressPathRewriteRegex: "/" +``` + +### 8. Testing notes + +1. It is recommended that all Mojaloop deployments are verified using the [Mojaloop Testing Toolkit](https://docs.mojaloop.io/documentation/mojaloop-technical-overview/ml-testing-toolkit/). More information can be found in the [Mojaloop Deployment Guide](https://docs.mojaloop.io/documentation/deployment-guide). + +2. Simulators + - [Mojaloop-Simulator](https://github.com/mojaloop/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](https://github.com/mojaloop/postman/blob/v12.0.0/MojaloopHub_Setup.postman_collection.json) + - Setup Mojaloop Simulators for testing : [MojaloopSims_Onboarding](https://github.com/mojaloop/postman/blob/v12.0.0/MojaloopSims_Onboarding.postman_collection.json) + - Golden path tests: [Golden_Path_Mojaloop](https://github.com/mojaloop/postman/blob/v12.0.0/Golden_Path_Mojaloop.postman_collection.json) + - 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. + +3. The [testing-toolkit-test-cases](https://github.com/mojaloop/testing-toolkit-test-cases/releases/tag/v13.0.0)' Golden Path collections expects: + - the Quoting service operating mode to be set [quoting-service.config.simple_routing_mode_enabled](https://github.com/mojaloop/helm/blob/v13.0.0/mojaloop/values.yaml#L4664)=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](https://github.com/mojaloop/helm/blob/v13.0.0/mojaloop/values.yaml#L7420) to match. + - the [on-us transfers](https://github.com/mojaloop/helm/blob/v13.0.0/mojaloop/values.yaml#L321) configuration to be disabled. The test-case environment variable parameter ([ON_US_TRANSFERS_ENABLED](https://github.com/mojaloop/helm/blob/v13.0.0/mojaloop/values.yaml#L7423), same name used on postman collections) must similarly match this value. + +4. This release has been tested against the following: + - Kubernetes: 1.11.6; v1.20.6 + - Nginx Ingress Controllers: 0.16.2; 0.43.0 + - Testing Toolkit Test Cases: [v13.0.0](https://github.com/mojaloop/testing-toolkit-test-cases/releases/tag/v13.0.0) + +## 9. Known Issues + +1. [#2119 - Idempotency for duplicate quote request](https://github.com/mojaloop/project/issues/2119) +2. [#2322 - Helm install failing with with "medium to large" release names](https://github.com/mojaloop/project/issues/2322) +3. Tests coverage not provided for scenarios when Deferred Multilateral Net Settlement (DMLNS) and Continuous Gross Settlement (CGS) models are used on the same Switch. +4. [#2325 - Default CGS model settles also Deferred Net transfers](https://github.com/mojaloop/project/issues/2325) +5. [#2342 - ALS Admin Service DELETE API not working as expected](https://github.com/mojaloop/project/issues/2342) + + +## 10. Contributors + +- Contributing organizations: BMGF, CrossLake, ModusBox , Sybrin +- Crosslake: @lewisdaly +- ModusBox: @elnyry-sam-k , @mdebarros, @vgenev , @vijayg10, @shashi165, @kleyow, @partiallyordered +- Sybrin: @JohannWNel +_Note: companies in alphabetical order_ diff --git a/.changelog/release-v13.0.1.md b/.changelog/release-v13.0.1.md new file mode 100644 index 000000000..e52cce305 --- /dev/null +++ b/.changelog/release-v13.0.1.md @@ -0,0 +1,139 @@ +## Helm release notes +1. GitHub issue: https://github.com/mojaloop/project/issues/2343 +2. For breaking changes, please review the section `#7` "Breaking Changes" below. +3. Revisions: + +Date | Revision | Description +---------|----------|--------- + 2021-08-03 | 0 | Initial release - https://github.com/mojaloop/helm/pull/443 + +### 1. Maintenance updates + +1. feat(#2343): helm v13.0.1 release: + * Patch bump to Mojaloop Helm Charts + * Patch Bump to Central-Settlements + * Updated Central-Settlements from 13.2.0 to 13.4.1 + * Bump to Account-Lookup-Service + * Updated Account-Lookup-Service from 11.5.3 to 11.7.0 + * Bump to Testing-Toolkit Charts + * Updated Testing-Toolkit-Backend from 12.4.2 to 13.2.2 + * Updated Testing-Toolkit-UI from 12.4.2 to 13.2.2 + * Updated Testing-Toolkit-CLI from 12.4.2 to 13.2.2 + +2. Testing-Toolkit + * Provisioned new APIs (https://github.com/mojaloop/project/issues/2336) + * Central Admin API v1.0 + * Central Settlements API v2.0 + * SDK Outbound Scheme Adapter API v1.0 + * Refined callback rules + * Added Test-case definition generation functionality (https://github.com/mojaloop/project/issues/2237) + * Improvements in mobile simulator page with settlement related additions to support Deferred Multilateral Net Settlement (DMLNS) and Continuous Gross Settlement (CGS)demos + +### 2. New Features + +1. Modify switch behaviour on receipt of a GET /parties message to avoid problems with duplicates (https://github.com/mojaloop/design-authority-project/issues/79) + +### 3. Bug Fixes + +1. TTK Tests is using hard-coded USD currency [#2066](https://github.com/mojaloop/project/issues/2066) +2. Default CGS model settles also Deferred Net transfers [#2325](https://github.com/mojaloop/project/issues/2325) +3. ALS Admin Service DELETE API not working as expected [#2342](https://github.com/mojaloop/project/issues/2342) +4. Tests coverage not provided for scenarios when Deferred Multilateral Net Settlement (DMLNS) and Continuous Gross Settlement (CGS) models are used on the same Switch [#2314](https://github.com/mojaloop/project/issues/2314) +5. Central-Settlement-service is failing GP tests when enabling event-sdk sidecar [#2368](https://github.com/mojaloop/project/issues/2368) +6. Testing-Toolkit + * Test execution stops with error 'max call stack' when http outbound errors like socket hangup [#2312](https://github.com/mojaloop/project/issues/2312) + * Proper progress updates [#2331](https://github.com/mojaloop/project/issues/2331) + * Change UI to insert normalized lower case request headers [#2310](https://github.com/mojaloop/project/issues/2310) + * Add input values not working [#2329](https://github.com/mojaloop/project/issues/2329) + * Callback timeout in settings [#2330](https://github.com/mojaloop/project/issues/2330) + * Login is not working in the hosted mode [#2359](https://github.com/mojaloop/project/issues/2359) + +## 4. Application versions + +1. ml-api-adapter: **v11.1.6** +2. central-ledger: **v13.12.1** +3. account-lookup-service: v11.5.3 -> **v11.7.0** +4. quoting-service: **v12.0.6** +5. central-settlement: v13.2.0 -> **13.4.1** +6. central-event-processor: **v11.0.2** +7. bulk-api-adapter: **v11.1.4** +8. email-notifier: **v11.0.2** +9. als-oracle-pathfinder: **v11.0.0** +10. transaction-requests-service: **v11.1.5** +11. finance-portal-ui: **v10.4.3** +12. finance-portal-backend-service: **v15.0.2** +13. settlement-management: **v11.0.0** +14. operator-settlement: **v11.0.0** +15. event-sidecar: **v11.0.1** +16. event-stream-processor: **v11.0.0-snapshot** +17. simulator: **v11.1.2** +18. mojaloop-simulator: **v11.4.3** +19. sdk-scheme-adapter: **v11.17.1** +20. ml-testing-toolkit: v12.4.2 -> **v13.2.2** +21. ml-testing-toolkit-ui: v12.2.3 -> **v13.2.2** + +## 5. Application release notes + +1. ml-api-adapter - https://github.com/mojaloop/ml-api-adapter/releases/tag/v11.1.6 +2. central-ledger - https://github.com/mojaloop/central-ledger/releases/tag/v13.12.1 +3. account-lookup-service - https://github.com/mojaloop/account-lookup-service/releases/tag/v11.7.0 +4. quoting-service - https://github.com/mojaloop/quoting-service/releases/tag/v12.0.6 +5. central-settlement- https://github.com/mojaloop/central-settlement/releases/tag/v13.4.1 +6. central-event-processor - https://github.com/mojaloop/central-event-processor/releases/tag/v11.0.2 +7. bulk-api-adapter - https://github.com/mojaloop/bulk-api-adapter/releases/tag/v11.1.4 +8. email-notifier - https://github.com/mojaloop/email-notifier/releases/tag/v11.0.2 +9. als-oracle-pathfinder - https://github.com/mojaloop/als-oracle-pathfinder/releases/tag/v11.0.0 +10. transaction-requests-service - https://github.com/mojaloop/transaction-requests-service/releases/tag/v11.1.5 +11. finance-portal-ui - https://github.com/mojaloop/finance-portal-ui/releases/tag/v10.4.3 +12. finance-portal-backend-service - https://github.com/mojaloop/finance-portal-backend-service/releases/tag/v15.0.2 +13. settlement-management - https://github.com/mojaloop/settlement-management/releases/tag/v11.0.0 +14. operator-settlement - https://github.com/mojaloop/operator-settlement/releases/tag/v11.0.0 +15. event-sidecar - https://github.com/mojaloop/event-sidecar/releases/tag/v11.0.1 +16. event-stream-processor - https://github.com/mojaloop/event-stream-processor/releases/v11.0.0-snapshot +17. simulator - https://github.com/mojaloop/simulator/releases/tag/v11.1.2 +18. mojaloop-simulator - https://github.com/mojaloop/mojaloop-simulator/releases/tag/v11.4.3 +19. sdk-scheme-adapter - https://github.com/mojaloop/sdk-scheme-adapter/releases/tag/v11.17.1 +20. ml-testing-toolkit - https://github.com/mojaloop/ml-testing-toolkit/releases/tag/v13.2.2 +21. ml-testing-toolkit-ui - https://github.com/mojaloop/ml-testing-toolkit-ui/releases/tag/v13.2.2 + +## 6. Operational Chart versions + +1. EFK: **v12.0.0** +2. Promfana: **v11.0.0** + +## 7. Breaking changes + +N/A + +## 8. Testing notes + +1. It is recommended that all Mojaloop deployments are verified using the [Mojaloop Testing Toolkit](https://docs.mojaloop.io/documentation/mojaloop-technical-overview/ml-testing-toolkit/). More information can be found in the [Mojaloop Deployment Guide](https://docs.mojaloop.io/documentation/deployment-guide). + +2. The [testing-toolkit-test-cases](https://github.com/mojaloop/testing-toolkit-test-cases/releases/tag/v13.0.0)' Golden Path collections expects: + - the Quoting service operating mode to be set [quoting-service.config.simple_routing_mode_enabled](https://github.com/mojaloop/helm/blob/v13.0.0/mojaloop/values.yaml#L4664)=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](https://github.com/mojaloop/helm/blob/v13.0.0/mojaloop/values.yaml#L7420) to match. + - the [on-us transfers](https://github.com/mojaloop/helm/blob/v13.0.0/mojaloop/values.yaml#L321) configuration to be disabled. The test-case environment variable parameter ([ON_US_TRANSFERS_ENABLED](https://github.com/mojaloop/helm/blob/v13.0.0/mojaloop/values.yaml#L7423), the same name used on postman collections) must similarly match this value. + +3. Simulators + - [Mojaloop-Simulator](https://github.com/mojaloop/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](https://github.com/mojaloop/postman/blob/v12.0.0/MojaloopHub_Setup.postman_collection.json) + - Setup Mojaloop Simulators for testing : [MojaloopSims_Onboarding](https://github.com/mojaloop/postman/blob/v12.0.0/MojaloopSims_Onboarding.postman_collection.json) + - Golden path tests: [Golden_Path_Mojaloop](https://github.com/mojaloop/postman/blob/v12.0.0/Golden_Path_Mojaloop.postman_collection.json) + - 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. + +3. This release has been tested against the following: + - Kubernetes: v1.20.6 + - Nginx Ingress Controllers: 0.43.0 + - Testing Toolkit Test Cases: [v13.0.1](https://github.com/mojaloop/testing-toolkit-test-cases/releases/tag/v13.0.1) + +## 9. Known Issues + +1. [#2119 - Idempotency for duplicate quote request](https://github.com/mojaloop/project/issues/2119) +2. [#2322 - Helm install failing with with "medium to large" release names](https://github.com/mojaloop/project/issues/2322) + +## 10. Contributors + +- Contributing organizations: BMGF, ModusBox +- ModusBox: @elnyry-sam-k , @mdebarros, @vgenev , @vijayg10, @shashi165, @kleyow, @bushjames + +_Note: companies in alphabetical order_ diff --git a/central/Chart.yaml b/central/Chart.yaml index 09f7f7d09..0358a6e61 100644 --- a/central/Chart.yaml +++ b/central/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Central Helm chart for Kubernetes name: central version: 13.0.1 -appVersion: "central-ledger: v13.12.1; central-settlement: v13.4.0; central-event-processor: v11.0.2" +appVersion: "central-ledger: v13.12.1; central-settlement: v13.4.1; central-event-processor: v11.0.2" home: http://mojaloop.io icon: http://mojaloop.io/images/logo.png sources: diff --git a/central/values.yaml b/central/values.yaml index d6fe2d17d..62a8153b4 100644 --- a/central/values.yaml +++ b/central/values.yaml @@ -1921,7 +1921,7 @@ centralsettlement: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/api/index.js"]' service: @@ -1969,35 +1969,34 @@ centralsettlement: ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] - ## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: enabled: false - # image: - # repository: mojaloop/event-sidecar - # tag: v11.0.1 - # pullPolicy: IfNotPresent - # command: '["npm", "run", "start"]' - # service: - # internalPort: 4001 - # readinessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 120 - # periodSeconds: 15 - # livenessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 90 - # periodSeconds: 15 - # config: - # event_log_grpc_host: localhost - # event_log_grpc_port: 50051 - # event_log_filter: 'audit:*, log:info, log:warn, log:error' - # event_log_metadata_only: true - # log_level: info - # log_filter: 'error, warn, info' + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -2121,9 +2120,23 @@ centralsettlement: hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + + ## Error Handling error_handling: include_cause_extension: false truncate_extensions: true @@ -2198,7 +2211,7 @@ centralsettlement: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/handlers/index.js", "h", "--deferredSettlement"]' service: @@ -2246,35 +2259,34 @@ centralsettlement: ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] - ## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: enabled: false - # image: - # repository: mojaloop/event-sidecar - # tag: v11.0.1 - # pullPolicy: IfNotPresent - # command: '["npm", "run", "start"]' - # service: - # internalPort: 4001 - # readinessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 120 - # periodSeconds: 15 - # livenessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 90 - # periodSeconds: 15 - # config: - # event_log_grpc_host: localhost - # event_log_grpc_port: 50051 - # event_log_filter: 'audit:*, log:info, log:warn, log:error' - # event_log_metadata_only: true - # log_level: info - # log_filter: 'error, warn, info' + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -2398,9 +2410,23 @@ centralsettlement: hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + + ## Error Handling error_handling: include_cause_extension: false truncate_extensions: true @@ -2482,7 +2508,7 @@ centralsettlement: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/handlers/index.js", "h", "--grossSettlement"]' service: @@ -2530,35 +2556,34 @@ centralsettlement: ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] - ## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: enabled: false - # image: - # repository: mojaloop/event-sidecar - # tag: v11.0.1 - # pullPolicy: IfNotPresent - # command: '["npm", "run", "start"]' - # service: - # internalPort: 4001 - # readinessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 120 - # periodSeconds: 15 - # livenessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 90 - # periodSeconds: 15 - # config: - # event_log_grpc_host: localhost - # event_log_grpc_port: 50051 - # event_log_filter: 'audit:*, log:info, log:warn, log:error' - # event_log_metadata_only: true - # log_level: info - # log_filter: 'error, warn, info' + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -2682,9 +2707,23 @@ centralsettlement: hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + + ## Error Handling error_handling: include_cause_extension: false truncate_extensions: true @@ -2766,7 +2805,7 @@ centralsettlement: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/handlers/index.js", "h", "--rules"]' service: @@ -2814,35 +2853,34 @@ centralsettlement: ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] - ## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: enabled: false - # image: - # repository: mojaloop/event-sidecar - # tag: v11.0.1 - # pullPolicy: IfNotPresent - # command: '["npm", "run", "start"]' - # service: - # internalPort: 4001 - # readinessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 120 - # periodSeconds: 15 - # livenessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 90 - # periodSeconds: 15 - # config: - # event_log_grpc_host: localhost - # event_log_grpc_port: 50051 - # event_log_filter: 'audit:*, log:info, log:warn, log:error' - # event_log_metadata_only: true - # log_level: info - # log_filter: 'error, warn, info' + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -2966,9 +3004,23 @@ centralsettlement: hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + + ## Error Handling error_handling: include_cause_extension: false truncate_extensions: true diff --git a/centralsettlement/Chart.yaml b/centralsettlement/Chart.yaml index 291bf99cd..3bd2e4a5c 100644 --- a/centralsettlement/Chart.yaml +++ b/centralsettlement/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Central-Settlement Helm chart for Kubernetes name: centralsettlement version: 13.0.1 -appVersion: "13.4.0" +appVersion: "13.4.1" home: http://mojaloop.io icon: http://mojaloop.io/images/logo.png sources: diff --git a/centralsettlement/chart-service/Chart.yaml b/centralsettlement/chart-service/Chart.yaml index 1890bd291..25dfa018f 100644 --- a/centralsettlement/chart-service/Chart.yaml +++ b/centralsettlement/chart-service/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Central-Settlement helm chart for API services and handlers name: centralsettlement-service version: 13.0.0 -appVersion: "13.4.0" +appVersion: "13.4.1" home: http://mojaloop.io icon: http://mojaloop.io/images/logo.png sources: diff --git a/centralsettlement/chart-service/configs/default-sidecar.json b/centralsettlement/chart-service/configs/default-sidecar.json new file mode 100644 index 000000000..cff11d89b --- /dev/null +++ b/centralsettlement/chart-service/configs/default-sidecar.json @@ -0,0 +1,50 @@ +{{- $kafkaHost := ( .Values.config.kafka_host | replace "$release_name" .Release.Name ) -}} +{ + "PORT": {{ .Values.sidecar.service.internalPort }}, + "EVENT_LOGGER_GRPC_HOST": "{{ .Values.sidecar.config.event_log_grpc_host }}", + "EVENT_LOGGER_GRPC_PORT": {{ .Values.sidecar.config.event_log_grpc_port }}, + "INSTRUMENTATION": { + "METRICS": { + "DISABLED": false, + "labels": { + "eventId": "*" + }, + "config": { + "timeout": 5000, + "prefix": "moja_", + "defaultLabels": { + "serviceName": "{{ template "centralsettlement-service.name" . }}-event-sidecar" + } + } + } + }, + "KAFKA": { + "TOPIC_TEMPLATES": { + "GENERAL_TOPIC_TEMPLATE": { + "TEMPLATE": "topic-{{"{{"}}functionality{{"}}"}}", + "REGEX": "topic-(.*)" + } + }, + "PRODUCER": { + "EVENT": { + "config": { + "options": { + "messageCharset": "utf8" + }, + "rdkafkaConf": { + "metadata.broker.list": "{{ $kafkaHost }}:{{ .Values.config.kafka_port }}", + "client.id": "es-prod-event", + "event_cb": true, + "dr_cb": true, + "socket.keepalive.enable": true, + "queue.buffering.max.messages": 10000000 + }, + "topicConf": { + "request.required.acks": "all", + "partitioner": "{{ .Values.config.kafka_partitioner }}" + } + } + } + } + } +} diff --git a/centralsettlement/chart-service/templates/config.yaml b/centralsettlement/chart-service/templates/config.yaml index bfc1f4595..5809f27a7 100644 --- a/centralsettlement/chart-service/templates/config.yaml +++ b/centralsettlement/chart-service/templates/config.yaml @@ -25,3 +25,18 @@ data: {{- range $key, $value := .Values.config.rules }} {{ $key }}: {{ $value | quote }} {{- end }} +{{- if .Values.sidecar.enabled }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ template "centralsettlement-service.fullname" . }}-sidecar + labels: + app.kubernetes.io/name: {{ include "centralsettlement-service.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/version: {{ .Chart.Version }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} +data: + default.json: {{ (tpl (.Files.Get "configs/default-sidecar.json") . ) | quote }} +{{- end }} diff --git a/centralsettlement/chart-service/templates/deployment.yaml b/centralsettlement/chart-service/templates/deployment.yaml index 1470bcb7e..6df5d94a4 100644 --- a/centralsettlement/chart-service/templates/deployment.yaml +++ b/centralsettlement/chart-service/templates/deployment.yaml @@ -97,72 +97,73 @@ spec: value: {{ .Values.config.log_level }} - name: CSL_LOG_TRANSPORT value: {{ .Values.config.log_transport}} -## UNCOMMENT AFTER EVENTSDK IS IMPLEMENTED - # {{- if .Values.sidecar.enabled }} - # - name: EVENT_SDK_SIDECAR_DISABLED - # value: "false" - # - name: EVENT_SDK_SERVER_HOST - # value: {{ .Values.sidecar.config.event_log_grpc_host | quote }} - # - name: EVENT_SDK_SERVER_PORT - # value: {{ .Values.sidecar.config.event_log_grpc_port | quote }} - # {{- end }} - # - name: EVENT_SDK_VENDOR_PREFIX - # value: {{ .Values.config.event_trace_vendor | quote }} - # - name: EVENT_SDK_TRACESTATE_HEADER_ENABLED - # value: {{ .Values.config.event_trace_state_enabled | quote }} - # - name: EVENT_SDK_ASYNC_OVERRIDE_EVENTS - # value: {{ .Values.config.event_async_override | quote }} - # - name: EVENT_SDK_TRACEID_PER_VENDOR - # value: {{ .Values.config.event_traceid_per_vendor | quote }} - # - name: LIB_RESOURCE_VERSIONS - # value: {{ .Values.config.resource_versions}} + - name: EVENT_SDK_LOG_FILTER + value: {{ .Values.config.event_log_filter | quote }} + - name: EVENT_SDK_LOG_METADATA_ONLY + value: {{ .Values.config.event_log_metadata_only | quote }} + {{- if .Values.sidecar.enabled }} + - name: EVENT_SDK_SIDECAR_DISABLED + value: "false" + - name: EVENT_SDK_SERVER_HOST + value: {{ .Values.sidecar.config.event_log_grpc_host | quote }} + - name: EVENT_SDK_SERVER_PORT + value: {{ .Values.sidecar.config.event_log_grpc_port | quote }} + {{- end }} + - name: EVENT_SDK_VENDOR_PREFIX + value: {{ .Values.config.event_trace_vendor | quote }} + - name: EVENT_SDK_TRACESTATE_HEADER_ENABLED + value: {{ .Values.config.event_trace_state_enabled | quote }} + - name: EVENT_SDK_ASYNC_OVERRIDE_EVENTS + value: {{ .Values.config.event_async_override | quote }} + - name: EVENT_SDK_TRACEID_PER_VENDOR + value: {{ .Values.config.event_traceid_per_vendor | quote }} + - name: LIB_RESOURCE_VERSIONS + value: {{ .Values.config.resource_versions}} volumeMounts: - name: {{ template "centralsettlement-service.fullname" . }}-cfg-vol mountPath: /opt/central-settlement/config - name: {{ template "centralsettlement-service.fullname" . }}-rules-vol mountPath: "/opt/central-settlement/{{ .Values.config.handlers.settings.scripts_folder }}" -## UNCOMMENT AFTER EVENTSDK IS IMPLEMENTED - # {{- if .Values.sidecar.enabled }} - # - name: {{ .Chart.Name }}-sidecar - # image: "{{ .Values.sidecar.image.repository }}:{{ .Values.sidecar.image.tag }}" - # imagePullPolicy: {{ .Values.sidecar.image.pullPolicy }} - # {{- if .Values.sidecar.image.imagePullSecrets }} - # imagePullSecrets: - # {{ toYaml .Values.sidecar.image.imagePullSecrets | indent 10 }} - # {{- end }} - # command: {{ .Values.sidecar.image.command }} - # ports: - # - containerPort: {{ .Values.sidecar.service.internalPort }} - # {{- if .Values.sidecar.readinessProbe.enabled }} - # readinessProbe: - # httpGet: - # path: {{ .Values.sidecar.readinessProbe.httpGet.path }} - # port: {{ .Values.sidecar.service.internalPort }} - # initialDelaySeconds: {{ .Values.sidecar.readinessProbe.initialDelaySeconds }} - # periodSeconds: {{ .Values.sidecar.readinessProbe.periodSeconds }} - # {{- end }} - # {{- if .Values.sidecar.livenessProbe.enabled }} - # livenessProbe: - # httpGet: - # path: {{ .Values.sidecar.livenessProbe.httpGet.path }} - # port: {{ .Values.sidecar.service.internalPort }} - # initialDelaySeconds: {{ .Values.sidecar.livenessProbe.initialDelaySeconds }} - # periodSeconds: {{ .Values.sidecar.livenessProbe.periodSeconds }} - # {{- end }} - # volumeMounts: - # - name: {{ template "centralsettlement-handler-deferredsettlement.fullname" . }}-sidecar-volum - # mountPath: /opt/event-sidecar/config - # env: - # - name: LOG_LEVEL - # value: {{ .Values.sidecar.config.log_level | quote }} - # - name: LOG_FILTER - # value: {{ .Values.sidecar.config.log_filter | quote }} - # - name: EVENT_SDK_LOG_FILTER - # value: {{ .Values.sidecar.config.event_log_filter | quote }} - # - name: EVENT_SDK_LOG_METADATA_ONLY - # value: {{ .Values.sidecar.config.event_log_metadata_only | quote }} - # {{- end }} - + {{- if .Values.sidecar.enabled }} + - name: {{ template "centralsettlement-service.name" . }}-sidecar + image: "{{ .Values.sidecar.image.repository }}:{{ .Values.sidecar.image.tag }}" + imagePullPolicy: {{ .Values.sidecar.image.pullPolicy }} + {{- if .Values.sidecar.image.imagePullSecrets }} + imagePullSecrets: + {{ toYaml .Values.sidecar.image.imagePullSecrets | indent 10 }} + {{- end }} + command: {{ .Values.sidecar.image.command }} + ports: + - containerPort: {{ .Values.sidecar.service.internalPort }} + {{- if .Values.sidecar.readinessProbe.enabled }} + readinessProbe: + httpGet: + path: {{ .Values.sidecar.readinessProbe.httpGet.path }} + port: {{ .Values.sidecar.service.internalPort }} + initialDelaySeconds: {{ .Values.sidecar.readinessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.sidecar.readinessProbe.periodSeconds }} + {{- end }} + {{- if .Values.sidecar.livenessProbe.enabled }} + livenessProbe: + httpGet: + path: {{ .Values.sidecar.livenessProbe.httpGet.path }} + port: {{ .Values.sidecar.service.internalPort }} + initialDelaySeconds: {{ .Values.sidecar.livenessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.sidecar.livenessProbe.periodSeconds }} + {{- end }} + volumeMounts: + - name: {{ template "centralsettlement-service.fullname" . }}-sidecar-vol + mountPath: /opt/event-sidecar/config + env: + - name: LOG_LEVEL + value: {{ .Values.sidecar.config.log_level | quote }} + - name: LOG_FILTER + value: {{ .Values.sidecar.config.log_filter | quote }} + - name: EVENT_SDK_LOG_FILTER + value: {{ .Values.sidecar.config.event_log_filter | quote }} + - name: EVENT_SDK_LOG_METADATA_ONLY + value: {{ .Values.sidecar.config.event_log_metadata_only | quote }} + {{- end }} volumes: - name: {{ template "centralsettlement-service.fullname" . }}-cfg-vol configMap: @@ -172,15 +173,14 @@ spec: path: default.json # - key: knexfile.js # path: knexfile.js - ## UNCOMMENT AFTER EVENTSDK IS IMPLEMENTED - # {{- if .Values.sidecar.enabled }} - # - name: {{ template "centralsettlement-handler-deferredsettlement.fullname" . }}-sidecar-volum - # configMap: - # name: {{ template "centralsettlement-handler-deferredsettlement.fullname" . }}-sidecar - # items: - # - key: default.json - # path: default.json - # {{- end }} + {{- if .Values.sidecar.enabled }} + - name: {{ template "centralsettlement-service.fullname" . }}-sidecar-vol + configMap: + name: {{ template "centralsettlement-service.fullname" . }}-sidecar + items: + - key: default.json + path: default.json + {{- end }} - name: {{ template "centralsettlement-service.fullname" . }}-rules-vol {{- if .Values.config.rules }} configMap: diff --git a/centralsettlement/chart-service/values.yaml b/centralsettlement/chart-service/values.yaml index 9e0057e10..c2674547a 100644 --- a/centralsettlement/chart-service/values.yaml +++ b/centralsettlement/chart-service/values.yaml @@ -11,7 +11,7 @@ containers: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/handlers/index.js", "h", "--grossSettlement"]' service: @@ -59,35 +59,34 @@ nodeSelector: {} ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] -## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: enabled: false -# image: -# repository: mojaloop/event-sidecar -# tag: v11.0.1 -# pullPolicy: IfNotPresent -# command: '["npm", "run", "start"]' -# service: -# internalPort: 4001 -# readinessProbe: -# enabled: true -# httpGet: -# path: /health -# initialDelaySeconds: 120 -# periodSeconds: 15 -# livenessProbe: -# enabled: true -# httpGet: -# path: /health -# initialDelaySeconds: 90 -# periodSeconds: 15 -# config: -# event_log_grpc_host: localhost -# event_log_grpc_port: 50051 -# event_log_filter: 'audit:*, log:info, log:warn, log:error' -# event_log_metadata_only: true -# log_level: info -# log_filter: 'error, warn, info' + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -104,6 +103,7 @@ config: # this can be set if the dependency chart for kafka is disabled. If 'kafka_host' is commented out, then the name of the dependency chart will be used. kafka_host: '$release_name-kafka' kafka_port: 9092 + kafka_partitioner: 'murmur2_random' kafka: consumer: notification: @@ -199,23 +199,39 @@ config: db_reap_interval_millis: 1000 db_create_retry_interval_millis: 200 db_debug: false - # Api Handler Configuration + + ## Api Handler Configuration handlers: disabled: false api: disabled: false settings: scripts_folder: 'scripts/grosssettlementTemp' - # Settlement Window aggregation Configuration + + ## Settlement Window aggregation Configuration window_aggregation: retry_count: 3 retry_interval: 3000 hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + + ## Error Handling error_handling: include_cause_extension: false truncate_extensions: true diff --git a/centralsettlement/values.yaml b/centralsettlement/values.yaml index ef54cb4b9..7340b9e8e 100644 --- a/centralsettlement/values.yaml +++ b/centralsettlement/values.yaml @@ -11,7 +11,7 @@ centralsettlement-service: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/api/index.js"]' service: @@ -59,35 +59,34 @@ centralsettlement-service: ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] - ## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: enabled: false - # image: - # repository: mojaloop/event-sidecar - # tag: v11.0.1 - # pullPolicy: IfNotPresent - # command: '["npm", "run", "start"]' - # service: - # internalPort: 4001 - # readinessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 120 - # periodSeconds: 15 - # livenessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 90 - # periodSeconds: 15 - # config: - # event_log_grpc_host: localhost - # event_log_grpc_port: 50051 - # event_log_filter: 'audit:*, log:info, log:warn, log:error' - # event_log_metadata_only: true - # log_level: info - # log_filter: 'error, warn, info' + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -211,9 +210,23 @@ centralsettlement-service: hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + + ## Error Handling error_handling: include_cause_extension: false truncate_extensions: true @@ -288,7 +301,7 @@ centralsettlement-handler-deferredsettlement: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/handlers/index.js", "h", "--deferredSettlement"]' service: @@ -336,35 +349,34 @@ centralsettlement-handler-deferredsettlement: ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] - ## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: enabled: false - # image: - # repository: mojaloop/event-sidecar - # tag: v11.0.1 - # pullPolicy: IfNotPresent - # command: '["npm", "run", "start"]' - # service: - # internalPort: 4001 - # readinessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 120 - # periodSeconds: 15 - # livenessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 90 - # periodSeconds: 15 - # config: - # event_log_grpc_host: localhost - # event_log_grpc_port: 50051 - # event_log_filter: 'audit:*, log:info, log:warn, log:error' - # event_log_metadata_only: true - # log_level: info - # log_filter: 'error, warn, info' + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -488,13 +500,28 @@ centralsettlement-handler-deferredsettlement: hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + + ## Error Handling error_handling: include_cause_extension: false truncate_extensions: true + init: enabled: true mysql: @@ -572,7 +599,7 @@ centralsettlement-handler-grosssettlement: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/handlers/index.js", "h", "--grossSettlement"]' service: @@ -620,35 +647,34 @@ centralsettlement-handler-grosssettlement: ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] - ## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: enabled: false - # image: - # repository: mojaloop/event-sidecar - # tag: v11.0.1 - # pullPolicy: IfNotPresent - # command: '["npm", "run", "start"]' - # service: - # internalPort: 4001 - # readinessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 120 - # periodSeconds: 15 - # livenessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 90 - # periodSeconds: 15 - # config: - # event_log_grpc_host: localhost - # event_log_grpc_port: 50051 - # event_log_filter: 'audit:*, log:info, log:warn, log:error' - # event_log_metadata_only: true - # log_level: info - # log_filter: 'error, warn, info' + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -772,9 +798,22 @@ centralsettlement-handler-grosssettlement: hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + error_handling: include_cause_extension: false truncate_extensions: true @@ -856,7 +895,7 @@ centralsettlement-handler-rules: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/handlers/index.js", "h", "--rules"]' service: @@ -904,35 +943,34 @@ centralsettlement-handler-rules: ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] - ## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: enabled: false - # image: - # repository: mojaloop/event-sidecar - # tag: v11.0.1 - # pullPolicy: IfNotPresent - # command: '["npm", "run", "start"]' - # service: - # internalPort: 4001 - # readinessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 120 - # periodSeconds: 15 - # livenessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 90 - # periodSeconds: 15 - # config: - # event_log_grpc_host: localhost - # event_log_grpc_port: 50051 - # event_log_filter: 'audit:*, log:info, log:warn, log:error' - # event_log_metadata_only: true - # log_level: info - # log_filter: 'error, warn, info' + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -1056,9 +1094,23 @@ centralsettlement-handler-rules: hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + + ## Error Handling error_handling: include_cause_extension: false truncate_extensions: true diff --git a/ml-testing-toolkit-cli/values.yaml b/ml-testing-toolkit-cli/values.yaml index 392aeb315..5bc09e360 100644 --- a/ml-testing-toolkit-cli/values.yaml +++ b/ml-testing-toolkit-cli/values.yaml @@ -4,7 +4,7 @@ replicaCount: 1 image: repository: mojaloop/ml-testing-toolkit - tag: v13.2.1 + tag: v13.2.2 ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. ## ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod diff --git a/ml-testing-toolkit/Chart.yaml b/ml-testing-toolkit/Chart.yaml index 7190b04bc..a0ac478ef 100644 --- a/ml-testing-toolkit/Chart.yaml +++ b/ml-testing-toolkit/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: ml-testing-toolkit Helm chart for Kubernetes name: ml-testing-toolkit version: 12.2.0 -appVersion: "ml-testing-toolkit: v13.2.1 ml-testing-toolkit-ui: v13.2.1" +appVersion: "ml-testing-toolkit: v13.2.2 ml-testing-toolkit-ui: v13.2.2" home: http://mojaloop.io icon: http://mojaloop.io/images/logo.png sources: diff --git a/ml-testing-toolkit/chart-backend/values.yaml b/ml-testing-toolkit/chart-backend/values.yaml index 9382035ea..93436a3f7 100644 --- a/ml-testing-toolkit/chart-backend/values.yaml +++ b/ml-testing-toolkit/chart-backend/values.yaml @@ -32,7 +32,7 @@ dependencies: replicaCount: 1 image: repository: mojaloop/ml-testing-toolkit - tag: v13.2.1 + tag: v13.2.2 commandPersistence: '["sh", "-c", "cd /opt/mojaloop-testing-toolkit; if [ -d /opt/ttk-data ]; then if [ ! -d /opt/ttk-data/spec_files ]; then if [ -f /opt/default_config/user_config.json ]; then cp /opt/default_config/user_config.json spec_files; fi; if [ -f /opt/default_config/system_config.json ]; then cp /opt/default_config/system_config.json spec_files; fi; cp -pR spec_files /opt/ttk-data/spec_files; fi; mv spec_files spec_files_default; ln -s /opt/ttk-data/spec_files spec_files; else if [ -f /opt/default_config/user_config.json ]; then cp /opt/default_config/user_config.json spec_files; fi; if [ -f /opt/default_config/system_config.json ]; then cp /opt/default_config/system_config.json spec_files; fi; fi; npm run start;"]' command: '["sh", "-c", "cd /opt/mojaloop-testing-toolkit; if [ -f /opt/default_config/user_config.json ]; then cp /opt/default_config/user_config.json spec_files; fi; if [ -f /opt/default_config/system_config.json ]; then cp /opt/default_config/system_config.json spec_files; fi; npm run start;"]' diff --git a/ml-testing-toolkit/chart-frontend/values.yaml b/ml-testing-toolkit/chart-frontend/values.yaml index 7e3d756d1..67a8fb49b 100644 --- a/ml-testing-toolkit/chart-frontend/values.yaml +++ b/ml-testing-toolkit/chart-frontend/values.yaml @@ -4,7 +4,7 @@ replicaCount: 1 image: repository: mojaloop/ml-testing-toolkit-ui - tag: v13.2.1 + tag: v13.2.2 command: '["sh", "/usr/share/nginx/start.sh"]' ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. diff --git a/ml-testing-toolkit/values.yaml b/ml-testing-toolkit/values.yaml index 45c75b953..78391d42a 100644 --- a/ml-testing-toolkit/values.yaml +++ b/ml-testing-toolkit/values.yaml @@ -4,47 +4,111 @@ global: {} ml-testing-toolkit-backend: enabled: true + # ingress: + # enabled: true + # hosts: + # specApi: + # host: testing-toolkit-specapi.localdomain + # port: 5000 + # paths: ['/'] + # adminApi: + # host: testing-toolkit.localdomain + # port: 5050 + # paths: ['/api/', '/socket.io/'] config: system_config.json: HOSTING_ENABLED: false OAUTH: AUTH_ENABLED: false - CONNECTION_MANAGER_AUTH_ENABLED: false + CONNECTION_MANAGER: + AUTH_ENABLED: false + KEYCLOAK: + ENABLED: false + # # For Hosted Mode + # HOSTING_ENABLED: true + # OAUTH: + # AUTH_ENABLED: true + # CONNECTION_MANAGER: + # AUTH_ENABLED: true + # KEYCLOAK: + # ENABLED: true dependencies: keycloak: enabled: false + # # For Hosted Mode + # enabled: true embeddedCertificate: -----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDda1T6cyWogfG/xlUb3+gWZI0jsnlSGbf3PF89NCgS+n6HUJ0A2Ezmu/n9Gfkm8Rjyst914Vq9ebsueXHIc+Ad76+q3MASF1hRUTfnvH/v6rDguPvI6Jb/M9jGn5b2hglcg3B9Y7Tgv70bcV7oCweP68CPbIrTWjR9gyjmSHfYhwIDAQAB\n-----END PUBLIC KEY----- mongodb: enabled: false + # # For Hosted Mode + # enabled: true connectionManagerBackend: enabled: false + # # For Hosted Mode + # enabled: true ml-testing-toolkit-frontend: enabled: true + # ingress: + # enabled: true + # # Used to create an Ingress record. + # hosts: + # ui: + # host: testing-toolkit.localdomain + # port: 6060 + # paths: ['/'] config: AUTH_ENABLED: "FALSE" ## "TRUE" or "FALSE" + # API_BASE_URL: http://ttk-bankend-url + # # For Hosted Mode + # AUTH_ENABLED: "TRUE" connection-manager-backend: enabled: false + # # For Hosted Mode + # enabled: true config: AUTH_ENABLED: "DISABLED" ## TRUE or DISABLED + # # For Hosted Mode + # AUTH_ENABLED: "TRUE" dependencies: mysql: enabled: true keycloak: enabled: false + # # For Hosted Mode + # enabled: true embeddedCertificate: -----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDda1T6cyWogfG/xlUb3+gWZI0jsnlSGbf3PF89NCgS+n6HUJ0A2Ezmu/n9Gfkm8Rjyst914Vq9ebsueXHIc+Ad76+q3MASF1hRUTfnvH/v6rDguPvI6Jb/M9jGn5b2hglcg3B9Y7Tgv70bcV7oCweP68CPbIrTWjR9gyjmSHfYhwIDAQAB\n-----END PUBLIC KEY----- - + # ingress: + # enabled: true + # hosts: + # connection-manager.localdomain: + # port: 5061 + # paths: ['/api/'] + connection-manager-frontend: enabled: false + # # For Hosted Mode + # enabled: true config: AUTH_ENABLED: "FALSE" ## TRUE or FALSE + # # For Hosted Mode + # API_BASE_URL: http://connection-manager.localdomain + # AUTH_ENABLED: "TRUE" + # ingress: + # enabled: true + # hosts: + # connection-manager.localdomain: + # port: 5060 + # paths: ['/'] mysql: ## repo and documentation https://github.com/helm/charts/tree/master/stable/percona-xtradb-cluster ## disable when connection-manager-backend is disabled enabled: false + # # For Hosted Mode + # enabled: true image: repository: "percona/percona-xtradb-cluster" tag: "5.7.19" @@ -109,6 +173,8 @@ mongodb: ## repo and documentation https://github.com/bitnami/charts/tree/master/bitnami/mysql enabled: false + # # For Hosted Mode + # enabled: true nameOverride: ttk-mongodb @@ -188,6 +254,8 @@ keycloak: ## check the documentation in the repo for additional details enabled: false + # # For Hosted Mode + # enabled: true image: repository: quay.io/keycloak/keycloak tag: "11.0.2" diff --git a/mojaloop/Chart.yaml b/mojaloop/Chart.yaml index 776f68746..1cbd1ca01 100644 --- a/mojaloop/Chart.yaml +++ b/mojaloop/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Mojaloop Helm chart for Kubernetes name: mojaloop version: 13.0.1 -appVersion: "ml-api-adapter: v11.1.6; central-ledger: v13.12.1; account-lookup-service: v11.7.0; quoting-service: v12.0.6; central-settlement: v13.4.0; 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; finance-portal-ui: v10.4.3; finance-portal-backend-service: v15.0.2; settlement-management: v11.0.0; operator-settlement: v11.0.0; simulator: v11.1.2; mojaloop-simulator: v11.4.3; sdk-scheme-adapter: v11.17.1; ml-testing-toolkit: v13.2.1; ml-testing-toolkit-ui: v13.2.1;" +appVersion: "ml-api-adapter: v11.1.6; central-ledger: v13.12.1; account-lookup-service: v11.7.0; quoting-service: v12.0.6; central-settlement: v13.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; finance-portal-ui: v10.4.3; finance-portal-backend-service: v15.0.2; settlement-management: v11.0.0; operator-settlement: v11.0.0; simulator: v11.1.2; mojaloop-simulator: v11.4.3; sdk-scheme-adapter: v11.17.1; ml-testing-toolkit: v13.2.2; ml-testing-toolkit-ui: v13.2.2;" home: http://mojaloop.io icon: http://mojaloop.io/images/logo.png sources: diff --git a/mojaloop/values.yaml b/mojaloop/values.yaml index 3506bcbae..d841da1d0 100644 --- a/mojaloop/values.yaml +++ b/mojaloop/values.yaml @@ -1824,7 +1824,7 @@ central: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/api/index.js"]' service: @@ -1872,35 +1872,34 @@ central: ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] - ## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: - enabled: false - # image: - # repository: mojaloop/event-sidecar - # tag: v11.0.1 - # pullPolicy: IfNotPresent - # command: '["npm", "run", "start"]' - # service: - # internalPort: 4001 - # readinessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 120 - # periodSeconds: 15 - # livenessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 90 - # periodSeconds: 15 - # config: - # event_log_grpc_host: localhost - # event_log_grpc_port: 50051 - # event_log_filter: 'audit:*, log:info, log:warn, log:error' - # event_log_metadata_only: true - # log_level: info - # log_filter: 'error, warn, info' + enabled: true + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -2024,9 +2023,23 @@ central: hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + + ## Error Handling error_handling: include_cause_extension: false truncate_extensions: true @@ -2101,7 +2114,7 @@ central: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/handlers/index.js", "h", "--deferredSettlement"]' service: @@ -2149,35 +2162,34 @@ central: ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] - ## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: - enabled: false - # image: - # repository: mojaloop/event-sidecar - # tag: v11.0.1 - # pullPolicy: IfNotPresent - # command: '["npm", "run", "start"]' - # service: - # internalPort: 4001 - # readinessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 120 - # periodSeconds: 15 - # livenessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 90 - # periodSeconds: 15 - # config: - # event_log_grpc_host: localhost - # event_log_grpc_port: 50051 - # event_log_filter: 'audit:*, log:info, log:warn, log:error' - # event_log_metadata_only: true - # log_level: info - # log_filter: 'error, warn, info' + enabled: true + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -2301,9 +2313,23 @@ central: hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + + ## Error Handling error_handling: include_cause_extension: false truncate_extensions: true @@ -2385,7 +2411,7 @@ central: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/handlers/index.js", "h", "--grossSettlement"]' service: @@ -2433,35 +2459,34 @@ central: ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] - ## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: - enabled: false - # image: - # repository: mojaloop/event-sidecar - # tag: v11.0.1 - # pullPolicy: IfNotPresent - # command: '["npm", "run", "start"]' - # service: - # internalPort: 4001 - # readinessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 120 - # periodSeconds: 15 - # livenessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 90 - # periodSeconds: 15 - # config: - # event_log_grpc_host: localhost - # event_log_grpc_port: 50051 - # event_log_filter: 'audit:*, log:info, log:warn, log:error' - # event_log_metadata_only: true - # log_level: info - # log_filter: 'error, warn, info' + enabled: true + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -2585,9 +2610,23 @@ central: hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + + ## Error Handling error_handling: include_cause_extension: false truncate_extensions: true @@ -2669,7 +2708,7 @@ central: api: image: repository: mojaloop/central-settlement - tag: v13.4.0 + tag: v13.4.1 pullPolicy: IfNotPresent command: '["node", "src/handlers/index.js", "h", "--rules"]' service: @@ -2717,35 +2756,34 @@ central: ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ tolerations: [] - ## UNCOMMENT AFTER THE EVENT SDK AND METRICS ARE IMPLEMENTED sidecar: - enabled: false - # image: - # repository: mojaloop/event-sidecar - # tag: v11.0.1 - # pullPolicy: IfNotPresent - # command: '["npm", "run", "start"]' - # service: - # internalPort: 4001 - # readinessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 120 - # periodSeconds: 15 - # livenessProbe: - # enabled: true - # httpGet: - # path: /health - # initialDelaySeconds: 90 - # periodSeconds: 15 - # config: - # event_log_grpc_host: localhost - # event_log_grpc_port: 50051 - # event_log_filter: 'audit:*, log:info, log:warn, log:error' - # event_log_metadata_only: true - # log_level: info - # log_filter: 'error, warn, info' + enabled: true + image: + repository: mojaloop/event-sidecar + tag: v11.0.1 + pullPolicy: IfNotPresent + command: '["npm", "run", "start"]' + service: + internalPort: 4001 + readinessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 120 + periodSeconds: 15 + livenessProbe: + enabled: true + httpGet: + path: /health + initialDelaySeconds: 90 + periodSeconds: 15 + config: + event_log_grpc_host: localhost + event_log_grpc_port: 50051 + event_log_filter: 'audit:*, log:info, log:warn, log:error' + event_log_metadata_only: true + log_level: info + log_filter: 'error, warn, info' ## metric configuration for prometheus instrumentation metrics: @@ -2869,9 +2907,23 @@ central: hub_participant: id: 1 name: Hub + + ## Log config log_level: info log_transport: file + ## Tracing Configuration + event_trace_vendor: mojaloop + event_log_filter: 'audit:*, log:warn, log:error' + # If set to true, only the metadata object from the event will be printed. + event_log_metadata_only: false + # A comma-separated list of events that should return immediately instead of waiting for the event promises to resolve + # Any combination of: `log,audit,trace` + event_async_override: 'log,trace' + event_trace_state_enabled: true + event_traceid_per_vendor: false + + ## Error Handling error_handling: include_cause_extension: false truncate_extensions: true