diff options
author | Tal Gitelman <tg851x@intl.att.com> | 2018-04-30 19:06:20 +0300 |
---|---|---|
committer | Yuli Shlosberg <ys9693@att.com> | 2018-05-01 11:31:43 +0000 |
commit | 2ef3886c9b0223f4813ac1385318d6f2e600a4a8 (patch) | |
tree | 7d03279f2302ddd7e36d23a1d501df296c6a4a60 /openecomp-be/lib/openecomp-sdc-tosca-generator-lib | |
parent | 4e1599dabb55107466892405bb856396522ff132 (diff) |
Remove dead code asdctool
Change-Id: I467f70b442a02a15b8a18b160309bac9a8ab3f9a
Issue-ID: SDC-1270
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
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<>(); |