summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2023-02-23 10:29:02 +0000
committerPriyank Maheshwari <priyank.maheshwari@est.tech>2023-03-23 14:56:26 +0000
commit4743064f4951631c76732bafc120b05217199863 (patch)
tree6f2c1a06235b149e7ff43e8c39ddf8be3e04f926
parent5b76eca5250aa16c7a3fcf8ef984acff2807d656 (diff)
[CPS] Ncmp dmi plugin kafka parameter ov
- Explicitly providing kafka parameters in the application-helm file to be overridden later from the charts - https://jira.onap.org/browse/CPS-1088 - adding missed OOM chart update coz of this task - temporarily enabling the DEBUG level logs Issue-ID: CPS-1510 Change-Id: I5a82771042f9a2f700172549ac561bc73ff35906 Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
-rw-r--r--kubernetes/cps/components/cps-core/values.yaml2
-rw-r--r--kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml5
-rw-r--r--kubernetes/cps/components/ncmp-dmi-plugin/values.yaml2
3 files changed, 7 insertions, 2 deletions
diff --git a/kubernetes/cps/components/cps-core/values.yaml b/kubernetes/cps/components/cps-core/values.yaml
index a016574dc5..7bdb79d8f9 100644
--- a/kubernetes/cps/components/cps-core/values.yaml
+++ b/kubernetes/cps/components/cps-core/values.yaml
@@ -182,7 +182,7 @@ config:
# spring.config.min-size: 10
additional:
- notification.data-updated.enabled: true
+ notification.enabled: true
notification.data-updated.topic: &dataUpdatedTopic cps.data-updated-events
notification.data-updated.filters.enabled-dataspaces: ""
notification.async.enabled: false
diff --git a/kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml b/kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml
index 8e71114c8c..2a31c73303 100644
--- a/kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml
+++ b/kubernetes/cps/components/ncmp-dmi-plugin/resources/config/application-helm.yml
@@ -49,6 +49,11 @@ logging:
onap:
cps: {{ .Values.logging.cps }}
+spring.kafka.bootstrap-servers: {{ include "common.release" . }}-strimzi-kafka-bootstrap:9092
+spring.kafka.security.protocol: SASL_PLAINTEXT
+spring.kafka.properties.sasl.mechanism: SCRAM-SHA-512
+spring.kafka.properties.sasl.jaas.config: ${SASL_JAAS_CONFIG}
+
{{- if .Values.config.additional }}
{{ toYaml .Values.config.additional | nindent 2 }}
diff --git a/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml b/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml
index c35519b5fc..44f11f5b9c 100644
--- a/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml
+++ b/kubernetes/cps/components/ncmp-dmi-plugin/values.yaml
@@ -164,7 +164,7 @@ config:
# spring.config.min-size: 10
logging:
- level: INFO
+ level: DEBUG
cps: DEBUG
path: /tmp