[ https://issues.apache.org/jira/browse/SCB-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YaoHaishi resolved SCB-1220. ---------------------------- Resolution: Fixed Fix Version/s: java-chassis-1.2.0 > Support regex path param on consumer side > ----------------------------------------- > > Key: SCB-1220 > URL: https://issues.apache.org/jira/browse/SCB-1220 > Project: Apache ServiceComb > Issue Type: Improvement > Reporter: YaoHaishi > Assignee: YaoHaishi > Priority: Major > Fix For: java-chassis-1.2.0 > > Time Spent: 20m > Remaining Estimate: 0h > > Currently, the regex path param is supported on provider side, like: > {code:java} > @Path("/{path : .+}") > @GET > @ApiResponse(code = 200, message = "", response = File.class) > public Response getStaticResource(@PathParam("path") String path) { > {code} > But if the request is passed via EdgeService, a NullPointerException is > thrown, because EdgeService take "path : .+" as path param name and when it > construct the request to the backend service, the correct path param writer > is not found. > This problem should be fixed. -- This message was sent by Atlassian JIRA (v7.6.3#76005)