use of com.thinkbiganalytics.metadata.api.sla.FeedExecutedSinceFeed in project kylo by Teradata.
the class DebugController method examplePrecondition.
/**
* returns a new feed precondition model for debugging
*
* @return the precondition model
*/
@GET
@Path("precondition")
@Produces(MediaType.APPLICATION_JSON)
public FeedPrecondition examplePrecondition() {
FeedPrecondition procond = new FeedPrecondition("DependingPrecondition");
procond.addMetrics("Feed dependson on execution of another feed", new FeedExecutedSinceFeed("DependentCategory", "DependentFeed", "ExecutedSinceCategory", "ExecutedSinceFeed"));
return procond;
}
Aggregations