blob: bbdd6f0f7bd1d8afeda5063410bd33cea2281dce [file] [log] [blame]
Michael Lando75aacbb2017-07-17 21:12:03 +03001#!/bin/bash
2
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
8exit 0
9
Michael Lando75aacbb2017-07-17 21:12:03 +030010CURRENT_DIR=`pwd`
11BASEDIR=$(dirname $0)
12
13if [ ${BASEDIR:0:1} = "/" ]
14then
15 FULL_PATH=$BASEDIR
16else
17 FULL_PATH=$CURRENT_DIR/$BASEDIR
18fi
19
20source ${FULL_PATH}/baseOperation.sh
21
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