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

[BEAM-12081] Fix AwsOptions Jackson (de)serialization of integer values #14400

Merged
merged 1 commit into from Apr 1, 2021

Conversation

avalanche123
Copy link
Contributor

I've added more details in https://issues.apache.org/jira/browse/BEAM-12081


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Post-Commit Tests Status (on master branch)

Lang SDK ULR Dataflow Flink Samza Spark Twister2
Go --- --- Build Status --- Build Status ---
Java Build Status Build Status Build Status
Build Status
Build Status
Build Status
Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status
Build Status
Build Status
Build Status
Python Build Status
Build Status
Build Status
--- Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang Build Status --- Build Status Build Status --- Build Status ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website Whitespace Typescript
Non-portable Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status Build Status Build Status
Portable --- Build Status --- --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

@avalanche123
Copy link
Contributor Author

R: @Akshay-Iyangar

@iemejia
Copy link
Member

iemejia commented Apr 1, 2021

Thanks for your contribution. Can you please check (and fix if possible) this for the amazon-web-services2 module too.

Also can you please squash all commits into a a single one and put the updated issue title. Thanks!

@iemejia iemejia changed the title [BEAM-12081] fix AwsOptions deserialization bug [BEAM-12081] Fix AwsOptions Jackson (de)serialization of integer values Apr 1, 2021
@avalanche123
Copy link
Contributor Author

@iemejia done, thanks for taking a look. amazon-web-services2 doesn't use ints or int casts so I believe we're good there.

Copy link
Contributor

@aromanenko-dev aromanenko-dev left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM for me in general, just a minot note.

Could you also fix a spotless issue? Just run ./gradlew :sdks:java:io:amazon-web-services:spotlessApply before commit

@@ -239,4 +242,22 @@ public void testAwsHttpClientConfigurationSerializationDeserialization() throws
assertEquals(1000, clientConfigurationDeserialized.getConnectionMaxIdleMillis());
assertEquals(300, clientConfigurationDeserialized.getSocketTimeout());
}

@Test
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you add a test case with "-1" value, mentioned in Jira?

@aromanenko-dev aromanenko-dev merged commit 83ccda1 into apache:master Apr 1, 2021
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.

None yet

3 participants