blob: 9064a64c6d9cf1b6f930acfb85a400c8a4a2acfb [file] [log] [blame]
Tal Gitelman51d50f02017-12-10 18:55:03 +02001#!/bin/bash
2
3##############################
4# Artifact Validator 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.ArtifactValidatorTool"
20
21command="java $JVM_LOG_FILE -cp $JARS $mainClass /var/tmp/ /home/vagrant/catalog-be/config/catalog-be/"
22#command="java $JVM_LOG_FILE -cp $JARS $mainClass . /apps/jetty/base/be/config/catalog-be/"
23echo $command
24
25$command
26result=$?
27
28echo "***********************************"
29echo "***** $result *********************"
30echo "***********************************"
31
32exit $result