From: j00302280 Date: Mon, 24 Oct 2016 08:47:27 +0000 (+0800) Subject: Issue ID: GSO-43 X-Git-Tag: release/sun~88^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7f2a835a18a1472b4ed8a95fc21a3e47dfc10e08;p=vnfsdk%2Frefrepo.git Issue ID: GSO-43 Change-Id: I5abea29a9ec06d28d8aabb927cb29e95eaf6ea49 Signed-off-by: j00302280 --- 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;