diff options
author | Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> | 2019-10-31 13:52:01 +0000 |
---|---|---|
committer | Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> | 2019-10-31 13:52:01 +0000 |
commit | ac5d3ff491a745d6112b698aa1b209f6dcf507d1 (patch) | |
tree | 74820f0cbffd2ca8e1c10af5ecbbf5d3dce58bf8 /dgbuilder | |
parent | b3dd7d114e44c32b93773f11013a9b2b6d33d18f (diff) |
PrintYangToProp package change
package for PrintYangToProp was updated when sli-common was updated
Issue-ID: CCSDK-1723
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: Ic747102fb519aa5805bd8e9c016afc8d2af14e5b
Diffstat (limited to 'dgbuilder')
-rwxr-xr-x | dgbuilder/tools/getRpcsClassFromYang.sh | 8 | ||||
-rwxr-xr-x | dgbuilder/tools/printYangProps.sh | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/dgbuilder/tools/getRpcsClassFromYang.sh b/dgbuilder/tools/getRpcsClassFromYang.sh index 15b74dfa..3944ed25 100755 --- a/dgbuilder/tools/getRpcsClassFromYang.sh +++ b/dgbuilder/tools/getRpcsClassFromYang.sh @@ -26,8 +26,8 @@ className=$(jar -tvf ${jarFile}|grep "org/opendaylight/yang/gen/"|grep -w "${rp inputProps="" if [ "$className" != "" ] then - #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) + #java -cp $CLASSPATH org.onap.ccsdk.sli.core.sli.provider.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.provider.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 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) + #java -cp $CLASSPATH org.onap.ccsdk.sli.core.sli.provider.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.provider.PrintYangToProp $className 2>${toolsDir}/tmpws/logs/err.log) fi if [ -z "$allProps" ] then diff --git a/dgbuilder/tools/printYangProps.sh b/dgbuilder/tools/printYangProps.sh index e34d84cf..0ee3fc19 100755 --- a/dgbuilder/tools/printYangProps.sh +++ b/dgbuilder/tools/printYangProps.sh @@ -5,4 +5,4 @@ then echo "Usage $0 className_without_the_dot_class_ext" exit fi - java org.onap.ccsdk.sli.core.sli.PrintYangToProp $1 + java org.onap.ccsdk.sli.core.sli.provider.PrintYangToProp $1 |