From d37407d46a6d8212d6e0445a9e2a5c796f539ec9 Mon Sep 17 00:00:00 2001 From: Luji7 Date: Tue, 25 Oct 2016 17:30:41 +0800 Subject: Issue#GSO-46 Fix method name error and url error. Change-Id: I3a745ac09d4980a33e9093f18e10316c099db35f Signed-off-by: Luji7 (cherry picked from commit b7299a3f95b764eefd08c059efce06a0dc7675f5) --- .../portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openo-portal/portal-lifecyclemgr') diff --git a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js index 5b2a47df..81451191 100644 --- a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js +++ b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js @@ -104,7 +104,7 @@ function fetchGsoNestingTemplateParameters(templateId) { return fetchNodeTemplates(templateId); } // There are no nesting template parameters for non GSO. - defer.reslove([]); + defer.resolve([]); } ).then( function(nodeTemplates) { @@ -122,7 +122,7 @@ function fetchGsoNestingTemplateParameters(templateId) { } }); nodeTemplates.forEach(function(nodeTemplate) { - var nestingNodeUri = '/openoapi/catalog/v1/servicetemplate/nesting?nodeTypeIds=' + nodeTemplate.type; + var nestingNodeUri = '/openoapi/catalog/v1/servicetemplates/nesting?nodeTypeIds=' + nodeTemplate.type; $.when( $.ajax({ type: "GET", -- cgit 1.2.3-korg