Resolve UEB listener dblib config issue 05/46405/1
authorjmac <james.macnider@amdocs.com>
Mon, 7 May 2018 14:38:16 +0000 (14:38 +0000)
committerjmac <james.macnider@amdocs.com>
Mon, 7 May 2018 14:38:36 +0000 (14:38 +0000)
Change-Id: If925a7855b83beba86e769c1350fd65dc4165531
Signed-off-by: jmac <james.macnider@amdocs.com>
Issue-ID: OOM-1049

kubernetes/sdnc/charts/sdnc-portal/resources/config/admportal.json
kubernetes/sdnc/charts/ueb-listener/resources/config/ueb-listener.properties
kubernetes/sdnc/charts/ueb-listener/templates/configmap.yaml
kubernetes/sdnc/charts/ueb-listener/templates/deployment.yaml
kubernetes/sdnc/charts/ueb-listener/values.yaml

index afd8721..3e87321 100644 (file)
@@ -39,8 +39,8 @@
   "dbPassword": "gamma",
   "dbName": "sdnctl",
   "odlProtocol": "http",
-  "odlHost": "{{.Release.Name}}-sdnc.{{.Release.Namespace}}",
-  "odlConexusHost": "{{.Release.Name}}-sdnc.{{.Release.Namespace}}",
+  "odlHost": "sdnc.{{.Release.Namespace}}",
+  "odlConexusHost": "sdnc.{{.Release.Namespace}}",
   "odlPort": "8181",
   "odlConexusPort": "8181",
   "odlUser": "admin",
index cd184bf..a91ad94 100644 (file)
@@ -6,7 +6,7 @@ org.onap.ccsdk.sli.northbound.uebclient.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84
 org.onap.ccsdk.sli.northbound.uebclient.user=sdnc
 org.onap.ccsdk.sli.northbound.uebclient.sdnc-user=admin
 org.onap.ccsdk.sli.northbound.uebclient.sdnc-passwd=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
-org.onap.ccsdk.sli.northbound.uebclient.asdc-api-base-url=http://sdnhost.{{.Release.Namespace}}:8282/restconf/operations/
+org.onap.ccsdk.sli.northbound.uebclient.asdc-api-base-url=http://sdnc.{{.Release.Namespace}}:8282/restconf/operations/
 org.onap.ccsdk.sli.northbound.uebclient.asdc-api-namespace=org:onap:ccsdk
 org.onap.ccsdk.sli.northbound.uebclient.spool.incoming=/opt/onap/sdnc/ueb-listener/spool/incoming
 org.onap.ccsdk.sli.northbound.uebclient.spool.archive=/opt/onap/sdnc/ueb-listener/spool/archive
index 397303f..fd8934b 100644 (file)
@@ -15,7 +15,7 @@
 apiVersion: v1
 kind: ConfigMap
 metadata:
-  name: sdnc-ueb-configmap
+  name: {{ include "common.fullname" . }}
   namespace: {{ include "common.namespace" . }}
 data:
 {{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
index e3f324e..48de1dd 100644 (file)
@@ -66,9 +66,8 @@ spec:
         - mountPath: /etc/localtime
           name: localtime
           readOnly: true
-        - mountPath: /opt/onap/sdnc/data/properties/ueb-listener.properties
-          subPath: ueb-listener.properties
-          name: ueb-config
+        - mountPath: {{ .Values.config.configDir }}
+          name: {{ include "common.fullname" . }}
         resources:
 {{ toYaml .Values.resources | indent 12 }}
         {{- if .Values.nodeSelector }}
@@ -84,8 +83,8 @@ spec:
         - name: localtime
           hostPath:
             path: /etc/localtime
-        - name: ueb-config
+        - name: {{ include "common.fullname" . }}
           configMap:
-            name: sdnc-ueb-configmap
+            name: {{ include "common.fullname" . }}
       imagePullSecrets:
       - name: "{{ include "common.namespace" . }}-docker-registry-key"
\ No newline at end of file
index a6722eb..f31594e 100644 (file)
@@ -37,7 +37,7 @@ debugEnabled: false
 # application configuration
 config:
   uebPort: 3904
-  mysqlChartName: sdnc-dbhost
+  mysqlChartName: sdnc-db
   sdncChartName: sdnc
   sdcbeChartName: sdc-be
   msgRouterContainerName: dmaap