aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-lifecyclemgr/src
diff options
context:
space:
mode:
authorj00302280 <j00101220@huawei.com>2016-10-24 14:21:05 +0800
committerj00302280 <j00101220@huawei.com>2016-10-24 14:21:05 +0800
commit940031fc4c897e5719902a84e0d9f819eb7ec8f8 (patch)
treeeff7a63b699991f54346dca1d456bcd3b37827d7 /openo-portal/portal-lifecyclemgr/src
parent3dbf095cd98c2f866b826540a05373be481402fe (diff)
Issue ID:GSO-43
Change-Id: If62c79e10185747c3419d2ce25a6f6a42adb580b Signed-off-by: j00302280 <j00101220@huawei.com>
Diffstat (limited to 'openo-portal/portal-lifecyclemgr/src')
-rw-r--r--openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/rest.js9
1 files changed, 9 insertions, 0 deletions
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 ed860901..8fce8c64 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
@@ -171,12 +171,21 @@ function loadGetServiceData(){
var returnVal;
var requestUrl = "/openoapi/inventory/v1/services";
+ var parameter = {
+ 'sort': [],
+ 'pagination': 0,
+ 'pagesize': 25,
+ 'condition': {},
+ 'serviceId': ""
+ };
$
.ajax({
type : "POST",
url : requestUrl,
async: false,
contentType : "application/json",
+ dataType: "json",
+ data: JSON.stringify(parameter),
success : function(jsonobj) {
// TODO return according to the json data received.
returnVal = jsonobj;