aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-be/resources/config/catalog-be/janusgraph.properties
diff options
context:
space:
mode:
authorrohit.raj@t-systems.com <rohit.raj@t-systems.com>2025-01-27 13:43:00 +0100
committerrohit.raj@t-systems.com <rohit.raj@t-systems.com>2025-01-27 15:32:41 +0100
commitbc1efc46f17ff8097b6aca80d3549a03c9a767ae (patch)
treee2396b1757d488d718af357b3131000ce399caf0 /kubernetes/sdc/components/sdc-be/resources/config/catalog-be/janusgraph.properties
parentdd6afefc86a83e6a620d4d6448c2d6a66fb8cd60 (diff)
[SDC] Chart changes related to catalog-be and openecomp-be module
- Contains changes related to catalog-be(sdc-be) and openecomp-be(sdc-onboarding-be) module after chef-removal. - Has some configuration files as configmap that were getting generated through Chef before. Issue-ID: SDC-4710 Change-Id: Ia84ceffa7dc7371b232f7c9d6d4082416c23e4f8 Signed-off-by: rohit.raj@t-systems.com <rohit.raj@t-systems.com>
Diffstat (limited to 'kubernetes/sdc/components/sdc-be/resources/config/catalog-be/janusgraph.properties')
-rw-r--r--kubernetes/sdc/components/sdc-be/resources/config/catalog-be/janusgraph.properties39
1 files changed, 39 insertions, 0 deletions
diff --git a/kubernetes/sdc/components/sdc-be/resources/config/catalog-be/janusgraph.properties b/kubernetes/sdc/components/sdc-be/resources/config/catalog-be/janusgraph.properties
new file mode 100644
index 0000000000..a08f7bd77a
--- /dev/null
+++ b/kubernetes/sdc/components/sdc-be/resources/config/catalog-be/janusgraph.properties
@@ -0,0 +1,39 @@
+storage.backend=cql
+storage.hostname={{ .Values.cassandra.hostname }}
+storage.port={{ .Values.cassandra.port }}
+storage.username={{ .Values.cassandra.cassandraUsername }}
+storage.password={{ .Values.cassandra.cassandraPassword }}
+storage.connection-timeout={{ .Values.cassandra.connectionTimeout }}
+storage.cql.keyspace=sdctitan
+
+storage.cql.ssl.enabled={{ .Values.cassandra.cassandraSslEnabled }}
+storage.cql.ssl.keystore.location={{ .Values.cassandra.keystoreLocation }}
+storage.cql.ssl.keystore.password={{ .Values.cassandra.keystorePassword }}
+storage.cql.ssl.truststore.location={{ .Values.cassandra.truststoreLocation }}
+storage.cql.ssl.truststore.password={{ .Values.cassandra.truststorePassword }}
+
+storage.cql.read-consistency-level={{ .Values.cassandra.readConsistencyLevel }}
+storage.cql.write-consistency-level={{ .Values.cassandra.writeConsistencyLevel }}
+storage.cql.replication-strategy-class=NetworkTopologyStrategy
+
+
+{{- $replicationStrategyOptions := "" -}}
+{{- if .Values.pairEnvName | eq "" }}
+{{- $replicationStrategyOptions = printf "%s,%d" .Values.cassandra.datacenterName (int .Values.cassandra.replicationFactor) -}}
+{{- else }}
+{{- $replicationStrategyOptions = printf "%s,%d,%s%s,%d" .Values.cassandra.datacenterName (int .Values.cassandra.replicationFactor) .Values.cassandra.cluster_name .Values.pairEnvName (int .Values.cassandra.replicationFactor) -}}
+{{- end }}
+
+storage.cql.replication-strategy-options={{ $replicationStrategyOptions }}
+
+storage.cql.local-datacenter={{ .Values.cassandra.datacenterName }}
+
+cache.db-cache ={{ .Values.cassandra.db_cache }}
+cache.db-cache-clean-wait = 20
+cache.db-cache-time = 180000
+cache.db-cache-size = 0.5
+
+cache.tx-cache-size = 1000000
+
+storage.lock.retries=5
+graph.replace-instance-if-exists=true