mirror of https://github.com/apache/nifi.git
NIFI-9352: Consider all property values in component references
- Ensure that we consider all property values to determine if a component references a variable, not just 'supported' (i.e., well-known/non-user-defined) properties This closes #5499 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
1c4ee93e68
commit
09feed9df6
|
@ -3452,7 +3452,7 @@ public final class StandardProcessGroup implements ProcessGroup {
|
|||
}
|
||||
|
||||
private boolean isComponentImpactedByVariable(final ComponentNode component, final String variableName) {
|
||||
final List<PropertyDescriptor> propertyDescriptors = component.getPropertyDescriptors();
|
||||
final Set<PropertyDescriptor> propertyDescriptors = component.getRawPropertyValues().keySet();
|
||||
for (final PropertyDescriptor descriptor : propertyDescriptors) {
|
||||
final PropertyConfiguration propertyConfiguration = component.getProperty(descriptor);
|
||||
if (propertyConfiguration.getVariableImpact().isImpacted(variableName)) {
|
||||
|
|
Loading…
Reference in New Issue