Search in sources :

Example 6 with FeedExecutedSinceFeed

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;
}
Also used : FeedPrecondition(com.thinkbiganalytics.metadata.rest.model.feed.FeedPrecondition) FeedExecutedSinceFeed(com.thinkbiganalytics.metadata.api.sla.FeedExecutedSinceFeed) Path(javax.ws.rs.Path) JcrPath(com.thinkbiganalytics.metadata.modeshape.support.JcrPath) Produces(javax.ws.rs.Produces) GET(javax.ws.rs.GET)

Aggregations

FeedExecutedSinceFeed (com.thinkbiganalytics.metadata.api.sla.FeedExecutedSinceFeed)6 Feed (com.thinkbiganalytics.metadata.api.feed.Feed)1 FeedProvider (com.thinkbiganalytics.metadata.api.feed.FeedProvider)1 FeedOperation (com.thinkbiganalytics.metadata.api.op.FeedOperation)1 FeedOperationsProvider (com.thinkbiganalytics.metadata.api.op.FeedOperationsProvider)1 DatasourceUpdatedSinceFeedExecuted (com.thinkbiganalytics.metadata.api.sla.DatasourceUpdatedSinceFeedExecuted)1 DatasourceUpdatedSinceSchedule (com.thinkbiganalytics.metadata.api.sla.DatasourceUpdatedSinceSchedule)1 FeedExecutedSinceSchedule (com.thinkbiganalytics.metadata.api.sla.FeedExecutedSinceSchedule)1 JcrPath (com.thinkbiganalytics.metadata.modeshape.support.JcrPath)1 Feed (com.thinkbiganalytics.metadata.rest.model.feed.Feed)1 FeedPrecondition (com.thinkbiganalytics.metadata.rest.model.feed.FeedPrecondition)1 Obligation (com.thinkbiganalytics.metadata.rest.model.sla.Obligation)1 ServiceLevelAgreement (com.thinkbiganalytics.metadata.rest.model.sla.ServiceLevelAgreement)1 Metric (com.thinkbiganalytics.metadata.sla.api.Metric)1 ObligationGroup (com.thinkbiganalytics.metadata.sla.api.ObligationGroup)1 ParseException (java.text.ParseException)1 HashSet (java.util.HashSet)1 GET (javax.ws.rs.GET)1 Path (javax.ws.rs.Path)1 Produces (javax.ws.rs.Produces)1