Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-13319

Ability to export pipeline json from REST api similar to UI

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Pipelines
    • Labels:
    • Rank:
      1|i00c2v:

      Description

      Today we have the ability to export a pipeline and import it back in a different environment. 

      If users want to do it in bulk (export all pipelines from a namespace) then they would have to use UI to go to every single pipeline and export it. It would be easier if we exposed a CLI or an API option to export pipeline(s) in bulk.

       

      Right now the `/apps/:appId` end point returns the app spec but it is not the same json that we export in UI. The pipeline json export from UI is not the same as the app specification.

       

      Solutions

      • Have an API endpoint to expose the same pipeline config json that is exported in UI to be able to use it to deploy in another environment (for automation and bulk export)
      • Add a cli option to do the same (nice to have).

        Attachments

          Activity

            People

            • Assignee:
              bhooshan Bhooshan Mogal
              Reporter:
              ajai Ajai Narayan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: