summaryrefslogtreecommitdiffstats
path: root/openecomp-be/tools/migration/cassandra2zusammen.sh
blob: 4765fc3684d3c33fe9a556a8389a7c5cb421add3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

###########################################################################################################
# script name - cassandra2zusammen.sh
# run script - ./cassandra2zusammen.sh
# This script migrates ASDC 1st class citizen entities and their sub-entities from Cassandra to
# Zusammen.
# This script should be run when upgrading from 1702 to 1707
###########################################################################################################


# change exist package and service templates in db
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

STATUS="${?}" echo "${STATUS}" echo "All log messages for the Cassandra2Zusammen
migration process are in /apps/jetty/base/be/logs/ASDC/ASDC-
BE/cassandra2zusammen_migration_debug.log"