Issue#GSO-46 Fix method name error and url error.
authorLuji7 <lu.ji3@zte.com.cn>
Tue, 25 Oct 2016 09:30:41 +0000 (17:30 +0800)
committerLuji <lu.ji3@zte.com.cn>
Tue, 25 Oct 2016 09:37:11 +0000 (09:37 +0000)
Change-Id: I3a745ac09d4980a33e9093f18e10316c099db35f
Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
(cherry picked from commit b7299a3f95b764eefd08c059efce06a0dc7675f5)

openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js

index 5b2a47d..8145119 100644 (file)
@@ -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",