use of com.nike.riposte.server.Server in project riposte by Nike-Inc.
the class VerifyTimeoutsAndProxyConnectionPoolingWorksComponentTest method setUpClass.
@BeforeClass
public static void setUpClass() throws Exception {
proxyServerShortCallTimeoutConfig = new TimeoutsAndProxyTestServerConfig(60 * 1000, 150, incompleteCallTimeoutMillis);
proxyServerShortCallTimeout = new Server(proxyServerShortCallTimeoutConfig);
proxyServerShortCallTimeout.startup();
proxyServerLongTimeoutValuesConfig = new TimeoutsAndProxyTestServerConfig(60 * 1000, 60 * 1000, incompleteCallTimeoutMillis);
proxyServerLongTimeoutValues = new Server(proxyServerLongTimeoutValuesConfig);
proxyServerLongTimeoutValues.startup();
downstreamServerConfig = new TimeoutsAndProxyTestServerConfig(300, 60 * 1000, incompleteCallTimeoutMillis);
downstreamServer = new Server(downstreamServerConfig);
downstreamServer.startup();
}
use of com.nike.riposte.server.Server in project riposte by Nike-Inc.
the class VerifyProxyRequestsDoNotAlterRequestToDownstreamServiceTest method setUpClass.
@BeforeClass
public static void setUpClass() throws Exception {
downstreamServerConfig = new DownstreamServerTestConfig();
downstreamServer = new Server(downstreamServerConfig);
downstreamServer.startup();
proxyServerConfig = new ProxyTestingTestConfig();
proxyServer = new Server(proxyServerConfig);
proxyServer.startup();
}
use of com.nike.riposte.server.Server in project riposte by Nike-Inc.
the class VerifyMiscellaneousFunctionalityComponentTest method setUpClass.
@BeforeClass
public static void setUpClass() throws Exception {
serverConfig = new MiscellaneousFunctionalityTestConfig();
server = new Server(serverConfig);
server.startup();
}
use of com.nike.riposte.server.Server in project riposte by Nike-Inc.
the class VerifyRequestSizeValidationComponentTest method setUpClass.
@BeforeClass
public static void setUpClass() throws Exception {
objectMapper = new ObjectMapper();
serverConfig = new RequestSizeValidationConfig();
server = new Server(serverConfig);
server.startup();
}
use of com.nike.riposte.server.Server in project riposte by Nike-Inc.
the class VerifySSLComponentTest method setUpClass.
@BeforeClass
public static void setUpClass() throws Exception {
serverConfig = new SSLTestConfig();
server = new Server(serverConfig);
server.startup();
}
Aggregations