Skip to content

Commit ecd0ae1

Browse files
committed
chore: Update User-Agent string in Lambda test tool
1 parent 3de6e26 commit ecd0ae1

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

Tools/LambdaTestTool/src/Amazon.Lambda.TestTool.BlazorTester/Amazon.Lambda.TestTool.BlazorTester.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<OutputType>Exe</OutputType>
77
<Description>A tool to help debug and test your .NET Core AWS Lambda functions locally.</Description>
88
<LangVersion>Latest</LangVersion>
9-
<VersionPrefix>0.15.1</VersionPrefix>
9+
<VersionPrefix>0.15.2</VersionPrefix>
1010
<Product>AWS .NET Lambda Test Tool</Product>
1111
<Copyright>Apache 2</Copyright>
1212
<PackageTags>AWS;Amazon;Lambda</PackageTags>

Tools/LambdaTestTool/src/Amazon.Lambda.TestTool.BlazorTester/Amazon.Lambda.TestTool.BlazorTester60-pack.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PropertyGroup>
66
<OutputType>Exe</OutputType>
77
<Description>A tool to help debug and test your .NET 6.0 AWS Lambda functions locally.</Description>
8-
<VersionPrefix>0.15.1</VersionPrefix>
8+
<VersionPrefix>0.15.2</VersionPrefix>
99
<Product>AWS .NET Lambda Test Tool</Product>
1010
<Copyright>Apache 2</Copyright>
1111
<PackageTags>AWS;Amazon;Lambda</PackageTags>

Tools/LambdaTestTool/src/Amazon.Lambda.TestTool.BlazorTester/Amazon.Lambda.TestTool.BlazorTester70-pack.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PropertyGroup>
66
<OutputType>Exe</OutputType>
77
<Description>A tool to help debug and test your .NET 7.0 AWS Lambda functions locally.</Description>
8-
<VersionPrefix>0.15.1</VersionPrefix>
8+
<VersionPrefix>0.15.2</VersionPrefix>
99
<Product>AWS .NET Lambda Test Tool</Product>
1010
<Copyright>Apache 2</Copyright>
1111
<PackageTags>AWS;Amazon;Lambda</PackageTags>

Tools/LambdaTestTool/src/Amazon.Lambda.TestTool.BlazorTester/Amazon.Lambda.TestTool.BlazorTester80-pack.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PropertyGroup>
66
<OutputType>Exe</OutputType>
77
<Description>A tool to help debug and test your .NET 8.0 AWS Lambda functions locally.</Description>
8-
<VersionPrefix>0.15.1</VersionPrefix>
8+
<VersionPrefix>0.15.2</VersionPrefix>
99
<Product>AWS .NET Lambda Test Tool</Product>
1010
<Copyright>Apache 2</Copyright>
1111
<PackageTags>AWS;Amazon;Lambda</PackageTags>

Tools/LambdaTestTool/src/Amazon.Lambda.TestTool.BlazorTester/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ public class Program
1515
{
1616
public static void Main(string[] args)
1717
{
18-
Environment.SetEnvironmentVariable("AWS_EXECUTION_ENV", "AWS_DOTNET_LAMDBA_TEST_TOOL_BLAZOR_" + Utils.DetermineToolVersion());
18+
var version = Utils.DetermineToolVersion();
19+
// The leading and trailing whitespaces are intentional
20+
var userAgent = $" lib/AWS_DOTNET_LAMDBA_TEST_TOOL_BLAZOR#{version} ";
21+
22+
Environment.SetEnvironmentVariable("AWS_EXECUTION_ENV", userAgent);
1923
TestToolStartup.Startup(Constants.PRODUCT_NAME, (options, showUI) => Startup.LaunchWebTester(options, showUI), args);
2024
}
2125
}

Tools/LambdaTestTool/src/Amazon.Lambda.TestTool/Amazon.Lambda.TestTool.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
13-
<PackageReference Include="AWSSDK.SSO" Version="3.7.200.18" />
14-
<PackageReference Include="AWSSDK.SSOOIDC" Version="3.7.200.18" />
12+
<PackageReference Include="Amazon.Lambda.Core" Version="2.2.0" />
13+
<PackageReference Include="AWSSDK.SSO" Version="3.7.300.80" />
14+
<PackageReference Include="AWSSDK.SSOOIDC" Version="3.7.301.75" />
1515
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
1616
<PackageReference Include="YamlDotNet.Signed" Version="5.2.1" />
1717

18-
<PackageReference Include="AWSSDK.Core" Version="3.7.200.18" />
19-
<PackageReference Include="AWSSDK.SQS" Version="3.7.200.19" />
18+
<PackageReference Include="AWSSDK.Core" Version="3.7.303.20" />
19+
<PackageReference Include="AWSSDK.SQS" Version="3.7.300.80" />
2020
</ItemGroup>
2121

2222

0 commit comments

Comments
 (0)