Commit Graph

67 Commits

Author SHA1 Message Date
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
burnettk 145944137d Merge remote-tracking branch 'origin/main' into feature/process_api_blueprint_refactor 2022-12-29 20:41:50 -05:00
Dan 651ec20050 Minor fix to SpiffWorkflow library 2022-12-29 13:51:23 -05:00
jasquat 88e1715c3f update flask-bpmn w/ burnettk 2022-12-27 16:16:53 -05:00
jasquat 52aa959921 update flask-bpmn w/ burnettk 2022-12-27 13:55:02 -05:00
jasquat 9b1bd0c905 updated flask-bpmn so it does not send invalid token exceptions to sentry w/ burnettk 2022-12-16 13:24:52 -05:00
burnettk c2be5ec241 bump nox stuff and spiff 2022-12-05 09:08:56 -05:00
burnettk de29278c79 Merge remote-tracking branch 'origin/main' into new_report 2022-12-02 16:29:16 -05:00
Dan 8de880a9f6 getting the collect hit_policy to work correctly. 2022-12-02 15:32:33 -05:00
jasquat acc33288b9 added correlations to message list table w/ burnettk 2022-11-30 15:08:04 -05:00
burnettk 3fe40a9251 upgrade apscheduler and fix mispelling 2022-11-21 21:15:48 -05:00
burnettk cf1c038498 eliminate security issue by removing py 2022-11-20 21:34:35 -05:00
burnettk a02575e262 update mysql-connector-python 2022-11-20 21:31:45 -05:00
burnettk a49990337e Merge commit '9275b67b0dddac9628342741278c89f6f2bd3620' 2022-11-20 19:55:00 -05:00
burnettk 76c671acaf update spiff 2022-11-16 13:21:09 -05:00
Dan de198940dd Fixing a bug in SpiffWorkflow (new version in poetry.lock)
Don't explode when back-filling process models and hitting and error
Assure processes are executable when setting them as the default primary process.
The SpecReferenceCache now uses a unique constraint across two fields. (requires a new db)
2022-11-15 14:50:41 -05:00
Dan 2cdad7d492 work in spiff is approved and merged, updating dependency 2022-11-14 10:40:52 -05:00
Dan 195c609d58 Adding a display name to the BPMN Process ID Lookup Table
Removing (very nearly, except for script unit tests) all the XML Parsing we were doing, see related PR on SpiffWorkflow
Moved the Custom Parser into its own file to solve some circular import issues
2022-11-12 12:36:07 -05:00
mike cullerton 9679720b5a Delete groups now checks for running instances in nested models
also, pyl
2022-11-10 16:44:27 -05:00
Jon Herron dada286882 Merge commit 'de30945eec9161570080b4858da967a7628ec86c' 2022-11-09 15:44:08 -05:00
jbirddog 4a852a5b3b
Move to Python 3.11 (#27) 2022-11-09 13:45:16 -05:00
burnettk 4ec67848a4 Merge commit 'a0b923c9ad98d07d3cf46dca689a01b13d41aa02' 2022-11-04 09:33:44 -04:00
jbirddog 2420cbf80f
Point back to spiff main (#19) 2022-11-03 15:58:06 -04:00
jbirddog a8e904c6b8
Track spiff step details more granularly (#17) 2022-11-03 15:07:46 -04:00
jasquat 1579fb177d Merge commit '95d9dbf036f09b62054c04a64d5c7a9e3002173c' 2022-11-02 14:17:16 -04:00
jbirddog fdec3e1e12
SpiffWorkflow cold start improvements (#13) 2022-11-02 11:35:10 -04:00
burnettk f7be875f20 Merge commit 'c24cc56fb00e07f6cfe16840c65471443b120daf' 2022-10-27 22:03:49 -04:00
jasquat d063d928ac avoid sending two errors to sentry w/ burnettk 2022-10-27 15:33:59 -04:00