YaoHaishi created SCB-1220:
------------------------------

             Summary: 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


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)

Reply via email to