use of fixtures.lro.implementation.AutoRestLongRunningOperationTestServiceImpl in project autorest.java by Azure.
the class LRORetrysTests method setup.
@BeforeClass
public static void setup() {
client = new AutoRestLongRunningOperationTestServiceImpl("http://localhost:3000", new BasicAuthenticationCredentials(null, null));
client.getAzureClient().setLongRunningOperationRetryTimeout(0);
}
use of fixtures.lro.implementation.AutoRestLongRunningOperationTestServiceImpl in project autorest.java by Azure.
the class LROsCustomHeaderTests method setup.
@BeforeClass
public static void setup() {
client = new AutoRestLongRunningOperationTestServiceImpl("http://localhost:3000", new BasicAuthenticationCredentials(null, null));
client.restClient().headers().addHeader("x-ms-client-request-id", "9C4D50EE-2D56-4CD3-8152-34347DC9F2B0");
client.getAzureClient().setLongRunningOperationRetryTimeout(0);
}
use of fixtures.lro.implementation.AutoRestLongRunningOperationTestServiceImpl in project autorest.java by Azure.
the class LROSADsTests method setup.
@BeforeClass
public static void setup() {
client = new AutoRestLongRunningOperationTestServiceImpl("http://localhost:3000", new BasicAuthenticationCredentials(null, null));
client.getAzureClient().setLongRunningOperationRetryTimeout(0);
}
use of fixtures.lro.implementation.AutoRestLongRunningOperationTestServiceImpl in project autorest.java by Azure.
the class LROsTests method setup.
@BeforeClass
public static void setup() {
RestClient restClient = new RestClient.Builder().withBaseUrl("http://localhost:3000").withSerializerAdapter(new AzureJacksonAdapter()).withResponseBuilderFactory(new AzureResponseBuilder.Factory()).build();
client = new AutoRestLongRunningOperationTestServiceImpl(restClient);
client.getAzureClient().setLongRunningOperationRetryTimeout(0);
}
Aggregations