blob: 9c60aa76cfc18d79b80c4fc4e92679cd5580bbbc [file] [log] [blame]
sebdetdf353be2020-09-21 22:13:05 +02001#!/bin/sh
Tal Gitelman51d50f02017-12-10 18:55:03 +02002
3##############################
4# Artifact Validator Tool #
5##############################
6
7CURRENT_DIR=`pwd`
8BASEDIR=$(dirname $0)
9
sebdetdf353be2020-09-21 22:13:05 +020010if [ `echo ${BASEDIR} | cut -c1-1` = "/" ]
Tal Gitelman51d50f02017-12-10 18:55:03 +020011then
12 FULL_PATH=$BASEDIR
13else
14 FULL_PATH=$CURRENT_DIR/$BASEDIR
15fi
16
sebdetdf353be2020-09-21 22:13:05 +020017. ${FULL_PATH}/baseOperation.sh
Tal Gitelman51d50f02017-12-10 18:55:03 +020018
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