Commit graph

79 commits

Author SHA1 Message Date
Sipke Schoorstra 660cfbfd05 Update DB context class names and create SQL Server provider 2022-11-20 19:00:03 +01:00
Sipke Schoorstra 8cc8d1bcbf
Telnyx integration (#3453)
* Incremental work on Telnyx integration

* Incremental port of Telnyx activities

* Fix polymorphic JSON serialization for webhook data

* Fix IsFirstPass logic

* Fix trigger base to prevent activity auto completion

* Temporarily disable persistent snapshotting provider for testing

* Fix namespaces

* Add method to register activities in bulk using marker type

* Fix Telnyx refit client setup

* Register all Telnyx activities by default

* Incremental work on webhook driven resumption and correlation

* Incremental work on post-bookmark signaling

* Fix bookmark resolution

* Include correlation ID with bookmark

* Fix Telnyx resumption input

* Replace bookmark persisted signal with handler

* Fix SpeakText completion

* Add flow outcomes to SpeakText activity

* Update GatherUsingSpeak and GatherUsingaudio

* Refactor "is first pass" concept

* Fix WebhookEvent activity

* Add HTTP absolute URL provider

* Formatting and small changes

* Various API enhancements
2022-11-19 22:30:43 +01:00
Sipke Schoorstra 6947f45693 Remove unused namespaces 2022-11-13 12:45:34 +01:00
Sipke Schoorstra 7dd7e14745 Remove unused namespaces 2022-11-12 22:03:05 +01:00
Sipke Schoorstra 3bed8b970b Fix package tags 2022-11-11 21:25:14 +01:00
Sipke Schoorstra a781463f7e Refactor For activity 2022-11-10 15:59:20 +01:00
Sipke Schoorstra ecf5ff77cf Remove old samples and initiate new samples 2022-11-10 14:40:37 +01:00
Sipke Schoorstra e9d4c9b6d5 Prepare projects for packaging 2022-11-03 21:40:23 +01:00
Sipke Schoorstra e4f9b7717b Initial support for activity cancellation 2022-10-30 23:44:38 +01:00
Sipke Schoorstra c6bfd1f574
Asynchronous Activities (#3386)
* Update job activities handler

Looks like somehow implicit global usings have been removed or disabled 🤔

* Implement background activity execution

* Checkbox UI improvements

* Implement Task configuration for asynchronous execution

* Make job queue hosted service process jobs in parallel

* Make job worker count configurable
2022-10-27 12:05:30 +02:00
Sipke Schoorstra b9864a25fa
Queue-based activity scheduler (#3344)
* Incremental work on queue-based activity scheduling

* Update WorkflowHost to handle resumption of non-running workflows
2022-10-12 18:44:05 +02:00
Sipke Schoorstra 9a772af3c8
Implicit fork & join (#3331)
* Initial experiment with implicit fork and join construct

* Implement flow execution counters

* Incremental work on FlowJoin

* Implement bookmark removal behavior

* Set icon for FlowJoin
2022-10-10 15:08:30 +02:00
Sipke Schoorstra 4b0af64cee
Exportable & importable workflow state + execution (#3317)
* Incremental work on externalizing workflow state execution

* Finish resumable WriteHttpResponse
2022-10-04 11:57:01 +02:00
Sipke Schoorstra 31942ae96f
Implement async workflow state exporter for DB workflow instance (#3291)
* Incremental work on in-process message consumers

* Implement asynchronous workflow state DB exporter

* Fixes
2022-09-07 17:28:36 +02:00
Sipke Schoorstra b3bae39bfe
Default Runtime & Persistence (#3287)
* Delete DefaultWorkflowInvoker.cs

* Incremental work

* Refactor runtime

* Implement workflow state store + bookmark store

* Cleanup

* Update migrations

* Move store abstractions to management and runtime projects

* Consolidate persistence providers into single package

* Generate migrations

* Regenerate migrations

* Fix DI of memory stores

* Update migrations

* Refactor definition reference due to unserializable record

* Update web server bundle to use EF core by default

* Update Bookmark.cs

Fixes System Text Json deserialization
2022-09-04 17:04:14 +02:00
Sipke Schoorstra bfefd3f237
V3 default runtime (#3285)
* Incremental work on default runtime

* Fix workflow rooting
2022-09-02 19:02:24 +02:00
Sipke Schoorstra e2ffafc736
Refactor proto actor runtime with snapshot support (#3283)
* Initial working grain

* Incremental work on actor bookmark management & resuming wokflows

* Upgrade Proto Actor package references

* Fix lifetime of actors

* Implement bookmark and resumption

* Update Program.cs

* Update bookmark event publishing

* Refactor proto actor features API

* Implement snapshotting

* Update snapshotting

* Add in-memory provider and use it by default

* Update server bundle to use proto actor sqlite persistence by default
2022-09-02 13:18:53 +02:00
Sipke Schoorstra 45e38a728f Remove unused namespaces 2022-08-29 11:37:00 +02:00
Sipke Schoorstra 58663b4b2f Update WorkflowBuilder.cs 2022-08-25 20:00:22 +02:00
Sipke Schoorstra 66b1785c7f Add convenience workflow construction methods 2022-08-25 19:56:01 +02:00
Sipke Schoorstra 8ad878d0ca Rename InvokeWorkflowResult 2022-08-25 19:55:34 +02:00
Sipke Schoorstra a983457076 Rename builder service 2022-08-25 13:45:35 +02:00
Sipke Schoorstra 7870012254 Implement versioned activities 2022-08-11 19:29:32 +02:00
Sipke Schoorstra e942f799ec Add default implementations for job queue and scheduler 2022-08-11 12:45:07 +02:00
Sipke Schoorstra dd217c7e8b Incremental work on jobs as activities 2022-08-10 16:02:53 +02:00
Sipke Schoorstra 3174399517 Initial work on job activities 2022-07-26 23:30:42 +02:00
Sipke Schoorstra 427784ec3b Small HTTP response improvements 2022-07-26 16:01:10 +02:00
Sipke Schoorstra 4ed7f4b5da
Designer Activity Definitions (#3221)
* Incremental work on custom activities

* Incremental work on refactoring versioned entities

* Add ActivityDefinition infrastructure

* Incremental work on activity definition manager

* Incremental work on API endpoints

* Refactored flowchart component to include hierarchical nav

* Incremental work on modularization of designer component

* Restructuring into modules

* Rename CustomActivities module

* Apply security

* Fix activity definition GET endpoint

* Incremental work on activity definition provider

* Incremental work on activity definition execution

* Update ActivityDefinitionMaterializer.cs

* Update ActivityDefinitionActivityProvider.cs

* Add activity definition referenced version update handler

* Maintain position of not found activity

* Fix prefix naming
2022-07-21 16:18:42 +02:00
Sipke Schoorstra dfa1068012 Remove unused namespaces 2022-07-07 22:30:44 +02:00
Sipke Schoorstra 92bc89b10c Add flow switch editor 2022-07-07 22:08:02 +02:00
Sipke Schoorstra fb2a4cc041 Add FlowDecision activity 2022-07-07 21:39:54 +02:00
Sipke Schoorstra 845cd52902 Update Switch.cs 2022-07-07 21:33:41 +02:00
Sipke Schoorstra aaadb127f9 Update Switch.cs 2022-07-07 16:51:40 +02:00
Sipke Schoorstra 20002e2454 Introduce ActivityBase 2022-06-29 15:36:27 +02:00
Sipke Schoorstra ae1748cee3 Implement flow nodes 2022-06-29 12:57:01 +02:00
Sipke Schoorstra 14026e7342 Update FlowchartJsonConverter.cs 2022-06-29 11:36:47 +02:00
Sipke Schoorstra 41dadaaf71 Incremental work on flowchart activity editing 2022-06-27 21:12:41 +02:00
Sipke Schoorstra 168f07e64b Fixed page loading of workflow journal 2022-06-27 13:26:46 +02:00
Sipke Schoorstra 820550f95e Remove obsolete activity node describer 2022-06-27 12:44:17 +02:00
Sipke Schoorstra 091430f9ff Remove obsolete transformer code 2022-06-27 12:37:52 +02:00
Sipke Schoorstra dc46bfe1bb Update WorkflowStateStorageDriver.cs 2022-06-25 11:55:52 +02:00
Sipke Schoorstra ba973433f1 Fix workflow instance serialization 2022-06-24 21:54:16 +02:00
Sipke Schoorstra e571431cc5 Update ActivityExecutionContext.cs 2022-06-21 20:19:36 +02:00
Sipke Schoorstra b092fb2956 Update WellKnownTypeRegistry.cs 2022-06-20 23:28:34 +02:00
Sipke Schoorstra 794c6d5220 Incremental work on embedded activity management 2022-06-20 20:14:07 +02:00
Sipke Schoorstra 8600dc5fcd Incremental work on embedding activities 2022-06-17 13:54:36 +02:00
Sipke Schoorstra 967ad176b8 Update Transformer.cs 2022-06-14 23:03:04 +02:00
Sipke Schoorstra 4ac74864cd Incremental work on transposition 2022-06-14 15:56:41 +02:00
Sipke Schoorstra 8d3aaea1e4 Incremental work on transposition 2022-06-11 20:04:16 +02:00
Sipke Schoorstra d5826c7fd0 Update Event activity and trigger API 2022-06-09 20:06:31 +02:00