Skip to content

Refactor billable user finder for SSOT

Doug Stull requested to merge 383264-refactor-billable-into-finder into master

What does this MR do and why?

Note No new behavior, refactor only

  • moves billable counting logic to a finder as a general refactor that will enable this subsequent MR that will add limit and other improvement to the free user count - Improve billable users query (!104787 - merged)
  • improves the testing of each user count method
  • moves the counting queries to public space of the group model for use in the finder

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #383264

Edited by Doug Stull

Merge request reports