use of org.apache.oozie.service.Services in project oozie by apache.
the class TestURIHandlerService method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
services = new Services();
services.init();
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestEventQueue method setUp.
@Before
protected void setUp() throws Exception {
super.setUp();
services = new Services();
Configuration conf = services.getConf();
conf.set(Services.CONF_SERVICE_EXT_CLASSES, JMSAccessorService.class.getName() + "," + JMSTopicService.class.getName() + "," + EventHandlerService.class.getName() + "," + SLAService.class.getName());
conf.setInt(EventHandlerService.CONF_BATCH_SIZE, 3);
// this unit test is meant to
conf.set(EventHandlerService.CONF_LISTENERS, "");
// target queue operations only
services.init();
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestCompletedActionXCommand method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
services = new Services();
services.init();
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestSignalXCommand method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
services = new Services();
services.init();
ConfigurationService.setBoolean(LiteWorkflowAppParser.VALIDATE_FORK_JOIN, false);
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestSignalXCommand method testSuspendPoints.
public void testSuspendPoints() throws Exception {
ConfigurationService.setBoolean(SignalXCommand.FORK_PARALLEL_JOBSUBMISSION, true);
_testSuspendPoints();
services.destroy();
services = new Services();
services.init();
ConfigurationService.setBoolean(SignalXCommand.FORK_PARALLEL_JOBSUBMISSION, false);
_testSuspendPoints();
}
Aggregations