use of org.apache.oozie.service.Services in project oozie by apache.
the class TestCoordJobInfoGetJPAExecutor 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 TestCoordJobsCountNotForPurgeFromParentIdJPAExecutor method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
services = new Services();
setClassesToBeExcluded(services.getConf(), excludedServices);
services.init();
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestCoordJobsDeleteJPAExecutor method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
services = new Services();
setClassesToBeExcluded(services.getConf(), excludedServices);
services.init();
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestCoordJobGetJPAExecutor 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 TestCoordActionGetForInfoJPAExecutor method testCoordActionGetAllColumns.
public void testCoordActionGetAllColumns() throws Exception {
services.destroy();
setSystemProperty(CoordActionGetForInfoJPAExecutor.COORD_GET_ALL_COLS_FOR_ACTION, "true");
services = new Services();
services.init();
String resourceXmlName = "coord-action-get.xml";
CoordinatorJobBean job = addRecordToCoordJobTable(CoordinatorJob.Status.RUNNING, false, false);
CoordinatorActionBean action = createCoordAction(job.getId(), 1, CoordinatorAction.Status.WAITING, resourceXmlName, 0);
String slaXml = "slaXml";
action.setSlaXml(slaXml);
// Insert the action
insertRecordCoordAction(action);
_testGetForInfoAllActions(action.getId(), slaXml);
}
Aggregations