Address RC feedback#292
Conversation
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>
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>
j-denner
left a comment
There was a problem hiding this comment.
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>
fb1611d to
5119152
Compare
Co-authored-by: j-denner <53571068+j-denner@users.noreply.github.com>
|
This should address all feedback so far. I think this is now Ready for review. |
vtintillier
left a comment
There was a problem hiding this comment.
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()) { |
There was a problem hiding this comment.
any reason for not providing a shared method in support-core module to be used everywhere?
There was a problem hiding this comment.
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>
e43fdff to
670ea92
Compare
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>
vtintillier
left a comment
There was a problem hiding this comment.
Thanks for all the changes 👍
Same from my side. |
|
Thanks for all the help. |
Addressing comments on the release candidate: