aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authoravigaffa <avi.gaffa@amdocs.com>2019-01-03 14:18:49 +0200
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2019-01-03 13:35:56 +0000
commit3bfe76a41d7c46d6b367801a0802eb8d4273dfe4 (patch)
treef7cfd3ba67d07793df4f661d87824d33bda81571 /README.md
parentc290365753ae928a3e447615d01342823d0be812 (diff)
workflow replication factor
Change sdc-workflow-designer-init docker to support keyspace configuration Change-Id: I5e5350b00de1702d978d3c7179692c7b0cd04e9e Issue-ID: SDC-2033 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index ec28b82e..ca484331 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,17 @@ An easy way to spin up a Cassandra instance is using a Cassandra Docker image as
**WARNING**: *This step must be executed only once.*
+Workflow Designer requires two Cassandra namespaces:
+
+- WORKFLOW
+- ZUSAMMEN_WORKFLOW
+
+By default, these keyspaces are configured to use a simple replication strategy (`'class' : 'SimpleStrategy'`)
+and the replication factor of one (`'replication_factor' : 1`). In order to override this configuration, override
+the *create_keyspaces.cql* file at the root of the initialization container using
+[Docker volume mapping](https://docs.docker.com/storage/volumes/). Include `IF NOT EXISTS` clause in the keyspace
+creation statements to prevent accidental data loss.
+
`docker run -ti -e CS_HOST=<cassandra-host> -e CS_PORT=<cassandra-port> -e CS_AUTHENTICATE=true/false
-e CS_USER=<cassandra-user> -e CS_PASSWORD=<cassandra-password> nexus3.onap.org:10001/onap/workflow-init:latest`