wujimin 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_r190824312
##########
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:
if just need to do something after createInvocation
just override and call super first is enough?
----------------------------------------------------------------
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