Skip to content

Commit

Permalink
fix: default.json (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinkrustev authored Jun 7, 2024
1 parent f2de4ca commit 1be9e02
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
6 changes: 3 additions & 3 deletions mojaloop/finance-portal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 4.2.4
version: 4.2.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "4.2.4"
appVersion: "4.2.5"
dependencies:
- name: common
repository: "file://../common"
Expand Down Expand Up @@ -63,7 +63,7 @@ dependencies:
tags:
- mojaloop
- reporting-events-processor-svc
version: 3.0.0
version: 3.0.1
- name: reporting-hub-bop-role-ui
condition: reporting-hub-bop-role-ui.enabled
repository: "file://../reporting-hub-bop-role-ui"
Expand Down
2 changes: 1 addition & 1 deletion mojaloop/reporting-events-processor-svc/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Reporting Events Processor
name: reporting-events-processor-svc
version: 3.0.0
version: 3.0.1
appVersion: "3.0.0"
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ metadata:
data:
{{- range $fileName, $fileContents := .Values.configFiles }}
{{ $fileName }}: |
{{- include "common.tplvalues.render" ( dict "value" $fileContents "context" $ ) | nindent 4 }}
{{- include "common.tplvalues.renderToJson" ( dict "value" $fileContents "context" $ ) | nindent 4 }}
{{- end }}
21 changes: 10 additions & 11 deletions mojaloop/reporting-events-processor-svc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,18 +169,17 @@ metrics:
serviceName: reporting-events-processor-svc

configFiles:
default.json: |
{
default.json: {
"EVENT_STORE_DB": {
"HOST": "{{ include "common.backends.reportingEventsDB.host" . }}",
"PORT": "{{ include "common.backends.reportingEventsDB.port" . }}",
"USER": "{{ include "common.backends.reportingEventsDB.user" . }}",
"PASSWORD": "{{ include "common.backends.reportingEventsDB.password" . }}",
"DATABASE": "{{ include "common.backends.reportingEventsDB.database" . }}",
"HOST": '{{ include "common.backends.reportingEventsDB.host" . }}',
"PORT": '{{ include "common.backends.reportingEventsDB.port" . }}',
"USER": '{{ include "common.backends.reportingEventsDB.user" . }}',
"PASSWORD": '{{ include "common.backends.reportingEventsDB.password" . }}',
"DATABASE": '{{ include "common.backends.reportingEventsDB.database" . }}',
"EVENTS_COLLECTION": "reporting"
},
"KAFKA": {
"TOPIC_EVENT": "{{ .Values.kafka.topicEvent }}",
"TOPIC_EVENT": '{{ .Values.kafka.topicEvent }}',
"CONSUMER": {
"EVENT": {
"config": {
Expand All @@ -195,9 +194,9 @@ configFiles:
"consumeTimeout": 10
},
"rdkafkaConf": {
"clientId": "{{ .Values.kafka.clientId }}",
"groupId": "{{ .Values.kafka.consumerGroup }}",
"metadataBrokerList": "{{ .Values.kafka.host }}:{{ .Values.kafka.port }}",
"clientId": '{{ .Values.kafka.clientId }}',
"groupId": '{{ .Values.kafka.consumerGroup }}',
"metadataBrokerList": '{{ .Values.kafka.host }}:{{ .Values.kafka.port }}',
"socketKeepaliveEnable": true,
"allowAutoCreateTopics": true,
"partitionAssignmentStrategy": "",
Expand Down

0 comments on commit 1be9e02

Please sign in to comment.