Ask Your Question
0

How to export and import a Pipeline from StreamSets Control Hub using REST Api?

asked 2019-09-23 08:55:45 -0500

hcbharath gravatar image

updated 2020-02-25 09:57:53 -0500

metadaddy gravatar image

I have a requirement to automate exporting and importing a Pipeline from StreamSets Control Hub. How to do this using Rest Api?

The rest api's :

Export --> https://host_name:port_no/pipelinestore/rest/v1/pipelines/exportPipelineCommits

Import --> https://host_name:port_no/pipelinestore/rest/v1/pipelines/importPipelineCommits

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-02-27 11:23:08 -0500

kirti gravatar image

updated 2020-02-27 11:23:35 -0500

Have you looked into using StreamSets SDK for python?
If not, I would highly recommend you to take a look. As that helps one to import/export pipelines, create them, and much more using SDK.

e.g. Good starting point is https://streamsets.com/documentation/...

In particular search for import_pipeline or export_pipelinesin the following API page: https://streamsets.com/documentation/...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-09-23 08:55:45 -0500

Seen: 137 times

Last updated: Feb 27