Rest interface specific counters defined and used: cRestSubReqFromXapp,cRestSubRespToXapp,cRestSubDelReqFromXapp,cRestSubDelRespToXapp

Signed-off-by: Konstantinos Archangelof <konstantinos.archangelof@nokia.com>
Change-Id: I1666ce9ed79c088054cf9e320f10e325cd735ff0
diff --git a/pkg/control/metrics_test.go b/pkg/control/metrics_test.go
index 82f621f..067f2d4 100644
--- a/pkg/control/metrics_test.go
+++ b/pkg/control/metrics_test.go
@@ -28,8 +28,11 @@
 	// Check that all counters can be added correctly
 	mainCtrl.CounterValuesToBeVeriefied(t, CountersToBeAdded{
 		Counter{cSubReqFromXapp, 1},
-		Counter{cSubReqFromXapp, 1},
+		Counter{cRestSubReqFromXapp, 1},
 		Counter{cSubRespToXapp, 1},
+		Counter{cRestSubRespToXapp, 1},
+		Counter{cSubFailToXapp, 1},
+		Counter{cRestSubFailToXapp, 1},
 		Counter{cSubReqToE2, 1},
 		Counter{cSubReReqToE2, 1},
 		Counter{cSubRespFromE2, 1},
@@ -39,7 +42,9 @@
 		Counter{cRouteCreateUpdateFail, 1},
 		Counter{cMergedSubscriptions, 1},
 		Counter{cSubDelReqFromXapp, 1},
+		Counter{cRestSubDelReqFromXapp, 1},
 		Counter{cSubDelRespToXapp, 1},
+		Counter{cRestSubDelRespToXapp, 1},
 		Counter{cSubDelReqToE2, 1},
 		Counter{cSubDelReReqToE2, 1},
 		Counter{cSubDelRespFromE2, 1},
@@ -54,8 +59,11 @@
 	})
 
 	mainCtrl.c.UpdateCounter(cSubReqFromXapp)
+	mainCtrl.c.UpdateCounter(cRestSubReqFromXapp)
 	mainCtrl.c.UpdateCounter(cSubRespToXapp)
+	mainCtrl.c.UpdateCounter(cRestSubRespToXapp)
 	mainCtrl.c.UpdateCounter(cSubFailToXapp)
+	mainCtrl.c.UpdateCounter(cRestSubFailToXapp)
 	mainCtrl.c.UpdateCounter(cSubReqToE2)
 	mainCtrl.c.UpdateCounter(cSubReReqToE2)
 	mainCtrl.c.UpdateCounter(cSubRespFromE2)
@@ -65,7 +73,9 @@
 	mainCtrl.c.UpdateCounter(cRouteCreateUpdateFail)
 	mainCtrl.c.UpdateCounter(cMergedSubscriptions)
 	mainCtrl.c.UpdateCounter(cSubDelReqFromXapp)
+	mainCtrl.c.UpdateCounter(cRestSubDelReqFromXapp)
 	mainCtrl.c.UpdateCounter(cSubDelRespToXapp)
+	mainCtrl.c.UpdateCounter(cRestSubDelRespToXapp)
 	mainCtrl.c.UpdateCounter(cSubDelReqToE2)
 	mainCtrl.c.UpdateCounter(cSubDelReReqToE2)
 	mainCtrl.c.UpdateCounter(cSubDelRespFromE2)