aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal
diff options
context:
space:
mode:
authorjin xin <j00101220@huawei.com>2016-10-24 06:25:07 +0000
committerGerrit Code Review <gerrit@open-o.org>2016-10-24 06:25:07 +0000
commit5d37809ac90642ae2824aa43810828cee622357f (patch)
treec488e5c657ba88d35d89f94def89a5a4cdd9951b /openo-portal
parent0c15a90a1766170eea8a994cff684fa4746acf4c (diff)
parent940031fc4c897e5719902a84e0d9f819eb7ec8f8 (diff)
Merge "Issue ID:GSO-43"
Diffstat (limited to 'openo-portal')
-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;