Skip to content

Commit 2fc5131

Browse files
committed
Issue-223 - Test dotnet 9.0
1 parent 0a02103 commit 2fc5131

File tree

11 files changed

+24
-19
lines changed

11 files changed

+24
-19
lines changed

DEVELOPMENT-CURRENT-COMMANDS.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ NUMBER_OF_WORKERS=4 node dist/app.cjs
1818

1919
dotnet build -c Release src/PwrDrvr.LambdaDispatch.Router
2020

21-
BUILD_TIME=$(date) GIT_HASH=$(git rev-parse --short HEAD) LAMBDA_DISPATCH_MaxWorkerThreads=2 DOTNET_ThreadPool_UnfairSemaphoreSpinLimit=0 LAMBDA_DISPATCH_InstanceCountMultiplier=4 LAMBDA_DISPATCH_MaxConcurrentCount=20 LAMBDA_DISPATCH_AllowInsecureControlChannel=true LAMBDA_DISPATCH_PreferredControlChannelScheme=http LAMBDA_DISPATCH_FunctionName=dogs AWS_LAMBDA_SERVICE_URL=http://localhost:5051 AWS_REGION=us-east-2 AWS_ACCESS_KEY_ID=test-access-key-id AWS_SECRET_ACCESS_KEY=test-secret-access-key AWS_SESSION_TOKEN=test-session-token src/PwrDrvr.LambdaDispatch.Router/bin/Release/net8.0/PwrDrvr.LambdaDispatch.Router 2>&1 | tee router.log
21+
BUILD_TIME=$(date) GIT_HASH=$(git rev-parse --short HEAD) LAMBDA_DISPATCH_MaxWorkerThreads=2 DOTNET_ThreadPool_UnfairSemaphoreSpinLimit=0 LAMBDA_DISPATCH_InstanceCountMultiplier=4 LAMBDA_DISPATCH_MaxConcurrentCount=20 LAMBDA_DISPATCH_AllowInsecureControlChannel=true LAMBDA_DISPATCH_PreferredControlChannelScheme=http LAMBDA_DISPATCH_FunctionName=dogs AWS_LAMBDA_SERVICE_URL=http://localhost:5051 AWS_REGION=us-east-2 AWS_ACCESS_KEY_ID=test-access-key-id AWS_SECRET_ACCESS_KEY=test-secret-access-key AWS_SESSION_TOKEN=test-session-token src/PwrDrvr.LambdaDispatch.Router/bin/Release/net9.0/PwrDrvr.LambdaDispatch.Router 2>&1 | tee router.log
2222

2323
# extension
2424

@@ -37,7 +37,7 @@ date
3737

3838
# d-router - fix-scale-down-timer branch
3939

40-
BUILD_TIME=$(date) GIT_HASH=$(git rev-parse --short HEAD) LAMBDA_DISPATCH_MaxWorkerThreads=2 DOTNET_ThreadPool_UnfairSemaphoreSpinLimit=0 LAMBDA_DISPATCH_InstanceCountMultiplier=2 LAMBDA_DISPATCH_MaxConcurrentCount=10 LAMBDA_DISPATCH_AllowInsecureControlChannel=true LAMBDA_DISPATCH_PreferredControlChannelScheme=http LAMBDA_DISPATCH_FunctionName=dogs AWS_LAMBDA_SERVICE_URL=http://localhost:5051 AWS_REGION=us-east-2 AWS_ACCESS_KEY_ID=test-access-key-id AWS_SECRET_ACCESS_KEY=test-secret-access-key AWS_SESSION_TOKEN=test-session-token src/PwrDrvr.LambdaDispatch.Router/bin/Release/net8.0/PwrDrvr.LambdaDispatch.Router 2>&1 > router.log
40+
BUILD_TIME=$(date) GIT_HASH=$(git rev-parse --short HEAD) LAMBDA_DISPATCH_MaxWorkerThreads=2 DOTNET_ThreadPool_UnfairSemaphoreSpinLimit=0 LAMBDA_DISPATCH_InstanceCountMultiplier=2 LAMBDA_DISPATCH_MaxConcurrentCount=10 LAMBDA_DISPATCH_AllowInsecureControlChannel=true LAMBDA_DISPATCH_PreferredControlChannelScheme=http LAMBDA_DISPATCH_FunctionName=dogs AWS_LAMBDA_SERVICE_URL=http://localhost:5051 AWS_REGION=us-east-2 AWS_ACCESS_KEY_ID=test-access-key-id AWS_SECRET_ACCESS_KEY=test-secret-access-key AWS_SESSION_TOKEN=test-session-token src/PwrDrvr.LambdaDispatch.Router/bin/Release/net9.0/PwrDrvr.LambdaDispatch.Router 2>&1 > router.log
4141

