diff options
author | Munir Ahmad <munir.ahmad@bell.ca> | 2018-03-09 19:13:08 -0500 |
---|---|---|
committer | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2018-03-14 15:06:17 +0000 |
commit | f6e769e242144eea50144af9fa50ae8343cab64c (patch) | |
tree | e0adf03893653eb7be3d84ec7955509fc858313d /mso-catalog-db/src/main | |
parent | cea1533f8ed4eeadd14d484c1817eed37dc6290a (diff) |
Remove depricated and unsed methods
Change-Id: Iaf6d907f0c0a86ec2bc020c87f07ffd73c5bcb80
Issue-ID: SO-437
Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
Diffstat (limited to 'mso-catalog-db/src/main')
-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 " |