nifi icon indicating copy to clipboard operation
nifi copied to clipboard

NIFI-10449: Fix ScriptedLookupServices to reload after disabled and first validation after changes made

Open mattyb149 opened this issue 2 years ago • 0 comments

Summary

NIFI-10449 This PR fixes an issue where ScriptedLookupService controller services were not reloading at certain times, such as after being disabled with no changes made. This causes things like Parameter value changes not to be picked up. The approach to the fix was basically to do the same as is done with InvokeScriptedProcessor and other scripted controller services.

Tracking

Please complete the following tracking steps prior to pull request creation.

Issue Tracking

Pull Request Tracking

  • [x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
  • [x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

  • [x] Pull Request based on current revision of the main branch
  • [x] Pull Request refers to a feature branch with one commit containing changes

Verification

Please indicate the verification steps performed prior to pull request creation.

Build

  • [ ] Build completed using mvn clean install -P contrib-check
    • [ ] JDK 8
    • [x] JDK 11
    • [ ] JDK 17

Licensing

  • [ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
  • [ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

  • [ ] Documentation formatting appears as expected in rendered files

mattyb149 avatar Sep 06 '22 21:09 mattyb149