Commit graph

40 commits

Author SHA1 Message Date
Sipke Schoorstra 45d194125d
Remove WorkflowStateStore (#4374)
* Remove WorkflowStateStore and use WorkflowInstanceStore instead

* Delete RunningWorkflows actor

* Cleanup
2023-08-30 15:42:16 +02:00
Sipke Schoorstra d473f2354b Add ActivityName to execution log, remove FaultedAt instance timestamp 2023-07-21 17:52:52 +02:00
Sipke Schoorstra 72f4461ca3 Implement cascading deletion 2023-07-20 00:05:43 +02:00
Sipke Schoorstra 4d9ef959d4 Add paging support for skip + take format 2023-07-10 16:10:00 +02:00
Sipke Schoorstra 760b925e2a Add ability to sort on multiple fields 2023-07-09 12:35:48 +02:00
Sipke Schoorstra 7e0d7d825e Implement workflow instances filtering by multiple statuses 2023-07-07 20:47:04 +02:00
Sipke Schoorstra 6c1cca372c
Dapper persistence provider (#4109)
* Implement Dapper stores
2023-06-06 20:49:14 +02:00
Sipke Schoorstra 47ed8e3571
Cleanup IActivity interface (#4010)
* Update activity names and descriptions

* Rename JS functions

* Make endpoint class internal

* Pre-create workflow instance ID when dispatching workflows
2023-05-08 22:38:59 +02:00
Sipke Schoorstra 307962c0f5 Revert "Simplify IActivity (#3991)"
This reverts commit ae9f4104c6.
2023-05-03 10:24:36 +02:00
Sipke Schoorstra ae9f4104c6
Simplify IActivity (#3991)
* Cleanup IActivity interface and update activity ctors

* Increase XML comment coverage
2023-05-02 20:05:36 +02:00
Sipke Schoorstra c8d87cd763
Simplify Proto.Actor bookmarks and triggers (#3917)
* Refactor HTTP route table population

* Update workflow definition EF store to use abstract IWorkflowInstanceStore

This decoupling is necessary, because the application might not be using EF Core, but e.g. Elasticsearch

* Move workflow state persistence to the default workflow runtime feature

* Update JS handler to provide access to variables during trigger indexing

* Configure Proto.Actor runtime with different workflow pipeline

* Add sample using Proto.Actor runtime

* Replace BookmarkGrain with DB based persistence
2023-04-17 15:23:05 +02:00
Sipke Schoorstra 7a09944732
Refactor scheduling and background activity execution (#3884)
* Refactor background activity execution

* Refactor scheduler

* Remove Jobs module

* Add XML comments
2023-04-09 23:35:32 +02:00
Sipke Schoorstra 1ac64b8197
Store & display evaluated activity state in workflow instance viewer (#3776)
* Implement activity state persistence

* Add sort API

* Implement activity state view

* Update EF Core migrations
2023-03-07 21:40:53 +01:00
Sipke Schoorstra 1a713b4619
Rename "services" to "contracts" and "implementations" to "services" (#3758) 2023-03-03 22:47:23 +01:00
Sipke Schoorstra 00bd3228f6 Restructure contracts vs services namespace 2023-03-03 14:48:05 +01:00
Sipke Schoorstra 431db1c353
Refactor store APIs (#3740)
* Add array support for input/output arguments

* Add alias support for nullable types

* Refactor workflow definition store API

* Fix array and ui hint setting of input/output definition

* Refactor workflow instance store API

* Add XML comments

* Refactor trigger and bookmark store API
2023-02-27 14:14:50 +01:00
Sipke Schoorstra 6281299b6a
Update NuGet package references (#3734)
* Update package references

* Accommodate FastEndpoint API changes
2023-02-23 14:49:46 +01:00
gurkanguran 407bfa6913
Use workflow definition as activity (#3654)
* Implemented usage of workflow definitions as activities

* Updated designer

* Removed activity definitions module

* Allow user to mark workflow to be used as activity

* Refactor

* Refactor

* Cleanup csproj

* Cleanup WorkflowDefinitionActivity

* Pascalize typename

* Fix JS intellisense initial load issue

* Add XML comments

* Add Jobs dependency

* Hide Composite root port from designer

* Move finding workflow activities logic to lower level

* Generate unique identities across hierarchy

* Refactor

* Revert "Generate unique identities across hierarchy"

This reverts commit 74f5e7830309ee76af6ab3a000a5e1ec41f1e90c.

* Implement unique node IDs

* Introduce new VersionOptions option

* Remove unused namespaces

---------

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-01-28 00:36:03 +01:00
gurkanguran d94cbcd4b1
Removed EFCore.BulkExtensions and used EF7 bulk operations (#3630)
* Removed EFCore.BulkExtensions and used EF7 bulk operations

* Refactor

* Use bookmarkId instead of hash as unique field

* Reuse GetProperty extension

Co-authored-by: Gürkan Güran <grkngrn@gmail.com>
Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
2023-01-16 19:41:08 +01:00
Sipke Schoorstra 8ec2aa5b36 Remove elastic hosted service for alias/rollover 2023-01-13 19:53:37 +01:00
Sipke Schoorstra 096206d392
Elastic updates (#3623)
* Incremental work

* Incremental work

* Incremental work

* Merge remote-tracking branch 'origin/v3' into v3-elasticsearch-updates

* Incremental work

* Incremental work

* Fix listing with no query

* Restore missing class

* Remove rollover hosted service and expose index configurations

* Rename hosted service
2023-01-13 19:10:20 +01:00
Gürkan Güran dad33e665a Refactor 2023-01-12 19:26:30 +01:00
Gürkan Güran b2dc0f681b Testing signing 2023-01-11 23:43:10 +01:00
Gürkan Güran 497b7ce41c Refactor 2023-01-11 12:07:08 +01:00
Gürkan Güran dc174f4d0d Refactor 2023-01-11 11:52:16 +01:00
Gürkan Güran 5b134fa757 Refactor 2023-01-11 02:05:23 +01:00
Gürkan Güran 3fd73bd2d0 Refactor 2023-01-11 01:47:49 +01:00
Gürkan Güran 7ebec21125 Update elasticsearch client from Nest to official one 2023-01-11 01:42:13 +01:00
Gürkan Güran 02ff020b6e Optional rollover strategy 2023-01-10 14:29:27 +01:00
Gürkan Güran ce2434f9fd Implemented rollover strategy 2023-01-09 16:36:58 +01:00
Gürkan Güran 00962a0b90 Point alias to writable index 2023-01-08 14:43:53 +01:00
Gürkan Güran 7ded6a1320 Refactor 2023-01-08 14:18:06 +01:00
Gürkan Güran 087b48bb00 Fixed issues 2023-01-08 13:58:30 +01:00
Gürkan Güran f995a4f35a Implemented aliases 2023-01-07 20:31:42 +01:00
Gürkan Güran 14c66f7d83 Refactor 2023-01-06 13:26:18 +01:00
Gürkan Güran eebd24a8d3 Refactor 2023-01-06 13:18:37 +01:00
Gürkan Güran fcfd187b05 Read index names from appsettings 2023-01-06 13:05:03 +01:00
Gürkan Güran 5a7231f5a2 Refactor 2023-01-06 12:49:51 +01:00
Gürkan Güran 6c3b49f350 Refactor 2023-01-06 12:08:35 +01:00
Gürkan Güran fcfd092003 Implemented Elasticsearch for workflow instance and log record persistence 2023-01-05 15:10:55 +01:00