spiff-arena/spiffworkflow-backend/tests/spiffworkflow_backend/unit
Kevin Burnett eae5f7dd2d
the big message improvements branch (#1549)
* imported patch from old message_improvements branch w/ burnettk

* wip.

* merging in changes from message_improvements

* remove patch files that were accidendetally added.

* Added a modal for editing a correlation.  Added ability to delete whole correlation keys.
A little css cleanup.

* * Removing migration - will add back in at the end.
* The Message models API should not require page and per_age parameters, it will return all.
* The Message model list should return a full json description of all messages/correlations for all containing groups.
*

* wip

* Add import, fix class name

* Getting ./bin/pyl to pass

* Getting ./bin/pyl to pass

* Some fe lint fixes

* Some ruff fixes

* Commands to nuke poetry dirs

* Temp skipping of a couple tests

* Getting ./bin/pyl to pass

* This needs to be back in

* Revert back to main

* Factored out data store handling

* Working on factoring out collecting messages, has test failure

* Formatting

* Fixed up test failures

* Remove commentted out lines

* Adding fields

* Fix merge issue

* Re-enable modal

* WIP

* Untested relationships

* Remove correlation key table

* Remove retrieval expression from uniqueness

* Remove commentted out lines

* WIP

* WIP

* WIP

* WIP

* WIP

* Make mypy pass

* Getting formatters to pass

* Add migration

* WIP fixing tests

* WIP fixing tests

* WIP fixing tests

* WIP fixing tests

* WIP fixing tests

* Getting ./bin/pyl to pass

* Fix skipped test

* Fix skipped test

* Getting ./bin/pyl to pass

* Remove unused method

* Remove unused methods

* Clean up unused code

* Refactor to support creating single messages from the UI

* Untested support for processing one process_group

* WIP test

* WIP test

* Filled out test

* Getting ./bin/pyl to pass

* Message Editor Modal Work

* Change migration and add in schemas.

* Swtich to using the associated branch of the process BPMN.io mods

* Get the backend returning messages created from the frontend to the drop down list in the BPMN.io editor.

* Merge main, fix up test

* Getting ./bin/pyl to pass

* Show path in location

* Rename var

* install packages from bpmn-js-spiffworkflow as well for local development

* process group api can add and update message models now w/ burnettk

* backend tests are passing now w/ burnettk

* the launch message edit button is loading the editor w/ burnettk

* updated bpmn-js-spiffworkflow

* pyl is passing w/ burnettk

* updated bpmn-js-spiffworkflow w/ burnettk

* updated bpmn-js-spiffworkflow w/ burnettk

* fixed console errors w/ burnettk

* a couple tweaks w/ burnettk

* save the message json in the new format from the mform w/ burnettk

* display the correlation props in the form w/ burnettk

* default to empty schema so the format is obvious

* allow removing correlation props from web ui w/ burnettk

* added save notification when saving a message on a process model w/ burnettk

* fixed broken test w/ burnettk

* Updating test cases to new message format, tests are failing

* support schema from messages in frontend

* Fixing tests

* Fixing tests

* Fixing tests

* removed references to correlation keys and removed unused components w/ burnettk

* removed temp mesasge model edit button w/ burnettk

* Make mypy pass

* Fixing tests

* Fixing tests

* Getting ./bin/pyl to pass

* save deleted messages before attempting to add new ones w/ burnettk

* set state for the message id so it can be changed w/ burnettk

* do not wait for the message id to be set since it is not necessary w/ burnettk

* updated bpmn-js-spiffworkflow w/ burnettk

* build images for this branch w/ burnettk

* put location in path of message-models so we can control permissions on it w/ burnettk

* fix black

* some coderabbit suggestions

* pull in spiff fix

* Default schema to {}

* Temp fix for invalid schema

* updated bpmn-js-spiffworkflow

* some updates for issue 1626

* minor name tweaks and attempts to update message dropdown in panel when message changes - does not work yet w/ burnettk

* updated bpmn-js-spiffworkflow w/ burnettk

* attempt to call add_message.returned event when message updates w/ burnettk

* treat formData as a state in the MesasgeEditor so it can be updated when the form contents is modified w/ burnettk

* updated bpmn-js-spiffworkflow w/ burnettk

* Feature/merge correlation properties (#1693)

* Merge XML Correlation properties with Process group properties

* updates for messages w/ burnettk

---------

Co-authored-by: theaubmov <ayoubaitlachgar98@gmail.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>

* do not wait for message id state to be set to better support new messages w/ burnettk

* updated SpiffWorkflow w/ burnettk

* some cleanup from coderabbit and linting

* added index to message tables, run typecheck in ci, and other updates while code reviewing w/ burnettk

* updated bpmn-js-spiffworkflow w/ burnettk

* remove branch to build

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: danfunk <daniel.h.funk@gmail.com>
Co-authored-by: Jon Herron <jon.herron@yahoo.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <2487833+jasquat@users.noreply.github.com>
Co-authored-by: theaubmov <ayoubaitlachgar98@gmail.com>
2024-06-10 09:15:54 -07:00
..
test_acceptance_test_fixtures.py removed useless class and def comments from python code w/ burnettk 2023-05-31 16:28:06 -04:00
test_authorization_service.py the big message improvements branch (#1549) 2024-06-10 09:15:54 -07:00
test_background_processing_service.py Handle pi lock from message service (#1278) 2024-03-26 16:04:15 -04:00
test_create_unique_kkv_top_level_key.py Support creating unique top level keys for KKV data store (#613) 2023-11-13 11:37:24 -05:00
test_data_setup_service.py the big message improvements branch (#1549) 2024-06-10 09:15:54 -07:00
test_dot_notation.py Bpmn unit test from pi (#1262) 2024-03-26 10:14:57 -04:00
test_error_handling_service.py Feature/run error handler from dequeued (#424) 2023-08-02 14:05:11 +05:30
test_feature_flag_service.py Test params (#789) 2023-12-07 08:09:44 -05:00
test_file.py removed useless class and def comments from python code w/ burnettk 2023-05-31 16:28:06 -04:00
test_future_task.py Feature/background proc with celery (#788) 2023-12-05 11:41:59 -05:00
test_git_service.py Bump black from 23.1.0 to 24.3.0 (#1285) 2024-03-27 14:05:49 -04:00
test_jinja_service.py Improvement/flexible task iteration (#507) 2023-09-21 14:47:18 -07:00
test_kkv_data_store.py Data store background fix (#1455) 2024-04-26 10:14:26 -04:00
test_message_instance.py Handle pi lock from message service (#1278) 2024-03-26 16:04:15 -04:00
test_message_service.py Handle pi lock from message service (#1278) 2024-03-26 16:04:15 -04:00
test_permission_target.py Bump black from 23.1.0 to 24.3.0 (#1285) 2024-03-27 14:05:49 -04:00
test_permissions.py Feature/background proc with celery (#788) 2023-12-05 11:41:59 -05:00
test_process_caller_service.py New calling process table (#1480) 2024-05-03 10:09:32 -04:00
test_process_group.py Bump black from 23.1.0 to 24.3.0 (#1285) 2024-03-27 14:05:49 -04:00
test_process_instance_file_data.py Pi file data on fs (#1403) 2024-04-18 11:24:59 -04:00
test_process_instance_file_data_migrator.py always load the file up as binary w/ burnettk (#1499) 2024-05-06 17:08:56 -04:00
test_process_instance_migrator.py update-spiffworkflow (#1694) 2024-06-07 13:23:19 -07:00
test_process_instance_processor.py Multiinstance task data fix (#1497) 2024-05-07 15:17:01 -04:00
test_process_instance_queue_service.py added ability to retry getting a lock on task submit w/ burnettk (#1279) 2024-03-26 17:20:48 -04:00
test_process_instance_report_service.py Feature/background proc with celery (#788) 2023-12-05 11:41:59 -05:00
test_process_instance_service.py Pi file data on fs (#1403) 2024-04-18 11:24:59 -04:00
test_process_model.py New calling process table (#1480) 2024-05-03 10:09:32 -04:00
test_process_model_service.py Detect duplicate process ids when uploading/creating a new file (#1581) 2024-05-22 12:18:44 -04:00
test_process_model_test_generator_service.py Bpmn unit test from pi (#1262) 2024-03-26 10:14:57 -04:00
test_process_model_test_runner.py synced unit tests with sample and added support for subprocesses for bpmn unit tests w/ burnettk 2023-06-02 11:20:41 -04:00
test_reference_cache_service.py create process groups json file at root if it does not exist when creating a data store w/ burnettk (#1056) 2024-02-16 15:20:16 -05:00
test_restricted_script_engine.py let ruff sort imports and ditch duplicative pre-commit linters 2023-05-26 20:01:08 -04:00
test_script_unit_test_runner.py Feature/background proc with celery (#788) 2023-12-05 11:41:59 -05:00
test_service_task_delegate.py enhancement/allow-worfklow-targets-from-external-events (#1552) 2024-05-14 16:10:35 -04:00
test_spec_file_service.py Reference cache integrity fix (#1627) 2024-05-28 14:13:10 -07:00
test_task_service.py New calling process table (#1480) 2024-05-03 10:09:32 -04:00
test_threaded_execution.py Threads (#439) 2023-09-07 10:12:56 -04:00
test_upsearch_service.py Support top level data stores, not exposed via the UI yet (#986) 2024-02-07 08:37:38 -08:00
test_user_service.py Bump black from 23.1.0 to 24.3.0 (#1285) 2024-03-27 14:05:49 -04:00
test_various_bpmn_constructs.py remove useless comments matching filenames 2023-05-30 12:21:50 -04:00
test_workflow_execution_service.py Feature/business end states (#333) 2023-09-07 10:10:44 -04:00
test_workflow_service.py blank-task-list-on-new-pi (#1634) 2024-05-29 16:25:47 -04:00