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();
}
use of com.nike.riposte.server.Server in project riposte by Nike-Inc.
the class VerifyPayloadHandlingComponentTest method setUpClass.
@BeforeClass
public static void setUpClass() throws Exception {
downstreamNonSslServerConfig = new DownstreamServerTestConfig(false);
downstreamNonSslServer = new Server(downstreamNonSslServerConfig);
downstreamNonSslServer.startup();
downstreamSslServerConfig = new DownstreamServerTestConfig(true);
downstreamSslServer = new Server(downstreamSslServerConfig);
downstreamSslServer.startup();
serverConfig = new PayloadTypeHandlingTestConfig(downstreamNonSslServerConfig.endpointsPort(), downstreamSslServerConfig.endpointsSslPort());
server = new Server(serverConfig);
server.startup();
}
use of com.nike.riposte.server.Server in project riposte by Nike-Inc.
the class ArchaiusServer method startServer.
/**
* Creates the {@link Server} instance using {@link #getServerConfig()}, then calls {@link Server#startup()}.
* DO NOT CALL THIS DIRECTLY. Use {@link #launchServer(String[])} when you're ready to start the server.
*/
protected void startServer() throws Exception {
server = new Server(getServerConfig());
server.startup();
}
Aggregations