NIFI-16305 Fix Connector mock framework behavior - #11635
Merged
pvillard31 merged 1 commit intoSep 7, 2026
Merged
Conversation
markap14
force-pushed
the
codex/nifi-16305-connector-mock-framework
branch
from
September 7, 2026 14:11
b674ec2 to
a954ce0
Compare
pvillard31
approved these changes
Sep 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Connector mock framework could hide startup validation failures, produce secret references that could not be resolved through the standard fully-qualified-name contract, and omit parameter metadata from exported flow snapshots. This change propagates startup failures detected before asynchronous lifecycle processing, uses canonical
provider.group.secretnames consistently, and delegates parameter-context export to the production flow mapper so sensitive, provided, and asset metadata are preserved.Regression coverage exercises failed and pending startup, secret discovery and resolution (including dots in secret names), and working and active flow snapshots with sensitive and asset-backed parameters.
Validation:
mvn -o -f nifi-connector-mock-bundle/pom.xml -Pintegration-tests,contrib-check clean install -Dstyle.color=never(60 tests)mvn -o -f nifi-connectors/nifi-kafka-to-s3-bundle/pom.xml -Pintegration-tests,contrib-check clean verify -Dstyle.color=never(3 unit tests and 5 integration tests)