4242
# d-demoapp
4343

DockerfileExtensionDotNet

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Use the official .NET 8 SDK image as the build environment
22
# Build with whatever CPU the host OS has
3-
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
3+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env
44

55
# Needed for Native AOT compilation
66
RUN apt update

DockerfileRouter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Use the official .NET 8 SDK image as the build environment
22
# Build with whatever CPU the host OS has
3-
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
3+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env
44

55
# Set the working directory
66
WORKDIR /app

global.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"sdk": {
3+
"version": "9.0.100"
4+
}
5+
}

src/PwrDrvr.LambdaDispatch.Extension/PwrDrvr.LambdaDispatch.Extension.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<DebugType>portable</DebugType>
66
<DebugSymbols>true</DebugSymbols>
77
<OutputType>Exe</OutputType>
8-
<TargetFramework>net8.0</TargetFramework>
8+
<TargetFramework>net9.0</TargetFramework>
99
<ImplicitUsings>enable</ImplicitUsings>
1010
<Nullable>enable</Nullable>
1111
<AWSProjectType>Lambda</AWSProjectType>
@@ -57,8 +57,8 @@
5757
<PackageReference Include="Amazon.Lambda.Core" Version="2.2.0" />
5858
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.0" />
5959
<PackageReference Include="AWS.Logger.AspNetCore" Version="3.4.1" />
60-
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
61-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
60+
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
61+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.0" />
6262
</ItemGroup>
6363
<ItemGroup>
6464
<ProjectReference Include="..\PwrDrvr.LambdaDispatch.Messages\PwrDrvr.LambdaDispatch.Messages.csproj" />

src/PwrDrvr.LambdaDispatch.Messages/PwrDrvr.LambdaDispatch.Messages.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<DebugType>portable</DebugType>

src/PwrDrvr.LambdaDispatch.Router/PwrDrvr.LambdaDispatch.Router.csproj

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<DebugType>portable</DebugType>
@@ -28,10 +28,10 @@
2828
<PackageReference Include="AWSSDK.Lambda" Version="3.7.305.6" />
2929
<!-- AWSSDK.SecurityToken is not directly referenced but is needed by IRSA / OIDC IAM auth -->
3030
<PackageReference Include="AWSSDK.SecurityToken" Version="3.7.300.75" />
31-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
32-
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
33-
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
34-
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.0" />
31+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
32+
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="9.0.0" />
33+
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
34+
<PackageReference Include="Microsoft.Extensions.Options" Version="9.0.0" />
3535
</ItemGroup>
3636

3737
<ItemGroup>

test/PwrDrvr.LambdaDispatch.Extension.Tests/PwrDrvr.LambdaDispatch.Extension.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net9.0</TargetFramework>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
66
<IsTestProject>true</IsTestProject>

test/PwrDrvr.LambdaDispatch.HttpTestClient/PwrDrvr.LambdaDispatch.HttpTestClient.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<EnablePreviewFeatures>true</EnablePreviewFeatures>
55
<OutputType>Exe</OutputType>
6-
<TargetFramework>net8.0</TargetFramework>
6+
<TargetFramework>net9.0</TargetFramework>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<Nullable>enable</Nullable>
99
</PropertyGroup>

test/PwrDrvr.LambdaDispatch.Router.TestClient/PwrDrvr.LambdaDispatch.Router.TestClient.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

10-
<ItemGroup>
11-
<PackageReference Include="System.IO.Pipelines" Version="8.0.0" />
10+
<ItemGroup>
11+
<PackageReference Include="System.IO.Pipelines" Version="9.0.0" />
1212
</ItemGroup>
1313

1414
</Project>

test/PwrDrvr.LambdaDispatch.Router.Tests/PwrDrvr.LambdaDispatch.Router.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<RootNamespace>PwrDrvr.LambdaDispatch.Router.Tests</RootNamespace>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>

0 commit comments

Comments
 (0)