-
Notifications
You must be signed in to change notification settings - Fork 1
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
FLA-1566 Critical Vulnerabilies. Bumped Java -> 17, Sprint -> 3 #348
Conversation
</plugin> | ||
|
||
<!--openapi server autogen--> | ||
<plugin> | ||
<groupId>org.openapitools</groupId> | ||
<artifactId>openapi-generator-maven-plugin</artifactId> | ||
<version>5.1.1</version> | ||
<!-- Anything >= 6.3.0 is broken. Spring seems to scan for components twice which breaks at runtime when trying to create the application context. --> | ||
<version>6.2.1</version> |
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.
This one was tricky. 7.0.0 is the latest version, however for some reason nothing > 6.2.1 seems to work for this project as the spring context cannot load - a component scans seems to happen twice (but only for this project, not for others, like mail-it). This is fortunate since 6.1.0 is the version <useJakartaEe>
was added to support Java 17.
c29997b
to
cab52fb
Compare
eb8ee00
to
55c7066
Compare
@@ -110,7 +112,7 @@ services: | |||
#### KEYCLOAK ### | |||
############################################################################################## | |||
keycloak: | |||
image: quay.io/keycloak/keycloak | |||
image: quay.io/keycloak/keycloak:legacy |
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.
docker-compose up
did not work locally for keycloak or redis unless I made these 2 small changes.
<!-- LOG everything at INFO level --> | ||
<root level="info"> | ||
<appender-ref ref="Console"/> | ||
<if condition='isDefined("SPLUNK_URL")'> |
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.
An if element is not valid inside a root element. The new version of spring enforces correct xml or logging won't work at all.
55c7066
to
f370dc0
Compare
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.
👍 🥇
FLA-1566 attempts to address a great many critical vulnerabilities with this project.
Since this is a major change, bumped project version from 1.1.1 to 2.0.0.
Note:
Several environment variables are now deprecated with the removal of the Keycloak library and one new variable. This will likely need to be a DevOps task to get the containers running in OpenShift.
To Add:
To Remove:
TODO: Cucumber is still running java 1.8, spring 2