Commit Graph

1914 Commits

Author SHA1 Message Date
burnettk 16347721e4
Merge commit 'cd211a455eb121cc4b2f22c4dc59e84b84c82fc3' 2023-03-01 17:24:53 -05:00
burnettk cd211a455e Squashed 'SpiffWorkflow/' changes from 161cb7a45..bee868d38
bee868d38 Merge pull request #163 from sartography/feature/process_name_for_log_list
c0da286d9 use workflow_spec to match task_spec naming w/ burnettk
ac9e11927 Merge commit '71f8c94096534112c8a08f202f8bb0e6f81ed92f' into main
5bf6f3814 prefer the bpmn process name over the identifier on the logs list page w/ burnettk
dc511b082 workflow.catch() was nice, in that it is where we could send events and messages.  With this change sending an event to catch will behave incorrectly for BPMN Messages. Only sending it to the right method will create the desired result.  It also adds a lot of additional code.   Would love a careful review of this, and any optimizations anyone can think of.

git-subtree-dir: SpiffWorkflow
git-subtree-split: bee868d38b2c3da680c7a96b6a634d16b90d5861
2023-03-01 17:24:53 -05:00
Kevin Burnett dc123892f5
Merge pull request #163 from sartography/feature/process_name_for_log_list
prefer the bpmn process name over the identifier on the logs list pag…
2023-03-01 14:21:37 -08:00
jasquat a88002ec87
use workflow_spec to match task_spec naming w/ burnettk 2023-03-01 17:21:24 -05:00
jasquat e7dba41dd6
do not require task to be given to evaluate a task unless that script specifically needs it w/ burnettk 2023-03-01 17:18:58 -05:00
Dan d511917901 Bumping spiffworkflow lib changes for messages 2023-03-01 16:40:56 -05:00
Dan 71f8c94096 Squashed 'SpiffWorkflow/' changes from b3235fad59..161cb7a450
161cb7a450 Merge pull request #302 from sartography/bugfix/subprocess-task-state
e12c950627 start workflow while subprocess is waiting

