Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mojaloop/#2975): mojaloop helm release v14.1.0 #509

Merged
merged 46 commits into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
ae4ecb1
feat(mojaloop/#2963): create a sdk scheme adapter helm chart (#502)
mdebarros Oct 6, 2022
c966ce2
chore: bump and validate sdk-scheme-adapter api-svc (#504)
kleyow Oct 7, 2022
13b6041
feat(mojaloop/#2964): add three new simulator dfsps using sdk and ttk…
mdebarros Oct 10, 2022
d714606
feat(mojaloop/2976): added mojaloop-ttk-simulators chart as dependenc…
vijayg10 Oct 18, 2022
580246c
docs: updated release v14.1.0 notes in preparation for release
mdebarros Oct 20, 2022
46e9fce
upgraded central-ledger from v15.1.0 to v16.3.0
mdebarros Oct 21, 2022
f7f555e
fix: updates to v14.0.0 release notes
mdebarros Oct 21, 2022
343e941
upgraded bulk-api-adapter from v15.1.0 to v16.3.0
mdebarros Oct 21, 2022
e7eef73
upgraded default configs for testing-toolkit-test-cases-14.0.0.1 to t…
mdebarros Oct 21, 2022
b9da414
chore: bump sdk (#510)
kleyow Oct 21, 2022
f106007
Update release-v14.1.0.md
mdebarros Oct 26, 2022
bd02000
Merge branch 'master' of github.com:mojaloop/helm into release/v14.1.0
mdebarros Oct 26, 2022
fde12c3
Merge branch 'release/v14.1.0' of github.com:mojaloop/helm into relea…
mdebarros Oct 26, 2022
2af9042
chore: removed sdk version in ttk sims
Oct 26, 2022
db365c2
Merge branch 'master' of github.com:mojaloop/helm into release/v14.1.0
mdebarros Oct 26, 2022
734f7f7
fixed typo in v14.0.0 release notes and added TTK ui fixes to v14.1.0…
mdebarros Oct 26, 2022
e430b0d
chore: bump sdk version (#515)
kleyow Nov 4, 2022
e30bc3f
feat: add jws support to sdk (#514)
vijayg10 Nov 8, 2022
135e523
feat(mojaloop/3000): merge master branch into mvp-bulk (#518)
vijayg10 Nov 9, 2022
5203ae5
chore: update ttk urls (#520)
kleyow Nov 10, 2022
6b157b3
feat(mojaloop/3000): higher capacity bulk tests for load characterisa…
mdebarros Nov 10, 2022
2fb432b
chore: updates to Bulk TTK Sim test configs (#521)
mdebarros Nov 10, 2022
600c0a8
chore: bump sdk image and adjust ttksim1 sdk request timeout (#523)
kleyow Nov 11, 2022
80f3c69
chore: bumped up sdk-scheme-adapter docker image to standard version
Nov 11, 2022
8d89d6b
fix: fixed config for sdk bulk tests (#524)
vijayg10 Nov 11, 2022
103faaa
chore: bump timeout and bump sdk (#525)
kleyow Nov 14, 2022
6fc522a
Merge branch 'master' of github.com:mojaloop/helm into mvp/bulk-sdk
mdebarros Nov 14, 2022
20af3a5
chore: added separate sdk-bulk setup from standard ttk-test-setup
mdebarros Nov 15, 2022
cccfc9f
Merge branch 'master' of github.com:mojaloop/helm into release/v14.1.0
mdebarros Nov 15, 2022
61f8440
reverted test-case versions for standard-bulk
mdebarros Nov 15, 2022
28e8dae
fix: ingress configs for mojaloop-simulators
mdebarros Nov 16, 2022
d86b312
Merge branch 'mvp/bulk-sdk' of github.com:mojaloop/helm into release/…
mdebarros Nov 16, 2022
33281a9
chore: sdk-scheme-adapter kafka/redis backend configs are now templat…
mdebarros Nov 17, 2022
4e3a2e4
fix: for sdk bulk ttk sim config
mdebarros Nov 17, 2022
f911a23
chore: updated bulk-api-adapter in mojaloop/chart appVersion
mdebarros Nov 17, 2022
2568873
chore: fixed json formating for bulk-api-adapter configs
mdebarros Nov 17, 2022
add29f6
feat(mojaloop/2867): post /bulkTransfers from Switch to PayeeFSP to u…
mdebarros Nov 21, 2022
7b34b7e
Update sdk-scheme-adapter/README.md
mdebarros Nov 22, 2022
ece9485
Update mojaloop-ttk-simulators/README.md
mdebarros Nov 22, 2022
68351b1
Update mojaloop-ttk-simulators/chart-sim1/README.md [skip ci]
mdebarros Nov 22, 2022
f4793f1
Update mojaloop-ttk-simulators/chart-sim2/README.md [skip ci]
mdebarros Nov 22, 2022
be2937b
Update mojaloop-ttk-simulators/chart-sim3/README.md [skip ci]
mdebarros Nov 22, 2022
dfb20a3
chore: updates for PR comments [skip ci]
mdebarros Nov 22, 2022
3a406bf
Merge branch 'release/v14.1.0' of github.com:mojaloop/helm into relea…
mdebarros Nov 22, 2022
3c63ea9
chore: updated ttk-sim callback response rules
mdebarros Nov 22, 2022
ce53c19
docs: updated release notes with TTK Test Case version [skip ci]
mdebarros Nov 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .changelog/release-v14.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Date | Revision | Description
17. **mojaloop/#2810:** timeout events are being produced for transfers with an internal-state of ABORTED_ERROR ([#907](https://github.com/mojaloop/central-ledger/issues/907)) ([e77de0a](https://github.com/mojaloop/central-ledger/commit/e77de0a8e7dd473d3afbb27df464d27ff5ce98a7)), closes [mojaloop/#2810](https://github.com/mojaloop/project/issues/2810)
18. **mojaloop/#2811:** sdk-scheme-adapter sending incorrect transferState on a PUT transfers Callback ([#331](https://github.com/mojaloop/sdk-scheme-adapter/issues/331)) ([f7e450c](https://github.com/mojaloop/sdk-scheme-adapter/commit/f7e450cc2568f70f6c9abbb39d9c2186787c31b7)), closes [mojaloop/#2811](https://github.com/mojaloop/sdk-scheme-adapter/issues/2811)
19. **mojaloop/#2816:** SDK-Scheme-Adapter is missing/incorrect bulkTransferState on a PUT /bulkTransfer/{id} Callback by the PayeeFSP ([#331](https://github.com/mojaloop/sdk-scheme-adapter/issues/331)) ([f7e450c](https://github.com/mojaloop/sdk-scheme-adapter/commit/f7e450cc2568f70f6c9abbb39d9c2186787c31b7)), closes [mojaloop/#2816](https://github.com/mojaloop/sdk-scheme-adapter/issues/2816)
20. **Testing Toolkit:**:
20. **Testing Toolkit**:
1. Added missing test currencies to FSPIOP apis provisioned in TTK [ml-testing-toolkit/pull/205](https://github.com/mojaloop/ml-testing-toolkit/pull/205)
2. Unable to retain the renamed folder ([ml-testing-toolkit-ui/pull/126](https://github.com/mojaloop/ml-testing-toolkit-ui/pull/126)), closes [mojaloop/#2656](https://github.com/mojaloop/project/issues/2656)
3. TTK does not send callbacks after processing a Callback-Rule with a FIXED_CALLBACK ([ml-testing-toolkit-ui/pull/126](https://github.com/mojaloop/ml-testing-toolkit-ui/pull/126)), closes [mojaloop/#2685](https://github.com/mojaloop/project/issues/2695)
Expand Down Expand Up @@ -98,7 +98,7 @@ Date | Revision | Description
## 4. Application release notes

1. ml-api-adapter - https://github.com/mojaloop/ml-api-adapter/releases/tag/v14.0.0
2. central-ledger - https://github.com/mojaloop/central-ledger/releases/tag/v15.1.0
2. central-ledger - https://github.com/mojaloop/central-ledger/releases/tag/v15.1.2.1
3. account-lookup-service - https://github.com/mojaloop/account-lookup-service/releases/tag/v14.0.0
4. quoting-service - https://github.com/mojaloop/quoting-service/releases/tag/v15.0.2
5. central-settlement- https://github.com/mojaloop/central-settlement/releases/tag/v15.0.0
Expand Down
64 changes: 34 additions & 30 deletions .changelog/release-v14.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,57 +2,62 @@

Date | Revision | Description
---------|----------|---------
2022-10-18 | 0 | Initial draft
2022-10-20 | 0 | Initial draft

- For *BREAKING CHANGES*, please review the section `#5` "Breaking Changes" below.
- For *KNOWN ISSUES*, please review the section `#8` "Known Issues" below.

## 1. New Features

1. **mojaloop/#2352:** Mojaloop Helm support for Kubernetes networking.k8s.io/v1 (Ingress) ([mojaloop/helm/pull/#508](https://github.com/mojaloop/helm/pull/508)), closes [mojaloop/#2352](https://github.com/mojaloop/project/issues/2352)
1. **mojaloop/#2352:** Mojaloop Helm support for Kubernetes networking.k8s.io/v1 (Ingress) ([mojaloop/helm/pull/#508](https://github.com/mojaloop/helm/pull/508)), closes [mojaloop/#2352](https://github.com/mojaloop/project/issues/2352)

## 2. Bug Fixes

N/A
1. **mojaloop/#2796** Duplicate transaction not getting callback for post /bulkTransfers ([central-ledger/pull/915](https://github.com/mojaloop/central-ledger/pull/915)), closes [mojaloop/#2796](https://github.com/mojaloop/project/issues/2796)
2. **mojaloop/#2798** No error callback when there's an Inactive participant in the transaction ([central-ledger/pull/#911](https://github.com/mojaloop/central-ledger/pull/911), [central-ledger/pull/#913](https://github.com/mojaloop/central-ledger/pull/913)), closes [mojaloop/#2798](https://github.com/mojaloop/project/issues/2798)
3. **mojaloop/#2800** Invalid dfsp name in header or body does not return any error ([central-ledger/pull/#911](https://github.com/mojaloop/central-ledger/pull/911), [central-ledger/pull/#913](https://github.com/mojaloop/central-ledger/pull/913)), closes [mojaloop/#2800](https://github.com/mojaloop/project/issues/2800)
4. **mojaloop/#2801** Invalid timestamp scenario not shown as failed transaction ([documentation/pull/385](https://github.com/mojaloop/documentation/pull/385), [central-ledger/pull/916](https://github.com/mojaloop/central-ledger/pull/916), [central-services-shared/pull/333](https://github.com/mojaloop/central-services-shared/pull/333), [testing-toolkit-test-cases/pull/81](https://github.com/mojaloop/testing-toolkit-test-cases/pull/81), [helm/pull/492](https://github.com/mojaloop/helm/pull/492)), closes [mojaloop/#2801](https://github.com/mojaloop/project/issues/2801)
5. **Testing-Toolkit**:
1. **mojaloop/#2995** mobile simulator not responding ([ml-testing-toolkit-ui/pull/141](https://github.com/mojaloop/ml-testing-toolkit-ui/pull/141), [helm/pull/512](https://github.com/mojaloop/helm/pull/512)), closes [mojaloop/#2994](https://github.com/mojaloop/project/issues/2995)

## 3. Application versions

1. ml-api-adapter: v13.0.0 -> **v14.0.0**
2. central-ledger: v13.16.1 -> **v15.1.2.1**
3. account-lookup-service: v13.0.0 -> **v14.0.0**
4. quoting-service: v14.0.0 -> **15.0.2**
5. central-settlement: 13.4.1 -> **v15.0.0**
6. central-event-processor: v11.0.2 -> **v12.0.0**
7. bulk-api-adapter: v13.0.1 -> **v14.0.0**
8. email-notifier: v11.0.2 -> **v12.0.0**
9. als-oracle-pathfinder: v11.0.4 -> **v12.0.0**
10. transaction-requests-service: v13.0.0 -> **v14.0.1**
1. ml-api-adapter: **v14.0.0**
2. central-ledger: v15.1.2.1 -> **v16.3.1** ([Compare](https://github.com/mojaloop/central-ledger/compare/v15.1.2.1...v16.3.1))
3. account-lookup-service: **v14.0.0**
4. quoting-service: **v15.0.2**
5. central-settlement: **v15.0.0**
6. central-event-processor: **v12.0.0**
7. bulk-api-adapter: v14.0.0 -> **v14.2.0** ([Compare](https://github.com/mojaloop/bulk-api-adapter/compare/v14.0.0...v14.2.0))
8. email-notifier: **v12.0.0**
9. als-oracle-pathfinder: **v12.0.0**
10. transaction-requests-service: **v14.0.1**
11. finance-portal-ui: **v10.4.3** _(DEPRECATED)_
12. finance-portal-backend-service: **v15.0.2** _(DEPRECATED)_
13. settlement-management: **v11.0.0** _(DEPRECATED)_
14. operator-settlement: **v11.0.0** _(DEPRECATED)_
15. event-sidecar: **v12.0.0**
16. event-stream-processor: v11.0.0-snapshot -> **v12.0.0-snapshot.7**
17. simulator: 12.0.0 -> **v12.0.0**
18. mojaloop-simulator: v12.1.1 -> **v13.0.1**
19. sdk-scheme-adapter: v11.18.11 -> **v18.0.2**
20. ml-testing-toolkit: v14.0.4 -> **v15.0.0**
21. ml-testing-toolkit-ui: v13.5.5 -> **v15.0.0**
16. event-stream-processor: **v12.0.0-snapshot.7**
17. simulator: **12.0.0**
18. mojaloop-simulator: **v13.0.1**
19. sdk-scheme-adapter: v11.18.11 -> **v21.4.0** ([Compare](https://github.com/mojaloop/sdk-scheme-adapter/compare/v11.18.11...v21.4.0))
20. ml-testing-toolkit: v15.0.0 -> **v15.2.0** ([Compare](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.0.0...v15.2.0))
21. ml-testing-toolkit-ui: v15.0.0 -> **v15.0.1** ([Compare](https://github.com/mojaloop/ml-testing-toolkit-ui/compare/v15.0.0...v15.0.1))
22. ml-testing-toolkit-client-lib: **v1.0.0**
23. auth-service: v11.11.1 -> **v13.0.2**
24. als-consent-service: v0.0.8 -> **v0.2.0**
25. thirdparty-api-svc: v11.21.0 -> **v13.0.2**
26. thirdparty-sdk: v11.55.1 -> **v15.1.0**
23. auth-service: **v13.0.2**
24. als-consent-service: **v0.2.0**
25. thirdparty-api-svc: **v13.0.2**
26. thirdparty-sdk: **v15.1.0**

## 4. Application release notes

1. ml-api-adapter - https://github.com/mojaloop/ml-api-adapter/releases/tag/v14.0.0
2. central-ledger - https://github.com/mojaloop/central-ledger/releases/tag/v15.1.0
2. central-ledger - https://github.com/mojaloop/central-ledger/releases/tag/v16.3.1
3. account-lookup-service - https://github.com/mojaloop/account-lookup-service/releases/tag/v14.0.0
4. quoting-service - https://github.com/mojaloop/quoting-service/releases/tag/v15.0.2
5. central-settlement- https://github.com/mojaloop/central-settlement/releases/tag/v15.0.0
6. central-event-processor - https://github.com/mojaloop/central-event-processor/releases/tag/v12.0.0
7. bulk-api-adapter - https://github.com/mojaloop/bulk-api-adapter/releases/tag/v14.0.0
7. bulk-api-adapter - https://github.com/mojaloop/bulk-api-adapter/releases/tag/v14.2.0
8. email-notifier - https://github.com/mojaloop/email-notifier/releases/tag/v12.0.0
9. als-oracle-pathfinder - https://github.com/mojaloop/als-oracle-pathfinder/releases/tag/v12.0.0
10. transaction-requests-service - https://github.com/mojaloop/transaction-requests-service/releases/tag/v14.0.1
Expand All @@ -64,9 +69,9 @@ N/A
16. event-stream-processor - https://github.com/mojaloop/event-stream-processor/releases/v12.0.0-snapshot.7
17. simulator - https://github.com/mojaloop/simulator/releases/tag/v12.0.0
18. mojaloop-simulator - https://github.com/mojaloop/mojaloop-simulator/releases/tag/v13.0.1
19. sdk-scheme-adapter - https://github.com/mojaloop/sdk-scheme-adapter/releases/tag/v18.0.2
20. ml-testing-toolkit - https://github.com/mojaloop/ml-testing-toolkit/releases/tag/v15.0.0
21. ml-testing-toolkit-ui - https://github.com/mojaloop/ml-testing-toolkit-ui/releases/tag/v15.0.0
19. sdk-scheme-adapter - https://github.com/mojaloop/sdk-scheme-adapter/releases/tag/v21.4.0
20. ml-testing-toolkit - https://github.com/mojaloop/ml-testing-toolkit/releases/tag/v15.2.0
21. ml-testing-toolkit-ui - https://github.com/mojaloop/ml-testing-toolkit-ui/releases/tag/v15.0.1
22. ml-testing-toolkit-client-lib - https://github.com/mojaloop/ml-testing-toolkit-client-lib/releases/tag/v1.0.0
23. auth-service - https://github.com/mojaloop/auth-service/releases/tag/v13.0.2
24. als-consent-service - https://github.com/mojaloop/als-consent-oracle/releases/tag/v0.2.0
Expand Down Expand Up @@ -110,8 +115,7 @@ More information can be found here:

1. This release has been tested against the following:
- Kubernetes: `v1.24.6`
- Nginx Ingress Controllers: `registry.k8s.io/ingress-nginx/controller:v1.4.0@sha256:34ee929b111ffc7aa426ffd409af44da48e5a0eea1eb2207994d9e0c0882d143`
- Testing Toolkit Test Cases: [v14.0.0.1](https://github.com/mojaloop/testing-toolkit-test-cases/releases/tag/v14.0.0.1)
- Testing Toolkit Test Cases: [v14.1.0](https://github.com/mojaloop/testing-toolkit-test-cases/releases/tag/v14.1.0)

2. 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).

Expand Down
22 changes: 22 additions & 0 deletions .helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
*IGNORE*
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# the repo. Unless a later match takes precedence,
# @mdebarros, @elynry-sam-k and @rmothilal will be requested for
# review when someone opens a pull request.
* @mdebarros @elnyry-sam-k @rmothilal @vijayg10
* @mdebarros @elnyry-sam-k @vijayg10
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@

Refer to [thirdparty/README.md](./thirdparty/README.md) for more information on what pre-requisites are required to enable Thirdparty components and how to manually deploy backend dependencies.

7. Deploy Mojaloop with Bulk-API-Adapter and SDK-TTK Bulk simulators

*Warning: This will deploy all core Mojaloop charts.*, the Bulk-API-Adapter and additional SDK+TTK simulators

- `helm --namespace <namespace> install <release_name> mojaloop/mojaloop --set mojaloop-bulk.enabled=true --set ml-ttk-test-val-bulk.tests.enabled=true `

e.g. `helm --namespace moja install dev mojaloop/mojaloop --set mojaloop-bulk.enabled=true --set ml-ttk-test-val-bulk.tests.enabled=true --set mojaloop-ttk-simulators.enabled=true --set global.kafka.host=<MOJALOOP_INSTALL_NAME>-kafka --set global.redis.host=<REDIS_INSTALL_NAME>-redis-master --set ml-ttk-test-val-sdk-bulk.tests.enabled=true`

### Deploying Backends (best practice)

It is best practice to deploy External Backend Dependencies (i.e. MySQL, Kafka, MongoDB, etc) as separate deployments. We have provided an example of how this can be done using the [example-mojaloop-backend](./example-mojaloop-backend/README.md) Helm chart. The [example-mojaloop-backend](./example-mojaloop-backend/README.md) is provided purely as an example and should only be used for PoC environments. It is recommended that you deploy each External Backend Dependencies (i.e. MySQL, Kafka, MongoDB, etc) as a separate deployment as to ensure that each deployment is maintainable.
Expand Down Expand Up @@ -170,6 +178,7 @@ Mojaloop Helm deployments currently include the following tests:
- `ml-ttk-test-setup.tests.enabled=true`
- `ml-ttk-test-val-gp.tests.enabled=true`
- `ml-ttk-test-val-bulk.tests.enabled=true` (_Note: only applicable if `mojaloop-bulk.enabled=true` is set_)
- `ml-ttk-test-val-sdk-bulk.tests.enabled=true` (_Note: only applicable if `mojaloop-bulk.enabled=true`, `mojaloop-ttk-simulators.enabled=true` is set_)

Or alternatively add `--set` for each of the above parameters on the install command:

Expand Down
25 changes: 25 additions & 0 deletions account-lookup-service/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
*IGNORE*

# Ignore child charts from being copied
chart-*
27 changes: 27 additions & 0 deletions bulk-api-adapter/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
*IGNORE*

# Ignore child charts from being copied
chart-*
# chart-sim2
# chart-sim3
2 changes: 1 addition & 1 deletion bulk-api-adapter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
description: bulk-api-adapter Helm chart for Kubernetes
name: bulk-api-adapter
version: 12.1.0
appVersion: "14.0.0"
appVersion: "14.2.0"
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion bulk-api-adapter/chart-handler-notification/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
description: bulk-api-adapter Handler for Notifications component Helm chart for Kubernetes
name: bulk-api-adapter-handler-notification
version: 12.1.0
appVersion: "14.0.0"
appVersion: "14.2.0"
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"ENDPOINT_SECURITY": {
"TLS": {
"rejectUnauthorized": {{ .Values.config.security.callback.rejectUnauthorized }}
},
"JWS": {
"JWS_SIGN": {{ .Values.config.endpointSecurity.jwsSign }},
"FSPIOP_SOURCE_TO_SIGN": {{ .Values.config.endpointSecurity.fspiopSourceSigningName | quote }},
"JWS_SIGNING_KEY_PATH": "secrets/jwsSigningKey.key"
}
},
"MAX_FULFIL_TIMEOUT_DURATION_SECONDS": 300,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ spec:
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
{{- if .Values.config.endpointSecurity.jwsSign }}
checksum/secret-jws: {{ include (print $.Template.BasePath "/secret-jws.yaml") . | sha256sum }}
{{- end }}
{{- if .Values.metrics.enabled }}
prometheus.io/port: "{{ .Values.service.internalPort }}"
prometheus.io/scrape: "true"
Expand Down Expand Up @@ -83,6 +86,10 @@ spec:
volumeMounts:
- name: {{ template "bulk-api-adapter-handler-notification.fullname" . }}-config-volume
mountPath: /opt/app/config
{{- if .Values.config.endpointSecurity.jwsSign }}
- name: jws-signing-key
mountPath: /opt/app/secrets
{{- end }}
env:
- name: LOG_LEVEL
value: {{ .Values.config.log_level }}
Expand All @@ -107,3 +114,8 @@ spec:
items:
- key: default.json
path: default.json
{{- if .Values.config.endpointSecurity.jwsSign }}
- name: jws-signing-key
secret:
secretName: {{ template "bulk-api-adapter-handler-notification.fullname" . }}-jws-signing-key
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{- if .Values.config.endpointSecurity.jwsSign }}
{{- if (not .Values.config.endpointSecurity.jwsSigningKey) }}
{{- fail "JWS signing enabled but no jwsSigningKey provided. You will need to supply a JWS signing key in string form .Values.endpointSecurity.jwsSigningKey." }}
{{- end }}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "bulk-api-adapter-handler-notification.fullname" . }}-jws-signing-key
labels:
app.kubernetes.io/name: {{ include "bulk-api-adapter-handler-notification.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 "+" "_" }}
type: Opaque
data:
jwsSigningKey.key: {{ .Values.config.endpointSecurity.jwsSigningKey | b64enc }}
{{- end }}
53 changes: 36 additions & 17 deletions bulk-api-adapter/chart-handler-notification/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
replicaCount: 1
image:
repository: mojaloop/bulk-api-adapter
tag: v14.0.0
tag: v14.2.0
command: '["node", "src/handlers/index.js", "handler", "--notification"]'
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
Expand Down Expand Up @@ -89,26 +89,45 @@ config:
# Protocol versions used for validating (VALIDATELIST) incoming FSPIOP API Headers (Content-type, Accept),
# and for generating requests/callbacks from the Switch itself (DEFAULT value)
protocol_versions: {
"CONTENT": {
"DEFAULT": "1.1",
"VALIDATELIST": [
"1",
"1.0",
"1.1"
]
},
"ACCEPT": {
"DEFAULT": "1",
"VALIDATELIST": [
"1",
"1.0",
"1.1"
]
"CONTENT": {
"DEFAULT": "1.1",
"VALIDATELIST": [
"1",
"1.0",
"1.1"
]
},
"ACCEPT": {
"DEFAULT": "1",
"VALIDATELIST": [
"1",
"1.0",
"1.1"
]
}
}
}

## MongoDB Configuration for Object Store
objstore_uri: 'mongodb://$mongodbUsername:$mongodbPassword@$release_name-centralledger-obj:27017/$mongodbDatabase'

# Parameters for JWS signing requests
endpointSecurity:
jwsSign: false
fspiopSourceSigningName: 'switch'
jwsSigningKey:
# To generate this key:
# Private:
# ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Public:
# openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
# Should look like:
# -----BEGIN RSA PRIVATE KEY-----
# MIIJKQIBAAKCAgEAxfqaZivMPd4MpdBHu0jVMf3MSuSdkSMHn+sNJdDQfl+x4R5R
# ..
# ..
# mBynFpdjO0D3PnLKjnBDn1vFAfANOwVpGXCw5mn+484A/SIXYebWruFd03g4
# -----END RSA PRIVATE KEY-----

service:
type: ClusterIP
externalPort: 80
Expand Down
2 changes: 1 addition & 1 deletion bulk-api-adapter/chart-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
description: bulk-api-adapter API component Helm chart for Kubernetes
name: bulk-api-adapter-service
version: 12.1.0
appVersion: "14.0.0"
appVersion: "14.2.0"
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
Loading