blob: d964c997b20e293f226e6728f9c1ad5997848143 [file] [log] [blame]
sebdetdf353be2020-09-21 22:13:05 +02001#!/bin/sh
Michael Landoed64b5e2017-06-09 03:19:04 +03002
3##############################
shrikantawachar2623c842019-05-20 12:11:54 +05304# JanusGraph Schema Creation
Michael Landoed64b5e2017-06-09 03:19:04 +03005##############################
6
7CURRENT_DIR=`pwd`
8BASEDIR=$(dirname $0)
9
sebdetdf353be2020-09-21 22:13:05 +020010if [ `echo ${BASEDIR} | cut -c1-1` = "/" ]
Michael Landoed64b5e2017-06-09 03:19:04 +030011then
12 FULL_PATH=$BASEDIR
13else
14 FULL_PATH=$CURRENT_DIR/$BASEDIR
15fi
16
sebdetdf353be2020-09-21 22:13:05 +020017. ${FULL_PATH}/baseOperation.sh
Michael Landoed64b5e2017-06-09 03:19:04 +030018
19mainClass="org.openecomp.sdc.asdctool.main.DataSchemaMenu"
20
shrikantawachar2623c842019-05-20 12:11:54 +053021command="java $JVM_LOG_FILE -cp $JARS $mainClass create-janusgraph-structures $@"
Michael Landoed64b5e2017-06-09 03:19:04 +030022echo $command
23
24$command
25result=$?
26
27echo "***********************************"
28echo "***** $result *********************"
29echo "***********************************"
30
31exit $result
32
33