-# Load directed graphs
-
-
-for graphlist in $(find $BASEDIR/graphs -name graph.versions -print)
-do
- curdir=$(dirname $graphlist)
-
- # Load files from directory containing graph.versions file
- echo "Loading graphs from $curdir"
- for file in $(ls $curdir/*.xml)
- do
- echo "Loading $file ..."
- $BASEDIR/bin/svclogic.sh load $file $BASEDIR/config/svclogic.properties
- done
-
- # Activate directed graphs
- while read module rpc version mode
- do
- echo "Activating $module $rpc $version $mode"
- $BASEDIR/bin/svclogic.sh activate $module $rpc $version $mode $BASEDIR/config/svclogic.properties
- done < $graphlist
-done
-
-