-
Notifications
You must be signed in to change notification settings - Fork 61
Migrate C# telemetry generator to .NET AWSDK v4 #1082
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
Conversation
TestServiceModels/.gitkeep
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added it to the description. Its required by the updated sdk generator to be present in the directory structure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed it and made it part of the script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just calling out that this file naturally has a large diff because it isn't updated each time the telemetry definition json file is updated. This file isn't changed as a result of Shruti's change, nor am I concerned about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the generator is auto generated
PR #1082 migrated the C# telemetry generator to AWS SDK V4. Due to changes in contracts with this version, a Custom PartialConfig file was added to meet the interface requirements for configuring endpoints with the ClientConfig. This caused issues during runtime since our client does not rely on endpoitns. As a workaround as per .NET SDK team's guidance, since our client always sets the ServiceUrl on out client, a fix along those lines has been made to short-circuit the underlying logic and return endpoint based on the service url.
Changes
This change migrates the C# telemetry generator to use .NET AWS SDK V4. The version of Core and subsequent SDK release tag matches the one used by the VS IDE extension at this time.
Callouts:
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.