From 91f0d2da294f371170c66d9cf0e8d4999c172ef0 Mon Sep 17 00:00:00 2001 From: Amir Khairalomoum Date: Tue, 19 Sep 2023 14:36:28 +0100 Subject: [PATCH 1/2] update examples nuget versions --- .../test/HelloWorld.Test/HelloWorld.Tests.csproj | 8 ++++---- examples/Logging/src/HelloWorld/HelloWorld.csproj | 2 +- .../test/HelloWorld.Test/HelloWorld.Tests.csproj | 10 +++++----- examples/Metrics/src/HelloWorld/HelloWorld.csproj | 6 +++--- .../test/HelloWorld.Test/HelloWorld.Tests.csproj | 10 +++++----- examples/Parameters/src/HelloWorld/HelloWorld.csproj | 2 +- .../Parameters/test/HelloWorld.Test/FunctionTest.cs | 2 +- .../test/HelloWorld.Test/HelloWorld.Tests.csproj | 8 ++++---- .../test/HelloWorld.Test/ParameterLookupTest.cs | 10 +++++----- .../src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj | 2 +- .../LambdaPowertoolsAPI.Tests.csproj | 6 +++--- examples/Tracing/src/HelloWorld/HelloWorld.csproj | 4 ++-- .../test/HelloWorld.Test/HelloWorld.Tests.csproj | 10 +++++----- 13 files changed, 40 insertions(+), 40 deletions(-) diff --git a/examples/Idempotency/test/HelloWorld.Test/HelloWorld.Tests.csproj b/examples/Idempotency/test/HelloWorld.Test/HelloWorld.Tests.csproj index d3504454..c38d76bd 100644 --- a/examples/Idempotency/test/HelloWorld.Test/HelloWorld.Tests.csproj +++ b/examples/Idempotency/test/HelloWorld.Test/HelloWorld.Tests.csproj @@ -6,10 +6,10 @@ - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/Logging/src/HelloWorld/HelloWorld.csproj b/examples/Logging/src/HelloWorld/HelloWorld.csproj index 683af241..b6469665 100644 --- a/examples/Logging/src/HelloWorld/HelloWorld.csproj +++ b/examples/Logging/src/HelloWorld/HelloWorld.csproj @@ -9,6 +9,6 @@ - + diff --git a/examples/Logging/test/HelloWorld.Test/HelloWorld.Tests.csproj b/examples/Logging/test/HelloWorld.Test/HelloWorld.Tests.csproj index d44fd3c1..5c0d4503 100644 --- a/examples/Logging/test/HelloWorld.Test/HelloWorld.Tests.csproj +++ b/examples/Logging/test/HelloWorld.Test/HelloWorld.Tests.csproj @@ -6,11 +6,11 @@ - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/Metrics/src/HelloWorld/HelloWorld.csproj b/examples/Metrics/src/HelloWorld/HelloWorld.csproj index 58b457d5..93b2dfc3 100644 --- a/examples/Metrics/src/HelloWorld/HelloWorld.csproj +++ b/examples/Metrics/src/HelloWorld/HelloWorld.csproj @@ -8,8 +8,8 @@ - - - + + + diff --git a/examples/Metrics/test/HelloWorld.Test/HelloWorld.Tests.csproj b/examples/Metrics/test/HelloWorld.Test/HelloWorld.Tests.csproj index d44fd3c1..5c0d4503 100644 --- a/examples/Metrics/test/HelloWorld.Test/HelloWorld.Tests.csproj +++ b/examples/Metrics/test/HelloWorld.Test/HelloWorld.Tests.csproj @@ -6,11 +6,11 @@ - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/Parameters/src/HelloWorld/HelloWorld.csproj b/examples/Parameters/src/HelloWorld/HelloWorld.csproj index d7b8af30..d4fcefec 100644 --- a/examples/Parameters/src/HelloWorld/HelloWorld.csproj +++ b/examples/Parameters/src/HelloWorld/HelloWorld.csproj @@ -8,6 +8,6 @@ - + diff --git a/examples/Parameters/test/HelloWorld.Test/FunctionTest.cs b/examples/Parameters/test/HelloWorld.Test/FunctionTest.cs index a89df7b0..79d0e41e 100644 --- a/examples/Parameters/test/HelloWorld.Test/FunctionTest.cs +++ b/examples/Parameters/test/HelloWorld.Test/FunctionTest.cs @@ -134,7 +134,7 @@ public async Task TestHelloWorldFunctionHandler() // Act var function = new Function(helper); - var response = await function.FunctionHandler(request, context).ConfigureAwait(false); + var response = await function.FunctionHandler(request, context); // Assert await helper.Received(1).GetSingleParameterWithSsmProvider(); diff --git a/examples/Parameters/test/HelloWorld.Test/HelloWorld.Tests.csproj b/examples/Parameters/test/HelloWorld.Test/HelloWorld.Tests.csproj index 9f0d0fb9..8ed6558a 100644 --- a/examples/Parameters/test/HelloWorld.Test/HelloWorld.Tests.csproj +++ b/examples/Parameters/test/HelloWorld.Test/HelloWorld.Tests.csproj @@ -6,10 +6,10 @@ - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/Parameters/test/HelloWorld.Test/ParameterLookupTest.cs b/examples/Parameters/test/HelloWorld.Test/ParameterLookupTest.cs index be74b223..675acfa9 100644 --- a/examples/Parameters/test/HelloWorld.Test/ParameterLookupTest.cs +++ b/examples/Parameters/test/HelloWorld.Test/ParameterLookupTest.cs @@ -75,7 +75,7 @@ public async Task TestGetSingleParameterWithSsmProvider() // Act var helper = new ParameterLookupHelper(provider, parameterProviderType); - var result = await helper.GetSingleParameterWithSsmProvider().ConfigureAwait(false); + var result = await helper.GetSingleParameterWithSsmProvider(); // Assert await provider.Received(1).GetAsync(parameterName); @@ -107,7 +107,7 @@ public async Task TestGetMultipleParametersWithSsmProvider() // Act var helper = new ParameterLookupHelper(provider, parameterProviderType); - var result = await helper.GetMultipleParametersWithSsmProvider().ConfigureAwait(false); + var result = await helper.GetMultipleParametersWithSsmProvider(); // Assert await provider.Received(1).GetMultipleAsync(parameterPathPrefix); @@ -147,7 +147,7 @@ public async Task TestGetSingleSecretWithSecretsProvider() // Act var helper = new ParameterLookupHelper(provider, parameterProviderType); - var result = await helper.GetSingleSecretWithSecretsProvider().ConfigureAwait(false); + var result = await helper.GetSingleSecretWithSecretsProvider(); // Assert await provider.Received(1).GetAsync(secretName); @@ -184,7 +184,7 @@ public async Task TestGetSingleParameterWithDynamoDBProvider() // Act var helper = new ParameterLookupHelper(provider, parameterProviderType); - var result = await helper.GetSingleParameterWithDynamoDBProvider().ConfigureAwait(false); + var result = await helper.GetSingleParameterWithDynamoDBProvider(); // Assert await provider.Received(1).GetAsync(dynamoDbHashKey); @@ -221,7 +221,7 @@ public async Task TestGetMultipleParametersWithDynamoDBProvider() // Act var helper = new ParameterLookupHelper(provider, parameterProviderType); - var result = await helper.GetMultipleParametersWithDynamoDBProvider().ConfigureAwait(false); + var result = await helper.GetMultipleParametersWithDynamoDBProvider(); // Assert await provider.Received(1).GetMultipleAsync(dynamoDbHashKey); diff --git a/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj b/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj index ec493de0..da90ac70 100644 --- a/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj +++ b/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj @@ -15,6 +15,6 @@ - + diff --git a/examples/ServerlessApi/test/LambdaPowertoolsAPI.Tests/LambdaPowertoolsAPI.Tests.csproj b/examples/ServerlessApi/test/LambdaPowertoolsAPI.Tests/LambdaPowertoolsAPI.Tests.csproj index 57b77adf..070787b5 100644 --- a/examples/ServerlessApi/test/LambdaPowertoolsAPI.Tests/LambdaPowertoolsAPI.Tests.csproj +++ b/examples/ServerlessApi/test/LambdaPowertoolsAPI.Tests/LambdaPowertoolsAPI.Tests.csproj @@ -20,9 +20,9 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/Tracing/src/HelloWorld/HelloWorld.csproj b/examples/Tracing/src/HelloWorld/HelloWorld.csproj index f058e19e..dd29deb4 100644 --- a/examples/Tracing/src/HelloWorld/HelloWorld.csproj +++ b/examples/Tracing/src/HelloWorld/HelloWorld.csproj @@ -9,7 +9,7 @@ - - + + diff --git a/examples/Tracing/test/HelloWorld.Test/HelloWorld.Tests.csproj b/examples/Tracing/test/HelloWorld.Test/HelloWorld.Tests.csproj index d44fd3c1..5c0d4503 100644 --- a/examples/Tracing/test/HelloWorld.Test/HelloWorld.Tests.csproj +++ b/examples/Tracing/test/HelloWorld.Test/HelloWorld.Tests.csproj @@ -6,11 +6,11 @@ - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive From 86c18cce25f6713525f882ce31814bd8354bcb18 Mon Sep 17 00:00:00 2001 From: Amir Khairalomoum Date: Tue, 19 Sep 2023 14:48:06 +0100 Subject: [PATCH 2/2] update examples nuget versions --- examples/Idempotency/src/HelloWorld/HelloWorld.csproj | 4 ++-- examples/Logging/src/HelloWorld/HelloWorld.csproj | 2 +- .../src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj | 4 ++-- examples/Tracing/src/HelloWorld/HelloWorld.csproj | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/Idempotency/src/HelloWorld/HelloWorld.csproj b/examples/Idempotency/src/HelloWorld/HelloWorld.csproj index f56aed96..077b1d0f 100644 --- a/examples/Idempotency/src/HelloWorld/HelloWorld.csproj +++ b/examples/Idempotency/src/HelloWorld/HelloWorld.csproj @@ -8,7 +8,7 @@ - - + + diff --git a/examples/Logging/src/HelloWorld/HelloWorld.csproj b/examples/Logging/src/HelloWorld/HelloWorld.csproj index b6469665..b57ab06b 100644 --- a/examples/Logging/src/HelloWorld/HelloWorld.csproj +++ b/examples/Logging/src/HelloWorld/HelloWorld.csproj @@ -8,7 +8,7 @@ - + diff --git a/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj b/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj index da90ac70..b44cc09c 100644 --- a/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj +++ b/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj @@ -13,8 +13,8 @@ - - + + diff --git a/examples/Tracing/src/HelloWorld/HelloWorld.csproj b/examples/Tracing/src/HelloWorld/HelloWorld.csproj index dd29deb4..cc4abb91 100644 --- a/examples/Tracing/src/HelloWorld/HelloWorld.csproj +++ b/examples/Tracing/src/HelloWorld/HelloWorld.csproj @@ -8,7 +8,7 @@ - +