blob: 58cd7f3f6a0d5f70802aff5dbabb1e76515d8494 [file] [log] [blame]
Michael Lando39a4e0c2017-07-18 20:46:42 +03001#!/bin/bash
2
3##############################
4# Validation Tool #
5##############################
6
7CURRENT_DIR=`pwd`
8BASEDIR=$(dirname $0)
9
10if [ ${BASEDIR:0:1} = "/" ]
11then
12 FULL_PATH=$BASEDIR
13else
14 FULL_PATH=$CURRENT_DIR/$BASEDIR
15fi
16
17source ${FULL_PATH}/baseOperation.sh
18
19mainClass="org.openecomp.sdc.asdctool.main.ValidationTool"
20
Avi Zivf5854fd2017-07-31 15:50:46 +030021#command="java $JVM_LOG_FILE -cp $JARS $mainClass reportOutput.txt /home/vagrant/catalog-be/config/catalog-be/"
22command="java $JVM_LOG_FILE -cp $JARS $mainClass . /apps/jetty/base/be/config/catalog-be/"
Michael Lando39a4e0c2017-07-18 20:46:42 +030023echo $command
24
25$command
26result=$?
27
28echo "***********************************"
29echo "***** $result *********************"
30echo "***********************************"
31
32exit $result