Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | ############################## |
| 4 | # Get list of SDC consumers |
| 5 | ############################## |
| 6 | |
| 7 | |
| 8 | CURRENT_DIR=`pwd` |
| 9 | BASEDIR=$(dirname $0) |
| 10 | |
| 11 | if [ ${BASEDIR:0:1} = "/" ] |
| 12 | then |
| 13 | FULL_PATH=$BASEDIR |
| 14 | else |
| 15 | FULL_PATH=$CURRENT_DIR/$BASEDIR |
| 16 | fi |
| 17 | |
| 18 | source ${FULL_PATH}/baseOperation.sh |
| 19 | |
| 20 | mainClass="org.openecomp.sdc.asdctool.main.GetConsumersMenu" |
| 21 | |
| 22 | command="java $JVM_LOG_FILE -Xmx1024M -cp $JARS $mainClass $@" |
| 23 | echo $command |
| 24 | |
| 25 | $command |
| 26 | result=$? |
| 27 | |
| 28 | |
| 29 | |
| 30 | echo "***********************************" |
| 31 | echo "***** $result *********************" |
| 32 | echo "***********************************" |
| 33 | |
| 34 | exit $result |
| 35 | |
| 36 | |
| 37 | |