Enhance logging configuration, update HttpFeature dependencies, and add new identity persistence options
This commit is contained in:
parent
e7eaa4b1fe
commit
ad90e81af9
|
|
@ -7,6 +7,7 @@
|
|||
<PackageReference Include="Nuplane.Sources.Directory" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\modules\Elsa.Http\Elsa.Http.csproj" />
|
||||
<ProjectReference Include="..\..\modules\Elsa.Identity\Elsa.Identity.csproj" />
|
||||
<ProjectReference Include="..\..\modules\Elsa.Persistence.EFCore.Sqlite\Elsa.Persistence.EFCore.Sqlite.csproj" />
|
||||
<ProjectReference Include="..\..\modules\Elsa.Resilience\Elsa.Resilience.csproj" />
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
"Microsoft.Hosting": "Information",
|
||||
"Elsa.SamplePackage": "Information",
|
||||
"CShells": "Information",
|
||||
"CShells.AspNetCore.Notifications.ShellEndpointRegistrationHandler": "Warning",
|
||||
"Nuplane": "Information"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
"Name": "Default",
|
||||
"Configuration": {
|
||||
"WebRouting": {
|
||||
"Path": "foo"
|
||||
"Path": ""
|
||||
}
|
||||
},
|
||||
"Features": {
|
||||
|
|
@ -25,6 +25,8 @@
|
|||
"SigningKey": "CHANGE_ME_TO_A_SECURE_RANDOM_KEY"
|
||||
},
|
||||
"DefaultAdminUser": {
|
||||
"AdminUserName": "admin",
|
||||
"AdminPassword": "",
|
||||
"AdminRoleName": "admin",
|
||||
"AdminRolePermissions": [
|
||||
"*"
|
||||
|
|
@ -36,6 +38,14 @@
|
|||
"SqliteWorkflowPersistence": {
|
||||
"ConnectionString": "Data Source=elsa_workflows.db;Cache=Shared"
|
||||
},
|
||||
"SqliteIdentityPersistence": {
|
||||
"ConnectionString": "Data Source=elsa_identity.db;Cache=Shared"
|
||||
},
|
||||
"Http": {
|
||||
"HttpActivityOptions": {
|
||||
"BaseUrl": "https://localhost:5001"
|
||||
}
|
||||
},
|
||||
"SampleEndpoint": {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ using Elsa.Http.ContentWriters;
|
|||
using Elsa.Http.DownloadableContentHandlers;
|
||||
using Elsa.Http.FileCaches;
|
||||
using Elsa.Http.Handlers;
|
||||
using Elsa.Http.Middleware;
|
||||
using Elsa.Http.Options;
|
||||
using Elsa.Http.Parsers;
|
||||
using Elsa.Http.PortResolvers;
|
||||
|
|
@ -24,7 +23,6 @@ using FluentStorage;
|
|||
using JetBrains.Annotations;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Routing;
|
||||
using Microsoft.AspNetCore.StaticFiles;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using CShells.Features;
|
||||
using Elsa.Expressions.JavaScript.ShellFeatures;
|
||||
using Elsa.Http.Scripting.JavaScript;
|
||||
using JetBrains.Annotations;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
|
@ -10,7 +11,8 @@ namespace Elsa.Http.ShellFeatures;
|
|||
/// </summary>
|
||||
[ShellFeature(
|
||||
DisplayName = "HTTP JavaScript",
|
||||
Description = "Provides JavaScript integration for HTTP activities")]
|
||||
Description = "Provides JavaScript integration for HTTP activities",
|
||||
DependsOn = [typeof(JavaScriptFeature)])]
|
||||
[UsedImplicitly]
|
||||
public class HttpJavaScriptFeature : IShellFeature
|
||||
{
|
||||
|
|
|
|||
|
|
@ -98,6 +98,8 @@ public class WorkflowManagementFeature : IShellFeature
|
|||
.AddScoped<IWorkflowReferenceGraphBuilder, WorkflowReferenceGraphBuilder>()
|
||||
.AddScoped<IWorkflowDefinitionPublisher, WorkflowDefinitionPublisher>()
|
||||
.AddScoped<IWorkflowDefinitionImporter, WorkflowDefinitionImporter>()
|
||||
.AddScoped<IWorkflowDefinitionExporter, WorkflowDefinitionExporter>()
|
||||
.AddSingleton<IFileNameSanitizer, DefaultFileNameSanitizer>()
|
||||
.AddScoped<IWorkflowDefinitionManager, WorkflowDefinitionManager>()
|
||||
.AddScoped<IWorkflowInstanceManager, WorkflowInstanceManager>()
|
||||
.AddScoped<IWorkflowReferenceUpdater, WorkflowReferenceUpdater>()
|
||||
|
|
|
|||
Loading…
Reference in a new issue