blob: ba4f58f7fe79b7e6dcbdc41026ea4417e3f19de4 [file] [log] [blame]
Instrumental94053612018-10-08 11:27:18 -05001#!/bin/bash
Instrumental7a1817b2018-11-05 11:11:15 -06002#########
3# ============LICENSE_START====================================================
4# org.onap.aaf
5# ===========================================================================
6# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7# ===========================================================================
8# Licensed under the Apache License, Version 2.0 (the "License");
9# you may not use this file except in compliance with the License.
10# You may obtain a copy of the License at
11#
12# http://www.apache.org/licenses/LICENSE-2.0
13#
14# Unless required by applicable law or agreed to in writing, software
15# distributed under the License is distributed on an "AS IS" BASIS,
16# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17# See the License for the specific language governing permissions and
18# limitations under the License.
19# ============LICENSE_END====================================================
20#
Instrumental94053612018-10-08 11:27:18 -050021# Pull in AAF Env Variables from AAF install
22if [ -e ../../docker/d.props ]; then
23 . ../../docker/d.props
24fi
25DOCKER=${DOCKER:-docker}
26
27$DOCKER container exec -it aaf_cass bash -e '/opt/app/aaf/cass_init/pull.sh'
28$DOCKER container cp aaf_cass:/opt/app/aaf/cass_init/dat.gz "dat$(date +%Y%m%d).gz"
Instrumentalb8363e02018-08-17 13:16:30 -050029