[Champ] Fix startup issue 83/66383/1
authorMichael Arrastia <MArrasti@amdocs.com>
Thu, 13 Sep 2018 14:42:17 +0000 (15:42 +0100)
committerMichael Arrastia <MArrasti@amdocs.com>
Thu, 13 Sep 2018 14:42:17 +0000 (15:42 +0100)
Correct cassandra configuration to allow microservice to start.

Change-Id: I6f3b8bd80fbc73ddffc009e5f41263135d2f0a59
Issue-ID: AAI-1587
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
kubernetes/aai/charts/aai-champ/resources/config/dynamic/conf/champ-beans.xml

index 9d7ddd1..325982b 100644 (file)
@@ -46,8 +46,7 @@ xsi:schemaLocation="
 
         {{- $seed_size := default 1 .Values.global.cassandra.replicas | int -}}
         {{- $global := . }}
-        <entry key="storage.hostname" value="{{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-aai-cassandra-{{ $i }},{{- end }}"/>
-        <entry key="storage.port" value="9160"/>
+        <entry key="storage.hostname" value="{{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-{{$global.Values.global.cassandra.serviceName}}-{{ $i }}.{{$global.Values.global.cassandra.serviceName}},{{- end }}"/>
     </util:map>
 
     <!-- Janus Implementation -->