-
Notifications
You must be signed in to change notification settings - Fork 63
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
chore: Update EhCache V2 #3102
chore: Update EhCache V2 #3102
Conversation
Signed-off-by: Pavel Jareš <[email protected]>
common-service-core/src/main/java/org/zowe/apiml/util/CacheUtils.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/zowe/apiml/gateway/security/service/ServiceAuthenticationServiceImpl.java
Outdated
Show resolved
Hide resolved
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.
There is also an increase in the number of log messages coming from eh cache library.
Signed-off-by: Pavel Jareš <[email protected]>
Signed-off-by: Pavel Jareš <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs 100.0% Coverage The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
Description
This PR is a copy of #3098 for v2:
The APIML used EhCache library version 2 which is not supported anymore. The old JAR file contains also some libraries. Those libraries are also obsolete and contain vulnerabilities.
This PR upgrades EhCache to version 3 - it solves old dependencies (without any support) and removes dependencies with vulnerabilities from the final PAX file.
Linked to # (issue)
Part of the # (epic)
Type of change
Please delete options that are not relevant.
Checklist:
For more details about how should the code look like read the Contributing guideline