Subscription REST interface update
- Error values returned to xApp improved
- Posibility for xApp to set E2 timeout value added
- Posibility for xApp to set E2 retry count added
- Posibility for xApp to set is routing needed for the subscription
- Info log writings changed to debug log writings
Change-Id: Ib8f5c815c4e05b4784c2435de8c38acd41ba07bd
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
diff --git a/pkg/control/duplicate.go b/pkg/control/duplicate.go
index 6900941..2110f1f 100644
--- a/pkg/control/duplicate.go
+++ b/pkg/control/duplicate.go
@@ -97,7 +97,7 @@
if !exists {
if md5sum == "" {
- xapp.Logger.Info("Attempted to delete a cached md5sum, md5sum not set yet")
+ xapp.Logger.Debug("Attempted to delete a cached md5sum, md5sum not set yet")
} else {
xapp.Logger.Error("Attempted to delete a cached md5sum %s, but the value was not found", md5sum)
}
@@ -133,7 +133,7 @@
entry, present := d.ongoingRequestMap[md5sum]
if present {
- xapp.Logger.Info("Collision detected. REST subs ID %s has ongoing transaction with md5sum : %s started at %s\n", entry.restSubsId, md5sum, entry.startTime.Format(time.ANSIC))
+ xapp.Logger.Debug("Collision detected. REST subs ID %s has ongoing transaction with md5sum : %s started at %s\n", entry.restSubsId, md5sum, entry.startTime.Format(time.ANSIC))
d.collCount++
return true
}