Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[RIC-248] RAN Health Check Request API - Implementation
[ric-plt/e2mgr.git]
/
E2Manager
/
mocks
/
nodeb_controller_mock.go
diff --git
a/E2Manager/mocks/nodeb_controller_mock.go
b/E2Manager/mocks/nodeb_controller_mock.go
index
2f1a15d
..
8308fc1
100644
(file)
--- a/
E2Manager/mocks/nodeb_controller_mock.go
+++ b/
E2Manager/mocks/nodeb_controller_mock.go
@@
-68,6
+68,13
@@
func (c *NodebControllerMock) UpdateGnb(writer http.ResponseWriter, r *http.Requ
c.Called()
}
c.Called()
}
+func (c *NodebControllerMock) UpdateEnb(writer http.ResponseWriter, r *http.Request) {
+ writer.Header().Set("Content-Type", "application/json")
+ writer.WriteHeader(http.StatusOK)
+
+ c.Called()
+}
+
func (c *NodebControllerMock) AddEnb(writer http.ResponseWriter, r *http.Request) {
writer.Header().Set("Content-Type", "application/json")
writer.WriteHeader(http.StatusCreated)
func (c *NodebControllerMock) AddEnb(writer http.ResponseWriter, r *http.Request) {
writer.Header().Set("Content-Type", "application/json")
writer.WriteHeader(http.StatusCreated)
@@
-86,3
+93,10
@@
func (c *NodebControllerMock) SetGeneralConfiguration(writer http.ResponseWriter
c.Called()
}
c.Called()
}
+
+func (c *NodebControllerMock) HealthCheckRequest(writer http.ResponseWriter, r *http.Request) {
+ writer.Header().Set("Content-Type", "application/json")
+ writer.WriteHeader(http.StatusOK)
+
+ c.Called()
+}