use of com.thinkbiganalytics.scheduler.rest.model.ScheduleIdentifier in project kylo by Teradata.
the class IntegrationTestBase method triggerSla.
protected RestResponseStatus triggerSla(String slaName) {
LOG.info("Triggering SLA " + slaName);
ScheduleIdentifier si = new ScheduleIdentifier();
si.setName(slaName);
si.setGroup("SLA");
Response response = given(SchedulerRestController.V1_SCHEDULER).body(si).when().post("/jobs/trigger");
response.then().statusCode(HTTP_OK);
return response.as(RestResponseStatus.class);
}
Aggregations