VES chart updates 28/4128/3
authorLusheng Ji <lji@research.att.com>
Tue, 16 Jun 2020 12:44:28 +0000 (08:44 -0400)
committerLusheng Ji <lji@research.att.com>
Tue, 16 Jun 2020 22:00:55 +0000 (18:00 -0400)
1. add config for more VES data types;
2. bring parameters such as DMaaP and topics to values and override.

Change-Id: I931d25ad5cefb46915b5b6638158548413f4afcd
Signed-off-by: Lusheng Ji <lji@research.att.com>
ric-aux/RECIPE_EXAMPLE/example_recipe.yaml
ric-aux/helm/ves/templates/configmap.yaml
ric-aux/helm/ves/values.yaml

index cda2d98..af4a5a9 100644 (file)
@@ -55,6 +55,10 @@ extsvcaux:
 #        email: ""
 
 
+ves:
+  dmaapMrHostPorts: "message-router.onap:3904"
+
+
 dashboard:
   imagePullPolicy: IfNotPresent
   image:
index 3f1f8b1..0453b85 100644 (file)
@@ -1,5 +1,5 @@
 ################################################################################
-#   Copyright (c) 2019 AT&T Intellectual Property.                             #
+#   Copyright (c) 2019,2020 AT&T Intellectual Property.                        #
 #   Copyright (c) 2019 Nokia.                                                  #
 #                                                                              #
 #   Licensed under the Apache License, Version 2.0 (the "License");            #
@@ -25,11 +25,51 @@ data:
       "channels": [
         {
           "name": "ves-measurement",
-          "cambria.topic": "unauthenticated.SEC_MEASUREMENT_OUTPUT",
           "class": "HpCambriaOutputStream",
           "stripHpId": "true",
           "type": "out",
-          "cambria.hosts": "ricaux-message-router:3904"
+          "cambria.topic": {{ .Values.ves.dmaapMrTopicSecMeasurement | quote }},
+          "cambria.hosts": {{ .Values.ves.dmaapMrHostPorts | quote }}
+        },
+        {
+          "name": "ves-fault",
+          "class": "HpCambriaOutputStream",
+          "stripHpId": "true",
+          "type": "out",
+          "cambria.topic": {{ .Values.ves.dmaapMrTopicSecFault | quote }},
+          "cambria.hosts": {{ .Values.ves.dmaapMrHostPorts | quote }}
+        },
+        {
+          "name": "ves-heartbeat",
+          "class": "HpCambriaOutputStream",
+          "stripHpId": "true",
+          "type": "out",
+          "cambria.topic": {{ .Values.ves.dmaapMrTopicSecFault | quote }},
+          "cambria.hosts": {{ .Values.ves.dmaapMrHostPorts | quote }}
+        },
+        {
+          "name": "ves-other",
+          "class": "HpCambriaOutputStream",
+          "stripHpId": "true",
+          "type": "out",
+          "cambria.topic": {{ .Values.ves.dmaapMrTopicSecOther | quote }},
+          "cambria.hosts": {{ .Values.ves.dmaapMrHostPorts | quote }}
+        },
+        {
+          "name": "ves-notification",
+          "class": "HpCambriaOutputStream",
+          "stripHpId": "true",
+          "type": "out",
+          "cambria.topic": {{ .Values.ves.dmaapMrTopicVesNotification | quote }},
+          "cambria.hosts": {{ .Values.ves.dmaapMrHostPorts | quote }}
+        },
+        {
+          "name": "ves-pnfRegistration",
+          "class": "HpCambriaOutputStream",
+          "stripHpId": "true",
+          "type": "out",
+          "cambria.topic": {{ .Values.ves.dmaapMrTopicVesPnfReg | quote }},
+          "cambria.hosts": {{ .Values.ves.dmaapMrHostPorts | quote }}
         }
       ]
     }
index c9a1b32..174a2a2 100644 (file)
@@ -28,3 +28,9 @@ ves:
     tag: 1.4.4
 
   replicaCount: 1
+  dmaapMrHostPorts: "ricaux-message-router:3904"
+  dmaapMrTopicSecMeasurement: "unauthenticated.SEC_MEASUREMENT_OUTPUT"
+  dmaapMrTopicSecFault: "unauthenticated.SEC_FAULT_OUTPUT"
+  dmaapMrTopicSecOther: "unauthenticated.SEC_OTHER_OUTPUT"
+  dmaapMrTopicVesNotification: "unauthenticated.VES_NOTIFICATION_OUTPUT"
+  dmaapMrTopicVesPnfReg: "unauthenticated.VES_PNFREG_OUTPUT"