Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
0.7.0
-
None
-
None
Description
So... the problem from NIFI-2160 isn't quite dead yet. The fix for that ticket recursively enumerates controller services that a controller service references, but only if they are required[1]. However, there are many cases in which referenced controller services may not be required properties:
DistributedMapCacheClientService - SSL Context Service
DistributedMapCacheServer - SSL Context Service
DistributedSetCacheClientService - SSL Context Service
DistributedSetCacheServer - SSL Context Service
JMSConnectionFactoryProvider - SSL Context Service
This causes the above services to become disabled on restart if they were previously enabled. I'd propose changing the line:
if (descriptor.getControllerServiceDefinition() != null && descriptor.isRequired()) {
to:
if (descriptor.getControllerServiceDefinition() != null && pEntry.getValue() != null) {
Attachments
Issue Links
- links to