Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated solution packages to latest version #424

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.8" />
<PackageReference Include="ServerlessWorkflow.Sdk.IO" Version="1.0.0-alpha2.16" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.10" />
<PackageReference Include="ServerlessWorkflow.Sdk.IO" Version="1.0.0-alpha3" />
<PackageReference Include="System.Reactive" Version="6.0.1" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions src/api/Synapse.Api.Http/Synapse.Api.Http.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Neuroglia.Mediation.AspNetCore" Version="4.15.6" />
<PackageReference Include="Neuroglia.Security.AspNetCore" Version="4.15.6" />
<PackageReference Include="Neuroglia.Mediation.AspNetCore" Version="4.15.8" />
<PackageReference Include="Neuroglia.Security.AspNetCore" Version="4.15.8" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.8.1" />
</ItemGroup>

Expand Down
6 changes: 3 additions & 3 deletions src/api/Synapse.Api.Server/Synapse.Api.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="8.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="8.0.10" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.8.1" />
</ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/cli/Synapse.Cli/Synapse.Cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2" />
<PackageReference Include="moment.net" Version="1.3.4" />
<PackageReference Include="NetEscapades.Configuration.Yaml" Version="3.1.0" />
<PackageReference Include="ServerlessWorkflow.Sdk.IO" Version="1.0.0-alpha2.16" />
<PackageReference Include="ServerlessWorkflow.Sdk.IO" Version="1.0.0-alpha3" />
<PackageReference Include="Spectre.Console" Version="0.49.1" />
<PackageReference Include="System.CommandLine.NamingConventionBinder" Version="2.0.0-beta4.22272.1" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@

<ItemGroup>
<PackageReference Include="IdentityModel" Version="7.0.0" />
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.1.1" />
<PackageReference Include="Neuroglia.Data.Expressions.Abstractions" Version="4.15.6" />
<PackageReference Include="Neuroglia.Data.Infrastructure.Redis" Version="4.15.6" />
<PackageReference Include="Neuroglia.Data.Infrastructure.ResourceOriented.Redis" Version="4.15.6" />
<PackageReference Include="Neuroglia.Mediation" Version="4.15.6" />
<PackageReference Include="Neuroglia.Plugins" Version="4.15.6" />
<PackageReference Include="ServerlessWorkflow.Sdk.IO" Version="1.0.0-alpha2.16" />
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.1.2" />
<PackageReference Include="Neuroglia.Data.Expressions.Abstractions" Version="4.15.8" />
<PackageReference Include="Neuroglia.Data.Infrastructure.Redis" Version="4.15.8" />
<PackageReference Include="Neuroglia.Data.Infrastructure.ResourceOriented.Redis" Version="4.15.8" />
<PackageReference Include="Neuroglia.Mediation" Version="4.15.8" />
<PackageReference Include="Neuroglia.Plugins" Version="4.15.8" />
<PackageReference Include="ServerlessWorkflow.Sdk.IO" Version="1.0.0-alpha3" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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!)
};
}

Expand Down
6 changes: 3 additions & 3 deletions src/core/Synapse.Core/Synapse.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
<ItemGroup>
<PackageReference Include="Docker.DotNet" Version="3.125.15" />
<PackageReference Include="KubernetesClient" Version="15.0.1" />
<PackageReference Include="Neuroglia.Data.Infrastructure.ResourceOriented" Version="4.15.6" />
<PackageReference Include="Neuroglia.Eventing.CloudEvents" Version="4.15.6" />
<PackageReference Include="Neuroglia.Data.Infrastructure.ResourceOriented" Version="4.15.8" />
<PackageReference Include="Neuroglia.Eventing.CloudEvents" Version="4.15.8" />
<PackageReference Include="Semver" Version="2.3.0" />
<PackageReference Include="ServerlessWorkflow.Sdk" Version="1.0.0-alpha2.16" />
<PackageReference Include="ServerlessWorkflow.Sdk" Version="1.0.0-alpha3" />
</ItemGroup>

</Project>
16 changes: 8 additions & 8 deletions src/correlator/Synapse.Correlator/Synapse.Correlator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration.KeyPerFile" Version="8.0.8" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.KeyPerFile" Version="8.0.10" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageReference Include="Neuroglia.Data.Expressions.JavaScript" Version="4.15.6" />
<PackageReference Include="Neuroglia.Data.Expressions.JQ" Version="4.15.6" />
<PackageReference Include="Neuroglia.Eventing.CloudEvents.AspNetCore" Version="4.15.6" />
<PackageReference Include="Neuroglia.Mediation.AspNetCore" Version="4.15.6" />
<PackageReference Include="Neuroglia.Eventing.CloudEvents.Infrastructure" Version="4.15.6" />
<PackageReference Include="Neuroglia.Security.AspNetCore" Version="4.15.6" />
<PackageReference Include="Neuroglia.Data.Expressions.JavaScript" Version="4.15.8" />
<PackageReference Include="Neuroglia.Data.Expressions.JQ" Version="4.15.8" />
<PackageReference Include="Neuroglia.Eventing.CloudEvents.AspNetCore" Version="4.15.8" />
<PackageReference Include="Neuroglia.Mediation.AspNetCore" Version="4.15.8" />
<PackageReference Include="Neuroglia.Eventing.CloudEvents.Infrastructure" Version="4.15.8" />
<PackageReference Include="Neuroglia.Security.AspNetCore" Version="4.15.8" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.8.1" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.8.1" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2" />
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.2" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace Synapse.Dashboard.Pages.Workflows.Create;
/// <param name="navigationManager">The service used to provides an abstraction for querying and managing URI navigation</param>
/// <param name="specificationSchemaManager">The service used to download the specification schemas</param>
/// <param name="monacoInterop">The service to build a bridge with the monaco interop extension</param>
/// <param name="workflowDefinitionValidator">The service to validate workflow defintions</param>
/// <param name="workflowDefinitionValidator">The service to validate workflow definitions</param>
public class CreateWorkflowViewStore(
ILogger<CreateWorkflowViewStore> logger,
ISynapseApiClient api,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<div class="d-flex flex-column h-100 mh-100">
<div class="d-flex justify-content-between mb-2">
<div>
<Button Outline="true" Color="ButtonColor.Primary" Size="ButtonSize.Small" class="ms-2" @onclick="OnCreateWorkflowVersion" TooltipTitle="Create new from">
<Button Outline="true" Color="ButtonColor.Primary" Size="ButtonSize.Small" class="ms-2" @onclick="OnCreateWorkflowVersion" TooltipTitle="Update definition">
<Icon Name="IconName.FileEarmarkPlus" />
</Button>
<Button Outline="true" Color="ButtonColor.Primary" Size="ButtonSize.Small" @onclick="Store.OnCopyToClipboard" TooltipTitle="Copy to clipboard">
Expand Down
8 changes: 4 additions & 4 deletions src/dashboard/Synapse.Dashboard/Synapse.Dashboard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
<PackageReference Include="Blazor.Bootstrap" Version="3.0.0" />
<PackageReference Include="BlazorMonaco" Version="3.2.0" />
<PackageReference Include="IdentityModel" Version="7.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.8" PrivateAssets="all" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="8.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.10" PrivateAssets="all" />
<PackageReference Include="moment.net" Version="1.3.4" />
<PackageReference Include="Neuroglia.Blazor.Dagre" Version="4.15.6" />
<PackageReference Include="Neuroglia.Blazor.Dagre" Version="4.15.8" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/operator/Synapse.Operator/Synapse.Operator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@

<ItemGroup>
<PackageReference Include="Cronos" Version="0.8.4" />
<PackageReference Include="Microsoft.Extensions.Configuration.KeyPerFile" Version="8.0.8" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.KeyPerFile" Version="8.0.10" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,14 @@ protected virtual async Task BuildParametersAsync(CancellationToken cancellation
if (this.OpenApi == null || this.Operation == null) throw new InvalidOperationException("The executor must be initialized before execution");
if (this.Task.Input == null) this.Parameters = new Dictionary<string, object>();
if (this.OpenApi.Parameters == null) return;
this.Parameters = await this.Task.Workflow.Expressions.EvaluateAsync<IDictionary<string, object>>(this.OpenApi.Parameters, this.Task.Input!, this.GetExpressionEvaluationArguments(), cancellationToken).ConfigureAwait(false);
var arguments = this.GetExpressionEvaluationArguments();
if (this.OpenApi.Authentication != null)
{
var authorization = await AuthorizationInfo.CreateAsync(this.Task.Workflow.Definition, this.OpenApi.Authentication, this.ServiceProvider, cancellationToken).ConfigureAwait(false);
arguments ??= new Dictionary<string, object>();
arguments.Add("authorization", authorization);
}
this.Parameters = await this.Task.Workflow.Expressions.EvaluateAsync<IDictionary<string, object>>(this.OpenApi.Parameters, this.Task.Input!, arguments, cancellationToken).ConfigureAwait(false);
}

/// <inheritdoc/>
Expand Down
16 changes: 8 additions & 8 deletions src/runner/Synapse.Runner/Synapse.Runner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@
<PackageReference Include="DynamicGrpc" Version="1.4.0" />
<PackageReference Include="Google.Protobuf" Version="3.28.2" />
<PackageReference Include="Grpc.Core" Version="2.46.6" />
<PackageReference Include="Microsoft.Extensions.Configuration.KeyPerFile" Version="8.0.8" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.KeyPerFile" Version="8.0.10" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.2" />
<PackageReference Include="Microsoft.OpenApi.Readers" Version="1.6.22" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageReference Include="MimeKit" Version="4.8.0" />
<PackageReference Include="Neuroglia.Data.Expressions.JavaScript" Version="4.15.6" />
<PackageReference Include="Neuroglia.Data.Expressions.JQ" Version="4.15.6" />
<PackageReference Include="Neuroglia.Eventing.CloudEvents.Infrastructure" Version="4.15.6" />
<PackageReference Include="Neuroglia.Scripting.NodeJS" Version="4.15.6" />
<PackageReference Include="Neuroglia.Scripting.Python" Version="4.15.6" />
<PackageReference Include="Neuroglia.Data.Expressions.JavaScript" Version="4.15.8" />
<PackageReference Include="Neuroglia.Data.Expressions.JQ" Version="4.15.8" />
<PackageReference Include="Neuroglia.Eventing.CloudEvents.Infrastructure" Version="4.15.8" />
<PackageReference Include="Neuroglia.Scripting.NodeJS" Version="4.15.8" />
<PackageReference Include="Neuroglia.Scripting.Python" Version="4.15.8" />
<PackageReference Include="protobuf-net.Grpc.ClientFactory" Version="1.1.1" />
<PackageReference Include="System.Reactive" Version="6.0.1" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.10" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="ServerlessWorkflow.Sdk.Builders" Version="1.0.0-alpha2.16" />
<PackageReference Include="ServerlessWorkflow.Sdk.Builders" Version="1.0.0-alpha3" />
<PackageReference Include="Testcontainers" Version="3.10.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
Expand Down
14 changes: 7 additions & 7 deletions tests/Synapse.UnitTests/Synapse.UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="Neuroglia.Data.Expressions.JQ" Version="4.15.6" />
<PackageReference Include="Neuroglia.Data.Infrastructure.Memory" Version="4.15.6" />
<PackageReference Include="Neuroglia.Data.Infrastructure.ResourceOriented.Redis" Version="4.15.6" />
<PackageReference Include="ServerlessWorkflow.Sdk.Builders" Version="1.0.0-alpha2.16" />
<PackageReference Include="ServerlessWorkflow.Sdk.IO" Version="1.0.0-alpha2.16" />
<PackageReference Include="Neuroglia.Data.Expressions.JQ" Version="4.15.8" />
<PackageReference Include="Neuroglia.Data.Infrastructure.Memory" Version="4.15.8" />
<PackageReference Include="Neuroglia.Data.Infrastructure.ResourceOriented.Redis" Version="4.15.8" />
<PackageReference Include="ServerlessWorkflow.Sdk.Builders" Version="1.0.0-alpha3" />
<PackageReference Include="ServerlessWorkflow.Sdk.IO" Version="1.0.0-alpha3" />
<PackageReference Include="Testcontainers" Version="3.10.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="Xunit.Gherkin.Quick" Version="4.5.0" />
Expand Down
Loading