aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-lifecyclemgr
diff options
context:
space:
mode:
authorLuji7 <lu.ji3@zte.com.cn>2016-10-25 17:30:41 +0800
committerLuji <lu.ji3@zte.com.cn>2016-10-25 09:37:11 +0000
commitd37407d46a6d8212d6e0445a9e2a5c796f539ec9 (patch)
treefe439eafbc77cebbae4bdde11f759cc66db907d5 /openo-portal/portal-lifecyclemgr
parentc494b5a63c2677a2970f7cc148df44316c4f4bb1 (diff)
Issue#GSO-46 Fix method name error and url error.
Change-Id: I3a745ac09d4980a33e9093f18e10316c099db35f Signed-off-by: Luji7 <lu.ji3@zte.com.cn> (cherry picked from commit b7299a3f95b764eefd08c059efce06a0dc7675f5)
Diffstat (limited to 'openo-portal/portal-lifecyclemgr')
-rw-r--r--openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js4
1 files changed, 2 insertions, 2 deletions
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",