Skip to content

Add short type support #2395

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

Merged
merged 3 commits into from
Apr 16, 2021
Merged

Add short type support #2395

merged 3 commits into from
Apr 16, 2021

Conversation

duy3101
Copy link
Contributor

@duy3101 duy3101 commented Apr 9, 2021

Description

My service requires short type for model generation. This pr intends to support that.

Motivation and Context

Without short support, the model generation fails at run time because the MarshallingType default to null.

Testing

Added unit tests and mvn install

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the CONTRIBUTING document
  • Local run of mvn install succeeds
  • My code follows the code style of this project
  • My change requires a change to the Javadoc documentation
  • I have updated the Javadoc documentation accordingly
  • I have read the README document
  • I have added tests to cover my changes
  • All new and existing tests passed
  • A short description of the change has been added to the CHANGELOG
  • My change is to implement 1.11 parity feature and I have updated LaunchChangelog

License

  • I confirm that this pull request can be released under the Apache 2 license

@duy3101 duy3101 mentioned this pull request Apr 9, 2021
10 tasks
@duy3101 duy3101 marked this pull request as ready for review April 9, 2021 14:50
Copy link
Contributor

@joviegas joviegas left a comment

Choose a reason for hiding this comment

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

For completeness we need to Add Short support in core/protocols/aws-query-protocol/src/main/java/software/amazon/awssdk/protocols/query/internal/unmarshall/QueryProtocolUnmarshaller.java

Also please add corresponding test case in //test/protocol-tests-core/src/main/resources/software/amazon/awssdk/protocol/suites/cases/query-output.json

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

94.1% 94.1% Coverage
0.0% 0.0% Duplication

@joviegas joviegas merged commit d0aa2cf into aws:master Apr 16, 2021
@debora-ito
Copy link
Member

@all-contributors please add @duy3101 for code.

@allcontributors
Copy link
Contributor

@debora-ito

I've put up a pull request to add @duy3101! 🎉

aws-sdk-java-automation added a commit that referenced this pull request Feb 20, 2023
…1d256208e

Pull request: release <- staging/32ed0c96-9528-473c-a9c4-3ac1d256208e
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.

3 participants