xapp-frame version change 99/4999/2
authorrangajal <ranjit.angajala@nokia.com>
Fri, 6 Nov 2020 08:25:52 +0000 (11:25 +0300)
committerJuha Hyttinen <juha.hyttinen@nokia.com>
Wed, 11 Nov 2020 09:37:50 +0000 (11:37 +0200)
Change-Id: I72877bcdcaf16e29235e0178766f6f6e9645617a
Signed-off-by: rangajal <ranjit.angajala@nokia.com>
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
go.mod
pkg/teststub/controlRmrStub.go

diff --git a/go.mod b/go.mod
index e3b9a71..893caca 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -4,7 +4,7 @@ go 1.12
 
 replace gerrit.o-ran-sc.org/r/ric-plt/sdlgo => gerrit.o-ran-sc.org/r/ric-plt/sdlgo.git v0.5.2
 
-replace gerrit.o-ran-sc.org/r/ric-plt/xapp-frame => gerrit.o-ran-sc.org/r/ric-plt/xapp-frame.git v0.4.18
+replace gerrit.o-ran-sc.org/r/ric-plt/xapp-frame => gerrit.o-ran-sc.org/r/ric-plt/xapp-frame.git v0.5.12
 
 replace gerrit.o-ran-sc.org/r/com/golog => gerrit.o-ran-sc.org/r/com/golog.git v0.0.1
 
index 60b3cc5..ceccf44 100644 (file)
@@ -73,7 +73,15 @@ func (tc *RmrStubControl) Init(desc string, srcId RmrSrcId, rtgSvc RmrRtgSvc, st
        tc.RecvChan = make(chan *xapp.RMRParams)
        tc.RmrControl.Init(desc, srcId, rtgSvc)
 
-       tc.RMRClient = xapp.NewRMRClientWithParams("tcp:"+strconv.FormatUint(uint64(srcId.Port), 10), 65534, 0, stat)
+       tc.RMRClient = xapp.NewRMRClientWithParams(&xapp.RMRClientParams{
+               ProtPort:   "tcp:" + strconv.FormatUint(uint64(srcId.Port), 10),
+               MaxSize:    65534,
+               ThreadType: 0,
+               StatDesc:   stat,
+               LowLatency: false,
+               FastAck:    false,
+       })
+
        tc.RMRClient.SetReadyCB(tc.ReadyCB, nil)
        go tc.RMRClient.Start(tc)