Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HYC-1937 - Expand Migration Utility to Include Matomo Stats #1119

Merged
merged 25 commits into from
Sep 25, 2024

Conversation

davidcam-src
Copy link
Contributor

@davidcam-src davidcam-src commented Sep 23, 2024

https://unclibrary.atlassian.net/browse/HYC-1937

  • Removed helpers from download analytics behavior, using ENV variables instead
  • WorkUtilsHelper now makes separate queries for the work and fileset data
  • ListWorkStatInfo function now calls helpers depending on the data source in the DownloadStatsMigrationService (fetch_matomo_stats and cache_stats)
  • Test class for DownloadStatsMigrationService uses a case statement to validate list_work_stat_info and migrate_to_new_table work as expected for each source

@davidcam-src davidcam-src merged commit f673b03 into main Sep 25, 2024
4 checks passed
@davidcam-src davidcam-src deleted the hyc-1937-migrate-matomo-stats branch September 25, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants