Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Pedro Amorim 2951edc697
Bug 34587: SUSHI COUNTER Harvester
This commit is a squash of the following:

SUSHI harvesting process in the data providers class:
* Builds the URL query and requests the SUSHI service endpoint
* Parses the JSON response and builds the csv COUNTER file and adds it to counter_files table

Usage statistics data processing:
* When a counter_files entry is stored, CounterFile.pm will:
* Parse the csv COUNTER file and
* Add a usage_titles entry for each unique title in the COUNTER file
* Add the title's respective erm_usage_mus (monthly usage) entries, repeating for each metric_type
* Add the title's respective erm_usage_yus (yearly usage) entries, repeating for each metric_type

Harvesting cronjob;

'Run now':
* API endpoint to start the harvesting process of a data provider
* Button in the data providers list to run the harvesting process for each data provider upon clicked

ERM SUSHI: Background job

Job progress is updated to total amount of usage titles after retrieving
the response from SUSHI;
Job warning and success messages are added accordingly
Redundant duplicate titles will not be added
Redundant duplicate monthly and yearly usage statistics will not be added
Data provider harvest background job harvests once per report_type

Enqueue one background job for each report_type in the usage data provider

Update the way we measure progress in the background job.
It now uses the COUNTER report body rows instead of SUSHI response results.
We're now incrementing and showing the number of skipped mus, skipped
yus, added mus and added yus
There's a bug in the way we calculate yus
Updates to background job progress bar - Depends on 34468

Signed-off-by: Jessica Zairo <jzairo@bywatersolutions.com>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-31 16:45:58 -03:00
..
preferences Bug 33887: (QA follow-up) Perltidy and fix some formatting issues 2023-10-25 12:09:53 -03:00
searchengine/elasticsearch Bug 27153: Interface updates 2023-10-24 15:44:33 -03:00
additional-fields.tt
admin-home.tt Bug 30719: (QA follow-up) Squash: 2023-10-17 14:45:18 -03:00
adveditorshortcuts.tt
aqbudgetperiods.tt
aqbudgets.tt
aqcontract.tt
aqplan.tt
audio_alerts.tt
auth_subfields_structure.tt Bug 35057: Improve tag description labels in biblio and authority framework editing 2023-10-18 15:43:06 -03:00
auth_tag_structure.tt Bug 35057: Improve tag description labels in biblio and authority framework editing 2023-10-18 15:43:06 -03:00
authorised_values.tt Bug 34677: (QA follow-up) Update description of RELTERMS authorised value 2023-10-09 11:41:29 -03:00
authtypes.tt Bug 34395: Fix inconsistencies in Authority types page titles, breadcrumbs, and header 2023-10-17 14:45:27 -03:00
background_jobs.tt Bug 34587: SUSHI COUNTER Harvester 2023-10-31 16:45:58 -03:00
biblio_framework.tt Bug 34393: Fix inconsistencies in MARC bibliographic framework page titles, breadcrumbs, and header 2023-10-09 11:41:30 -03:00
branch_transfer_limits.tt
branches.tt Bug 32721: (QA follow-up) Drop fields from API response 2023-10-19 16:00:56 -03:00
cash_registers.tt Bug 34391: Fix inconsistencies in cash registers titles, breadcrumbs, and headers 2023-10-03 09:24:47 -04:00
categories.tt
checkmarc.tt
cities.tt
classsources.tt
clone-rules.tt
columns_settings.tt
credit_types.tt Bug 34390: (follow-up) Add single quotes around credit type 2023-10-09 11:41:24 -03:00
curbside_pickup.tt
currency.tt Bug 34982: Add pagination to the currencies table 2023-10-09 11:41:32 -03:00
debit_types.tt Bug 34389: Fix inconsistencies in debit types titles, breadcrumbs, and header 2023-10-03 09:24:47 -04:00
desks.tt
didyoumean.tt
edi_accounts.tt Bug 34405: Fix inconsistencies in EDI accounts/Library EAN page titles, breadcrumbs, and headers 2023-10-17 14:45:26 -03:00
edi_ean_accounts.tt Bug 34405: Fix inconsistencies in EDI accounts/Library EAN page titles, breadcrumbs, and headers 2023-10-17 14:45:26 -03:00
identity_provider_domains.tt
identity_providers.tt
ill_batch_statuses.tt Bug 30719: (QA follow-up) Squash: 2023-10-17 14:45:18 -03:00
item_circulation_alerts.tt
items_search_field.tt Bug 34401: Fix inconsistencies in Item search fields page titles, breadcrumbs, and headers 2023-10-17 14:45:29 -03:00
items_search_fields.tt Bug 34401: Fix inconsistencies in Item search fields page titles, breadcrumbs, and headers 2023-10-17 14:45:29 -03:00
itemtypes.tt
koha2marclinks.tt Bug 35032: Remove the use of "onclick" from Koha to MARC mapping template 2023-10-18 10:25:54 -03:00
library_groups.tt Bug 9525: (QA follow-up) Fix QA complaints 2023-10-04 16:40:11 -04:00
localization.tt
marc-overlay-rules.tt Bug 34399: Fix inconsistencies in Record overlay rules page titles, breadcrumbs, and headers 2023-10-17 14:45:27 -03:00
marc_subfields_structure.tt Bug 35057: Improve tag description labels in biblio and authority framework editing 2023-10-18 15:43:06 -03:00
marctagstructure.tt Bug 35057: Improve tag description labels in biblio and authority framework editing 2023-10-18 15:43:06 -03:00
matching-rules.tt
oai_set_mappings.tt
oai_sets.tt
overdrive.tt
patron-attr-types.tt
preferences.tt Bug 31731: Offer user a dropdown of authorized values instead of a text field in preferences 2023-10-10 10:54:00 -03:00
restrictions.tt Bug 16223: (QA follow-up) Add filter, remove superfluous condition 2023-10-11 12:13:09 -03:00
search_filters.tt
share_content.tt
smart-rules.tt Bug 25393: Add new noautorenewalbefore circulation rule 2023-10-20 16:31:17 -03:00
sms_providers.tt
smtp_servers.tt Bug 34619: Show debug mode column in list of SMTP servers 2023-10-04 09:32:52 -04:00
sru_modmapping.tt Bug 34562: Update more pop-up windows with consistent footer markup 2023-10-09 11:41:25 -03:00
sru_modmapping_auth.tt Bug 34562: Update more pop-up windows with consistent footer markup 2023-10-09 11:41:25 -03:00
systempreferences.tt
transfer_limits.tt
transport-cost-matrix.tt
usage_statistics.tt
z3950servers.tt