Instrumental | 9405361 | 2018-10-08 11:27:18 -0500 | [diff] [blame] | 1 | #!/bin/bash |
Instrumental | 7a1817b | 2018-11-05 11:11:15 -0600 | [diff] [blame] | 2 | ######### |
| 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 | # |
Instrumental | 9405361 | 2018-10-08 11:27:18 -0500 | [diff] [blame] | 21 | # Pull in AAF Env Variables from AAF install |
| 22 | if [ -e ../../docker/d.props ]; then |
| 23 | . ../../docker/d.props |
| 24 | fi |
| 25 | DOCKER=${DOCKER:-docker} |
| 26 | |
Instrumental | d86e322 | 2019-03-22 14:13:22 -0500 | [diff] [blame] | 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" |
Instrumental | b8363e0 | 2018-08-17 13:16:30 -0500 | [diff] [blame] | 29 | |