Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | ########################################################################################################### |
| 4 | # script name - cassandra2zusammen.sh |
| 5 | # run script - ./cassandra2zusammen.sh |
| 6 | # This script migrates ASDC 1st class citizen entities and their sub-entities from Cassandra to |
| 7 | # Zusammen. |
| 8 | # This script should be run when upgrading from 1702 to 1707 |
| 9 | ########################################################################################################### |
| 10 | |
| 11 | |
| 12 | # change exist package and service templates in db |
Tal Gitelman | ed7e1c3 | 2017-06-29 19:30:00 +0300 | [diff] [blame^] | 13 | java -Dlog.home=/apps/jetty/base/be/logs -Dconfiguration.yaml=/apps/jetty/base/be/config/catalog-be/configuration.yaml -jar openecomp-zusammen-tools-1.0-SNAPSHOT.jar org.openecomp.core.tools.main.ZusammenMainTool $1 $2 $3 $4 $5 $6 |
| 14 | STATUS="${?}" echo "${STATUS}" echo "All log messages for the zusammenMainTool migration process are in /apps/jetty/base/be/logs/ASDC/ASDC-BE/zusammen_tool_debug.log" |