Skip to content
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

NIFI-7802 Remove commons-configuration2 dependency from nifi-security… #4525

Closed
wants to merge 1 commit into from

Conversation

bbende
Copy link
Contributor

@bbende bbende commented Sep 11, 2020

…-utils which ends up nifi-standard-services-api and on the classpath of any standard services

The dependency on commons-configuration2 was added to nifi-security-utils as part of this ticket:
https://issues.apache.org/jira/browse/NIFI-6301

The only class the uses the dependency is SafeXMLConfiguration, so I created a new module nifi-security-xml-config and moved this class and the dependency there, so that it doesn't get pulled into everywhere that security utils is being used.

I considered making the module be just nifi-security-xml-utils and moving the other XML classes as well, but then there may also be another case where you want to use those classes without using commons-configuration2.

In the future we should further separate nifi-security-utils.

…-utils which ends up nifi-standard-services-api and on the classpath of any standard services
@thenatog
Copy link
Contributor

Reviewing

@thenatog
Copy link
Contributor

Tested with a PropertiesFileLookupService and an XMLFileLookupService, looks good. Contrib check + tests all passed.

+1

@thenatog thenatog closed this in b5c3a2d Sep 12, 2020
asfgit pushed a commit that referenced this pull request Sep 17, 2020
…-utils which ends up nifi-standard-services-api and on the classpath of any standard services

Signed-off-by: Nathan Gough <thenatog@gmail.com>

This closes #4525
driesva pushed a commit to driesva/nifi that referenced this pull request Mar 19, 2021
…-utils which ends up nifi-standard-services-api and on the classpath of any standard services

Signed-off-by: Nathan Gough <thenatog@gmail.com>

This closes apache#4525
krisztina-zsihovszki pushed a commit to krisztina-zsihovszki/nifi that referenced this pull request Jun 28, 2022
…-utils which ends up nifi-standard-services-api and on the classpath of any standard services

Signed-off-by: Nathan Gough <thenatog@gmail.com>

This closes apache#4525
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants