From: Irina Date: Mon, 20 Jul 2020 12:22:42 +0000 (+0300) Subject: [RIC-432] - Support Update eNB REST API - log changes X-Git-Tag: R5_RC~30 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=fafc90d9bf1c8edc7b8815280f2fd0a11677e00b;p=ric-plt%2Fe2mgr.git [RIC-432] - Support Update eNB REST API - log changes Change-Id: I0fbc8c6f88a5399c4b5c9bc529b1f37323646b06 Signed-off-by: Irina --- diff --git a/E2Manager/container-tag.yaml b/E2Manager/container-tag.yaml index bb152ab..d0105e3 100644 --- a/E2Manager/container-tag.yaml +++ b/E2Manager/container-tag.yaml @@ -1,4 +1,4 @@ # The Jenkins job requires a tag to build the Docker image. # Global-JJB script assumes this file is in the repo root. --- -tag: 5.2.19 \ No newline at end of file +tag: 5.2.20 \ No newline at end of file diff --git a/E2Manager/managers/ran_list_manager.go b/E2Manager/managers/ran_list_manager.go old mode 100644 new mode 100755 index d392e3d..030180f --- a/E2Manager/managers/ran_list_manager.go +++ b/E2Manager/managers/ran_list_manager.go @@ -126,5 +126,7 @@ func (m *ranListManagerInstance) GetNbIdentityList() []*entities.NbIdentity { nbIds = append(nbIds, v) } + m.logger.Infof("#ranListManagerInstance.GetNbIdentityList - %d identity returned", len(nbIds)) + return nbIds } diff --git a/E2Manager/managers/update_enb_manager.go b/E2Manager/managers/update_enb_manager.go old mode 100644 new mode 100755 index 005e9bb..b2cd7d7 --- a/E2Manager/managers/update_enb_manager.go +++ b/E2Manager/managers/update_enb_manager.go @@ -60,7 +60,7 @@ func (h *UpdateEnbManager) Validate(request models.Request) error { func (h *UpdateEnbManager) RemoveNodebCells(nodeb *entities.NodebInfo) error { if nodeb.NodeType != entities.Node_ENB { - h.logger.Errorf("#UpdateEnbManager.RemoveNodebCells - RAN name: %s - nodeb missing eNB configuration", nodeb.GetRanName()) + h.logger.Errorf("#UpdateEnbManager.RemoveNodebCells - RAN name: %s - RAN is not eNB.", nodeb.RanName) return e2managererrors.NewRequestValidationError() }