use of io.dropwizard.client.JerseyClientBuilder in project verify-hub by alphagov.
the class SamlMessageReceiverApiResourceEidasDisabledTest method setUpClient.
@BeforeClass
public static void setUpClient() throws Exception {
JerseyClientConfiguration jerseyClientConfiguration = JerseyClientConfigurationBuilder.aJerseyClientConfiguration().withTimeout(Duration.seconds(10)).build();
client = new JerseyClientBuilder(samlProxyAppRule.getEnvironment()).using(jerseyClientConfiguration).build(SamlMessageReceiverApiResourceEidasDisabledTest.class.getSimpleName());
eventSinkStubRule.register(Urls.HubSupportUrls.HUB_SUPPORT_EVENT_SINK_RESOURCE, Response.Status.OK.getStatusCode());
}
use of io.dropwizard.client.JerseyClientBuilder in project verify-hub by alphagov.
the class SamlMessageReceiverApiResourceTest method setUpClient.
@BeforeClass
public static void setUpClient() throws Exception {
JerseyClientConfiguration jerseyClientConfiguration = JerseyClientConfigurationBuilder.aJerseyClientConfiguration().withTimeout(Duration.seconds(10)).build();
client = new JerseyClientBuilder(samlProxyAppRule.getEnvironment()).using(jerseyClientConfiguration).build(SamlMessageReceiverApiResourceTest.class.getSimpleName());
eventSinkStubRule.register(Urls.HubSupportUrls.HUB_SUPPORT_EVENT_SINK_RESOURCE, Response.Status.OK.getStatusCode());
}
use of io.dropwizard.client.JerseyClientBuilder in project verify-hub by alphagov.
the class CountryAuthnResponseTranslatorResourceTest method setUpClient.
@BeforeClass
public static void setUpClient() throws Exception {
JerseyClientConfiguration jerseyClientConfiguration = JerseyClientConfigurationBuilder.aJerseyClientConfiguration().withTimeout(Duration.seconds(10)).build();
client = new JerseyClientBuilder(samlEngineAppRule.getEnvironment()).using(jerseyClientConfiguration).build(CountryAuthnResponseTranslatorResourceTest.class.getSimpleName());
}
use of io.dropwizard.client.JerseyClientBuilder in project verify-hub by alphagov.
the class HealthCheckWithoutCountryTest method setupClass.
@BeforeClass
public static void setupClass() throws Exception {
JerseyClientConfiguration jerseyClientConfiguration = JerseyClientConfigurationBuilder.aJerseyClientConfiguration().withTimeout(Duration.seconds(10)).build();
client = new JerseyClientBuilder(samlEngineAppRule.getEnvironment()).using(jerseyClientConfiguration).build(HealthCheckWithoutCountryTest.class.getSimpleName());
}
use of io.dropwizard.client.JerseyClientBuilder in project verify-hub by alphagov.
the class AuthnRequestFromTransactionResourceIntegrationTest method beforeClass.
@BeforeClass
public static void beforeClass() {
JerseyClientConfiguration jerseyClientConfiguration = JerseyClientConfigurationBuilder.aJerseyClientConfiguration().withTimeout(Duration.seconds(10)).build();
client = new JerseyClientBuilder(policy.getEnvironment()).using(jerseyClientConfiguration).build(AuthnRequestFromTransactionResourceIntegrationTest.class.getSimpleName());
}
Aggregations