Route addition for multiple RX message types didnt happen due to misplaced return...
[ric-plt/rtmgr.git] / build-rtmgr-ubuntu.sh
index c822551..ed3e2a0 100755 (executable)
@@ -63,22 +63,26 @@ go build ./cmd/rtmgr.go
 export RMR_SEED_RT=/tmp/go/src/routing-manager/uta_rtg_ric.rt
 
 cd $currnewdir/pkg/sbi
-go-acc . -- -f "/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.yaml"
+go-acc . -- -f "/tmp/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.json"
 
 cd $currnewdir/pkg/rpe
-go-acc $(go list ./...) -- -f "/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.yaml"
+go-acc $(go list ./...) -- -f "/tmp/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.json"
 
 cd $currnewdir/pkg/sdl
-go-acc $(go list ./...) -- -f "/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.yaml"
+go-acc $(go list ./...) -- -f "/tmp/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.json"
 
 cd $currnewdir/pkg/nbi
-go-acc $(go list ./...) -- -f "/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.yaml"
+go-acc $(go list ./...) -- -f "/tmp/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.json"
+
+cd $currnewdir/pkg/rtmgr
+go-acc $(go list ./...) -- -f "/tmp/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.json"
 
 cd $currnewdir
 
 cat $currnewdir/pkg/rpe/coverage.txt | grep -v atomic > coverage_tmp.txt
 cat $currnewdir/pkg/sdl/coverage.txt | grep -v atomic >> coverage_tmp.txt
 cat $currnewdir/pkg/nbi/coverage.txt | grep -v atomic >> coverage_tmp.txt
+cat $currnewdir/pkg/rtmgr/coverage.txt | grep -v atomic >> coverage_tmp.txt
 cp  $currnewdir/pkg/sbi/coverage.txt  coverage_tmp2.txt
 cat coverage_tmp2.txt coverage_tmp.txt > $curdir/coverage.txt