diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/IngestionPipelineRepository.java b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/IngestionPipelineRepository.java index 3c203b68303..77bfff628f8 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/IngestionPipelineRepository.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/IngestionPipelineRepository.java @@ -31,10 +31,12 @@ import lombok.extern.slf4j.Slf4j; import org.jdbi.v3.sqlobject.transaction.Transaction; import org.json.JSONObject; import org.openmetadata.schema.EntityInterface; +import org.openmetadata.schema.ServiceEntityInterface; import org.openmetadata.schema.api.configuration.LogStorageConfiguration; import org.openmetadata.schema.entity.applications.configuration.ApplicationConfig; import org.openmetadata.schema.entity.services.ingestionPipelines.AirflowConfig; import org.openmetadata.schema.entity.services.ingestionPipelines.IngestionPipeline; +import org.openmetadata.schema.entity.services.ingestionPipelines.PipelineServiceClientResponse; import org.openmetadata.schema.entity.services.ingestionPipelines.PipelineStatus; import org.openmetadata.schema.entity.services.ingestionPipelines.PipelineType; import org.openmetadata.schema.metadataIngestion.ApplicationPipeline; @@ -833,4 +835,9 @@ public class IngestionPipelineRepository extends EntityRepository(); } } + + public PipelineServiceClientResponse deployIngestionPipeline( + IngestionPipeline ingestionPipeline, ServiceEntityInterface service) { + return pipelineServiceClient.deployPipeline(ingestionPipeline, service); + } }