summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-04-25 21:24:47 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-25 21:24:47 +0000
commitb2767c2bf1869f20d2d70d2891d82be8f44e5e58 (patch)
treeb7158bc02a9d3244c890604e8337d3c8ec71cb3c
parenta66d57120ed3a148c3ac9d016fafd0929f7b59ae (diff)
parent41481c56c6d583ea6df95159db413fc9e9640d6a (diff)
Merge "Fix the janus graph cached properties"
-rw-r--r--charts/aai-resources/resources/config/janusgraph-cached.properties4
-rw-r--r--charts/aai-traversal/resources/config/janusgraph-cached.properties4
2 files changed, 4 insertions, 4 deletions
diff --git a/charts/aai-resources/resources/config/janusgraph-cached.properties b/charts/aai-resources/resources/config/janusgraph-cached.properties
index 7e94ae4..e3128b8 100644
--- a/charts/aai-resources/resources/config/janusgraph-cached.properties
+++ b/charts/aai-resources/resources/config/janusgraph-cached.properties
@@ -24,10 +24,10 @@ query.fast-property=true
query.smart-limit=false
{{- $seed_size := default 1 .Values.global.cassandra.replicas | int -}}
+{{- $global := . }}
-# the following parameters are not reloaded automatically and require a manual bounce
storage.backend=cassandra
-storage.hostname={{- range $i, $e := until $seed_size }}aai-cassandra-{{ $i }},{{- end }}
+storage.hostname={{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-aai-cassandra-{{ $i }},{{- end }}
storage.cassandra.keyspace=aaigraph
diff --git a/charts/aai-traversal/resources/config/janusgraph-cached.properties b/charts/aai-traversal/resources/config/janusgraph-cached.properties
index 7e94ae4..e3128b8 100644
--- a/charts/aai-traversal/resources/config/janusgraph-cached.properties
+++ b/charts/aai-traversal/resources/config/janusgraph-cached.properties
@@ -24,10 +24,10 @@ query.fast-property=true
query.smart-limit=false
{{- $seed_size := default 1 .Values.global.cassandra.replicas | int -}}
+{{- $global := . }}
-# the following parameters are not reloaded automatically and require a manual bounce
storage.backend=cassandra
-storage.hostname={{- range $i, $e := until $seed_size }}aai-cassandra-{{ $i }},{{- end }}
+storage.hostname={{- range $i, $e := until $seed_size }}{{ $global.Release.Name }}-aai-cassandra-{{ $i }},{{- end }}
storage.cassandra.keyspace=aaigraph