Automatically update matches when analyzing agreement

Description

Because new incoming COUNTER stats are not automatically grouped with a matched title, it's possible that there are stats in the system that are not displaying in a report. We should automatically perform a title match when the user clicks "analyze agreement" to be sure everything is accounted for.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Adam DickmeissOctober 27, 2021 at 3:23 PM
Edited

This could be done in the backend as follows.

1. Create table provider_table with providerId , last-modified-date

2. Make /eusage-reports/report-titles/from-counter update provider_table.

3. Extend /eusage-reports/report-titles/from-agreement..
Get providerId(s) from /erm/sas/agreementId response.
Lookup each provider(s) in /usage-data-providers/providerId

and compare dates in provider_table .. if modified since last run, perform
/eusage-reports/report-titles/from-counter for the provider id

Note the /eusage-reports/report-titles/from-counter is not changed as it's supposed to be executed
always, when a user wishes to re-match titles.

It could also be a flag to /eusage-reports/report-titles/from-counter whether it's supposed to be incremental.

Jakub SkoczenOctober 27, 2021 at 12:11 PM

we discussed with that the UI will call the "/from-counter" for each of the UDPs listed in the agreement. For titles where the match was manual – will this manual match also apply to the same titles from the newly harvested counter reports?

Mike TaylorOctober 25, 2021 at 1:52 PM

I don't understand what this would entail.

Kristen WilsonOctober 25, 2021 at 1:36 PM

None from me, I just wasn't sure where this work needed to be done.

Jakub SkoczenOctober 25, 2021 at 1:16 PM

I think we could convert this to a UI issue, any objections?

Details

Assignee

Reporter

Priority

Development Team

Thor

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 13, 2021 at 8:23 PM
Updated December 5, 2023 at 4:39 PM
TestRail: Cases
TestRail: Runs