summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/src/main/cql/push.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auth/auth-cass/src/main/cql/push.sh')
-rw-r--r--auth/auth-cass/src/main/cql/push.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/auth/auth-cass/src/main/cql/push.sh b/auth/auth-cass/src/main/cql/push.sh
new file mode 100644
index 00000000..8026c9f9
--- /dev/null
+++ b/auth/auth-cass/src/main/cql/push.sh
@@ -0,0 +1,5 @@
+tar -xvf dat.gz
+for T in x509 ns_attrib config cred user_role perm role artifact ns; do
+ cqlsh -e "use authz; COPY $T FROM '$T.dat' WITH DELIMITER='|';"
+done
+