summaryrefslogtreecommitdiffstats
path: root/components/aai-graphadmin/resources/config/migration/janusgraph-migration-real.properties
diff options
context:
space:
mode:
Diffstat (limited to 'components/aai-graphadmin/resources/config/migration/janusgraph-migration-real.properties')
-rw-r--r--components/aai-graphadmin/resources/config/migration/janusgraph-migration-real.properties14
1 files changed, 6 insertions, 8 deletions
diff --git a/components/aai-graphadmin/resources/config/migration/janusgraph-migration-real.properties b/components/aai-graphadmin/resources/config/migration/janusgraph-migration-real.properties
index 8ef28c9..4b7261e 100644
--- a/components/aai-graphadmin/resources/config/migration/janusgraph-migration-real.properties
+++ b/components/aai-graphadmin/resources/config/migration/janusgraph-migration-real.properties
@@ -20,18 +20,16 @@ query.smart-limit=false
{{- if eq .Values.global.jobs.migration.remoteCassandra.enabled false }}
-storage.backend=cassandra
-
-#In case of upgrades from Casablanca provide the override aai.global.cassandra.existingInstServiceName=aai-cassandra
+storage.backend=cql
storage.hostname={{ .Values.global.cassandra.existingInstServiceName | default .Values.global.cassandra.serviceName }}
+storage.cql.keyspace=aaigraph
storage.username={{.Values.global.cassandra.username}}
storage.password={{.Values.global.cassandra.password}}
-storage.cassandra.keyspace=aaigraph
-storage.cassandra.read-consistency-level=LOCAL_QUORUM
-storage.cassandra.write-consistency-level=LOCAL_QUORUM
-storage.cassandra.replication-factor=3
-storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.SimpleStrategy
+storage.cql.read-consistency-level=LOCAL_QUORUM
+storage.cql.write-consistency-level=LOCAL_QUORUM
+storage.cql.replication-factor={{.Values.global.cassandra.replicas}}
+storage.cql.only-use-local-consistency-for-system-operations=true
{{- else }}
{{- if .Values.global.jobs.migration.remoteCassandra.storage }}
storage.backend={{ .Values.global.jobs.migration.remoteCassandra.storage.backend }}