c.CntRecvMsg++
- c.UpdateCounter(cSubReqFromXapp)
+ c.UpdateCounter(cRestSubReqFromXapp)
if p.ClientEndpoint == nil {
xapp.Logger.Error("ClientEndpoint == nil")
restSubscription.SetProcessed()
xapp.Logger.Info("Sending successful REST notification to endpoint=%v, InstanceId=%v, %s", *clientEndpoint, instanceId, idstring(nil, trans))
xapp.Subscription.Notify(resp, *clientEndpoint)
+
}
- c.UpdateCounter(cSubRespToXapp)
+ c.UpdateCounter(cRestSubRespToXapp)
}
}
func (c *Control) SubscriptionDeleteHandlerCB(restSubId string) error {
c.CntRecvMsg++
- c.UpdateCounter(cSubDelReqFromXapp)
+ c.UpdateCounter(cRestSubDelReqFromXapp)
xapp.Logger.Info("SubscriptionDeleteRequest from XAPP")
c.registry.DeleteRESTSubscription(&restSubId)
}()
- c.UpdateCounter(cSubDelRespToXapp)
+ c.UpdateCounter(cRestSubDelRespToXapp)
return nil
}