aboutsummaryrefslogtreecommitdiffstats
path: root/distribution/cassandra_job/admin.cql
diff options
context:
space:
mode:
authorBharath Balasubramanian <bharathb@research.att.com>2018-09-18 02:48:41 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-18 02:48:41 +0000
commit1c28ca5b696c1c8df24c207fd1235af0b85c4186 (patch)
tree2ea4dc577eabbf91eb91fdf673d75de06cdfd049 /distribution/cassandra_job/admin.cql
parent82c874161df1bc657ed309938cbdd24d6a3294bd (diff)
parenta9efc16e26cd57d69bb2dc691cec01ec842930cc (diff)
Merge "Update distribution files to support helm charts"
Diffstat (limited to 'distribution/cassandra_job/admin.cql')
-rw-r--r--distribution/cassandra_job/admin.cql17
1 files changed, 17 insertions, 0 deletions
diff --git a/distribution/cassandra_job/admin.cql b/distribution/cassandra_job/admin.cql
new file mode 100644
index 00000000..904a2bab
--- /dev/null
+++ b/distribution/cassandra_job/admin.cql
@@ -0,0 +1,17 @@
+CREATE KEYSPACE IF NOT EXISTS admin
+ WITH REPLICATION = {
+ 'class' : 'SimpleStrategy',
+ 'replication_factor': 1
+ }
+ AND DURABLE_WRITES = true;
+
+CREATE TABLE IF NOT EXISTS admin.keyspace_master (
+ uuid uuid,
+ keyspace_name text,
+ application_name text,
+ is_api boolean,
+ password text,
+ username text,
+ is_aaf boolean,
+ PRIMARY KEY (uuid)
+);