Details
-
Work Item
-
Status: New
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
All
-
GreenHopper Ranking:0|i20eer:
-
9223372036854775807
-
Small
-
2
Description
As a Data Preparation user,
I want to download the result file of a preparation full run from the history page (when exporting directly to a file),
in order to retrieve the result of my preparation for further usage without creating a dataset (similar usage as in current legacy mode).
[backend API part]
Scope: Runs in Runtime Convergence mode
- For direct export to a file without selecting a dataset as destination
- For datasets => implemented in
TDP-9974 - For legacy runs => implemented in
TDP-9964
Why?
A new run history API in Preparation V2 now provides the list of runs for a preparation both in legacy mode and runtime convergence mode.
Data Preparation backend needs to provide a download link to access it from the frontend (Run history page).
How ?
Implement /transform/preparations/{preparationId}/runs/{runId}/content endpoint (see API Designer spec) on runtime convergence mode
- For direct export to a file without selecting a dataset as destination => store file on MinIO and return a presigned URL
- See how to generate presigned URL (use AmazonS3.generatePresignedURL(...))
- Set expiration time to 1H (odubois See dataset policy?)