Commit ddf7edeb by Dave Syer

/proxy/routes -> /routes

parent de4822e8
...@@ -70,7 +70,7 @@ public class ZuulHandlerMapping extends AbstractUrlHandlerMapping implements ...@@ -70,7 +70,7 @@ public class ZuulHandlerMapping extends AbstractUrlHandlerMapping implements
} }
} }
@RequestMapping(value = "routes", method = RequestMethod.POST) @RequestMapping(method = RequestMethod.POST)
@ResponseBody @ResponseBody
@ManagedOperation @ManagedOperation
public Map<String, String> reset() { public Map<String, String> reset() {
...@@ -79,7 +79,7 @@ public class ZuulHandlerMapping extends AbstractUrlHandlerMapping implements ...@@ -79,7 +79,7 @@ public class ZuulHandlerMapping extends AbstractUrlHandlerMapping implements
return routes; return routes;
} }
@RequestMapping(value = "routes", method = RequestMethod.GET) @RequestMapping(method = RequestMethod.GET)
@ResponseBody @ResponseBody
@ManagedAttribute @ManagedAttribute
public Map<String, String> getRoutes() { public Map<String, String> getRoutes() {
...@@ -88,7 +88,7 @@ public class ZuulHandlerMapping extends AbstractUrlHandlerMapping implements ...@@ -88,7 +88,7 @@ public class ZuulHandlerMapping extends AbstractUrlHandlerMapping implements
@Override @Override
public String getPath() { public String getPath() {
return "/proxy"; return "/route";
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment