aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-lifecyclemgr
diff options
context:
space:
mode:
authorjin xin <j00101220@huawei.com>2016-10-26 10:15:37 +0000
committerGerrit Code Review <gerrit@open-o.org>2016-10-26 10:15:37 +0000
commit60e78e568f34f4a0e16fc04749d7fbb966d39f18 (patch)
tree93937a7923159dd4f781544d890fb62e5942da48 /openo-portal/portal-lifecyclemgr
parent68a6b65075e299803857426da378976fe9c9e8d0 (diff)
parentd37407d46a6d8212d6e0445a9e2a5c796f539ec9 (diff)
Merge "Issue#GSO-46 Fix method name error and url error." into sun
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 76b4b2a7..2bfe351a 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",