-
Notifications
You must be signed in to change notification settings - Fork 4
MLE-23024 Excluding Jetty and more dependency bumps #478
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
Conversation
Copyright Validation Results ⏭️ Skipped (Excluded) Files
✅ Valid Files
✅ All files have valid copyright headers! |
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.
Pull Request Overview
This PR excludes Jetty dependencies to address medium-severity CVEs and updates several dependency versions. The changes disable the Spark UI to prevent Jetty from being used since there's no current use case for the UI in Flux applications.
- Disabled Spark UI to avoid Jetty dependency usage
- Updated test dependencies (json-unit-assertj and xmlunit-core) to newer patch versions
- Upgraded ml-gradle plugin from version 5.0.0 to 6.0.1
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
flux-cli/src/main/java/com/marklogic/flux/impl/SparkUtil.java | Added configuration to disable Spark UI with explanatory comment |
flux-cli/build.gradle | Updated json-unit-assertj and xmlunit-core test dependencies to newer versions |
examples/getting-started/build.gradle | Upgraded ml-gradle plugin version |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
sparkConf.set("spark.sql.session.timeZone", "UTC"); | ||
|
||
// To avoid the need for Jetty on the classpath, which brings in a number of medium CVEs (as Spark 4 is using | ||
// Jetty 9), the Spark UI is explicitly disabled. Curiously, this doesn't seem to be required - i.e. when |
Copilot
AI
Sep 24, 2025
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's an extra space in 'Spark UI is' - should be 'Spark UI is' with only one space.
// Jetty 9), the Spark UI is explicitly disabled. Curiously, this doesn't seem to be required - i.e. when | |
// Jetty 9), the Spark UI is explicitly disabled. Curiously, this doesn't seem to be required - i.e. when |
Copilot uses AI. Check for mistakes.
|
||
// To avoid the need for Jetty on the classpath, which brings in a number of medium CVEs (as Spark 4 is using | ||
// Jetty 9), the Spark UI is explicitly disabled. Curiously, this doesn't seem to be required - i.e. when | ||
// excluding org.eclipse.jetty libaries from the classpath, no failures occur. But this is being done to |
Copilot
AI
Sep 24, 2025
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.
Typo in 'libaries' - should be 'libraries'.
// excluding org.eclipse.jetty libaries from the classpath, no failures occur. But this is being done to | |
// excluding org.eclipse.jetty libraries from the classpath, no failures occur. But this is being done to |
Copilot uses AI. Check for mistakes.
1209804
to
a4617bc
Compare
No description provided.