[
https://issues.apache.org/jira/browse/NIFI-15296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-15296:
------------------------------------
Status: Patch Available (was: Open)
> Referenced Controller Services with Unsatisfied Dependencies should not be
> Enabled
> ----------------------------------------------------------------------------------
>
> Key: NIFI-15296
> URL: https://issues.apache.org/jira/browse/NIFI-15296
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 2.0.0, 2.7.0
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The framework {{ControllerServiceNode}} interface includes the
> {{getRequiredControllerServices}} method, which is responsible for returning
> a flattened list of Controller Services that must be enabled before the
> current Controller Service can be enabled. At the time of initial
> implementation, the framework did not support the concept of dependent
> properties, so the standard implementation returns every
> {{ControllerServiceNode}} configured through a property values. With the
> introduction of dependent properties, however, it is possible for one
> Controller Service to be configured with a property referencing another
> Controller Service that is not needed for actual operation.
> Following the strategy of framework handling for other dependent property
> values, referenced Controller Services with unsatisfied dependencies should
> not be included in the list of required Controller Services. With correct
> filtering, such Controller Services should not be enabled as part of enabling
> the primary Controller Service in which they are referenced.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)