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

HDDS-5722 [HTTPFSGGW] junit.jar and json-simple in jar report #2742

Merged
merged 1 commit into from Oct 18, 2021

Conversation

dombizita
Copy link
Contributor

What changes were proposed in this pull request?

The HTTPFS branch contains junit.jar and json-simple.jar in its jar-report.txt and we wanted to investigate this and try to remove/replace them.
We wanted to replace json-simple with json-smart, as it is already in the jar-report. I found that the json-smart.jar is added as a "hack". In the ozone-main pom.xml a comment says that it is added as transitive dependency for nimbus-jose-jwt, it is needed for packaging. We agreed not to use json-smart instead of json-simple, as json-smart is planned to be removed in the future. Classes in the httpfsgateway are using json-simple (JSONObject, JSONArray, JSONParser, etc.), so that will stay in the jar-report.
The junit.jar is coming from the json-simple.jar as a compile time dependency, so I excluded it in the pom.xml.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-5722

How was this patch tested?

Run the build manually with skip tests and the build was successful. Also run the dependency.sh from the dev-support directory and it was successful.

Copy link
Contributor

@fapifta fapifta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @dombizita for taking this on, the changes look good, +1.

@fapifta fapifta merged commit 5d671e7 into apache:HDDS-5447-httpfs Oct 18, 2021
@dombizita dombizita deleted the HDDS-5722 branch March 9, 2022 11:10
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