Merge "Bug #25: Installing/removing flows with ".""
authorAlessandro Boch <aboch@cisco.com>
Tue, 25 Jun 2013 13:55:09 +0000 (13:55 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 25 Jun 2013 13:55:09 +0000 (13:55 +0000)
opendaylight/web/flows/src/main/java/org/opendaylight/controller/flows/web/Flows.java

index c4341347d088c95944987f1470da8633adece44a..be7560985a56fdeb3df3ae1d28020f8f87cd56a7 100644 (file)
@@ -248,7 +248,7 @@ public class Flows implements IDaylightWeb {
                 .getDescription();
     }
 
-    @RequestMapping(value = "/flow/{nodeId}/{name}", method = RequestMethod.POST)
+    @RequestMapping(value = "/flow/{nodeId}/{name:.*}", method = RequestMethod.POST)
     @ResponseBody
     public String removeFlow(@PathVariable("nodeId") String nodeId,
             @PathVariable("name") String name,