diff --git a/.github/workflows/IntegrationTest.yaml b/.github/workflows/IntegrationTest.yaml index 38b2fb0..da4f7a3 100644 --- a/.github/workflows/IntegrationTest.yaml +++ b/.github/workflows/IntegrationTest.yaml @@ -33,10 +33,10 @@ jobs: rm ./dapr/components/dapr-secretstore.json echo "{\"SignalRConnectionString\": \"${{ secrets.SAGAWAY_SIGNALR_CONNECTION_STRING }}\"}" > ./dapr/components/dapr-secretstore.json - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: | - 8.0.x + 9.0.x - name: Sagaway Core Tests run: dotnet test --verbosity normal --configuration Debug Sagaway.Tests/Sagaway.Tests.csproj - name: Docker Compose Up diff --git a/Sagaway.Callback.Propagator/Sagaway.Callback.Propagator.csproj b/Sagaway.Callback.Propagator/Sagaway.Callback.Propagator.csproj index 08b7732..ffb22d4 100644 --- a/Sagaway.Callback.Propagator/Sagaway.Callback.Propagator.csproj +++ b/Sagaway.Callback.Propagator/Sagaway.Callback.Propagator.csproj @@ -41,8 +41,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Sagaway.Callback.Router/Sagaway.Callback.Router.csproj b/Sagaway.Callback.Router/Sagaway.Callback.Router.csproj index 90f4f3b..29f7358 100644 --- a/Sagaway.Callback.Router/Sagaway.Callback.Router.csproj +++ b/Sagaway.Callback.Router/Sagaway.Callback.Router.csproj @@ -41,13 +41,13 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Sagaway.Hosts.DaprActorHost/Sagaway.Hosts.DaprActorHost.csproj b/Sagaway.Hosts.DaprActorHost/Sagaway.Hosts.DaprActorHost.csproj index 840fd25..ce82a3b 100644 --- a/Sagaway.Hosts.DaprActorHost/Sagaway.Hosts.DaprActorHost.csproj +++ b/Sagaway.Hosts.DaprActorHost/Sagaway.Hosts.DaprActorHost.csproj @@ -46,7 +46,7 @@ - + all diff --git a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.OrchestrationService/Dockerfile b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.OrchestrationService/Dockerfile index aa132bc..eff224f 100644 --- a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.OrchestrationService/Dockerfile +++ b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.OrchestrationService/Dockerfile @@ -1,12 +1,12 @@ #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base USER app WORKDIR /app EXPOSE 8080 EXPOSE 8081 -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["Sagaway.IntegrationTests/Sagaway.IntegrationTests.OrchestrationService/Sagaway.IntegrationTests.OrchestrationService.csproj", "Sagaway.IntegrationTests/Sagaway.IntegrationTests.OrchestrationService/"] diff --git a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.OrchestrationService/Sagaway.IntegrationTests.OrchestrationService.csproj b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.OrchestrationService/Sagaway.IntegrationTests.OrchestrationService.csproj index 41ca517..5683e87 100644 --- a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.OrchestrationService/Sagaway.IntegrationTests.OrchestrationService.csproj +++ b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.OrchestrationService/Sagaway.IntegrationTests.OrchestrationService.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable true @@ -12,17 +12,17 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.StepRecorderTestService/Dockerfile b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.StepRecorderTestService/Dockerfile index 2c54649..ed6dd77 100644 --- a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.StepRecorderTestService/Dockerfile +++ b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.StepRecorderTestService/Dockerfile @@ -1,7 +1,7 @@ # See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. # This stage is used when running from VS in fast mode (Default for Debug configuration) -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base USER app WORKDIR /app EXPOSE 8080 @@ -9,7 +9,7 @@ EXPOSE 8081 # This stage is used to build the service project -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["Sagaway.IntegrationTests/Sagaway.IntegrationTests.StepRecorderTestService/Sagaway.IntegrationTests.StepRecorderTestService.csproj", "Sagaway.IntegrationTests/Sagaway.IntegrationTests.StepRecorderTestService/"] diff --git a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.StepRecorderTestService/Sagaway.IntegrationTests.StepRecorderTestService.csproj b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.StepRecorderTestService/Sagaway.IntegrationTests.StepRecorderTestService.csproj index 6b9c525..2c29bfc 100644 --- a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.StepRecorderTestService/Sagaway.IntegrationTests.StepRecorderTestService.csproj +++ b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.StepRecorderTestService/Sagaway.IntegrationTests.StepRecorderTestService.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net9.0 enable enable Linux @@ -10,16 +10,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestProject/Sagaway.IntegrationTests.TestProject.csproj b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestProject/Sagaway.IntegrationTests.TestProject.csproj index 0462901..14635f0 100644 --- a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestProject/Sagaway.IntegrationTests.TestProject.csproj +++ b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestProject/Sagaway.IntegrationTests.TestProject.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable @@ -11,26 +11,26 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - + + + + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + diff --git a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestService/Dockerfile b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestService/Dockerfile index 6841043..08c981e 100644 --- a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestService/Dockerfile +++ b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestService/Dockerfile @@ -1,12 +1,12 @@ #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base USER app WORKDIR /app EXPOSE 8080 EXPOSE 8081 -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestService/Sagaway.IntegrationTests.TestService.csproj", "Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestService/"] diff --git a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestService/Sagaway.IntegrationTests.TestService.csproj b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestService/Sagaway.IntegrationTests.TestService.csproj index 0bab55e..561d6ce 100644 --- a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestService/Sagaway.IntegrationTests.TestService.csproj +++ b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestService/Sagaway.IntegrationTests.TestService.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable true @@ -12,17 +12,17 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestSubSagaCommunicationService/Dockerfile b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestSubSagaCommunicationService/Dockerfile index d12ca23..e53fed5 100644 --- a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestSubSagaCommunicationService/Dockerfile +++ b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestSubSagaCommunicationService/Dockerfile @@ -1,7 +1,7 @@ # See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. # This stage is used when running from VS in fast mode (Default for Debug configuration) -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base USER app WORKDIR /app EXPOSE 8080 @@ -9,7 +9,7 @@ EXPOSE 8081 # This stage is used to build the service project -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestSubSagaCommunicationService/Sagaway.IntegrationTests.TestSubSagaCommunicationService.csproj", "Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestSubSagaCommunicationService/"] diff --git a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestSubSagaCommunicationService/Sagaway.IntegrationTests.TestSubSagaCommunicationService.csproj b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestSubSagaCommunicationService/Sagaway.IntegrationTests.TestSubSagaCommunicationService.csproj index fbbfe6e..1bba78c 100644 --- a/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestSubSagaCommunicationService/Sagaway.IntegrationTests.TestSubSagaCommunicationService.csproj +++ b/Sagaway.IntegrationTests/Sagaway.IntegrationTests.TestSubSagaCommunicationService/Sagaway.IntegrationTests.TestSubSagaCommunicationService.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 enable enable true @@ -12,16 +12,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/Sagaway.OpenTelemetry/Sagaway.OpenTelemetry.csproj b/Sagaway.OpenTelemetry/Sagaway.OpenTelemetry.csproj index 75ef63d..3462d82 100644 --- a/Sagaway.OpenTelemetry/Sagaway.OpenTelemetry.csproj +++ b/Sagaway.OpenTelemetry/Sagaway.OpenTelemetry.csproj @@ -48,7 +48,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BillingManagement/Dockerfile b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BillingManagement/Dockerfile index d311896..7969706 100644 --- a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BillingManagement/Dockerfile +++ b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BillingManagement/Dockerfile @@ -1,12 +1,12 @@ #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base USER app WORKDIR /app EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["Sagaway.ReservationDemo/Sagaway.ReservationDemo.BillingManagement/Sagaway.ReservationDemo.BillingManagement.csproj", "Sagaway.ReservationDemo/Sagaway.ReservationDemo.BillingManagement/"] diff --git a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BillingManagement/Sagaway.ReservationDemo.BillingManagement.csproj b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BillingManagement/Sagaway.ReservationDemo.BillingManagement.csproj index 3bf62f1..4e718d1 100644 --- a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BillingManagement/Sagaway.ReservationDemo.BillingManagement.csproj +++ b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BillingManagement/Sagaway.ReservationDemo.BillingManagement.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable true @@ -12,16 +12,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BookingManagement/Dockerfile b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BookingManagement/Dockerfile index 109a4f4..468ec5b 100644 --- a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BookingManagement/Dockerfile +++ b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BookingManagement/Dockerfile @@ -1,12 +1,12 @@ #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base USER app WORKDIR /app EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["Sagaway.ReservationDemo/Sagaway.ReservationDemo.BookingManagement/Sagaway.ReservationDemo.BookingManagement.csproj", "Sagaway.ReservationDemo/Sagaway.ReservationDemo.BookingManagement/"] diff --git a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BookingManagement/Sagaway.ReservationDemo.BookingManagement.csproj b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BookingManagement/Sagaway.ReservationDemo.BookingManagement.csproj index 2e18c3c..dcdb8d0 100644 --- a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BookingManagement/Sagaway.ReservationDemo.BookingManagement.csproj +++ b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.BookingManagement/Sagaway.ReservationDemo.BookingManagement.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable true @@ -12,16 +12,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.InventoryManagement/Dockerfile b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.InventoryManagement/Dockerfile index 6b3c32e..c79da8e 100644 --- a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.InventoryManagement/Dockerfile +++ b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.InventoryManagement/Dockerfile @@ -1,12 +1,12 @@ #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base USER app WORKDIR /app EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["Sagaway.ReservationDemo/Sagaway.ReservationDemo.InventoryManagement/Sagaway.ReservationDemo.InventoryManagement.csproj", "Sagaway.ReservationDemo/Sagaway.ReservationDemo.InventoryManagement/"] diff --git a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.InventoryManagement/Sagaway.ReservationDemo.InventoryManagement.csproj b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.InventoryManagement/Sagaway.ReservationDemo.InventoryManagement.csproj index 6f928b1..2145a77 100644 --- a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.InventoryManagement/Sagaway.ReservationDemo.InventoryManagement.csproj +++ b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.InventoryManagement/Sagaway.ReservationDemo.InventoryManagement.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable true @@ -12,16 +12,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.ReservationManager/Dockerfile b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.ReservationManager/Dockerfile index 2399469..6abea91 100644 --- a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.ReservationManager/Dockerfile +++ b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.ReservationManager/Dockerfile @@ -1,12 +1,12 @@ #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base USER app WORKDIR /app EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY ["Sagaway.ReservationDemo/Sagaway.ReservationDemo.ReservationManager/Sagaway.ReservationDemo.ReservationManager.csproj", "Sagaway.ReservationDemo/Sagaway.ReservationDemo.ReservationManager/"] diff --git a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.ReservationManager/Sagaway.ReservationDemo.ReservationManager.csproj b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.ReservationManager/Sagaway.ReservationDemo.ReservationManager.csproj index 18f6f00..1eadef6 100644 --- a/Sagaway.ReservationDemo/Sagaway.ReservationDemo.ReservationManager/Sagaway.ReservationDemo.ReservationManager.csproj +++ b/Sagaway.ReservationDemo/Sagaway.ReservationDemo.ReservationManager/Sagaway.ReservationDemo.ReservationManager.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 enable enable true @@ -12,19 +12,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/Sagaway.Tests/Sagaway.Tests.csproj b/Sagaway.Tests/Sagaway.Tests.csproj index 50f5aa5..6a00e6b 100644 --- a/Sagaway.Tests/Sagaway.Tests.csproj +++ b/Sagaway.Tests/Sagaway.Tests.csproj @@ -1,7 +1,7 @@ - + - net8.0 + net9.0 enable enable @@ -10,16 +10,15 @@ - - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all