summaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-lifecyclemgr/src/main
diff options
context:
space:
mode:
authorXiuchao Wu <xiuchao.wu@huawei.com>2016-10-24 17:24:08 +0100
committerXiuchao Wu <xiuchao.wu@huawei.com>2016-10-24 17:24:08 +0100
commitf833c8b9010fcc60cb28d7c8a74319b99a6cb3ce (patch)
treeff8c010d3ce0c97413eac09b775ded2c26ad03e1 /openo-portal/portal-lifecyclemgr/src/main
parent30908ad02cf5255b70fea074b5830feffd4f8cd4 (diff)
Remove unnecessary URL prefix "org.openo.sdno.brs" when portal calls BRS
that is running in a docker [ SDNO-750 ] Change-Id: I1dda47c089098c8039a306ef30da376a54a8c3d8 Signed-off-by: Xiuchao Wu <xiuchao.wu@huawei.com>
Diffstat (limited to 'openo-portal/portal-lifecyclemgr/src/main')
-rw-r--r--openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/brs.js4
-rw-r--r--openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/rest.js2
-rw-r--r--openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/vpn.js4
3 files changed, 5 insertions, 5 deletions
diff --git a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/brs.js b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/brs.js
index 1c07026d..3dbc7ebd 100644
--- a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/brs.js
+++ b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/brs.js
@@ -15,7 +15,7 @@
var url = "";
$.getJSON("./conf/dataconfig.json", function (jsonData){
- url = jsonData.url +":"+ jsonData.port + "/org.openo.sdno.brs";
+ url = jsonData.url +":"+ jsonData.port;
console.log("URL = " + url);
});
@@ -346,4 +346,4 @@ $(function () {
});
});
-}) \ No newline at end of file
+})
diff --git a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/rest.js b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/rest.js
index 8fce8c64..ae8a0474 100644
--- a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/rest.js
+++ b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/rest.js
@@ -91,7 +91,7 @@ $(function () {
var jsonobj = JSON.parse(formData);
var newJson = {"managedElement": jsonobj};
formData = JSON.stringify(newJson);
- var requestUrl = url + "/org.openo.sdno.brs/openoapi/sdnobrs/v1/managed-elements";
+ var requestUrl = url + "/openoapi/sdnobrs/v1/managed-elements";
$
.ajax({
type : "POST",
diff --git a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/vpn.js b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/vpn.js
index f12ec533..f898e3de 100644
--- a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/vpn.js
+++ b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/vpn.js
@@ -15,7 +15,7 @@
var url = "";
$.getJSON("./conf/dataconfig.json", function (jsonData){
- url = jsonData.url +":"+ jsonData.port + "/org.openo.sdno.brs";
+ url = jsonData.url +":"+ jsonData.port;
console.log("URL = " + url);
});
@@ -309,4 +309,4 @@ $(function () {
});
});
-}) \ No newline at end of file
+})