Skip to content

Expose event-type in stream interface #2176

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 1 commit into from
Dec 4, 2020

Conversation

dagnir
Copy link
Contributor

@dagnir dagnir commented Dec 2, 2020

Description

Motivation and Context

Testing

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

@dagnir dagnir force-pushed the sdk-event-type-getter branch from 482176c to c39678a Compare December 2, 2020 20:42
@dagnir dagnir requested a review from zoewangg December 2, 2020 20:49
@dagnir dagnir force-pushed the sdk-event-type-getter branch 4 times, most recently from 425ac63 to a839ef8 Compare December 3, 2020 18:32
@dagnir dagnir mentioned this pull request Dec 3, 2020
13 tasks
@dagnir dagnir force-pushed the sdk-event-type-getter branch from a839ef8 to 79caff9 Compare December 4, 2020 01:42
@dagnir dagnir force-pushed the sdk-event-type-getter branch from 79caff9 to 32cd8d6 Compare December 4, 2020 01:48
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 4, 2020

Kudos, SonarCloud Quality Gate passed!

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

90.9% 90.9% Coverage
0.0% 0.0% Duplication

@dagnir dagnir mentioned this pull request Dec 4, 2020
13 tasks
* {@code EventStream#EventTwo} event. Do not use this class directly. Instead, use the static builder methods on
* {@link software.amazon.awssdk.services.jsonprotocoltests.model.EventStream}.
* A specialization of {@code software.amazon.awssdk.services.json.model.EventTwo} that represents the
* {@code EventStream$EventTwo} event. Do not use this class directly. Instead, use the static builder methods on
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo? EventStream$EventTwo -> EventStream#EventTwo

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, decided to use the C2j notation

*/
@SdkInternalApi
@Generated("software.amazon.awssdk:codegen")
public final class DefaultSecondEventTwo extends EventTwo {
public final class DefaultSecondeventtwo extends EventTwo {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this change intentional? Shouldn't it be DefaultSecondEventTwo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a little confusing, but this one corresponds to this event

@dagnir dagnir merged commit 308e493 into dongie/eventstream-visitors-fix Dec 4, 2020
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.

2 participants