From b24f7e097f17761a5c1b02c4dbfe6ee7d78836dd Mon Sep 17 00:00:00 2001 From: Instrumental Date: Sun, 10 Feb 2019 09:54:15 -0600 Subject: Add Cred Reporting Mailer Issue-ID: AAF-740,AAF-753,AAF-754 Change-Id: If2efc6ffbfa9897581ea00eb148fa61d793b058e Signed-off-by: Instrumental --- auth/auth-cass/cass_init/init2_10.cql | 3 +++ auth/auth-cass/docker/dbash.sh | 28 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 auth/auth-cass/cass_init/init2_10.cql create mode 100644 auth/auth-cass/docker/dbash.sh (limited to 'auth/auth-cass') 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 + -- cgit 1.2.3-korg