Skip to content

Conversation

Tobianas
Copy link
Contributor

@Tobianas Tobianas commented Oct 2, 2025

No description provided.

Tobianas and others added 4 commits October 2, 2025 10:46
https://github.com/spring-projects/spring-boot/releases/tag/v3.4.0

JIRA: LIGHTY-349
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
(cherry picked from commit 1ad8026)
Spring Boot starting from version 3.4 has changed the way how client
factory is selected.

Now, we have auto-selected "jetty" for lighty.io. This selection is
not fortunate because Spring is compatible with Jetty 12 but lighty.io
is using Jetty 9.

Thus bumping to Spring Boot 3.4 has introduced bean initialization
error during tests.

Manually select to use jdk's client to have the same behavior
as before.

See:
Spring Boot uses Jetty 12 since 3.2
https://spring.io/blog/2023/11/23/spring-boot-3-2-0-available-now
Info about client selection change in Spring Boot 3.4
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.4-Release-Notes
https://spring.io/blog/2024/11/24/bootiful-34-boot

JIRA: LIGHTY-349
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
(cherry picked from commit 2df78b0)
https://checkstyle.org/releasenotes.html#Release_11.0.1
Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech>
Copy link

Summary of Changes

Hello @Tobianas, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on synchronizing third-party dependencies to newer versions, aligning the project with more recent releases of key frameworks and build tools. The primary goal is to enhance stability, leverage updated features, and maintain compatibility by upgrading Spring Boot components and updating code quality plugins. Additionally, a specific Spring HTTP client factory is now explicitly configured in an example application.

Highlights

  • Spring Boot Dependency Upgrade: The spring-boot-dependencies and spring-boot-starter-parent versions have been updated from 3.3.13 to 3.4.10 across relevant modules, ensuring compatibility with the latest Spring Boot features and fixes.
  • Build Tool Dependency Updates: The checkstyle version has been incremented from 11.0.0 to 11.0.1, and the spotbugs-maven-plugin has been updated from 4.8.6.6 to 4.8.6.7, bringing minor updates to code quality analysis tools.
  • Spring HTTP Client Configuration: A new configuration spring.http.client.factory=jdk has been added to the application.properties for the lighty-controller-springboot-netconf example, explicitly setting the HTTP client factory to use the JDK's native client.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates several third-party dependencies, including Spring Boot, checkstyle, and SpotBugs, to align with the latest odlparent version. The changes are mostly version bumps in pom.xml files. Additionally, a new property is added to application.properties in one of the examples, likely to ensure compatibility with the upgraded Spring Boot. My review includes a suggestion to improve the maintainability of this new property by adding a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants