From cfb34a99dc39c0ef22d5b1aab884483338ffed95 Mon Sep 17 00:00:00 2001 From: "aravind.est" Date: Tue, 11 Mar 2025 16:21:40 +0000 Subject: [PATCH] Add env variables to helm charts New environment variables are added to pm-file-converter Issue-ID: NONRTRIC-1048 Change-Id: Ifebeabbf4a7ac9669577621d507033a1cc5ac39b Signed-off-by: aravind.est --- install/helm/nrt-pm/charts/dfc/config/application.yaml | 6 ++++-- .../kafka-producer-pm-json2influx/templates/app-statefulset.yaml | 8 +++++++- .../kafka-producer-pm-json2kafka/templates/app-statefulset.yaml | 8 +++++++- .../kafka-producer-pm-xml2json/templates/app-statefulset.yaml | 8 +++++++- 4 files changed, 25 insertions(+), 5 deletions(-) diff --git a/install/helm/nrt-pm/charts/dfc/config/application.yaml b/install/helm/nrt-pm/charts/dfc/config/application.yaml index 49e0e09..a5b35ee 100644 --- a/install/helm/nrt-pm/charts/dfc/config/application.yaml +++ b/install/helm/nrt-pm/charts/dfc/config/application.yaml @@ -50,8 +50,10 @@ app: number-of-worker-treads: 50 # If the file name is empty, no authorization token is used auth-token-file: /token-cache/jwt.txt - # If specified, this value will be used as a class to map the fileready event from kafka - # If this is empty, default filereadymessage class will be used + # This controls the format used for processing the file-ready messages + # Example values: + # file-ready-message-class: "" (empty) -> Default format(org.oran.datafile.model.DefaultFileReadyMessage) + # file-ready-message-class: "TS28532" (Not empty) -> org.oran.datafile.model.TS28532FileReadyMessage file-ready-message-class: # KAFKA boostrap servers. This is only needed if there are Information Types that uses a kafkaInputTopic # several redundant boostrap servers can be specified, separated by a comma ','. diff --git a/install/helm/nrt-pm/charts/kafka-producer-pm-json2influx/templates/app-statefulset.yaml b/install/helm/nrt-pm/charts/kafka-producer-pm-json2influx/templates/app-statefulset.yaml index a8b34fb..e3be426 100644 --- a/install/helm/nrt-pm/charts/kafka-producer-pm-json2influx/templates/app-statefulset.yaml +++ b/install/helm/nrt-pm/charts/kafka-producer-pm-json2influx/templates/app-statefulset.yaml @@ -1,6 +1,6 @@ # ============LICENSE_START=============================================== # Copyright (C) 2020-2023 Nordix Foundation. All rights reserved. -# Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved. +# Copyright (C) 2023-2025 OpenInfra Foundation Europe. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -56,6 +56,12 @@ spec: - name: KAFKA_SERVER value: kafka-1-kafka-bootstrap.nonrtric:9097 + # This property controls the data format used for the conversion + # Example values: + # DATA_TYPE_FORMAT = "" -> older 4G/Default Measurement file format + # DATA_TYPE_FORMAT = "TS28532" -> 5G/3GPP-TS-28.532 Measurement file format + - name: DATA_TYPE_FORMAT + value: "" - name: ICS value: informationservice.nonrtric:8083 - name: SELF diff --git a/install/helm/nrt-pm/charts/kafka-producer-pm-json2kafka/templates/app-statefulset.yaml b/install/helm/nrt-pm/charts/kafka-producer-pm-json2kafka/templates/app-statefulset.yaml index 5aacf26..dfd4a0a 100644 --- a/install/helm/nrt-pm/charts/kafka-producer-pm-json2kafka/templates/app-statefulset.yaml +++ b/install/helm/nrt-pm/charts/kafka-producer-pm-json2kafka/templates/app-statefulset.yaml @@ -1,6 +1,6 @@ # ============LICENSE_START=============================================== # Copyright (C) 2020-2023 Nordix Foundation. All rights reserved. -# Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved. +# Copyright (C) 2023-2025 OpenInfra Foundation Europe. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -56,6 +56,12 @@ spec: - name: KAFKA_SERVER value: kafka-1-kafka-bootstrap.nonrtric:9097 + # This property controls the data format used for the conversion + # Example values: + # DATA_TYPE_FORMAT = "" -> older 4G/Default Measurement file format + # DATA_TYPE_FORMAT = "TS28532" -> 5G/3GPP-TS-28.532 Measurement file format + - name: DATA_TYPE_FORMAT + value: "" - name: ICS value: informationservice.nonrtric:8083 - name: SELF diff --git a/install/helm/nrt-pm/charts/kafka-producer-pm-xml2json/templates/app-statefulset.yaml b/install/helm/nrt-pm/charts/kafka-producer-pm-xml2json/templates/app-statefulset.yaml index 31d46da..cd5e7c6 100644 --- a/install/helm/nrt-pm/charts/kafka-producer-pm-xml2json/templates/app-statefulset.yaml +++ b/install/helm/nrt-pm/charts/kafka-producer-pm-xml2json/templates/app-statefulset.yaml @@ -1,6 +1,6 @@ # ============LICENSE_START=============================================== # Copyright (C) 2020-2023 Nordix Foundation. All rights reserved. -# Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved. +# Copyright (C) 2023-2025 OpenInfra Foundation Europe. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -56,6 +56,12 @@ spec: - name: KAFKA_SERVER value: kafka-1-kafka-bootstrap.nonrtric:9097 + # This property controls the data format used for the conversion + # Example values: + # DATA_TYPE_FORMAT = "" -> older 4G/Default Measurement file format + # DATA_TYPE_FORMAT = "TS28532" -> 5G/3GPP-TS-28.532 Measurement file format + - name: DATA_TYPE_FORMAT + value: "" - name: ICS value: informationservice.nonrtric:8083 - name: SELF -- 2.16.6