Commit Graph

94 Commits

Author SHA1 Message Date
jasquat 0f57eb1529
pyl w/ burnettk 2023-04-07 16:13:01 -04:00
jasquat e2b8f17a7e
merged in main and resolved conflicts w/ burnettk 2023-04-07 14:59:49 -04:00
jasquat 9a664e3354
updated spiffworkflow to send events to top level workflow w/ burnettk 2023-04-07 14:53:05 -04:00
jasquat d6067d701f
some cleanup, updated SpiffWorkflow, and added some notes to pick back up where we left off with the more efficient method w/ burnettk 2023-04-06 10:57:52 -04:00
jasquat 6948df3163
WIP - test is still passing, no longer processing all tasks w/ burnettk 2023-04-05 16:07:35 -04:00
jasquat 2cc4ea104b
updated to use spiff main 2023-04-03 09:46:00 -04:00
jasquat b943d90d92
rewind test passed w/ burnettk 2023-03-31 15:14:25 -04:00
jasquat cef069d028
run snyk on backend and added marshmallow dep to remove warning w/ burnettk 2023-03-28 16:55:13 -04:00
jasquat 20bdc8dd0f
use session delete branch of sqlalchemy stubs w/ burnettk 2023-03-28 16:28:41 -04:00
jasquat 422947424f
add back in sqlalchemy stubs w/ burnettk 2023-03-28 16:05:43 -04:00
jasquat f6f0677d34
updated sqlalchemy to 2.0 due to safety complaints w/ burnettk 2023-03-28 15:56:00 -04:00
burnettk 891cae52f1
downgrade setuptools closer to where it was to avoid deprecation warnings 2023-03-28 14:58:16 -04:00
burnettk c86ea0349c
fix four of five safety issues 2023-03-28 14:51:08 -04:00
burnettk e20ada5d49
get backend working with new spiff 2023-03-28 10:33:53 -04:00
burnettk d9370f6608
tests have been broken in ci, and this should fix it 2023-03-27 17:02:29 -04:00
burnettk 8c6e2440a5
another take on metrics 2023-03-22 22:40:56 -04:00
jasquat e0959716e7
use main branch of spiffworkflow w/ burnettk 2023-03-15 16:15:15 -04:00
burnettk cec72d7dba
no op cipher for testing 2023-03-12 18:20:29 -04:00
jasquat 3415caa969
added loop to task test bpmn file w/ burnettk 2023-03-10 17:15:27 -05:00
jbirddog db4499ff58
Bump SpiffWorkflow (#171) 2023-03-10 10:21:07 -05:00
burnettk b92a371d07
bump sentry version 2023-03-07 22:56:48 -05:00
Jon Herron 41196c4fdf Poetry install 2023-03-06 15:43:46 -05:00
jbirddog 0eed06b1a6
Couple dependency changes (#165) 2023-03-06 10:12:54 -05:00
jasquat 62a2dcd672
updates SpiffWorkflow w/ burnettk 2023-03-01 17:25:03 -05:00
Dan d511917901 Bumping spiffworkflow lib changes for messages 2023-03-01 16:40:56 -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
Dan 5dfe1d73d1 Point to the latest spiffworkflow 2023-02-27 14:40:47 -05:00
Dan f65ed14df3 Merging main 2023-02-27 14:17:10 -05:00
Jon Herron 8b519bb95d poetry remove orjson 2023-02-27 09:35:51 -05:00
Dan 7343c2efde run_pyl (part 2) 2023-02-23 15:09:22 -05:00
Dan 8c673c4fb6 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.
2023-02-23 13:53:03 -05:00
burnettk a59ce277a3
update spiff 2023-02-23 11:02:40 -05:00
Dan 2cf38abedc bump spiffworkflow hash 2023-02-17 13:08:45 -05:00
burnettk 84c77395d4
all tests pass w/ spiff lib upgrade, thanks for the help elizabeth 2023-02-15 22:56:12 -05:00
Dan 138cd1f940 Update Spiffworkflow so we have the better error messages on service tasks. 2023-02-12 16:19:40 -05:00
burnettk 125f8eba03 simplify spiff integration post serializer update, w/ elizabeth and jon 2023-02-02 15:40:01 -05:00
jbirddog f4ff86f9b0
Allow for different Python Environments when executing scripts within SpiffWorkflow (#121) 2023-02-02 10:24:55 -05:00
jasquat a882355803 some initial updates w/ burnettk 2023-01-27 12:51:19 -05:00
jasquat f436edf07e added pylint back to lock file 2023-01-25 17:35:22 -05:00
jasquat 64333e1cfc upgraded bandit and flake8 w/ burnettk 2023-01-25 15:44:53 -05:00
jasquat 46549486b3 strip off newlines and spaces when importing secrets and pinning spiffworkflow to working version until we can debug issues with new one w/ burnettk 2023-01-23 17:18:47 -05:00
Dan 59564d561d updating spiffworkflow version, and fixing the run_pyl (by removing the corft I stuck in earlier) 2023-01-19 13:55:35 -05:00
jasquat 73a759fcb2 pin SpiffWorkflow to passing version for CI tests w/ burnettk 2023-01-19 11:10:36 -05:00
jasquat 46c7e25494
Merge pull request #105 from sartography/feature/avoid_logs_when_call_activity_waiting
do not write to logs when a task is inheriting data from the parent w…
2023-01-19 11:08:51 -05:00
burnettk 6dca7d3964 downgrade spiff and upgrade some other stuff 2023-01-19 07:59:26 -05:00
burnettk 8280318bc2 upgrade certifi to fix security vulnerability 2023-01-19 07:38:57 -05:00
jasquat 8fa5866f94 do not write to logs when a task is inheriting data from the parent w/ burnettk 2023-01-17 12:23:51 -05:00
jasquat b9612f2d30 debugging cookies w/ burnettk 2023-01-11 14:52:12 -05:00
jasquat 4a1251a05b fixed typeguard tests w/ burnettk 2023-01-09 15:53:13 -05:00
jasquat 8a99d1db6c updated SpiffWorkflow w/ burnettk 2023-01-05 17:35:59 -05:00