Add env variables to helm charts 45/14245/2
authoraravind.est <aravindhan.a@est.tech>
Tue, 11 Mar 2025 16:21:40 +0000 (16:21 +0000)
committeraravind.est <aravindhan.a@est.tech>
Wed, 12 Mar 2025 12:48:55 +0000 (12:48 +0000)
New environment variables are added to pm-file-converter

Issue-ID: NONRTRIC-1048
Change-Id: Ifebeabbf4a7ac9669577621d507033a1cc5ac39b
Signed-off-by: aravind.est <aravindhan.a@est.tech>
install/helm/nrt-pm/charts/dfc/config/application.yaml
install/helm/nrt-pm/charts/kafka-producer-pm-json2influx/templates/app-statefulset.yaml
install/helm/nrt-pm/charts/kafka-producer-pm-json2kafka/templates/app-statefulset.yaml
install/helm/nrt-pm/charts/kafka-producer-pm-xml2json/templates/app-statefulset.yaml

index 49e0e09..a5b35ee 100644 (file)
@@ -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 ','.
index a8b34fb..e3be426 100644 (file)
@@ -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
index 5aacf26..dfd4a0a 100644 (file)
@@ -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
index 31d46da..cd5e7c6 100644 (file)
@@ -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