scalecube / scalecube-gateway

ScaleCube API Gateway is the single entry point for service consumers. handles incoming requests and proxy/route to the appropriate microservice instance.
Apache License 2.0
18 stars 7 forks source link

In io.scalecube.services.gateway.http.HttpGatewayAcceptor get rid of perf headers #110

Closed artem-v closed 4 years ago

artem-v commented 4 years ago

io.scalecube.services.gateway.http.HttpGatewayAcceptor

Prod code must not include perf headers.

  private static final String SERVICE_RECV_TIME = "service-recv-time";
  private static final String SERVICE_SEND_TIME = "service-send-time";
  private static final String CLIENT_RECV_TIME = "client-recv-time";
  private static final String CLIENT_SEND_TIME = "client-send-time";

Remove methods: io.scalecube.services.gateway.http.HttpGatewayAcceptor#enrichRequest and io.scalecube.services.gateway.http.HttpGatewayAcceptor#enrichResponse.

artem-v commented 4 years ago

Done it. Closing.