git-subtree-dir: SpiffWorkflow
git-subtree-split: 161cb7a4509a3d0e0574f3e2a98157862c053bad
2023-03-01 16:38:23 -05:00
Dan 8460e9b042 Merge commit '71f8c94096534112c8a08f202f8bb0e6f81ed92f' into main 2023-03-01 16:38:23 -05:00
jasquat 0fbe7a3e76
prefer the bpmn process name over the identifier on the logs list page w/ burnettk 2023-03-01 16:28:42 -05:00
jasquat d295e6ae94
Merge pull request #162 from sartography/feature/move_task_data_into_tables
Feature/move bpmn_json data into separate tables
2023-03-01 15:56:51 -05:00
jasquat 596e3d580d
fixed the downgrade in new migration w/ burnettk 2023-03-01 15:54:50 -05:00
jasquat 683308da54
removed old branch migrations and created single one for this branch w/ burnettk 2023-03-01 15:40:17 -05:00
jasquat 4f32c604cf
remove some debug code w/ burnettk 2023-03-01 15:38:05 -05:00
jasquat 11384fe8fa
always save the serialized bpmn definition for now w/ burnettk 2023-03-01 15:01:29 -05:00
Dan Funk 38a4fe18f4
Merge pull request #161 from sartography/feature/messages_again_and_again
workflow.catch() was nice, in that it is where we could send events a…
2023-03-01 14:24:34 -05:00
Dan ddca493011 Don't attempt to gather the augmented methods if no task is provided -- if we aren't working within the context of a task, we are not working in a context where augmented methods can work (at least not all of them). This was causing an error when attepting to use the custom engine to execute extraction expressions on messages. 2023-03-01 13:46:20 -05:00
jasquat e9ce360a10
pyl 2023-03-01 12:35:08 -05:00
jasquat 28fd2a3966
build docker images for this branch w/ burnettk 2023-03-01 12:27:28 -05:00
jasquat 3865fefd0c
fixed get call activity task data w/ burnettk 2023-03-01 12:23:04 -05:00
jasquat e9f8364b1a
store the process instance data id on the process instance and not the other way around w/ burnettk 2023-03-01 11:39:03 -05:00
Kevin Burnett 27446e7a1e
Merge pull request #158 from sartography/ci/add-jenkinsfile
ci: add basic jenkinsfile for building Docker images
2023-03-01 08:01:23 -08:00
jasquat 8266d3f14b
all backend tests except for report tests are now passing 2023-03-01 10:58:12 -05:00
jasquat b23cdec804
unit tests are passing except for test_process_instance_report which cannot work currently 2023-03-01 10:36:11 -05:00
jasquat e4d7b067bc
save full_bpmn_json in a var 2023-03-01 09:55:20 -05:00
jasquat 25269133c1
must add data to db 2023-03-01 09:42:41 -05:00
jasquat 32f04e9a75
most unit tests are passing now and the use of bpmn_json is almost gone in src 2023-03-01 09:22:38 -05:00
Dan e6d32a4af7 workflow.catch() was nice, in that it is where we could send events and messages. With this change sending an event to catch will behave incorrectly for BPMN Messages. Only sending it to the right method will create the desired result. It also adds a lot of additional code. Would love a careful review of this, and any optimizations anyone can think of. 2023-02-28 21:08:04 -05:00
jasquat 8e286cba91
some logic to attempt to use the new bpmn json tables w/ burnettk 2023-02-28 17:46:14 -05:00
jasquat 828c042397
added new table and some notes on how to get a delta w/ burnettk jbirddog 2023-02-28 16:30:52 -05:00
jasquat f8af24f0a1
added config to turn on sentry profiling w/ burnettk 2023-02-28 11:23:50 -05:00
jasquat 7c4c04d3c9
remove docker push image from backend in favor of docker image from dedicated action file 2023-02-28 09:22:50 -05:00
jasquat 5e359cac3b
fixed python 3.9 syntax issue 2023-02-28 08:56:44 -05:00
burnettk 7c83ce9c3a
make metadata header bigger 2023-02-27 22:36:31 -05:00
burnettk a9a01f33c6
slam migrations file one last-ish time, increase task_name column length 2023-02-27 22:03:42 -05:00
burnettk 7216af1ce8
allow task_name to be long 2023-02-27 22:01:08 -05:00
burnettk 4c7bc90a8f
let env var work on windows and fixing typing issue on python 3.9 w/ messaging stuff 2023-02-27 19:16:06 -05:00
jasquat 45b634a6df
recreated all migrations to resolve postgres migration failures w/ burnettk 2023-02-27 17:27:53 -05:00
jasquat bc5e6d695c
Merge pull request #160 from sartography/feature/fix_sqlite_ci
Feature/fix sqlite ci
2023-02-27 17:26:26 -05:00
jasquat f00059369c
run poetry install for sqlite w/ burnettk 2023-02-27 17:21:34 -05:00
jasquat 5c5e36c067
do not run mysql commands if not doing mysql w/ burnettk 2023-02-27 17:19:03 -05:00
jasquat 9ffdbe4572
do not override env vars w/ burnettk 2023-02-27 17:15:21 -05:00
jasquat f0ea9076e2
syntax error w/ burnettk 2023-02-27 17:10:52 -05:00
jasquat 43201f6597
attempt to set the sample process model dir w/ burnettk 2023-02-27 17:10:14 -05:00
jasquat c927210c8d
attempt to run migrations from scratch for sqlite in ci since it does not support the migrations w/ burnettk 2023-02-27 17:00:34 -05:00
jasquat aafeed409c
do not return human tasks from errored process instances w/ burnettk 2023-02-27 16:11:26 -05:00
jasquat 4d7b0038fc
added debug logging when adding spiff step details w/ burnettk 2023-02-27 15:53:56 -05:00
burnettk 3add069267 Squashed 'bpmn-js-spiffworkflow/' changes from f1f008e3e..a547888ef
a547888ef run_pyl
53378437d BPMN.io -- Just show the message names not the ids - to assure we are only exposing the names. SpiffWorkflow -     - start_messages function should return message names, not ids.     - don't catch external thrown messages within the same workflow process     - add an expected value to the Correlation Property Model so we can use this well defined class as an external communication tool (rather than building an arbitrary dictionary)     - Added a "get_awaiting_correlations" to an event, so we can get a list of the correlation properties related to the workflows currently defined correlation values.     - workflows.waiting_events() function now returns the above awaiting correlations as the value on returned message events  Backend     - Dropping MessageModel and MessageCorrelationProperties - at least for now.  We don't need them to send / receive messages though we may eventually want to track the messages and correlations defined across the system - these things (which are ever changing) should not be directly connected to the Messages which may be in flux - and the cross relationships between the tables could cause unexpected and unceissary errors.  Commented out the caching logic so we can turn this back on later.     - Slight improvement to API Errors     - MessageInstances are no longer in a many-to-many relationship with Correlations - Each message instance has a unique set of message correlations specific to the instance.     - Message Instances have users, and can be linked through a "counterpart_id" so you can see what send is connected to what recieve.     - Message Correlations are connected to  recieving message instances.  It is not to a process instance, and not to a message model.  They now include the expected value and retrieval expression required to validate an incoming message.     - A process instance is not connected to message correlations.     - Message Instances are not always tied to a process instance (for example, a Send Message from an API)     - API calls to create a message use the same logic as all other message catching code.     - Make use of the new waiting_events() method to check for any new recieve messages in the workflow (much easier than     churning through all of the tasks)     - One giant mother of a migration.

git-subtree-dir: bpmn-js-spiffworkflow
git-subtree-split: a547888ef102046bab983b9004f07d4398e9a1bc
2023-02-27 14:59:39 -05:00
burnettk 7ab479c1ef
Merge commit '3add06926765126577a100845c8d3247323e5f4c' 2023-02-27 14:59:39 -05:00
burnettk 7cd7ca5e3c
Merge commit '7a5f961b2bbff62f525805d6302822a411024f7b' 2023-02-27 14:59:38 -05:00
burnettk 7a5f961b2b Squashed 'spiffworkflow-frontend/' changes from c22d22ba5..4fd946be4
4fd946be4 Merging main
453bdb246 run_pyl
b5a8ff01b Needed an additional check for empty correlation keys - which on a RECEIVE message, should always match anything.
b583f84cc lint w/ burnettk
fd4d7d13b removed some unused code from task and fixed the logs table a bit w/ burnettk
6f17e71e6 avoid using task-data endpoint for task data and only use it to get tasks based on spiff step instead
669c29595 removed task-data endpoints since we no longer need them w/ burnettk
5f25fffe0 added api to get task data and do not return from task data list anymore w/ burnettk
373c4f184 Merge remote-tracking branch 'origin/main' into feature/message_fixes
e40c12ac8 turn on sentry detailed tracing for task-data w/ burnettk
d7861aae2 Merge branch 'main' into feature/message_fixes
0a9f2480d work in progress - * Link between message instance and correlations is now a link table and many-to-many relationships as recommended by SQLAlchemy * Use the correlation keys, not the process id when accepting api messages.

git-subtree-dir: spiffworkflow-frontend
git-subtree-split: 4fd946be4ff716bfd1664aca8d75cb6f709b53eb
2023-02-27 14:59:38 -05:00