Create SVG in UI
[clamp.git] / src / main / java / org / onap / clamp / loop / LoopController.java
index a2a4463..603726f 100644 (file)
@@ -137,11 +137,11 @@ public class LoopController {
     }
 
     /**
-     * This method remove an operational policy to a loop instance.
+     * This method removes an operational policy from a loop instance.
      *
      * @param loopName      The loop name
      * @param policyType    The policy model type
-     * @param policyVersion The policy model  version
+     * @param policyVersion The policy model version
      * @return The loop modified
      */
     public Loop removeOperationalPolicy(String loopName, String policyType, String policyVersion) {
@@ -168,17 +168,6 @@ public class LoopController {
         return loopService.updateMicroservicePolicy(loopName, newMicroservicePolicy);
     }
 
-    /**
-     * Get the SVG representation of the loop.
-     *
-     * @param loopName The loop name
-     * @return The SVG representation
-     */
-    public String getSvgRepresentation(String loopName) {
-        Loop loop = loopService.getLoop(loopName);
-        return loop != null ? loop.getSvgRepresentation() : null;
-    }
-
     /**
      * Refresh the Operational Policy Json representation of the loop.
      *