diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-tosca-generator-lib')
-rw-r--r-- | openecomp-be/lib/openecomp-sdc-tosca-generator-lib/openecomp-sdc-tosca-generator-core/src/main/java/org/openecomp/sdc/generator/core/services/ManualVspToscaGenerationService.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-tosca-generator-lib/openecomp-sdc-tosca-generator-core/src/main/java/org/openecomp/sdc/generator/core/services/ManualVspToscaGenerationService.java b/openecomp-be/lib/openecomp-sdc-tosca-generator-lib/openecomp-sdc-tosca-generator-core/src/main/java/org/openecomp/sdc/generator/core/services/ManualVspToscaGenerationService.java index 76717f37e3..24a344ae92 100644 --- a/openecomp-be/lib/openecomp-sdc-tosca-generator-lib/openecomp-sdc-tosca-generator-core/src/main/java/org/openecomp/sdc/generator/core/services/ManualVspToscaGenerationService.java +++ b/openecomp-be/lib/openecomp-sdc-tosca-generator-lib/openecomp-sdc-tosca-generator-core/src/main/java/org/openecomp/sdc/generator/core/services/ManualVspToscaGenerationService.java @@ -189,14 +189,6 @@ public class ManualVspToscaGenerationService { return componentName + GeneratorConstants.TOSCA_SERVICE_TEMPLATE_FILE_NAME_SUFFIX; } - private String getNodeTemplateId(String componentName, String idPrefix, String idSuffix) { - StringBuilder builder = new StringBuilder(); - //builder.append(idPrefix); - builder.append(componentName); - builder.append(idSuffix); - return builder.toString(); - } - private ServiceTemplate createInitMainServiceTemplate(String releaseVendor) { ServiceTemplate mainServiceTemplate = new ServiceTemplate(); Map<String, String> templateMetadata = new HashMap<>(); @@ -349,18 +341,6 @@ public class ManualVspToscaGenerationService { //*************** CREATE GLOBAL SUBSTITUTION SERVICE TEMPLATE ********************** - private ServiceTemplate createGlobalSubstitutionServiceTemplate(ServiceTemplate - substitutionServiceTemplate, - String componentName) { - ServiceTemplate globalSubstitutionServiceTemplate = fetchGlobalSubstitutionServiceTemplate(); - NodeType substitutionNodeType = - createGlobalSubstitutionNodeType(substitutionServiceTemplate, componentName); - String substitutionNodeTypeId = getSubstitutionNodeTypeId(componentName); - DataModelUtil.addNodeType(globalSubstitutionServiceTemplate, substitutionNodeTypeId, - substitutionNodeType); - return globalSubstitutionServiceTemplate; - } - private ServiceTemplate createInitGlobalSubstitutionServiceTemplate() { ServiceTemplate globalSubstitutionServiceTemplate = new ServiceTemplate(); Map<String, String> templateMetadata = new HashMap<>(); |