yhs0092 commented on a change in pull request #727: [SCB-607] Accesslog support
invocation context item
URL:
https://github.com/apache/incubator-servicecomb-java-chassis/pull/727#discussion_r190858989
##########
File path:
edge/edge-core/src/main/java/org/apache/servicecomb/edge/core/EdgeInvocation.java
##########
@@ -59,6 +59,7 @@ public void init(String microserviceName, RoutingContext
context, String path,
this.responseEx = new
VertxServerResponseToHttpServletResponse(context.response());
this.httpServerFilters = httpServerFilters;
requestEx.setAttribute(RestConst.REST_REQUEST, requestEx);
+ setAfterCreateInvocationHandler(invocation ->
context.put(RestConst.REST_INVOCATION_CONTEXT, invocation));
Review comment:
New setting logic is in the overridden `createInvocation()` method, please
review the new commit
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services