-
Notifications
You must be signed in to change notification settings - Fork 45
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
refactor: split AWS SDK specific customizations into new module #1151
Conversation
302fd16
to
2f84228
Compare
A new generated diff is ready to view. |
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.
Looks like a good first step! I had one question about the removed Maven publication configuration
publishing { | ||
publications { | ||
create<MavenPublication>("codegen") { | ||
from(components["java"]) | ||
artifact(sourcesJar) | ||
} | ||
} | ||
} | ||
|
||
configurePublishing("aws-sdk-kotlin") |
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.
question: does this no longer need to be published?
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.
We never should have published it in first place, we will publish it when we move it over to smithy-kotlin
though.
A new generated diff is ready to view. |
d2da06a
to
0eeedf3
Compare
Quality Gate failedFailed conditions 5.4% Duplication on New Code (required ≤ 3%) |
Issue #
upstream: smithy-lang/smithy-kotlin#1012
Description of changes
This PR is a first step to separating AWS protocol support from AWS SDK specific customizations. Specifically we introduce a new module
aws-sdk-codegen
which is everything AWS SDK for Kotlin specific. The existingsmithy-aws-kotlin-codegen
now only contains AWS protocol support.refactor: Split out AWS SDK for Kotlin specific customizations into a new module
aws-sdk-codegen
refactor: Use the
software.amazon.smithy.kotlin.codegen.aws
namespace for AWS protocol support instead ofaws.sdk.kotlin.codegen
to better align with the rest of the code generation insmithy-kotlin
refactor: Remove
S3Generator
in favor of overriding sectionsfix: Fix route53 customization to only apply to the operation it is meant to
refactor: Migrate flow utils to
smithy-kotlin
runtime.Follow up work
The line between "AWS SDK" and "AWS Protocol" isn't super well defined. We may find I got some of this wrong and need to move things around a bit more 🤷♂️.
smithy-kotlin
smithy-kotlin
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.