Update Onboarding sample project
This commit is contained in:
parent
369e4e52c8
commit
3ee537cc44
|
|
@ -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" />
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ builder.Services.AddElsa(elsa =>
|
|||
options.SigningKey = "secret-token-signing-key";
|
||||
options.AccessTokenLifetime = TimeSpan.FromDays(1);
|
||||
};
|
||||
|
||||
identity.UseAdminUserProvider();
|
||||
});
|
||||
|
||||
// Expose API endpoints.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
"EventTypes": [
|
||||
"RunTask"
|
||||
],
|
||||
"Url": "https://localhost:5002/api/webhooks/run-task"
|
||||
"Url": "https://localhost:6001/api/webhooks/run-task"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue