From 97f9757e4bf8beb9b751347982298603b5c0873c Mon Sep 17 00:00:00 2001 From: Charles d'Avernas Date: Mon, 14 Oct 2024 10:41:27 +0200 Subject: [PATCH] fix(Solution): Updated solution packages to latest version fix(Solution): Multiple fixes and improvements Signed-off-by: Charles d'Avernas --- .../Synapse.Api.Client.Http.csproj | 4 ++-- src/api/Synapse.Api.Http/Synapse.Api.Http.csproj | 4 ++-- .../Synapse.Api.Server/Synapse.Api.Server.csproj | 6 +++--- src/cli/Synapse.Cli/Synapse.Cli.csproj | 6 +++--- .../Synapse.Core.Infrastructure.csproj | 14 +++++++------- .../Extensions/TaskDefinitionMapExtensions.cs | 4 ++-- src/core/Synapse.Core/Synapse.Core.csproj | 6 +++--- .../Synapse.Correlator/Synapse.Correlator.csproj | 16 ++++++++-------- .../Synapse.Dashboard.StateManagement.csproj | 4 ++-- .../Pages/Workflows/Create/Store.cs | 2 +- .../Pages/Workflows/Details/View.razor | 2 +- .../Synapse.Dashboard/Synapse.Dashboard.csproj | 8 ++++---- .../Synapse.Operator/Synapse.Operator.csproj | 4 ++-- .../Services/Executors/OpenApiCallExecutor.cs | 9 ++++++++- src/runner/Synapse.Runner/Synapse.Runner.csproj | 16 ++++++++-------- .../Synapse.IntegrationTests.csproj | 4 ++-- tests/Synapse.UnitTests/Synapse.UnitTests.csproj | 14 +++++++------- 17 files changed, 65 insertions(+), 58 deletions(-) diff --git a/src/api/Synapse.Api.Client.Http/Synapse.Api.Client.Http.csproj b/src/api/Synapse.Api.Client.Http/Synapse.Api.Client.Http.csproj index 3035cba4f..f5b5877b9 100644 --- a/src/api/Synapse.Api.Client.Http/Synapse.Api.Client.Http.csproj +++ b/src/api/Synapse.Api.Client.Http/Synapse.Api.Client.Http.csproj @@ -42,8 +42,8 @@ - - + + diff --git a/src/api/Synapse.Api.Http/Synapse.Api.Http.csproj b/src/api/Synapse.Api.Http/Synapse.Api.Http.csproj index 538c9c892..7baffedbb 100644 --- a/src/api/Synapse.Api.Http/Synapse.Api.Http.csproj +++ b/src/api/Synapse.Api.Http/Synapse.Api.Http.csproj @@ -43,8 +43,8 @@ - - + + diff --git a/src/api/Synapse.Api.Server/Synapse.Api.Server.csproj b/src/api/Synapse.Api.Server/Synapse.Api.Server.csproj index 95b1a2e97..ea2579a43 100644 --- a/src/api/Synapse.Api.Server/Synapse.Api.Server.csproj +++ b/src/api/Synapse.Api.Server/Synapse.Api.Server.csproj @@ -30,9 +30,9 @@ - - - + + + diff --git a/src/cli/Synapse.Cli/Synapse.Cli.csproj b/src/cli/Synapse.Cli/Synapse.Cli.csproj index 09d54c7c6..f419bfb8f 100644 --- a/src/cli/Synapse.Cli/Synapse.Cli.csproj +++ b/src/cli/Synapse.Cli/Synapse.Cli.csproj @@ -29,11 +29,11 @@ - - + + - + diff --git a/src/core/Synapse.Core.Infrastructure/Synapse.Core.Infrastructure.csproj b/src/core/Synapse.Core.Infrastructure/Synapse.Core.Infrastructure.csproj index e25ae764f..489e68b6b 100644 --- a/src/core/Synapse.Core.Infrastructure/Synapse.Core.Infrastructure.csproj +++ b/src/core/Synapse.Core.Infrastructure/Synapse.Core.Infrastructure.csproj @@ -44,13 +44,13 @@ - - - - - - - + + + + + + + diff --git a/src/core/Synapse.Core/Extensions/TaskDefinitionMapExtensions.cs b/src/core/Synapse.Core/Extensions/TaskDefinitionMapExtensions.cs index caa689217..423484b9a 100644 --- a/src/core/Synapse.Core/Extensions/TaskDefinitionMapExtensions.cs +++ b/src/core/Synapse.Core/Extensions/TaskDefinitionMapExtensions.cs @@ -47,11 +47,11 @@ public static class TaskDefinitionMapExtensions { ArgumentNullException.ThrowIfNull(tasks); ArgumentNullException.ThrowIfNull(task); - return task.Next switch + return (task.Status == TaskInstanceStatus.Skipped ? FlowDirective.Continue : task.Next) switch { FlowDirective.Continue or null => tasks.GetTaskAfter(task.Name!), FlowDirective.End or FlowDirective.Exit => null, - _ => tasks.GetEntry(task.Next) + _ => tasks.GetEntry(task.Next!) }; } diff --git a/src/core/Synapse.Core/Synapse.Core.csproj b/src/core/Synapse.Core/Synapse.Core.csproj index c3fb67ead..d7a00042c 100644 --- a/src/core/Synapse.Core/Synapse.Core.csproj +++ b/src/core/Synapse.Core/Synapse.Core.csproj @@ -64,10 +64,10 @@ - - + + - + diff --git a/src/correlator/Synapse.Correlator/Synapse.Correlator.csproj b/src/correlator/Synapse.Correlator/Synapse.Correlator.csproj index 83a8d4653..70b7478b7 100644 --- a/src/correlator/Synapse.Correlator/Synapse.Correlator.csproj +++ b/src/correlator/Synapse.Correlator/Synapse.Correlator.csproj @@ -32,15 +32,15 @@ - - + + - - - - - - + + + + + + diff --git a/src/dashboard/Synapse.Dashboard.StateManagement/Synapse.Dashboard.StateManagement.csproj b/src/dashboard/Synapse.Dashboard.StateManagement/Synapse.Dashboard.StateManagement.csproj index 807d4c2a9..b25eb758f 100644 --- a/src/dashboard/Synapse.Dashboard.StateManagement/Synapse.Dashboard.StateManagement.csproj +++ b/src/dashboard/Synapse.Dashboard.StateManagement/Synapse.Dashboard.StateManagement.csproj @@ -9,8 +9,8 @@ - - + + diff --git a/src/dashboard/Synapse.Dashboard/Pages/Workflows/Create/Store.cs b/src/dashboard/Synapse.Dashboard/Pages/Workflows/Create/Store.cs index 0b99a09ca..9ce8fc9ea 100644 --- a/src/dashboard/Synapse.Dashboard/Pages/Workflows/Create/Store.cs +++ b/src/dashboard/Synapse.Dashboard/Pages/Workflows/Create/Store.cs @@ -35,7 +35,7 @@ namespace Synapse.Dashboard.Pages.Workflows.Create; /// The service used to provides an abstraction for querying and managing URI navigation /// The service used to download the specification schemas /// The service to build a bridge with the monaco interop extension -/// The service to validate workflow defintions +/// The service to validate workflow definitions public class CreateWorkflowViewStore( ILogger logger, ISynapseApiClient api, diff --git a/src/dashboard/Synapse.Dashboard/Pages/Workflows/Details/View.razor b/src/dashboard/Synapse.Dashboard/Pages/Workflows/Details/View.razor index 3b9036922..bcdf324b5 100644 --- a/src/dashboard/Synapse.Dashboard/Pages/Workflows/Details/View.razor +++ b/src/dashboard/Synapse.Dashboard/Pages/Workflows/Details/View.razor @@ -77,7 +77,7 @@
-