You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Type the process manager and the process configuration registry on their process-bundle interfaces #186
cleverage/process-bundle#312 (PR cleverage/process-bundle#315) adds read-only interfaces for the process manager and the registries, with autowiring aliases: ProcessManagerInterface, ProcessConfigurationRegistryInterface, TransformerRegistryInterface, TaskRegistryInterface. The concrete classes are @final since 5.4 and will be final in process-bundle v6.0: as long as the ui bundle depends on them, an application cannot decorate or replace these services for the ui.
Five constructors of the ui bundle are typed on the concrete classes (checked on main @ 4467554), and only use methods of the interfaces:
Type them on ProcessManagerInterface / ProcessConfigurationRegistryInterface. The services keep being wired explicitly with @cleverage_process.manager.process / @cleverage_process.registry.process_configuration (config/services/*.yaml), unchanged. The tests creating stubs of ProcessConfigurationRegistry can stub the interface.
Prerequisite: a released process-bundle containing the interfaces (5.4): raise the requirement from cleverage/process-bundle: ^5.3 to ^5.4. Not before the release: the interfaces do not exist in 5.3.
Requirements
Documentation updates
Reference
Changelog
Unit tests
Breaking changes
None: the constructor parameters are widened (the concrete classes implement the interfaces). Applications must use process-bundle 5.4 or later.
Activity