Update Onboarding sample project

This commit is contained in:
Sipke Schoorstra 2023-10-15 11:37:21 +02:00
parent 369e4e52c8
commit 3ee537cc44
4 changed files with 11 additions and 1 deletions

View file

@ -8,6 +8,7 @@
<ItemGroup>
<ProjectReference Include="..\..\..\bundles\Elsa\Elsa.csproj" />
<ProjectReference Include="..\..\..\modules\Elsa.EntityFrameworkCore.Sqlite\Elsa.EntityFrameworkCore.Sqlite.csproj" />
<ProjectReference Include="..\..\..\modules\Elsa.EntityFrameworkCore\Elsa.EntityFrameworkCore.csproj" />
<ProjectReference Include="..\..\..\modules\Elsa.Identity\Elsa.Identity.csproj" />
<ProjectReference Include="..\..\..\modules\Elsa.Webhooks\Elsa.Webhooks.csproj" />

View file

@ -27,6 +27,8 @@ builder.Services.AddElsa(elsa =>
options.SigningKey = "secret-token-signing-key";
options.AccessTokenLifetime = TimeSpan.FromDays(1);
};
identity.UseAdminUserProvider();
});
// Expose API endpoints.

View file

@ -0,0 +1,7 @@
# Onboarding Sample - Workflow Server
This application represents the workflow server for the onboarding sample. It's a simple ASP.NET Core application that hosts the workflow server and the onboarding workflow.
## Starting the Onboarding Workflow
To start an onboarding workflow, invoke any HTTP reuest found in the [run-onboarding-workflow.http](./run-onboarding-workflow.http) file. This will start a new onboarding workflow and return the workflow ID.

View file

@ -12,7 +12,7 @@
"EventTypes": [
"RunTask"
],
"Url": "https://localhost:5002/api/webhooks/run-task"
"Url": "https://localhost:6001/api/webhooks/run-task"
}
]
}