-
Notifications
You must be signed in to change notification settings - Fork 2.9k
NIFI-15439: Ensure that Process Groups are accessible from the approp… #10742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: NIFI-15258
Are you sure you want to change the base?
Conversation
…riate endpoint but not accessible elsewhere
|
Will review... |
mcgilman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @markap14! Noted one question below and I'm seeing a few instances of the existing getGroup(string) which I'm wondering if we want migrated to get(string, null) to prevent Connector managed Process Groups being returned.
- FlowDifferenceFilters
- FlowAnalyzingRegistryClientNode
- FlowAnalyzingRegistryClientNodeTest
Noted that TestStandardControllerServiceProvider, TestStandardProcessScheduler, TestStandardRemoteProcessGroupDAO, and StandardControllerServiceResolverTest still use getGroup(string) but I think these make sense.
| * @throws IOException if an I/O error occurs | ||
| */ | ||
| ProcessGroupFlowEntity getFlow(String connectorId, boolean uiOnly) throws NiFiClientException, IOException; | ||
| ProcessGroupFlowEntity getFlow(String connectorId, String processGroupId) throws NiFiClientException, IOException; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we care about losing the uiOnly capability for clients using this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nah, this was a mistake because the parameter is available in the Resource. But we don't expose it in other endpoints so we shouldn't expose it here.
|
Thanks @mcgilman I think for those cases, calling |
…tor ID of null when retrieving Process Group from FlowManager
…riate endpoint but not accessible elsewhere
Summary
NIFI-00000
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-00000NIFI-00000VerifiedstatusPull Request Formatting
mainbranchVerification
Please indicate the verification steps performed prior to pull request creation.
Build
./mvnw clean install -P contrib-checkLicensing
LICENSEandNOTICEfilesDocumentation