aboutsummaryrefslogtreecommitdiffstats
path: root/distribution/cassandra/music_single.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_single.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_single.cql')
-rw-r--r--distribution/cassandra/music_single.cql20
1 files changed, 20 insertions, 0 deletions
diff --git a/distribution/cassandra/music_single.cql b/distribution/cassandra/music_single.cql
new file mode 100644
index 00000000..11eb2df0
--- /dev/null
+++ b/distribution/cassandra/music_single.cql
@@ -0,0 +1,20 @@
+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)
+);
+
+CREATE ROLE IF NOT EXISTS nelson24 WITH PASSWORD = 'winman123' AND SUPERUSER = True AND LOGIN = True;
+ALTER ROLE cassandra WITH PASSWORD = 'SomeLongRandomStringNoonewillthinkof';