Skip to content
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

HTTP-96 Fix logging code in JavaNetHttpPollingClient #97

Merged
merged 1 commit into from
May 13, 2024

Conversation

AdrianVasiliu
Copy link
Contributor

@AdrianVasiliu AdrianVasiliu commented May 12, 2024

Description

Resolves #96.


As there are no tests specifically for the logs, the validation of the PR is done manually as follows:

  1. Set the DEBUG level in https://github.com/getindata/flink-http-connector/blob/main/src/test/resources/log4j2-test.properties#L19
  2. mvn clean test -Dtest=JavaNetHttpPollingClientConnectionTest

=> the log contains:

Received status code [201] for RestTableSource request with Server response body [{
  "id": "COUNTER", [...] ]

Without the fix, it is:

Received status code [%s] for RestTableSource request with Server response body [%s]
PR Checklist

@kristoffSC kristoffSC merged commit 7b2451b into getindata:main May 13, 2024
3 checks passed
kristoffSC pushed a commit that referenced this pull request May 13, 2024
Co-authored-by: Adrian Vasiliu <vasiliu@fr.ibm.com>
(cherry picked from commit 7b2451b)
@kristoffSC
Copy link
Collaborator

Released in 0.14.0

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