use of com.palantir.atlasdb.timelock.benchmarks.server.config.TimelockBenchmarkServerConfig in project atlasdb by palantir.
the class TimelockBenchmarkServerLauncher method run.
@Override
public void run(TimelockBenchmarkServerConfig configuration, Environment environment) throws Exception {
FeignOkHttpClients.globalClientSettings = client -> client.hostnameVerifier((ig, nored) -> true);
TimeLockAgent agent = TimeLockAgent.create(configuration.install(), // this won't actually live reload
configuration::runtime, ImmutableTimeLockDeprecatedConfiguration.builder().build(), environment.jersey()::register);
}
Aggregations