pmatthew
pmatthew

Reputation: 23

How can I import CDAP Pipeline other than the UI?

Is there a way to import pipelines using CDAP CLI? I am interested in automated pipeline deployment.

Upvotes: 1

Views: 302

Answers (1)

Edwin Elia
Edwin Elia

Reputation: 399

You can import pipeline using CDAP REST API.

PUT /v3/namespaces/<namespace>/apps/<pipeline name>

The body of the request should be the pipeline JSON that you have exported.

Upvotes: 1

Related Questions