-
Notifications
You must be signed in to change notification settings - Fork 7
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
PP-598 Removed the google analytics provider #1469
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1469 +/- ##
=======================================
Coverage 90.38% 90.38%
=======================================
Files 233 232 -1
Lines 29713 29663 -50
Branches 6794 6786 -8
=======================================
- Hits 26857 26812 -45
+ Misses 1823 1817 -6
- Partials 1033 1034 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good.
The only question / concern I have is: what happens when this code runs against a DB that already has a GA analytics provider configured? Will those settings still show in the admin UI? Will analytics fail to load since the class doesn't exist?
@jonathangreen It would not hinder the running of the CM as the configuration would have been ignored. I'm not sure about the Admin UI bit. However, I realise leaving the data in the DB as almost no value since this can be reconfigured in case of a rollback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Description
Removed the provider along with its test cases
Changed the analytics service test cases to use the s3 provider instead
Motivation and Context
The code didn't work anymore and was deprecated.
How Has This Been Tested?
All unit tests run post removal.
Checklist