AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | ########################################################################################################### |
| 4 | # script name - cassandra2zusammen.sh |
| 5 | # run script - ./cassandra2zusammen.sh |
Michael Lando | dd60339 | 2017-07-12 00:54:52 +0300 | [diff] [blame^] | 6 | # This script migrates ASDC 1st class citizen entities and their sub-entities from Cassandra to Zusammen. |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 7 | # This script should be run when upgrading from 1702 to 1707 |
| 8 | ########################################################################################################### |
| 9 | |
| 10 | |
| 11 | # change exist package and service templates in db |
| 12 | java -Dlog.home=/apps/jetty/base/be/logs -Dconfiguration.yaml=/apps/jetty/base/be/config/catalog-be/configuration.yaml -jar openecomp-zusammen-migration-1.0-SNAPSHOT.jar org.openecomp.core.migration.MigrationMain |
| 13 | |
Michael Lando | dd60339 | 2017-07-12 00:54:52 +0300 | [diff] [blame^] | 14 | STATUS="${?}" |
| 15 | echo "${STATUS}" |