-
Notifications
You must be signed in to change notification settings - Fork 17
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
Cbayer jdk17 spring 3.0.2 #588
Conversation
tests still failing though. App context doesn't come up. |
build.gradle
Outdated
@@ -5,14 +5,14 @@ buildscript { | |||
jcenter() | |||
} | |||
dependencies { | |||
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.5.6") | |||
classpath("org.springframework.boot:spring-boot-gradle-plugin:3.0.2") |
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.
Why not add this to the top-level gradle.properties instead?
carbonj.service/build.gradle
Outdated
exclude group: 'org.apache.logging.log4j', module: 'log4j-to-slf4j' | ||
exclude group: 'org.apache.logging.log4j', module: 'log4j-api' | ||
} | ||
compile group:"org.springframework.boot", name:"spring-boot-starter-web", version:"2.7.5" | ||
compile group:"org.springframework.boot", name:"spring-boot-starter-jetty", version:"2.7.5" | ||
implementation group:"org.springframework.boot", name:"spring-boot-starter-web", version:"3.0.2" |
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.
Shouldn't need a version on dependencies when using the spring boot plugin.
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.
unfortunately it is needed here.. I think it works for project dependencies but not for buildscript dependencies.
ncsaLog.setAppend( true ); | ||
ncsaLog.setLogTimeZone( "GMT" ); | ||
ncsaLog.setRetainDays( jettyRequestLogRetentionDays ); | ||
// NCSARequestLog ncsaLog = new NCSARequestLog( jettyLogfilePath ); |
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.
Removing request log?
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.
Good catch. The class was removed from Jetty. Not sure how to get this functionality back.
...nj.service/src/main/java/com/demandware/carbonj/service/engine/kinesis/cfgCheckPointMgr.java
Show resolved
Hide resolved
|
||
} | ||
|
||
test { | ||
maxHeapSize = "2g" | ||
jvmArgs = [ | ||
'--add-opens', 'java.base/java.util=ALL-UNNAMED', |
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.
If that's removed, one of the test cases around CarbonJEvent logs will fail.
This resolves #151 #584 #584 #586 #587 #583 #593