Adaption to new ECS interface and PMS interface prefix

Issue-ID: NONRTRIC-378

Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: Ifaeee1d62dc52fa22903fa828dbd678ea2567101
diff --git a/test/simulator-group/sim-monitor.js b/test/simulator-group/sim-monitor.js
index 9a0616d..56a6e6d 100644
--- a/test/simulator-group/sim-monitor.js
+++ b/test/simulator-group/sim-monitor.js
@@ -219,6 +219,8 @@
 
 var rc_services=""
 
+var pmsprefix=""
+
 function fetchAllMetrics_pol() {
 
     console.log("Fetching policy metrics " + refreshCount_pol)
@@ -923,14 +925,17 @@
     refreshCount_rc=5
 
     var bn=req.query.basename
+    pmsprefix=req.query.pmsprefix
 
-    if (bn == undefined) {
+    console.log("PMS"+pmsprefix)
+    if ((bn == undefined) || (pmsprefix == undefined)) {
         getCtr=0
-        return res.redirect('/mon?basename=ricsim');
+        return res.redirect('/mon?basename=ricsim&pmsprefix=/a1-policy/v2');
     } else {
         ricbasename=bn
     }
 
+
     //Build web page
 	var htmlStr = "<!DOCTYPE html>" +
           "<html>" +
@@ -941,6 +946,7 @@
             "<body>" +
             "<font size=\"-3\" face=\"monospace\">" +
             "<p>Change basename in url if other ric sim prefix is used</p>" +
+            "<p>Change pmsprefix in url if pms with other prefix is used</p>" +
             "</font>" +
             "<h3>Policy agent</h3>" +
             "<font face=\"monospace\">" +