aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/scripts/music/cql
diff options
context:
space:
mode:
authorNelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com>2018-09-19 17:45:41 -0400
committerNelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com>2018-09-19 19:07:48 -0400
commit5d7183c56ee613b5fb3f03ff2f64a6a0ed646e86 (patch)
tree4a5e21b21671a6c1a8a81eff786e282e43625f86 /test/csit/scripts/music/cql
parent98814dc1f03c74c2d12ddae1f4859321a6f24840 (diff)
Update CSIT Test to work with new Images.
Minor changes Some cleanup and Output Changes Change-Id: Id16ce27e878f295a8adc4fd2736698f2ad471f17 Issue-ID: MUSIC-138 Signed-off-by: Nelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com>
Diffstat (limited to 'test/csit/scripts/music/cql')
-rw-r--r--test/csit/scripts/music/cql/admin.cql19
-rw-r--r--test/csit/scripts/music/cql/admin_pw.cql2
-rw-r--r--test/csit/scripts/music/cql/test.cql1
3 files changed, 22 insertions, 0 deletions
diff --git a/test/csit/scripts/music/cql/admin.cql b/test/csit/scripts/music/cql/admin.cql
new file mode 100644
index 000000000..65b4dbf93
--- /dev/null
+++ b/test/csit/scripts/music/cql/admin.cql
@@ -0,0 +1,19 @@
+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)
+);
+
+describe keyspace admin;
diff --git a/test/csit/scripts/music/cql/admin_pw.cql b/test/csit/scripts/music/cql/admin_pw.cql
new file mode 100644
index 000000000..02de61e2e
--- /dev/null
+++ b/test/csit/scripts/music/cql/admin_pw.cql
@@ -0,0 +1,2 @@
+CREATE ROLE IF NOT EXISTS nelson24 WITH PASSWORD = 'winman123' AND SUPERUSER = True AND LOGIN = True;
+ALTER ROLE cassandra WITH PASSWORD = 'SomeLongRandomStringNoonewillthinkof';
diff --git a/test/csit/scripts/music/cql/test.cql b/test/csit/scripts/music/cql/test.cql
new file mode 100644
index 000000000..6a5872011
--- /dev/null
+++ b/test/csit/scripts/music/cql/test.cql
@@ -0,0 +1 @@
+DESCRIBE keyspace admin; \ No newline at end of file