use of com.linkedin.restli.client.ParSeqRestliClientBuilder in project rest.li by linkedin.
the class TestParseqBasedFluentClientApiWithProjections method setUp.
@BeforeClass
void setUp() throws Exception {
super.init(Arrays.asList(new RestLiValidationFilter()));
_parSeqUnitTestHelper = new ParSeqUnitTestHelper();
_parSeqUnitTestHelper.setUp();
_parSeqRestliClient = new ParSeqRestliClientBuilder().setClient(getClient()).setConfig(new ParSeqRestliClientConfigBuilder().build()).build();
}
use of com.linkedin.restli.client.ParSeqRestliClientBuilder in project rest.li by linkedin.
the class TestParSeqBasedFluentClientApiWithExecutionGroup method setUp.
@BeforeClass
void setUp() throws Exception {
super.init(Arrays.asList(new RestLiValidationFilter()));
ParSeqRestliClientConfig config = new ParSeqRestliClientConfigBuilder().addBatchingEnabled("*.*/*.*", Boolean.TRUE).addMaxBatchSize("*.*/*.*", TEST_BATCH_SIZE).build();
BatchingSupport batchingSupport = new BatchingSupport();
_parSeqUnitTestHelper = new ParSeqUnitTestHelper(engineBuilder -> {
engineBuilder.setPlanDeactivationListener(batchingSupport);
});
_parSeqUnitTestHelper.setUp();
_parSeqRestliClient = // RestClient Registered Strategy
new ParSeqRestliClientBuilder().setBatchingSupport(batchingSupport).setClient(getClient()).setConfig(config).build();
}
use of com.linkedin.restli.client.ParSeqRestliClientBuilder in project rest.li by linkedin.
the class TestParseqBasedFluentClientApi method setUp.
@BeforeClass
void setUp() throws Exception {
super.init();
_parSeqUnitTestHelper = new ParSeqUnitTestHelper();
_parSeqUnitTestHelper.setUp();
_parSeqRestliClient = new ParSeqRestliClientBuilder().setClient(getClient()).setConfig(new ParSeqRestliClientConfigBuilder().build()).build();
}
Aggregations