Cassandra 3 Upgrade 83/102183/1
authorshrek2000 <oren.kleks@amdocs.com>
Sun, 23 Feb 2020 11:14:01 +0000 (13:14 +0200)
committershrek2000 <oren.kleks@amdocs.com>
Sun, 23 Feb 2020 11:14:01 +0000 (13:14 +0200)
Move workflow to use SDC cassandra 3
Issue-ID: SDC-2595

Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
Change-Id: I3e0a47c514525e684cf291269a35b9511920eec6

docker-compose/cassandra.yml
workflow-designer-init/src/main/docker/Dockerfile

index 251b4c9..28d681e 100644 (file)
@@ -2,4 +2,4 @@ version: '3'
 services:
 
   cassandra:
-    image: "cassandra:2.1"
+    image: "cassandra:3.11.4"
index 9db2283..b5ee15a 100644 (file)
@@ -1,6 +1,9 @@
 FROM python:2.7-alpine3.8
 
-RUN pip install cqlsh==4.0.1
+RUN pip install cqlsh==5.0.4 && \
+    mkdir ~/.cassandra/ && \
+    echo  '[cql]' > ~/.cassandra/cqlshrc  && \
+    echo  'version=3.4.4' >> ~/.cassandra/cqlshrc
 
 COPY create_keyspaces.cql create_tables.cql start.sh ./