Skip to content

Commit

Permalink
Merge pull request #486 from amirkaws/update-examples-nuget-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
hjgraca authored Sep 19, 2023
2 parents 4b38558 + 86c18cc commit 13b5570
Show file tree
Hide file tree
Showing 14 changed files with 46 additions and 46 deletions.
4 changes: 2 additions & 2 deletions examples/Idempotency/src/HelloWorld/HelloWorld.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Amazon.Lambda.APIGatewayEvents" Version="2.6.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.3.1" />
<PackageReference Include="AWS.Lambda.Powertools.Idempotency" Version="0.1.0-preview" />
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.3.0" />
<PackageReference Include="AWS.Lambda.Powertools.Idempotency" Version="0.2.2-preview" />
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.3.2" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Amazon.Lambda.TestUtilities" Version="2.0.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.3.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.0" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="Testcontainers" Version="3.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="xunit" Version="2.5.1" />
<PackageReference Include="Testcontainers" Version="3.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions examples/Logging/src/HelloWorld/HelloWorld.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Amazon.Lambda.APIGatewayEvents" Version="2.6.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.3.1" />
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.3.0" />
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.200.23" />
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.3.2" />
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.201.12" />
</ItemGroup>
</Project>
10 changes: 5 additions & 5 deletions examples/Logging/test/HelloWorld.Test/HelloWorld.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Amazon.Lambda.TestUtilities" Version="2.0.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.3.1" />
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.200.23" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
<PackageReference Include="NSubstitute" Version="5.0.0" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.201.12" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="xunit" Version="2.5.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
6 changes: 3 additions & 3 deletions examples/Metrics/src/HelloWorld/HelloWorld.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Amazon.Lambda.APIGatewayEvents" Version="2.6.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.3.1" />
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.3.0" />
<PackageReference Include="AWS.Lambda.Powertools.Metrics" Version="1.3.3" />
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.200.23" />
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.3.2" />
<PackageReference Include="AWS.Lambda.Powertools.Metrics" Version="1.4.2" />
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.201.12" />
</ItemGroup>
</Project>
10 changes: 5 additions & 5 deletions examples/Metrics/test/HelloWorld.Test/HelloWorld.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Amazon.Lambda.TestUtilities" Version="2.0.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.3.1" />
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.200.23" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
<PackageReference Include="NSubstitute" Version="5.0.0" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.201.12" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="xunit" Version="2.5.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion examples/Parameters/src/HelloWorld/HelloWorld.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Amazon.Lambda.APIGatewayEvents" Version="2.6.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.3.0" />
<PackageReference Include="AWS.Lambda.Powertools.Parameters" Version="1.1.0" />
<PackageReference Include="AWS.Lambda.Powertools.Parameters" Version="1.1.2" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion examples/Parameters/test/HelloWorld.Test/FunctionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Amazon.Lambda.TestUtilities" Version="2.0.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.3.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
<PackageReference Include="NSubstitute" Version="5.0.0" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="xunit" Version="2.5.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
10 changes: 5 additions & 5 deletions examples/Parameters/test/HelloWorld.Test/ParameterLookupTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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<SecretRecord>(secretName);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.AspNetCoreServer" Version="8.1.0" />
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.3.0" />
<PackageReference Include="AWS.Lambda.Powertools.Metrics" Version="1.3.3" />
<PackageReference Include="AWS.Lambda.Powertools.Tracing" Version="1.3.0" />
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.3.2" />
<PackageReference Include="AWS.Lambda.Powertools.Metrics" Version="1.4.2" />
<PackageReference Include="AWS.Lambda.Powertools.Tracing" Version="1.3.2" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<PackageReference Include="Amazon.Lambda.TestUtilities" Version="2.0.0" />
<PackageReference Include="Amazon.Lambda.APIGatewayEvents" Version="2.6.0" />
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.7" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="xunit" Version="2.5.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
6 changes: 3 additions & 3 deletions examples/Tracing/src/HelloWorld/HelloWorld.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Amazon.Lambda.APIGatewayEvents" Version="2.6.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.3.1" />
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.3.0" />
<PackageReference Include="AWS.Lambda.Powertools.Tracing" Version="1.3.0" />
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.200.23" />
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.3.2" />
<PackageReference Include="AWS.Lambda.Powertools.Tracing" Version="1.3.2" />
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.201.12" />
</ItemGroup>
</Project>
10 changes: 5 additions & 5 deletions examples/Tracing/test/HelloWorld.Test/HelloWorld.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
<PackageReference Include="Amazon.Lambda.TestUtilities" Version="2.0.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.3.1" />
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.200.23" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
<PackageReference Include="NSubstitute" Version="5.0.0" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.201.12" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="xunit" Version="2.5.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 13b5570

Please sign in to comment.