From 5173e8b2fecc30cc471dd8259667e1122729a01c Mon Sep 17 00:00:00 2001 From: Zoe Wang <33073555+zoewangg@users.noreply.github.com> Date: Tue, 25 Nov 2025 15:57:09 -0800 Subject: [PATCH 1/2] Fix service EndpointAwareAuthSchme file location --- .../src/main/resources/software/amazon/awssdk/checkstyle.xml | 2 ++ .../awssdk/codegen/emitters/tasks/AuthSchemeGeneratorTasks.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build-tools/src/main/resources/software/amazon/awssdk/checkstyle.xml b/build-tools/src/main/resources/software/amazon/awssdk/checkstyle.xml index 783d61377a20..30f72ec4bad2 100644 --- a/build-tools/src/main/resources/software/amazon/awssdk/checkstyle.xml +++ b/build-tools/src/main/resources/software/amazon/awssdk/checkstyle.xml @@ -45,6 +45,8 @@ + + diff --git a/codegen/src/main/java/software/amazon/awssdk/codegen/emitters/tasks/AuthSchemeGeneratorTasks.java b/codegen/src/main/java/software/amazon/awssdk/codegen/emitters/tasks/AuthSchemeGeneratorTasks.java index 38c170898f27..4fb33342ae5a 100644 --- a/codegen/src/main/java/software/amazon/awssdk/codegen/emitters/tasks/AuthSchemeGeneratorTasks.java +++ b/codegen/src/main/java/software/amazon/awssdk/codegen/emitters/tasks/AuthSchemeGeneratorTasks.java @@ -81,7 +81,7 @@ private GeneratorTask generateEndpointBasedProvider() { } private GeneratorTask generateEndpointAwareAuthSchemeParams() { - return new PoetGeneratorTask(authSchemeDir(), model.getFileHeader(), new EndpointAwareAuthSchemeParamsSpec(model)); + return new PoetGeneratorTask(authSchemeInternalDir(), model.getFileHeader(), new EndpointAwareAuthSchemeParamsSpec(model)); } From 3f6594931bd0e1fb92919f7e218c4c7866e7f7a1 Mon Sep 17 00:00:00 2001 From: Zoe Wang <33073555+zoewangg@users.noreply.github.com> Date: Tue, 25 Nov 2025 16:40:52 -0800 Subject: [PATCH 2/2] Fix checkstyle errors --- .../codegen/emitters/tasks/AuthSchemeGeneratorTasks.java | 3 ++- ...{ThreadStorageTest.java => SdkInternalThreadLocalTest.java} | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename utils-lite/src/test/java/software/amazon/awssdk/utilslite/{ThreadStorageTest.java => SdkInternalThreadLocalTest.java} (100%) diff --git a/codegen/src/main/java/software/amazon/awssdk/codegen/emitters/tasks/AuthSchemeGeneratorTasks.java b/codegen/src/main/java/software/amazon/awssdk/codegen/emitters/tasks/AuthSchemeGeneratorTasks.java index 4fb33342ae5a..4b6719cc709c 100644 --- a/codegen/src/main/java/software/amazon/awssdk/codegen/emitters/tasks/AuthSchemeGeneratorTasks.java +++ b/codegen/src/main/java/software/amazon/awssdk/codegen/emitters/tasks/AuthSchemeGeneratorTasks.java @@ -81,7 +81,8 @@ private GeneratorTask generateEndpointBasedProvider() { } private GeneratorTask generateEndpointAwareAuthSchemeParams() { - return new PoetGeneratorTask(authSchemeInternalDir(), model.getFileHeader(), new EndpointAwareAuthSchemeParamsSpec(model)); + return new PoetGeneratorTask(authSchemeInternalDir(), model.getFileHeader(), + new EndpointAwareAuthSchemeParamsSpec(model)); } diff --git a/utils-lite/src/test/java/software/amazon/awssdk/utilslite/ThreadStorageTest.java b/utils-lite/src/test/java/software/amazon/awssdk/utilslite/SdkInternalThreadLocalTest.java similarity index 100% rename from utils-lite/src/test/java/software/amazon/awssdk/utilslite/ThreadStorageTest.java rename to utils-lite/src/test/java/software/amazon/awssdk/utilslite/SdkInternalThreadLocalTest.java