Create SVG in UI
[clamp.git] / src / main / java / org / onap / clamp / loop / template / LoopTemplatesService.java
index 09bc80f..2938213 100644 (file)
@@ -49,17 +49,6 @@ public class LoopTemplatesService {
         return loopTemplatesRepository.save(loopTemplate);
     }
 
-
-    /**
-     * Get the SVG representation of the loopTemplate.
-     *
-     * @param templateName The loopTemplate name
-     * @return The SVG representation in xml
-     */
-    public String getSvgRepresentation(String templateName) {
-        return loopTemplatesRepository.findById(templateName).orElse(new LoopTemplate()).getSvgRepresentation();
-    }
-
     public List<String> getLoopTemplateNames() {
         return loopTemplatesRepository.getAllLoopTemplateNames();
     }