Code Review
/
ric-app
/
rc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
README updated
[ric-app/rc.git]
/
control
/
grpcserver.go
diff --git
a/control/grpcserver.go
b/control/grpcserver.go
index
a30770e
..
8410f3e
100644
(file)
--- a/
control/grpcserver.go
+++ b/
control/grpcserver.go
@@
-2,10
+2,11
@@
package control
import (
"gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp"
import (
"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"
"google.golang.org/grpc"
"google.golang.org/grpc/health"
"google.golang.org/grpc/health/grpc_health_v1"
"google.golang.org/grpc"
"google.golang.org/grpc/health"
"google.golang.org/grpc/health/grpc_health_v1"
+ "google.golang.org/grpc/reflection"
"net"
)
"net"
)
@@
-39,6
+40,7
@@
func StartgRPCRCControlCommServerRoutine() error {
// attach the Ping service to the server
rc.RegisterMsgCommServer(lgRPCServer, &lRCControlSrv)
// attach the Ping service to the server
rc.RegisterMsgCommServer(lgRPCServer, &lRCControlSrv)
+ reflection.Register(lgRPCServer)
//Register to health service
grpc_health_v1.RegisterHealthServer(lgRPCServer, health.NewServer())
//Register to health service
grpc_health_v1.RegisterHealthServer(lgRPCServer, health.NewServer())