use of org.apache.oozie.service.Services in project oozie by apache.
the class ZKXTestCase method setUp.
protected void setUp(Configuration conf) throws Exception {
super.setUp();
Services services = new Services();
if (conf != null && conf.size() > 0) {
for (Iterator<Entry<String, String>> itr = (Iterator<Entry<String, String>>) conf.iterator(); itr.hasNext(); ) {
Entry<String, String> entry = itr.next();
services.getConf().set(entry.getKey(), entry.getValue());
}
}
services.init();
setUpZK();
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestCoordActionsInDateRange method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
services = new Services();
services.init();
LocalOozie.start();
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestSLASummaryGetOnRestartJPAExecutor 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 TestDBWorkflowStore method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
services = new Services();
services.init();
store = Services.get().get(WorkflowStoreService.class).create();
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestSLAStore method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
services = new Services();
services.init();
store = Services.get().get(SLAStoreService.class).create();
}
Aggregations