Migrate X-ray off AvailableServices#purchased?
What does this MR do and why?
Migrates the deprecated X-ray implementation off AvailableServices#purchased?, which is being removed in Replace methods that check for AddOnPurchases (#542422 - closed)
We use a new Unit Primitive based Fulfillment finder on AddOnPurchase instead.
I also introduced exists_for_unit_primitive? as a convenience helper and to make it easier to stub out these calls.
I migrated existing calls to find → any? to this method.
Not a user-facing change.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #542422 (closed)
Edited by Matthias Käppler