summaryrefslogtreecommitdiffstats
path: root/components/aai-traversal
diff options
context:
space:
mode:
authorHarish Venkata Kajur <vk250x@att.com>2019-12-10 16:13:27 -0500
committerHarish Venkata Kajur <vk250x@att.com>2019-12-10 16:13:29 -0500
commit552da2c65b6af3f6328fcc6b11af9329d5efa30a (patch)
treee7f602809971d62995d4810719ee2fe9e3ed4a4b /components/aai-traversal
parent6e20d0fb3f4dacda0c6cbccc7cf0424a21432fcf (diff)
Update the janusgraph properties for cassandra 3
Issue-ID: AAI-2731 Change-Id: Ic64ba3c97374db4f9ef0961b1e910714db49b4ae Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
Diffstat (limited to 'components/aai-traversal')
-rw-r--r--components/aai-traversal/resources/config/janusgraph-cached.properties12
-rw-r--r--components/aai-traversal/resources/config/janusgraph-realtime.properties12
2 files changed, 12 insertions, 12 deletions
diff --git a/components/aai-traversal/resources/config/janusgraph-cached.properties b/components/aai-traversal/resources/config/janusgraph-cached.properties
index 5b9fd07..1db2774 100644
--- a/components/aai-traversal/resources/config/janusgraph-cached.properties
+++ b/components/aai-traversal/resources/config/janusgraph-cached.properties
@@ -25,16 +25,16 @@ query.smart-limit=false
{{ if .Values.global.config.cluster.cassandra.dynamic }}
-storage.backend=cassandra
+storage.backend=cql
storage.hostname={{.Values.global.cassandra.serviceName}}
-storage.cassandra.keyspace=aaigraph
+storage.cql.keyspace=aaigraph
storage.username={{.Values.global.cassandra.username}}
storage.password={{.Values.global.cassandra.password}}
-storage.cassandra.read-consistency-level=LOCAL_QUORUM
-storage.cassandra.write-consistency-level=LOCAL_QUORUM
-storage.cassandra.replication-factor={{.Values.global.cassandra.replicas}}
-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 }}
diff --git a/components/aai-traversal/resources/config/janusgraph-realtime.properties b/components/aai-traversal/resources/config/janusgraph-realtime.properties
index 3b99d8a..36cbc42 100644
--- a/components/aai-traversal/resources/config/janusgraph-realtime.properties
+++ b/components/aai-traversal/resources/config/janusgraph-realtime.properties
@@ -23,16 +23,16 @@ query.smart-limit=false
{{ if .Values.global.config.cluster.cassandra.dynamic }}
-storage.backend=cassandra
+storage.backend=cql
storage.hostname={{.Values.global.cassandra.serviceName}}
-storage.cassandra.keyspace=aaigraph
+storage.cql.keyspace=aaigraph
storage.username={{.Values.global.cassandra.username}}
storage.password={{.Values.global.cassandra.password}}
-storage.cassandra.read-consistency-level=LOCAL_QUORUM
-storage.cassandra.write-consistency-level=LOCAL_QUORUM
-storage.cassandra.replication-factor={{.Values.global.cassandra.replicas}}
-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 }}