blob: c369800e294d16c1302126604a99d00da39fc8a4 [file] [log] [blame]
sebdetdf353be2020-09-21 22:13:05 +02001#!/bin/sh
Michael Lando75aacbb2017-07-17 21:12:03 +03002
3##############################
4# Data Migration
5##############################
6
Tal Gitelman51d50f02017-12-10 18:55:03 +02007# in 1802E we do not want to execute automatic post process
Michael Landoa5445102018-03-04 14:53:33 +02008#exit 0
Tal Gitelman51d50f02017-12-10 18:55:03 +02009
Michael Lando75aacbb2017-07-17 21:12:03 +030010CURRENT_DIR=`pwd`
11BASEDIR=$(dirname $0)
12
sebdetdf353be2020-09-21 22:13:05 +020013if [ `echo ${BASEDIR} | cut -c1-1` = "/" ]
Michael Lando75aacbb2017-07-17 21:12:03 +030014then
15 FULL_PATH=$BASEDIR
16else
17 FULL_PATH=$CURRENT_DIR/$BASEDIR
18fi
19
sebdetdf353be2020-09-21 22:13:05 +020020. ${FULL_PATH}/baseOperation.sh
Michael Lando75aacbb2017-07-17 21:12:03 +030021
22mainClass="org.openecomp.sdc.asdctool.migration.main.MigrationMenu"
23
24command="java $JVM_LOG_FILE -Xmx6000M -cp $JARS $mainClass $@"
25echo $command
26
27$command
28result=$?
29
30
31
32echo "***********************************"
33echo "***** $result *********************"
34echo "***********************************"
35
36exit $result
37
38
39