Skip to content

NIFI-16179 add optional includeReferencingComponents query parameter to parameter context endpoints - #11523

Open
esecules wants to merge 1 commit into
apache:mainfrom
esecules:NIFI-16179
Open

NIFI-16179 add optional includeReferencingComponents query parameter to parameter context endpoints#11523
esecules wants to merge 1 commit into
apache:mainfrom
esecules:NIFI-16179

Conversation

@esecules

@esecules esecules commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Summary

NIFI-16179

Added optional includeReferencingComponents query parameter in requests for ParameterContexts. This can reduce the response size greatly when a parameter is referenced by many components and the user does not need the references.

The headline change in this PR is https://github.com/apache/nifi/pull/11523/changes#diff-c7e8b2b7db75b382b5bd3502beea74000480ea54e5a41b4045d1893f15b72502R1629-R1632 which conditionally adds the referencing components to the parameter DTO. The rest of the changes are either plumbing to either add includeReferences as a parameter or to deal with the possibility that referencing components may be null or UI changes to request the parameter contexts while excluding referencing components.

Tracking

Please complete the following tracking steps prior to pull request creation.

Issue Tracking

Pull Request Tracking

  • Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
  • Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000
  • Pull request contains commits signed with a registered key indicating Verified status

Pull Request Formatting

  • Pull Request based on current revision of the main branch
  • Pull Request refers to a feature branch with one commit containing changes

Verification

Please indicate the verification steps performed prior to pull request creation.

Build

  • Build completed using ./mvnw clean install -P contrib-check
    • JDK 21
    • JDK 25

Licensing

  • New dependencies are compatible with the Apache License 2.0 according to the License Policy
  • New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

  • Documentation formatting appears as expected in rendered files

@esecules
esecules force-pushed the NIFI-16179 branch 5 times, most recently from c70f101 to f2e5330 Compare August 11, 2026 00:49
@esecules
esecules force-pushed the NIFI-16179 branch 2 times, most recently from 66d09b1 to ed7f56a Compare August 26, 2026 18:43
@esecules
esecules marked this pull request as ready for review August 26, 2026 18:53
@esecules

Copy link
Copy Markdown
Contributor Author

Updated MR so that its based on top of latest main in apache/nifi.

@esecules

esecules commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

Resolved merge conflicts with main.

@esecules

esecules commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

rebased off main and fixed compile errors from last update.

@esecules

Copy link
Copy Markdown
Contributor Author

So far only build failure is because the main branch has moved forward since yesterday when I rebased.

…s to exclude referencing components from the response.

Updated the UI callers so they correctly include or omit parameter referencing components if they don't use them.
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