From ec989468fa27812570ebda59cabb5ca32ca4cfa0 Mon Sep 17 00:00:00 2001 From: "Kajur, Harish (vk250x)" Date: Thu, 1 Nov 2018 18:36:26 -0400 Subject: [PATCH] Add cql jar to traversal Issue-ID: AAI-1835 Change-Id: Ia8534129ac211b5343765a574f884ca42199cb62 Signed-off-by: Kajur, Harish (vk250x) --- aai-traversal/pom.xml | 18 ++++++++++++++++++ .../etc/appprops/janusgraph-cached.properties | 17 +++++++++++++++++ .../etc/appprops/janusgraph-realtime.properties | 17 +++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/aai-traversal/pom.xml b/aai-traversal/pom.xml index 452074a..b61217d 100644 --- a/aai-traversal/pom.xml +++ b/aai-traversal/pom.xml @@ -469,6 +469,24 @@ org.slf4j slf4j-log4j12 + + + + org.janusgraph + janusgraph-cql + ${janusgraph.version} + + + org.slf4j + slf4j-log4j12 + + + + + org.janusgraph + janusgraph-hbase + ${janusgraph.version} + dom4j dom4j diff --git a/aai-traversal/src/main/resources/etc/appprops/janusgraph-cached.properties b/aai-traversal/src/main/resources/etc/appprops/janusgraph-cached.properties index 9f85c8e..2fb4940 100644 --- a/aai-traversal/src/main/resources/etc/appprops/janusgraph-cached.properties +++ b/aai-traversal/src/main/resources/etc/appprops/janusgraph-cached.properties @@ -34,3 +34,20 @@ cache.db-cache-size = 0.3 #load graphson file on startup load.snapshot.file=false + +#storage.backend=cql +#storage.hostname=host1,host2,host3 +#storage.cql.replication-strategy-class=NetworkTopologyStrategy +#storage.cql.replication-strategy-options=options +# for single datacenter cluster +#storage.cql.replication-factor=3 + +#storage.cql.keyspace=aaigraph_single_dc +#storage.cql.only-use-local-consistency-for-system-operations=true +#storage.cql.cluster-name=clusterName +#storage.cql.local-datacenter=dataCenter +#storage.cql.read-consistency-level=QUORUM +#storage.cql.write-consistency-level=QUORUM +#storage.connection-timeout=100000 +#cache.tx-cache-size = 1000000 +#metrics.enabled=true diff --git a/aai-traversal/src/main/resources/etc/appprops/janusgraph-realtime.properties b/aai-traversal/src/main/resources/etc/appprops/janusgraph-realtime.properties index f938182..fbb2090 100644 --- a/aai-traversal/src/main/resources/etc/appprops/janusgraph-realtime.properties +++ b/aai-traversal/src/main/resources/etc/appprops/janusgraph-realtime.properties @@ -31,3 +31,20 @@ cache.db-cache = false #load graphson file on startup load.snapshot.file=false + +#storage.backend=cql +#storage.hostname=host1,host2,host3 +#storage.cql.replication-strategy-class=NetworkTopologyStrategy +#storage.cql.replication-strategy-options=options +# for single datacenter cluster +#storage.cql.replication-factor=3 + +#storage.cql.keyspace=aaigraph_single_dc +#storage.cql.only-use-local-consistency-for-system-operations=true +#storage.cql.cluster-name=clusterName +#storage.cql.local-datacenter=dataCenter +#storage.cql.read-consistency-level=QUORUM +#storage.cql.write-consistency-level=QUORUM +#storage.connection-timeout=100000 +#cache.tx-cache-size = 1000000 +#metrics.enabled=true -- 2.16.6