Uploaded image for project: 'Talend Data Prep'
  1. Talend Data Prep
  2. TDP-10023

[RunConv][Front] Download destination dataset content

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • 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

          Activity

            People

              Unassigned Unassigned
              odubois Olivier Dubois
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: