Details
-
Work Item
-
Status: closed
-
Minor
-
Resolution: Done
-
None
-
All
-
DGA Sprint 9 (25/6 to 12/7), DGA Sprint 10 (16/7 to 2/8)
-
GreenHopper Ranking:0|i20mxn:
-
9223372036854775807
-
Small
-
2
Description
As a Data Preparation user, in Runtime Convergence mode,
I want to download the result file of a preparation run from the run history page (when selecting a downloadable desintation dataset - i.e. local connection for now)
in order to retrieve the result of my preparation for further usage.
How?
- call to HEAD endpoint to check if the download button should be displayed
- smart call: only if RunConv and for the last run by datasetId
- onclick on download button call GET endpoint and handle 302 result code
TDP-9974
Notes:
The download action should be available:
- on the last run of each destination dataset
- only for the datasets supporting download (for now, local connection)
- if the user has the permission DATASET_DOWNLOAD (Datasets - Download)
Acceptance criteria
Scenario 1: downloadable dataset type
Given a tenant with Runtime Convergence activated,
a user with DATASET_DOWNLOAD permission,
and a preparation opened with a successful run to a destination dataset of type local connection
When the user opens the run history page
Then the download action is available on the corresponding run (last successful run for each destination dataset)
When the user clicks on "download" action
Then the dataset content is downloaded
Scenario 2: not-downloadable dataset type
Given a tenant with Runtime Convergence activated,
a user with DATASET_DOWNLOAD permission,
and a preparation opened with a successful run to a destination dataset of any other type than local connection (ex: S3)
When the user opens the run history page
Then the download action is not available on the corresponding run
Attachments
Issue Links
- has to be done after
-
TDP-9974 [RunConv][Backend] Provide download link for run history (dataset)
-
- closed
-