blob: 62bfb9cd66b73f408d230a2f9563476a0350cf48 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001#!/bin/bash
2
3########################################################################
4#
5# Example:
6# ./updateIsVnf.sh ../config/titan.properties Bservice,Myservice
7#
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