From: subhash kumar singh Date: Wed, 18 May 2022 20:33:21 +0000 (+0000) Subject: Fix MType which sending e2nodeConfig response X-Git-Tag: 6.0.0~2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=d9f05f609e5cb94c86194fd057745a33b590e988;p=ric-plt%2Fe2mgr.git Fix MType which sending e2nodeConfig response Fixed MType to send the e2nodeConfig response message. Added debug log to log parsed e2nodeConfig message. Signed-off-by: subhash kumar singh Change-Id: Ib55e2b87e71ef591c4e5634b9f2e0fd0127e099a --- diff --git a/E2Manager/handlers/rmrmsghandlers/e2_node_config_update_notification_handler.go b/E2Manager/handlers/rmrmsghandlers/e2_node_config_update_notification_handler.go index fa8efc5..1d667ba 100644 --- a/E2Manager/handlers/rmrmsghandlers/e2_node_config_update_notification_handler.go +++ b/E2Manager/handlers/rmrmsghandlers/e2_node_config_update_notification_handler.go @@ -56,7 +56,8 @@ func (e *E2nodeConfigUpdateNotificationHandler) Handle(request *models.Notificat e.logger.Errorf(err.Error()) return } - e.logger.Debugf("#E2nodeConfigUpdateNotificationHandler.Handle - RIC_E2_Node_Config_Update parsed successfully") + + e.logger.Debugf("#E2nodeConfigUpdateNotificationHandler.Handle - RIC_E2_Node_Config_Update parsed successfully %+v", e2NodeConfig) nodebInfo, err := e.rNibDataService.GetNodeb(request.RanName) @@ -211,8 +212,8 @@ func (e *E2nodeConfigUpdateNotificationHandler) handleSuccessfulResponse(e2NodeC } payLoad = utils.ReplaceEmptyTagsWithSelfClosing(payLoad, toReplaceTags) - e.logger.Infof("#E2nodeConfigUpdateNotificationHandler.sendUpdateAck - Sending RIC_SERVICE_UPDATE_ACK to RAN name: %s with payload %s", nodebInfo.RanName, payLoad) - msg := models.NewRmrMessage(rmrCgo.RIC_SERVICE_UPDATE_ACK, nodebInfo.RanName, payLoad, request.TransactionId, request.GetMsgSrc()) + e.logger.Infof("#E2nodeConfigUpdateNotificationHandler.sendUpdateAck - Sending RIC_E2nodeConfigUpdate_ACK to RAN name: %s with payload %s", nodebInfo.RanName, payLoad) + msg := models.NewRmrMessage(rmrCgo.RIC_E2NODE_CONFIG_UPDATE_ACK, nodebInfo.RanName, payLoad, request.TransactionId, request.GetMsgSrc()) err = e.rmrSender.Send(msg) return err }