X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=control%2FrcService.go;h=005b74206e9c2099d1e345eb0311fec83e2e72c7;hb=bbe7a1e3ae0e7ce0fc601b2be363fd90a5eb7622;hp=39175e9763f0036c31d80cbd5ab5265d0e4779e0;hpb=21b61dd76570beb43afc74289296e831914d9060;p=ric-app%2Frc.git diff --git a/control/rcService.go b/control/rcService.go index 39175e9..005b742 100644 --- a/control/rcService.go +++ b/control/rcService.go @@ -7,7 +7,7 @@ import ( "time" "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp" - "gerrit.o-ran-sc.org/r/scp/ric-app/protocol/grpc/ricmsgcommrpc/rc" + "gerrit.o-ran-sc.org/r/ric-app/rc/protocol/grpc/ricmsgcommrpc/rc" "golang.org/x/net/context" ) @@ -31,7 +31,7 @@ func (aPtrSendMsgSrv *RCControlServer) SendRICControlReqServiceGrpc(aCtx context if aPtrRicControlGrpcReq == nil { xapp.Logger.Error("Received nil data from Send error rsp") } else { - if len(aPtrRicControlGrpcReq.E2NodeID) == 0 || len(aPtrRicControlGrpcReq.RICControlMessageData.TargetCellID) == 0 || len(aPtrRicControlGrpcReq.RICControlHeaderData.UEID) == 0 { + if len(aPtrRicControlGrpcReq.E2NodeID) == 0 || len(aPtrRicControlGrpcReq.RICControlMessageData.TargetCellID) == 0 || len(aPtrRicControlGrpcReq.RICControlHeaderData.UEID) == 0 || len(aPtrRicControlGrpcReq.RanName) == 0 || len(aPtrRicControlGrpcReq.PlmnID) == 0{ xapp.Logger.Error("Mandatory parameters are not received send Error rsp to client,no control Request will be initiated ") } else { xapp.Logger.Info("GRPC Control request validated, initiate Control Request to RAN")