summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dev-setup/docker-compose.yml17
-rw-r--r--dev-setup/janusgraph.properties15
2 files changed, 29 insertions, 3 deletions
diff --git a/dev-setup/docker-compose.yml b/dev-setup/docker-compose.yml
index 098d779..b8a17a1 100644
--- a/dev-setup/docker-compose.yml
+++ b/dev-setup/docker-compose.yml
@@ -2,10 +2,16 @@ version: '3'
services:
aai-resources:
- image: onap/aai-resources:1.3.4
+ image: onap/aai-resources:1.4.0
+ volumes:
+ - ./janusgraph.properties:/opt/app/aai-resources/resources/etc/appprops/janusgraph-cached.properties
+ - ./janusgraph.properties:/opt/app/aai-resources/resources/etc/appprops/janusgraph-realtime.properties
aai-traversal:
- image: onap/aai-traversal:1.3.4
+ image: onap/aai-traversal:1.4.0
+ volumes:
+ - ./janusgraph.properties:/opt/app/aai-traversal/resources/etc/appprops/janusgraph-cached.properties
+ - ./janusgraph.properties:/opt/app/aai-traversal/resources/etc/appprops/janusgraph-realtime.properties
aai-haproxy:
image: aaionap/haproxy:1.2.4
@@ -13,4 +19,9 @@ services:
- aai-resources:aai-resources.api.simpledemo.onap.org
- aai-traversal:aai-traversal.api.simpledemo.onap.org
ports:
- - "8443:8443"
+ - 8443:8443
+
+ aai-backend:
+ image: cassandra:3.11
+ environment:
+ - CASSANDRA_START_RPC=true
diff --git a/dev-setup/janusgraph.properties b/dev-setup/janusgraph.properties
new file mode 100644
index 0000000..c70a3b8
--- /dev/null
+++ b/dev-setup/janusgraph.properties
@@ -0,0 +1,15 @@
+query.fast-property=true
+query.smart-limit=false
+
+storage.backend=cassandra
+storage.hostname=aai-backend
+
+storage.cassandra.keyspace=aaigraph
+storage.cassandra.read-consistency-level=LOCAL_QUORUM
+storage.cassandra.write-consistency-level=LOCAL_QUORUM
+storage.cassandra.replication-factor=1
+storage.cassandra.replication-strategy-class=org.apache.cassandra.locator.SimpleStrategy
+storage.lock.wait-time=300
+
+cache.db-cache = false
+load.snapshot.file=false