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

Add aws smoke test model package #2113

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

milesziemer
Copy link
Contributor

Adds a package that provides a Smithy model with shapes used for https://smithy.io/2.0/additional-specs/smoke-tests.html#smoketestcase vendorParamsShape for AWS smoke tests. The package has Java POJOs corresponding to these shapes which can be used by code generators to do aws-specific configuration on generated smoke tests.

The POJOs are meant to be direct translations of the Smithy shapes, so to make it more ergonomic to get the POJOs from a smoke test case I added a util class AwsSmokeTestModel that can be used to check whether a smoke test case has either concrete vendor params shape, and to get the respective POJO.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Adds a package that provides a Smithy model with shapes used for
https://smithy.io/2.0/additional-specs/smoke-tests.html#smoketestcase
`vendorParamsShape` for AWS smoke tests. The package has Java POJOs
corresponding to these shapes which can be used by code generators
to do aws-specific configuration on generated smoke tests.

The POJOs are meant to be direct translations of the Smithy shapes,
so to make it more ergonomic to get the POJOs from a smoke test
case I added a util class AwsSmokeTestModel that can be used to
check whether a smoke test case has either concrete vendor params
shape, and to get the respective POJO.
@milesziemer milesziemer requested a review from a team as a code owner January 24, 2024 22:56
@milesziemer milesziemer merged commit dc2ae9e into smithy-lang:main Jan 25, 2024
10 checks passed
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