Description
Adapt the ResourceStatus and SiteStatus singletons, together with their callers, to work with the simplified binary status served by diracx (see phase 1, #837).
Before starting, confirm that the richer "information layer" (Active, Probing, Degraded, …) used today is not actually relied upon by any consumer and can be safely collapsed into the binary allowed/banned model. Any place that genuinely needs more than binary information should be called out explicitly so we can decide whether to adapt the consumer or to extend the model.
Scope
- Singleton-level changes in
ResourceStatus and SiteStatus so that their public API keeps working when the underlying data is binary.
- Adjustments in callers that currently display or filter by raw status strings (e.g.
SiteStatus.getSites(siteState=...)).
- Keeping the singleton cache format compatible with the binary data.
Reference
Acceptance criteria
Description
Adapt the
ResourceStatusandSiteStatussingletons, together with their callers, to work with the simplified binary status served by diracx (see phase 1, #837).Before starting, confirm that the richer "information layer" (
Active,Probing,Degraded, …) used today is not actually relied upon by any consumer and can be safely collapsed into the binary allowed/banned model. Any place that genuinely needs more than binary information should be called out explicitly so we can decide whether to adapt the consumer or to extend the model.Scope
ResourceStatusandSiteStatusso that their public API keeps working when the underlying data is binary.SiteStatus.getSites(siteState=...)).Reference
Acceptance criteria
ResourceStatusandSiteStatussingletons keep their public API while operating on binary data.