Add the ability to select a specific pipeline version in Pipeline Details view.

Description

As a CDAP user, I want to be able to browse different versions of an existing pipeline, view metrics and configurations relative to that pipeline, as well as edit, duplicate or export a specific version of the pipeline.

Browsing Pipeline Versions
A user can browse different pipeline versions by selecting the Version number in the drop-down next to the Pipeline name and icon (summary).
Selecting a pipeline version displays the previous pipeline design and the metrics associated with that version.

Acceptance Criteria
When a pipeline is viewed, the latest run of the latest version is displayed as default.
After selecting a version of the pipeline:

  • The design of the pipeline is displayed

  • When the user selects a version of a pipeline, the last run of that version is displayed.

  • The run number and total run number represent the runs of that version of the pipeline.

  • The user can browse through the different runs by clicking the caret next to the run number, or by going to the summary and clicking a previous run in the "Runs History" line chart.

  • The summary displays metrics related to that version. (The metrics are not aggregated to other versions run of the pipeline)

  • When viewing an older version of a pipeline - no running and/or not scheduled to run

    • Configure and Schedule display the configurations of that version

    • Stop and Run buttons are disabled

    • Summary displays the metric of the runs of that version

    • Actions: a user can edit, duplicate or export the version of the pipeline currently viewed. "Delete" is a global action which deletes the pipeline and all its versions

    • Run level metadata (Run Config, Logs, etc) are available

  • When a newer version of a pipeline has been deployed but not run, an older version of a pipeline may be running and/or scheduled to run. In that case, the Stop and Run buttons are enabled.

Release Notes

None

Attachments

3

Activity

Show:
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Priority

Created January 12, 2018 at 1:26 AM
Updated June 16, 2020 at 12:26 AM