Skip to content

NIFI-16304 Retain connector verification and purge results for one minute - #11634

Open
markap14 wants to merge 1 commit into
apache:mainfrom
markap14:codex/nifi-16304-connector-request-retention
Open

NIFI-16304 Retain connector verification and purge results for one minute#11634
markap14 wants to merge 1 commit into
apache:mainfrom
markap14:codex/nifi-16304-connector-request-retention

Conversation

@markap14

@markap14 markap14 commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

NIFI-16304

Submitting a connector configuration verification can remove another connector's completed verification result after only one millisecond, causing a subsequent poll to return HTTP 404. The asynchronous request manager expects a retention interval in milliseconds, but the verification and FlowFile purge managers pass 1L.

Set both retention intervals to one minute. Add a system regression that completes verification on one connector, submits verification on another connector, and confirms the first result remains retrievable.

Verification

  • The regression failed with HTTP 404 before the fix and passed after the fix: 1 test, 0 failures, 0 errors, 0 skipped.
    mvn -pl nifi-system-tests/nifi-system-test-suite -Pintegration-tests,skip-unit-tests '-Dit.test=ConnectorCrudIT#testCompletedConfigVerificationRetainedWhenAnotherConnectorIsVerified' verify
  • Clean-installed nifi-web-api, nifi-server-nar, and nifi-system-test-suite before running the system test. Confirmed the assembled runtime contains the rebuilt server NAR.
  • mvn test in nifi-web-api: 642 tests passed.
  • Checkstyle and PMD passed for both changed modules using the repository's configured versions. A temporary Maven Central mirror was used after the primary endpoint returned HTTP 429.
  • Verification used JDK 21. The full ./mvnw clean install -P contrib-check and JDK 25 matrix were not run for this change.

No dependencies or documentation changed. The system regression covers verification-result retention; the identical purge-retention correction is not separately exercised by this test.

…nute

Use the millisecond equivalent of one minute for completed configuration verification and FlowFile purge requests. Add a system regression verifying that submitting verification for another connector retains the first completed result.
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.

1 participant