Changing rmr-data to rmrdata 80/5380/2
authorwahidw <abdulwahid.w@nokia.com>
Tue, 29 Dec 2020 06:52:39 +0000 (06:52 +0000)
committerwahidw <abdulwahid.w@nokia.com>
Tue, 29 Dec 2020 07:11:27 +0000 (07:11 +0000)
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Change-Id: I6f182c64f957b0a602bdb25956545a002df5cbd4

ci/Dockerfile
config/config-file.json
examples/config/config-file.json
pkg/xapp/config.go
pkg/xapp/rmr.go

index 2189c99..1e2d663 100755 (executable)
@@ -17,7 +17,7 @@
 #
 #----------------------------------------------------------
 
-FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:9-u18.04 as xapp-base
+FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 as xapp-base
 RUN apt-get update -y \
     &&apt-get install -y \
     apt-utils \
index 437b526..e644caf 100755 (executable)
                 "description": "http service"
             },
             {
-                "name": "rmr-route",
+                "name": "rmrroute",
                 "container": "ueec",
                 "port": 4561,
                 "description": "rmr route port for ueec"
             },
             {
-                "name": "rmr-data",
+                "name": "rmrdata",
                 "container": "ueec",
                 "port": 4560,
                 "maxSize": 2072,
index 8caecdb..28db4d7 100755 (executable)
                 "description": "http service"
             },
             {
-                "name": "rmr-route",
+                "name": "rmrroute",
                 "container": "example",
                 "port": 4561,
                 "description": "rmr route port for example"
             },
             {
-                "name": "rmr-data",
+                "name": "rmrdata",
                 "container": "example",
                 "port": 4560,
                 "maxSize": 65536,
index 11daf4f..ac60ac5 100755 (executable)
@@ -143,7 +143,7 @@ func GetPortData(pname string) (d PortData) {
                if pname == "http" {
                        d.Port = 8080
                }
-               if pname == "rmr-data" {
+               if pname == "rmrdata" {
                        d.Port = 4560
                }
                return
index ef8aea5..eeadfd9 100755 (executable)
@@ -169,7 +169,7 @@ func NewRMRClientWithParams(params *RMRClientParams) *RMRClient {
 }
 
 func NewRMRClient() *RMRClient {
-       p := GetPortData("rmr-data")
+       p := GetPortData("rmrdata")
        if p.Port == 0 || viper.IsSet("rmr.protPort") {
                // Old xApp descriptor used, fallback to rmr section
                fmt.Sscanf(viper.GetString("rmr.protPort"), "tcp:%d", &p.Port)