blob: bf45fa88b511aa300754aadbc790d62b5356e3fe [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001#!/bin/bash
2
3########################################################################
4#
5# Example:
shrikantawachar2623c842019-05-20 12:11:54 +05306# ./updateIsVnf.sh ../config/janusgraph.properties Bservice,Myservice
Michael Lando451a3402017-02-19 10:28:42 +02007#
8########################################################################
9
10CURRENT_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.main.UpdateIsVnfMenu"
23
24command="java $JVM_LOG_FILE -cp $JARS $mainClass updateIsVnfTrue $@"
25echo $command
26
27$command
28result=$?
29
30echo "***********************************"
31echo "***** $result *********************"
32echo "***********************************"
33
34exit $result
35
36