Issue Task Resolved

#110632Use Autoconfigure attribute for ResourceConsistencyService

Wouter Wolters 09/04/26, 19:31 updated 09/07/26, 06:25

Description

ResourceConsistencyService is currently declared as a public, shared service
using an explicit entry in Configuration/Services.yaml.

The service can declare its public visibility directly using the existing
#[Autoconfigure(public: true)] attribute. Services are shared by default, so
the explicit shared: true configuration is unnecessary.

Move the configuration to the class and remove the obsolete YAML entry and its
TODO comment.

This simplifies the service configuration without changing behavior. The
existing ResourceConsistencyServiceTest verifies that the service remains
available through the dependency injection container.

Reviews 2

History 13

  1. Gerrit Code Review pushed patch set 1 for main to change 95656 status New Under Review 09/04/26, 19:36

  2. Gerrit Code Review pushed patch set 1 for 14.3 to change 95670 09/07/26, 06:20

  3. Wouter Wolters commented and changed status Under Review Resolved done 0 % 100 % 09/07/26, 06:25

    Applied in changeset commit:af9f0472f3ad47269988f4f87b407920dce47cc7.