[Champ] Fix startup issue
Correct cassandra configuration to allow microservice to start.
Change-Id: I6f3b8bd80fbc73ddffc009e5f41263135d2f0a59
Issue-ID: AAI-1587
Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
diff --git a/charts/aai-champ/resources/config/dynamic/conf/champ-beans.xml b/charts/aai-champ/resources/config/dynamic/conf/champ-beans.xml
index 9d7ddd1..325982b 100644
--- a/charts/aai-champ/resources/config/dynamic/conf/champ-beans.xml
+++ b/charts/aai-champ/resources/config/dynamic/conf/champ-beans.xml
@@ -46,8 +46,7 @@
{{- $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 -->