Skip to content

Conversation

@KarstenSchnitter
Copy link
Contributor

Addressing comments on the release candidate:

  • removed jackson-databind
  • removed org.apache.commons:commons-lang3

Removes jackson-databind dependency from servlet module and dynlog.
It remains in the dynlog module as transitive dependency fro java-jwt.

Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
Replace StringUtils.isBlank by custom implementations.

Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
@KarstenSchnitter KarstenSchnitter changed the title Adress RC feedback Address RC feedback Nov 4, 2025
Switch to <release> tag with compiler plugin.
This forces Java 11 compliant code requiring a test change.

Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
The integration is compatible with any servlet API version so far.
This helps integration with older servlet containers increasing compatibility.

Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
Copy link
Contributor

@j-denner j-denner left a comment

Choose a reason for hiding this comment

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

In general I recommend using the oldest supported API (which you moved to with Servlet downgrade to 6.0.0)

Please also have a look at my refactoring example regarding Immutable list with List.of() this is a cross topic and potentially beyond the scope of this PR.

Not approving right now since there is still ongoing work from your side.

This version is compatible with Spring Boot 3.5.7.
There should be no issues with running different versions
of that dependency.

Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
Adds the maven-enforcer-plugin to ensure build with Java 17.

Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
Replaces `Arrays.asList` and `Collections.singletonList` with `List.of`.

Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
Co-authored-by: j-denner <53571068+j-denner@users.noreply.github.com>
@KarstenSchnitter
Copy link
Contributor Author

This should address all feedback so far. I think this is now Ready for review.

@KarstenSchnitter KarstenSchnitter marked this pull request as ready for review November 4, 2025 10:32
Copy link
Member

@vtintillier vtintillier left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the changes 👍

@Override
public void write(String str, int off, int len) {
if (StringUtils.isNotBlank(str)) {
if (str != null && !str.isBlank()) {
Copy link
Member

Choose a reason for hiding this comment

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

any reason for not providing a shared method in support-core module to be used everywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's too small of a functionality to do that. Using the StringUtils for it was already overkill.

Provide clear separation of dependency versions:
* runtime (excl. agent extension and sample app)
* test
* Maven plugins

Align runtime dependencies with latest Spring Boot version

Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
Now that Jackson is downgraded, the upgrade of java-jwt creates no more issues.

Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>
Copy link
Member

@vtintillier vtintillier left a comment

Choose a reason for hiding this comment

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

Thanks for all the changes 👍

@j-denner
Copy link
Contributor

j-denner commented Nov 4, 2025

Thanks for all the changes 👍

Same from my side.

@KarstenSchnitter
Copy link
Contributor Author

Thanks for all the help.

Copy link
Contributor

@nicklas-dohrn nicklas-dohrn left a comment

Choose a reason for hiding this comment

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

Looks good to me

@KarstenSchnitter KarstenSchnitter merged commit 0453eeb into main Nov 5, 2025
4 checks passed
@KarstenSchnitter KarstenSchnitter deleted the rc-comments branch November 5, 2025 14:36
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.

5 participants