1

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

pmatthew
  • 23
  • 7
  • Just a simpl rest call. See here https://docs.cask.co/cdap/5.1.2/en/reference-manual/http-restful-api/lifecycle.html#create-an-application – Neelesh Oct 18 '19 at 06:29

1 Answers1

1

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.

Edwin Elia
  • 399
  • 3
  • 5