summaryrefslogtreecommitdiffstats
path: root/distribution/cassandra/music.cql
diff options
context:
space:
mode:
authorThomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>2018-03-06 14:27:17 -0500
committerThomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>2018-03-06 14:27:17 -0500
commit64cf8e703644f01ef1efde65c86a60ec3e377a5a (patch)
treec83acc5d45a556dddeed392b7729a184208b1d55 /distribution/cassandra/music.cql
parent0fec5f6d51014d07449c3b9a3c62d77f6c5d0a57 (diff)
Unit Tests for Sonar and Functional Test Docker
Change-Id: Ib8156f44cf08f220de2a74ef8237b30deaf4df7a Issue-ID: MUSIC-40, MUSIC-32 Signed-off-by: Thomas Nelson Jr (arthurdent3) tn1381@att.com <tn1381@att.com>
Diffstat (limited to 'distribution/cassandra/music.cql')
-rw-r--r--distribution/cassandra/music.cql20
1 files changed, 20 insertions, 0 deletions
diff --git a/distribution/cassandra/music.cql b/distribution/cassandra/music.cql
new file mode 100644
index 00000000..d991a514
--- /dev/null
+++ b/distribution/cassandra/music.cql
@@ -0,0 +1,20 @@
+CREATE KEYSPACE admin
+ WITH REPLICATION = {
+ 'class' : 'SimpleStrategy',
+ 'replication_factor': 1
+ }
+ AND DURABLE_WRITES = true;
+
+CREATE TABLE admin.keyspace_master (
+ uuid uuid,
+ keyspace_name text,
+ application_name text,
+ is_api boolean,
+ password text,
+ username text,
+ is_aaf boolean,
+ PRIMARY KEY (uuid)
+);
+
+CREATE USER nelson24 WITH PASSWORD ‘winman123’ SUPERUSER;
+ALTER USER cassandra WITH PASSWORD ‘SomeLongRandomStringNoonewillthinkof’;