summaryrefslogtreecommitdiffstats
path: root/dgbuilder/tools/getRpcsClassFromYang.sh
diff options
context:
space:
mode:
authorSheshi Chinthakayala <sc2914@att.com>2017-10-18 16:56:52 -0500
committerSheshi Chinthakayala <sc2914@att.com>2017-10-24 20:43:37 -0500
commit52bb9087c39a6a86833684b0cac6b8f9c6043716 (patch)
tree6f778385ff1f6d59153b504cb75efc3d56abc8dc /dgbuilder/tools/getRpcsClassFromYang.sh
parent7db84e03265024d3510b6d25a054ac895e0f0e1d (diff)
removed the printYangToProp binaries
and the file was removed as binaries are not allowed in ONAP git repos. The PrintYangToProp.java file was moved to ccsdk/sli/core repo Change-Id: I09d78f78cfe68fe7708d0b5278be52716011d467 Issue-ID: SDNC-81 Signed-off-by: Sheshi Chinthakayala <sc2914@att.com>
Diffstat (limited to 'dgbuilder/tools/getRpcsClassFromYang.sh')
-rwxr-xr-xdgbuilder/tools/getRpcsClassFromYang.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/dgbuilder/tools/getRpcsClassFromYang.sh b/dgbuilder/tools/getRpcsClassFromYang.sh
index b0703152..15b74dfa 100755
--- a/dgbuilder/tools/getRpcsClassFromYang.sh
+++ b/dgbuilder/tools/getRpcsClassFromYang.sh
@@ -17,7 +17,7 @@ do
#echo $i
export CLASSPATH=$CLASSPATH:$i
done
-export CLASSPATH=$CLASSPATH:${toolsDir}/printYangToProp.jar:.
+export CLASSPATH=$CLASSPATH:.
allProps=""
for rpc in $rpcs
do
@@ -26,8 +26,8 @@ className=$(jar -tvf ${jarFile}|grep "org/opendaylight/yang/gen/"|grep -w "${rp
inputProps=""
if [ "$className" != "" ]
then
- #java -cp $CLASSPATH PrintYangToProp $className 2>/dev/null|grep '*' |cut -d'*' -f2|sed -e "s/^[ \t]*//g"|sed -e "s/^/\t\t\"/g"|sed -e "s/$/\",/g"
- inputProps=$(java -cp $CLASSPATH PrintYangToProp $className 2>${toolsDir}/tmpws/logs/err.log)
+ #java -cp $CLASSPATH org.onap.ccsdk.sli.core.sli.PrintYangToProp $className 2>/dev/null|grep '*' |cut -d'*' -f2|sed -e "s/^[ \t]*//g"|sed -e "s/^/\t\t\"/g"|sed -e "s/$/\",/g"
+ inputProps=$(java -cp $CLASSPATH org.onap.ccsdk.sli.core.sli.PrintYangToProp $className 2>${toolsDir}/tmpws/logs/err.log)
fi
className=$(jar -tvf ${jarFile}|grep "org/opendaylight/yang/gen/"|grep -w "${rpcVal}Output"|grep -v grep|awk '{print $NF}'|sed -e 's/\//./g'|sed -e 's/.class$//g')
#echo $inputProps
@@ -35,8 +35,8 @@ className=$(jar -tvf ${jarFile}|grep "org/opendaylight/yang/gen/"|grep -w "${rpc
outputProps=""
if [ "$className" != "" ]
then
- #java -cp $CLASSPATH PrintYangToProp $className 2>/dev/null|grep '*' |cut -d'*' -f2|sed -e "s/^[ \t]*//g"|sed -e "s/^/\t\t\"/g"|sed -e "s/$/\",/g"
- outputProps=$(java -cp $CLASSPATH PrintYangToProp $className 2>${toolsDir}/tmpws/logs/err.log)
+ #java -cp $CLASSPATH org.onap.ccsdk.sli.core.sli.PrintYangToProp $className 2>/dev/null|grep '*' |cut -d'*' -f2|sed -e "s/^[ \t]*//g"|sed -e "s/^/\t\t\"/g"|sed -e "s/$/\",/g"
+ outputProps=$(java -cp $CLASSPATH org.onap.ccsdk.sli.core.sli.PrintYangToProp $className 2>${toolsDir}/tmpws/logs/err.log)
fi
if [ -z "$allProps" ]
then