blob: 9ce3ca8aae5b27ca451d3f5828d542e374357ec7 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001#!/bin/bash
2
3CURRENT_DIR=`pwd`
4BASEDIR=$(dirname $0)
5
6if [ ${BASEDIR:0:1} = "/" ]
7then
8 FULL_PATH=$BASEDIR
9else
10 FULL_PATH=$CURRENT_DIR/$BASEDIR
11fi
12
13source ${FULL_PATH}/baseOperation.sh
14
15mainClass="org.openecomp.sdc.asdctool.main.EsToCassandraDataMigrationMenu"
16
17command="java $JVM_LOG_FILE -cp $JARS $mainClass es-to-cassndra-migration-import-only $@"
18echo $command
19
20$command
21result=$?
22
23echo "***********************************"
24echo "***** $result *********************"
25echo "***********************************"
26
27exit $result
28
29