Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6798

Validate Controller Services referenced via dynamic properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • Core Framework
    • None

    Description

      If a Controller Service referenced by another component is disabled, then the referencing component should be in invalid state.

      It works fine for statically referenced Controller Services (configured via static properties of the processor / another service), but it seems the framework does not check it for dynamically configured services.

      The validator method can be found here:

      https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/controller/AbstractComponentNode.java#L679

      Components that have Controller Service references configured via dynamic properties:

      • DBCPConnectionPoolLookup
      • AzureStorageCredentialsControllerServiceLookup
      • (there might be others, needs to be checked)

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              turcsanyip Peter Turcsanyi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h