Jack Lucas | 92e9caf | 2017-10-15 18:27:58 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # ============LICENSE_START========================================== |
| 4 | # =================================================================== |
| 5 | # Copyright © 2017 AT&T Intellectual Property. All rights reserved. |
| 6 | # =================================================================== |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | # ============LICENSE_END============================================ |
| 19 | # |
| 20 | # ECOMP and OpenECOMP are trademarks |
| 21 | # and service marks of AT&T Intellectual Property. |
| 22 | # |
| 23 | set -x |
| 24 | set -e |
Lusheng Ji | c37f51b | 2017-10-15 22:17:30 -0400 | [diff] [blame] | 25 | |
| 26 | rm -f /tmp/ready_to_exit |
| 27 | |
Jack Lucas | 92e9caf | 2017-10-15 18:27:58 +0000 | [diff] [blame] | 28 | source ./dcaeinstall/bin/activate |
| 29 | cd ./consul |
| 30 | cfy status |
| 31 | set +e |
Jack Lucas | 53322ff | 2017-11-01 19:25:06 +0000 | [diff] [blame^] | 32 | cfy uninstall -d hengine |
| 33 | cfy uninstall -d hrules |
| 34 | cfy uninstall -d tca |
| 35 | cfy uninstall -d ves |
Jack Lucas | 53b024f | 2017-10-19 13:36:15 +0000 | [diff] [blame] | 36 | cfy uninstall -d cdapbroker |
| 37 | cfy uninstall -d cdap7 |
Jack Lucas | 92e9caf | 2017-10-15 18:27:58 +0000 | [diff] [blame] | 38 | cfy uninstall -d policy_handler |
| 39 | cfy uninstall -d DeploymentHandler |
| 40 | cfy uninstall -d PlatformServicesInventory |
Jack Lucas | 53322ff | 2017-11-01 19:25:06 +0000 | [diff] [blame^] | 41 | cfy uninstall -d pgaas |
Jack Lucas | 92e9caf | 2017-10-15 18:27:58 +0000 | [diff] [blame] | 42 | cfy uninstall -d config_binding_service |
| 43 | cfy executions start -w uninstall -d DockerComponent |
| 44 | cfy deployments delete -d DockerComponent |
| 45 | cfy uninstall -d DockerPlatform |
| 46 | cfy uninstall -d consul |
| 47 | cd .. |
| 48 | cfy local uninstall |
| 49 | |
Lusheng Ji | c37f51b | 2017-10-15 22:17:30 -0400 | [diff] [blame] | 50 | touch /tmp/ready_to_exit |