Skip to content

Commit 470e447

Browse files
authored
Merge pull request #63 from erwinkramer/main
New `SingleService` sample, `EventDemo` & `RewindDemo` and some general fixes and improvements
2 parents dcbd184 + 4e4b5be commit 470e447

33 files changed

Lines changed: 356 additions & 249 deletions

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
tags:
77
- '*'
88
pull_request:
9+
workflow_dispatch:
910
env:
1011
# Stop wasting time caching packages
1112
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"ms-dotnettools.csdevkit"
4+
]
5+
}

.vscode/launch.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "AppHost sample",
6+
"type": "dotnet",
7+
"request": "launch",
8+
"projectPath": "${workspaceFolder}/samples/AppHost/AppHost.csproj"
9+
},
10+
{
11+
"name": "SingleService sample",
12+
"type": "dotnet",
13+
"request": "launch",
14+
"projectPath": "${workspaceFolder}/samples/SingleService/SingleService.csproj"
15+
}
16+
]
17+
}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"dotnet.defaultSolution": "LLL.DurableTask.sln"
2+
"dotnet.defaultSolution": "LLL.DurableTask.slnx"
33
}

LLL.DurableTask.sln

Lines changed: 0 additions & 208 deletions
This file was deleted.

LLL.DurableTask.slnx

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<Solution>
2+
<Folder Name="/benchmark/">
3+
<Project Path="benchmark/StoragesBenchmark/StoragesBenchmark.csproj" />
4+
</Folder>
5+
<Folder Name="/samples/">
6+
<Project Path="samples/Api/Api.csproj" />
7+
<Project Path="samples/AppHost/AppHost.csproj" />
8+
<Project Path="samples/BpmnWorker/BpmnWorker.csproj" />
9+
<Project Path="samples/CarWorker/CarWorker.csproj" />
10+
<Project Path="samples/FlightWorker/FlightWorker.csproj" />
11+
<Project Path="samples/HotelWorker/HotelWorker.csproj" />
12+
<Project Path="samples/OrchestrationWorker/OrchestrationWorker.csproj" />
13+
<Project Path="samples/SingleService/SingleService.csproj" />
14+
<Project Path="samples/Server/Server.csproj" />
15+
<Project Path="samples/Ui/Ui.csproj" />
16+
</Folder>
17+
<Folder Name="/Solution Items/">
18+
<File Path=".editorconfig" />
19+
</Folder>
20+
<Folder Name="/src/">
21+
<Project Path="src/LLL.DurableTask.Api/LLL.DurableTask.Api.csproj" />
22+
<Project Path="src/LLL.DurableTask.AzureStorage/LLL.DurableTask.AzureStorage.csproj" />
23+
<Project Path="src/LLL.DurableTask.Client/LLL.DurableTask.Client.csproj" />
24+
<Project Path="src/LLL.DurableTask.Core/LLL.DurableTask.Core.csproj" />
25+
<Project Path="src/LLL.DurableTask.EFCore.InMemory/LLL.DurableTask.EFCore.InMemory.csproj" />
26+
<Project Path="src/LLL.DurableTask.EFCore.MySql/LLL.DurableTask.EFCore.MySql.csproj" />
27+
<Project Path="src/LLL.DurableTask.EFCore.PostgreSQL/LLL.DurableTask.EFCore.PostgreSQL.csproj" />
28+
<Project Path="src/LLL.DurableTask.EFCore.SqlServer/LLL.DurableTask.EFCore.SqlServer.csproj" />
29+
<Project Path="src/LLL.DurableTask.EFCore/LLL.DurableTask.EFCore.csproj" />
30+
<Project Path="src/LLL.DurableTask.Server.Grpc.Client/LLL.DurableTask.Server.Grpc.Client.csproj" />
31+
<Project Path="src/LLL.DurableTask.Server.Grpc/LLL.DurableTask.Server.Grpc.csproj" />
32+
<Project Path="src/LLL.DurableTask.Server/LLL.DurableTask.Server.csproj" />
33+
<Project Path="src/LLL.DurableTask.Ui/LLL.DurableTask.Ui.csproj" />
34+
<Project Path="src/LLL.DurableTask.Worker/LLL.DurableTask.Worker.csproj" />
35+
</Folder>
36+
<Folder Name="/test/">
37+
<Project Path="test/LLL.DurableTask.Tests/LLL.DurableTask.Tests.csproj" />
38+
</Folder>
39+
</Solution>

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
[Durable Task Framework](https://github.com/Azure/durabletask) is an open source framework that provides a foundation for workflow as code in .NET platform.
66

77
This project aims to extend it with:
8-
- .NET Dependency Injection and Hosting integration
8+
9+
- .NET Dependency Injection and Hosting integration
910
- Administrative and monitoring UI
1011
- EFCore storage with support for InMemory, MySQL, PostgreSQL, SQL Server and some [extra features](./src/LLL.DurableTask.EFCore/README.md#features).
1112
- Storage delegation via GRPC protocol
@@ -18,7 +19,7 @@ Builds on top of Durable Task Framework to deliver a serverless workflow as code
1819

1920
#### [Cadence](https://cadenceworkflow.io/) and [Temporal](https://temporal.io/)
2021

21-
Cadence is a scalable and reliable workflow as code platform built an used by Uber. It is heavily inspired on Durable Functions, but also includes some addicional features like [tasks lists](https://cadenceworkflow.io/docs/concepts/task-lists/) and a [monitoring UI](https://github.com/uber/cadence-web). Cadence features are used as inspiration for this project.
22+
Cadence is a scalable and reliable workflow as code platform built an used by Uber. It is heavily inspired on Durable Functions, but also includes some additional features like [tasks lists](https://cadenceworkflow.io/docs/concepts/task-lists/) and a [monitoring UI](https://github.com/uber/cadence-web). Cadence features are used as inspiration for this project.
2223

2324
Temporal is a fork of Cadence backed by a company with the same name and founded by the original creators of Cadence. It is under active development and might end up officially supporting .NET clients.
2425

@@ -103,4 +104,4 @@ Our components were designed to be independent and highly composable. See below
103104

104105
## Sample
105106

106-
See [samples](samples) for an implementation of the classic book Flight, Car, Hotel with compensation problem using all componentes from above.
107+
See [samples](samples) for an implementation of the classic book Flight, Car, Hotel with compensation problem using all components from above, and more.

readme/architecture.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11

2-
## Compose components to build your own architecture
2+
# Compose components to build your own architecture
33

4-
### Microservices with server
4+
## Microservices with server
55

6-
![Diagram](readme/diagrams/architecture_1.png)
6+
![Diagram](diagrams/architecture_1.png)
77

8-
### Microservices with direct storage connection
8+
## Microservices with direct storage connection
99

10-
![Diagram](readme/diagrams/architecture_2.png)
10+
![Diagram](diagrams/architecture_2.png)
1111

12-
### Single service
12+
## Single service
1313

14-
![Diagram](readme/diagrams/architecture_3.png)
14+
![Diagram](diagrams/architecture_3.png)
1515

16-
### UI for Durable Functions
16+
## UI for Durable Functions
1717

18-
![Diagram](readme/diagrams/architecture_4.png)
18+
![Diagram](diagrams/architecture_4.png)

readme/diagrams/architecture_1.png

-30.8 KB
Loading

readme/diagrams/architecture_2.png

-30.8 KB
Loading

0 commit comments

Comments
 (0)