Skip to content

NIFI-16305 Fix Connector mock framework behavior - #11635

Merged
pvillard31 merged 1 commit into
apache:mainfrom
markap14:codex/nifi-16305-connector-mock-framework
Sep 7, 2026
Merged

NIFI-16305 Fix Connector mock framework behavior#11635
pvillard31 merged 1 commit into
apache:mainfrom
markap14:codex/nifi-16305-connector-mock-framework

Conversation

@markap14

@markap14 markap14 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

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.secret names 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)

@markap14 markap14 closed this Sep 7, 2026
@markap14
markap14 force-pushed the codex/nifi-16305-connector-mock-framework branch from b674ec2 to a954ce0 Compare September 7, 2026 14:11
@markap14 markap14 reopened this Sep 7, 2026
@pvillard31
pvillard31 merged commit e411fa6 into apache:main Sep 7, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants