-
Notifications
You must be signed in to change notification settings - Fork 50
Address RC feedback #292
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
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>
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.
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.
...a-logging-support-core/src/main/java/com/sap/hcp/cf/logging/common/converter/LineWriter.java
Show resolved
Hide resolved
.../com/sap/hcf/cf/logging/opentelemetry/agent/ext/binding/CloudFoundryServicesAdapterTest.java
Outdated
Show resolved
Hide resolved
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. |
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.
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.
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?
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.
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>
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.
Thanks for all the changes 👍
Same from my side. |
|
Thanks for all the help. |
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.
Looks good to me
Addressing comments on the release candidate: