protected void addTenacityResources(Environment environment,
TenacityPropertyKeyFactory keyFactory,
Iterable<TenacityPropertyKey> tenacityPropertyKeys) {
environment.jersey().register(new TenacityPropertyKeysResource(tenacityPropertyKeys));
environment.jersey().register(new TenacityConfigurationResource(keyFactory));
environment.jersey().register(new TenacityCircuitBreakersResource(tenacityPropertyKeys));
}