diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-12-04 21:32:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-12-04 21:32:13 +0000 |
commit | 402744dfb6a0c0b1de43614c9919d513a24ee729 (patch) | |
tree | 8963db637c5f2276a922d2f611eb8c6a1daae08e /kubernetes/common/music/components/music-cassandra/resources/cql/admin.cql | |
parent | 305d69a99c70feab066bdf216b02897fa4192711 (diff) | |
parent | 589ecb93f9cd18bd42349243214e965f193c6286 (diff) |
Merge "[COMMON][MUSIC] Uses new tpls for repos / images"
Diffstat (limited to 'kubernetes/common/music/components/music-cassandra/resources/cql/admin.cql')
-rw-r--r-- | kubernetes/common/music/components/music-cassandra/resources/cql/admin.cql | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kubernetes/common/music/components/music-cassandra/resources/cql/admin.cql b/kubernetes/common/music/components/music-cassandra/resources/cql/admin.cql new file mode 100644 index 0000000000..a76d774bd3 --- /dev/null +++ b/kubernetes/common/music/components/music-cassandra/resources/cql/admin.cql @@ -0,0 +1,19 @@ +CREATE KEYSPACE IF NOT EXISTS admin + WITH REPLICATION = { + 'class' : '{{.Values.cql.keyspace.replicationClass}}', + 'replication_factor': {{.Values.cql.keyspace.replicationFactor}} + } + 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 keyspaces; |