Done
Details
Assignee
Khasan SidikovKhasan SidikovReporter
Pavlo SmahinPavlo SmahinLabels
Priority
P3Story Points
3Sprint
NoneDevelopment Team
SpitfireFix versions
Release
Orchid (R1 2023)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Khasan Sidikov
Khasan SidikovReporter
Pavlo Smahin
Pavlo SmahinLabels
Priority
Story Points
3
Sprint
None
Development Team
Spitfire
Fix versions
Release
Orchid (R1 2023)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created January 3, 2023 at 10:09 AM
Updated February 22, 2023 at 9:09 AM
Resolved February 21, 2023 at 11:29 PM
Purpose/Overview:
Needs to support reporting that allows catalogers to know about updates on linked Bibliographic fields and Authorities over a period of time. The module will consume statistics of instance-authority links updates and provide an endpoint for fetching this data.
Requirements/Scope:
A new API interface created `links-statistics`
Endpoint GET /links/authority/stats created
Default sort by updated date
Endpoint parameters supported:
||parameter name||values||
|limit|integer (default 100)|
|fromDate|date-time (inclusive, optional)|
|toDate|date-time (inclusive, optional)|
4. Response:
Approach:
Make a request to a database with parameters and `limit + 1`
In response return the `limit` number of records and fill `next` with the limit+1 record date-time.
Make sure that updated date is indexed
Acceptance criteria:
Endpoint created
Covered by unit tests
Karate tests are created/updated
Module documentation updated
Logging is well-defined