environment.jersey().register(exceptionMapper);
}
}
protected void configureHystrix(Environment environment) {
HystrixPlugins.getInstance().registerConcurrencyStrategy(new ManagedConcurrencyStrategy(environment));
environment.servlets()
.addServlet("hystrix-metrics", new HystrixMetricsStreamServlet())
.addMapping("/tenacity/metrics.stream");
}