use of com.hotels.styx.proxy.ProxyServerConfig in project styx by ExpediaGroup.
the class StyxServerTest method styxConfig.
private static StyxConfig styxConfig() {
ProxyServerConfig proxyConfig = new ProxyServerConfig.Builder().setHttpConnector(new HttpConnectorConfig(0)).build();
AdminServerConfig adminConfig = new AdminServerConfig.Builder().setHttpConnector(new HttpConnectorConfig(0)).build();
Configuration config = new MapBackedConfiguration(EMPTY_CONFIGURATION).set("admin", adminConfig).set("proxy", proxyConfig);
return new StyxConfig(config);
}
Aggregations