diff options
Diffstat (limited to 'mso-catalog-db/src')
-rw-r--r-- | mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java b/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java index 6b27c50609..e1d590531f 100644 --- a/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java +++ b/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java @@ -4205,28 +4205,6 @@ public class CatalogDatabase implements Closeable { } } - @Deprecated - public void saveNestedHeatTemplate (int parentTemplateId, HeatTemplate childTemplate, String yamlFile) { - /* - long startTime = System.currentTimeMillis (); - LOGGER.debug ("Catalog database - save nested Heat template with name " - + childTemplate.getTemplateName ()); - try { - - saveHeatTemplate(childTemplate, childTemplate.getParameters()); - if (getNestedHeatTemplate(parentTemplateId,childTemplate.getId()) == null) { - HeatNestedTemplate nestedTemplate = new HeatNestedTemplate (); - nestedTemplate.setParentTemplateId (parentTemplateId); - nestedTemplate.setChildTemplateId (childTemplate.getId ()); - nestedTemplate.setProviderResourceFile (yamlFile); - session.save (nestedTemplate); - } - } finally { - LOGGER.recordMetricEvent (startTime, MsoLogger.StatusCode.COMPLETE, MsoLogger.ResponseCode.Suc, "Successfully", "CatalogDB", "saveNestedHeatTemplate", null); - } - */ - } - // 1707 public void saveNestedHeatTemplate (String parentTemplateId, HeatTemplate childTemplate, String yamlFile) { long startTime = System.currentTimeMillis (); @@ -4357,26 +4335,6 @@ public class CatalogDatabase implements Closeable { } } - @Deprecated - public void saveVfModuleToHeatFiles (int parentVfModuleId, HeatFiles childFile) { - /* - long startTime = System.currentTimeMillis (); - LOGGER.debug ("Catalog database - save Heat File to VFmodule link " - + childFile.getFileName()); - try { - saveHeatFiles (childFile); - VfModuleToHeatFiles vfModuleToHeatFile = new VfModuleToHeatFiles (); - vfModuleToHeatFile.setVfModuleId(parentVfModuleId); - vfModuleToHeatFile.setHeatFilesId(childFile.getId()); - - session.save (vfModuleToHeatFile); - - } finally { - LOGGER.recordMetricEvent (startTime, MsoLogger.StatusCode.COMPLETE, MsoLogger.ResponseCode.Suc, "Successfully", "CatalogDB", "saveVfModuleToHeatFiles", null); - } - */ - } - public void saveVfModuleToHeatFiles (String parentVfModuleId, HeatFiles childFile) { long startTime = System.currentTimeMillis (); LOGGER.debug ("Catalog database - save Heat File to VFmodule link " |