aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr
diff options
context:
space:
mode:
authorLuji7 <lu.ji3@zte.com.cn>2016-10-25 17:30:41 +0800
committerLuji7 <lu.ji3@zte.com.cn>2016-10-25 17:30:41 +0800
commitb7299a3f95b764eefd08c059efce06a0dc7675f5 (patch)
tree57a1f6605927381ba3f592bd8a19ab3e66b6700c /openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr
parent078ddb21c4f869f2f1443461ede8cf8cad54a087 (diff)
Issue#GSO-46 Fix method name error and url error.
Change-Id: I3a745ac09d4980a33e9093f18e10316c099db35f Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
Diffstat (limited to 'openo-portal/portal-lifecyclemgr/src/main/webapp/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",