Search in sources :

Example 6 with ProvenanceEventRecordDTOHolder

use of com.thinkbiganalytics.nifi.provenance.model.ProvenanceEventRecordDTOHolder in project kylo by Teradata.

the class KyloRestProvenanceEventService method sendEvents.

@Override
public void sendEvents(List<ProvenanceEventRecordDTO> events) throws ProvenanceException {
    ProvenanceEventRecordDTOHolder eventRecordDTOHolder = new ProvenanceEventRecordDTOHolder();
    eventRecordDTOHolder.setEvents(events);
    restClient.post(PROVENANCE_REST_PATH, eventRecordDTOHolder);
}
Also used : ProvenanceEventRecordDTOHolder(com.thinkbiganalytics.nifi.provenance.model.ProvenanceEventRecordDTOHolder)

Aggregations

ProvenanceEventRecordDTOHolder (com.thinkbiganalytics.nifi.provenance.model.ProvenanceEventRecordDTOHolder)6 ProvenanceEventRecordDTO (com.thinkbiganalytics.nifi.provenance.model.ProvenanceEventRecordDTO)4 ArrayList (java.util.ArrayList)4 AggregatedFeedProcessorStatisticsHolder (com.thinkbiganalytics.nifi.provenance.model.stats.AggregatedFeedProcessorStatisticsHolder)3 OpsManagerFeed (com.thinkbiganalytics.metadata.api.feed.OpsManagerFeed)1 AggregatedFeedProcessorStatisticsHolderV3 (com.thinkbiganalytics.nifi.provenance.model.stats.AggregatedFeedProcessorStatisticsHolderV3)1 ProvenanceException (com.thinkbiganalytics.provenance.api.ProvenanceException)1 ApiOperation (io.swagger.annotations.ApiOperation)1 ApiResponses (io.swagger.annotations.ApiResponses)1 ExecutionException (java.util.concurrent.ExecutionException)1 Future (java.util.concurrent.Future)1 TimeoutException (java.util.concurrent.TimeoutException)1 Consumes (javax.ws.rs.Consumes)1 POST (javax.ws.rs.POST)1 Produces (javax.ws.rs.Produces)1 ProducerRecord (org.apache.kafka.clients.producer.ProducerRecord)1