summaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-lifecyclemgr
diff options
context:
space:
mode:
authorj00302280 <j00101220@huawei.com>2016-10-24 16:47:27 +0800
committerj00302280 <j00101220@huawei.com>2016-10-24 16:47:27 +0800
commit7f2a835a18a1472b4ed8a95fc21a3e47dfc10e08 (patch)
treed50dfe31b10ee468527062f9ff672d4ea2bdb482 /openo-portal/portal-lifecyclemgr
parentf25210ac4abd2a71479cffc8189609a18131fb2c (diff)
Issue ID: GSO-43
Change-Id: I5abea29a9ec06d28d8aabb927cb29e95eaf6ea49 Signed-off-by: j00302280 <j00101220@huawei.com>
Diffstat (limited to 'openo-portal/portal-lifecyclemgr')
-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;