Download refactoring to support /download endpoint (Circulation log)

Description

Purpose: presigned url has expiration time, /download is implemented to solve this issue

 

in scope:
1. include circ log type to the list of exports that support /download endpoint

2. avoid code duplication - reuse useSecureDownload hook everywhere

Environment

None

Potential Workaround

None

Attachments

1

has to be finished together with

is defined by

relates to

Checklist

hide

TestRail: Results

Activity

Show:

Priyanka Terala February 24, 2023 at 6:27 AM

 

Looks like this ticket is associated with changes in two modules ui-export-mnager and ui-circulation-log and both set of changes or both PRs are created associated with this ticket. I think, ideally there should be another ticket for ui-circulation-log to address the respective changes.

Orchid changes in ui-ciculation-log have been released. I am not sure how to adjust the fix number of this ticket (in order to reflect ui-ciculation-log release).

and please do the needful.

Yauheniya Kryshtafovich February 22, 2023 at 8:55 AM

Hi, and the task was verified on Sprint testing env, which has export results older than 1 day : https://folio-testing-sprint-diku.ci.folio.org/
1. Navigate to the "Export manager" app
2. Select the "Circulation log" checkbox on the the "Job type" accordion
3. Click on the "End time" accordion and fill in the "From" & "To" input fields with any valid the date in the past (for example: <current day> - 1 day)
4. Hit "Apply" button
5. Click on the hyperlink in the "Job ID" column of any filtered Circulation log jobs which is older than 1 day
==>> A generated ".csv" file is downloaded to the local machine.

Mikita Siadykh December 27, 2022 at 4:56 AM

  it was moved to 157 as requires BE story that is not included to 156

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Firebird

Fix versions

Release

Orchid (R1 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created December 20, 2022 at 5:00 AM
Updated February 25, 2023 at 12:16 AM
Resolved February 25, 2023 at 12:16 AM
TestRail: Cases
TestRail: Runs