NIFI-12918 Fix Stateless NullPointerException on versioned sub-process groups#8533
NIFI-12918 Fix Stateless NullPointerException on versioned sub-process groups#8533slambrose wants to merge 8 commits intoapache:support/nifi-1.xfrom
Conversation
exceptionfactory
left a comment
There was a problem hiding this comment.
Based on the system test failures in the associated pull request for the main branch, this current pull request should not go forward until those failures are resolved.
The storageLocation property is the entire path. The root/base url needs to be set for registryUrl in order for the JerseyClient to make the correct call to the registry api.
exceptionfactory
left a comment
There was a problem hiding this comment.
This pull request also fails on the same integration tests as PR #8536 for the main branch.
[ERROR] RegistryClientIT.testChangeConnectionDestinationRemoveOldAndMoveGroup:166 » NiFiClient Error starting version control: An unexpected error has occurred. Please check the logs for additional details.
[ERROR] RegistryClientIT.testChangeVersionOnParentThatCascadesToChild:95 » NiFiClient Error starting version control: An unexpected error has occurred. Please check the logs for additional details.
[ERROR] RegistryClientIT.testChangeVersionWithPortMoveBetweenGroups:265 » NiFiClient Error creating process group: An unexpected error has occurred. Please check the logs for additional details.
[ERROR] RegistryClientIT.testControllerServiceUpdateWhileRunning:221 » NiFiClient Error starting version control: An unexpected error has occurred. Please check the logs for additional details.
[ERROR] RegistryClientIT.testCopyPasteProcessGroupDoesNotDuplicateVersionedComponentId:409 » NiFiClient Error starting version control: An unexpected error has occurred. Please check the logs for additional details.
[ERROR] RegistryClientIT.testCopyPasteProcessGroupUnderVersionControlMaintainsVersionedComponentId:459 » NiFiClient Error starting version control: An unexpected error has occurred. Please check the logs for additional details.
[ERROR] RegistryClientIT.testRollbackOnFailure:312 » NiFiClient Error creating process group: An unexpected error has occurred. Please check the logs for additional details.
[ERROR] RegistryClientIT.testStartVersionControlThenImport:335 » NiFiClient Error starting version control: An unexpected error has occurred. Please check the logs for additional details.
[ERROR] RegistryClientIT.testStartVersionControlThenModifyAndRevert:372 » NiFiClient Error starting version control: An unexpected error has occurred. Please check the logs for additional details.
This can be tested locally using the following build command, after building the project:
./mvnw verify -P integration-tests -pl :nifi-system-test-suite -Dtest=RegistryClientIT
|
I'm closing this pull request for now so that we can focus on making the correct changes on the main branches. The automated builds did not trigger the system tests, but running them locally confirms that the same issues exist on the support branch right now. We can continue the review process on PR #8536 and the associated Jira issue, then either this PR can be reopened, or a new PR can be created to implement a solution. |
Summary
NIFI-12918
This is the PR for the 2.0 (main) branch: #8536
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-00000NIFI-00000Pull Request Formatting
mainbranch | We need this to be based on support/nifi1.xVerification
Please indicate the verification steps performed prior to pull request creation.
Build
mvn clean install -P contrib-checkLicensing
LICENSEandNOTICEfilesDocumentation