Unverified Commit 9aa7881a authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

Add Polly, ApiGateway, fix bugs. (#283)

* wip

* Fixes for Polly & API Gateway

* Add ApiGateway and Polly Models

* Fix ktLint issues

* backport clippy ignores

* remap timeout error

* Format

* Fix error handling on timeout

* Ignore another clippy lint
parent 138320e9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@ val kotestVersion: String by project

dependencies {
    implementation(project(":codegen"))
    implementation("software.amazon.smithy:smithy-aws-protocol-tests:$smithyVersion")
    implementation("software.amazon.smithy:smithy-protocol-test-traits:$smithyVersion")
    implementation("software.amazon.smithy:smithy-aws-traits:$smithyVersion")
    testImplementation("org.junit.jupiter:junit-jupiter:5.6.1")
+1 −3
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ buildscript {

dependencies {
    implementation(project(":aws:sdk-codegen"))
    implementation("software.amazon.smithy:smithy-aws-protocol-tests:$smithyVersion")
    implementation("software.amazon.smithy:smithy-protocol-test-traits:$smithyVersion")
    implementation("software.amazon.smithy:smithy-aws-traits:$smithyVersion")
}
@@ -221,8 +220,7 @@ tasks.register<Exec>("cargoDocs") {
tasks.register<Exec>("cargoClippy") {
    workingDir(sdkOutputDir)
    // disallow warnings
    environment("RUSTFLAGS", "-D warnings")
    commandLine("cargo", "clippy")
    commandLine("cargo", "clippy", "--", "-D", "warnings", "-Aclippy::upper_case_acronyms", "-Aclippy::large-enum-variant", "-Aclippy::module-inception")
    dependsOn("assemble")
}

+11301 −0

File added.

Preview size limit exceeded, changes collapsed.

+1940 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −2
Original line number Diff line number Diff line
@@ -132,8 +132,7 @@ tasks.register<Exec>("cargoDocs") {
tasks.register<Exec>("cargoClippy") {
    workingDir("build/smithyprojections/codegen-test/")
    // disallow warnings
    environment("RUSTFLAGS", "-D warnings")
    commandLine("cargo", "clippy")
    commandLine("cargo", "clippy", "--", "-D", "warnings", "-Aclippy::upper_case_acronyms", "-Aclippy::large-enum-variant")
    dependsOn("assemble")
}

Loading