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
Merge "Prepare Swagger for the 3 APIs"
[ric-plt/e2mgr.git]
/
E2Manager
/
handlers
/
httpmsghandlers
/
health_check_handler.go
diff --git
a/E2Manager/handlers/httpmsghandlers/health_check_handler.go
b/E2Manager/handlers/httpmsghandlers/health_check_handler.go
index
7399912
..
785fa49
100644
(file)
--- a/
E2Manager/handlers/httpmsghandlers/health_check_handler.go
+++ b/
E2Manager/handlers/httpmsghandlers/health_check_handler.go
@@
-34,6
+34,7
@@
import (
)
var(
)
var(
+ healthCheckSuccessResponse = "Request Accepted"
healthCheckEmptyTagsToReplaceToSelfClosingTags = []string{"reject", "ignore", "protocolIEs", "procedureCode"}
)
healthCheckEmptyTagsToReplaceToSelfClosingTags = []string{"reject", "ignore", "protocolIEs", "procedureCode"}
)
@@
-98,7
+99,7
@@
func (h *HealthCheckRequestHandler) Handle(request models.Request) (models.IResp
h.logger.Infof("#HealthcheckRequest.Handle - HealthcheckTimeStampSent Update completed to RedisDB")
h.logger.Infof("#HealthcheckRequest.Handle - HealthcheckTimeStampSent Update completed to RedisDB")
- return
nil
, nil
+ return
models.NewHealthCheckSuccessResponse(healthCheckSuccessResponse)
, nil
}
func (h *HealthCheckRequestHandler) sendRICServiceQuery(nodebInfo *entities.NodebInfo) error {
}
func (h *HealthCheckRequestHandler) sendRICServiceQuery(nodebInfo *entities.NodebInfo) error {