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 config definitions for aws protocol tests #705

Merged
merged 3 commits into from
Feb 5, 2021

Conversation

JordonPhillips
Copy link
Contributor

This adds aws config definitions intended to be used alongside: #702

It's not an exhaustive listing, but includes most of what should be needed for protocol tests.

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

@JordonPhillips JordonPhillips requested a review from kstich February 4, 2021 17:00

/// Config settings that can be set in the AWS config file.
structure FileConfig {
access_key_id: String,
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not positive I would model these—by modeling this explicitly, we'd need to upgrade Smithy for any new features that wanted to be tested (which is maybe OK?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are for the protocol tests here, you'd need to update this package anyway to add more tests to it. In any event, adding a line here is never gonna be the bottleneck.

This updates the model of the config files to a representation of
how they're actually parsed, namely as a map of profile to config.
@JordonPhillips JordonPhillips requested a review from kstich February 5, 2021 17:47
@JordonPhillips JordonPhillips merged commit 80d59a7 into smithy-lang:main Feb 5, 2021
@kstich kstich mentioned this pull request Feb 22, 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.

3 participants