summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-02-10 09:54:15 -0600
committerInstrumental <jonathan.gathman@att.com>2019-02-10 10:09:21 -0600
commitb24f7e097f17761a5c1b02c4dbfe6ee7d78836dd (patch)
tree74d883936a21a07a2e0c718ec6a7f456b4d18cab /auth/auth-cass
parent39596f5b6d2c67d8c2b357243ecfb2dd6d746796 (diff)
Add Cred Reporting Mailer
Issue-ID: AAF-740,AAF-753,AAF-754 Change-Id: If2efc6ffbfa9897581ea00eb148fa61d793b058e Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-cass')
-rw-r--r--auth/auth-cass/cass_init/init2_10.cql3
-rw-r--r--auth/auth-cass/docker/dbash.sh28
2 files changed, 31 insertions, 0 deletions
diff --git a/auth/auth-cass/cass_init/init2_10.cql b/auth/auth-cass/cass_init/init2_10.cql
new file mode 100644
index 00000000..8536c03e
--- /dev/null
+++ b/auth/auth-cass/cass_init/init2_10.cql
@@ -0,0 +1,3 @@
+use authz;
+alter TABLE cred ADD tag varchar;
+alter TABLE cred ADD attn int;
diff --git a/auth/auth-cass/docker/dbash.sh b/auth/auth-cass/docker/dbash.sh
new file mode 100644
index 00000000..1e13d27d
--- /dev/null
+++ b/auth/auth-cass/docker/dbash.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+#########
+# ============LICENSE_START====================================================
+# org.onap.aaf
+# ===========================================================================
+# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+# ===========================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============LICENSE_END====================================================
+#
+# Pull in AAF Env Variables from AAF install
+if [ -e ../../docker/d.props ]; then
+ . ../../docker/d.props
+fi
+DOCKER=${DOCKER:-docker}
+
+$DOCKER exec -it aaf_cass bash
+