aboutsummaryrefslogtreecommitdiffstats
path: root/music-rest/distribution/cassandra_job/admin.cql
diff options
context:
space:
mode:
authorThomas Nelson <tn1381@att.com>2020-02-19 13:28:09 -0500
committerThomas Nelson <tn1381@att.com>2020-02-19 13:28:09 -0500
commita7512128b6eb91ac745dc6130a841910e31eb413 (patch)
tree31bc1bb768bf758c9accfc7351c9f7c92706ef6c /music-rest/distribution/cassandra_job/admin.cql
parent712f0dddc791f9ef8283fb40b5b5f326bc4ea0d9 (diff)
Fix Broken Docker Builds
Update Pom files and Directory Structure. Issue-ID: MUSIC-561 Signed-off-by: Thomas Nelson <tn1381@att.com> Change-Id: I3325b20cc4345e67a356a5cbb1bce7d45904be02
Diffstat (limited to 'music-rest/distribution/cassandra_job/admin.cql')
-rw-r--r--music-rest/distribution/cassandra_job/admin.cql17
1 files changed, 17 insertions, 0 deletions
diff --git a/music-rest/distribution/cassandra_job/admin.cql b/music-rest/distribution/cassandra_job/admin.cql
new file mode 100644
index 00000000..904a2bab
--- /dev/null
+++ b/music-rest/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)
+);