38 Commits

Author SHA1 Message Date
jasquat
b66288b17f
Feature/business end states (#333)
* WIP: some updates to support new spiff w/ burnettk

* unit tests are passing

* all tests except message tests are passing

* fixed usage of catch message event w/ burnettk

* messages are working again w/ burnettk

* uncommented remaining message tests w/ burnettk

* fixed cypress tests w/ burnettk

* use main for spiffworkflow

* translated mysql last milestone query to sqlalchemy w/ burnettk

* fixed last milestone query so instances still return if no milestone found and moved some code from the main report method to own methods

* added some comments

* added last milestone column to process instances table

* display last milestone in instance list table w/ burnettk

* remove 3 characters when truncating last milestone for ellipsis

* make sure we have a current processor so we don't return null

* remove sleep

* The background processor now only picks up processes that were last updated more than a minute ago to avoid conflicting with the interstitial page.  With the understanding that we can rmeove this limitation when we can refactor to allow the backend processes to provide updates on what they are doing.

* pyl w/ burnettk

* cache last milestone on instances

* pyl

* added test for last milestone and added it to the proces instance show page w/ burnettk

* fixed broken test w/ burnettk

* fixed last milestone header

* removed duplicated column

* fixed broken test

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: danfunk <daniel.h.funk@gmail.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-07 10:10:44 -04:00
Kevin Burnett
8d92d1ef4e
Feature/event payloads part 2 (#401)
* Revert "Revert "Feature/event payloads (#393)""

This reverts commit 9bc4a68f2d0679f0625f8e01bf9af15008833daa.

* Revert "Revert "poet not available in container""

This reverts commit 5c68e5817e72ee1aec6418c96f0afe115aee9f15.

* Revert "Revert "Run event payloads data migration from background processor (#399)""

This reverts commit b04284ac9c52a913ce32d8e76aee3495ac6e2dbf.

* Revert "Revert "using new spiff api to get info about events. w/ elizabeth""

This reverts commit f00e4b416cd978da979c510381f077dff9fe6c50.

* Revert "Revert "fix tests for waiting_event_can_be_skipped""

This reverts commit de2ea98daa2c0f75dd12246588601bd33b64617b.

* push image for preview env

* default scripts to localhost w/ burnettk

* use the bugfix/update-split-task-inputs spiffworkflow branch w/ burnettk

* removed debug json files

* use main for spiffworkflow

* do not attempt to highlight non-diagram boundary items w/ burnettk

* updated SpiffWorkflow to fix multiple signal event issue w/ burnettk

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-08-10 18:24:49 +05:30
burnettk
9bc4a68f2d
Revert "Feature/event payloads (#393)"
This reverts commit 4cf60acb275e592a2e2f90dcc686ac5cb3e85634.
2023-07-19 11:44:06 -04:00
jasquat
4cf60acb27
Feature/event payloads (#393)
* some initial changes for event payload changes in spiff

* fixed tests for new spiffworkflow with event payloads w/ burnettk essweine

* pyl w/ burnettk essweine

* updated SpiffWorkflow from branch

* switched SpiffWorkflow back to main w/ burnettk

* added base for migration script to upgrade db w/ burnettk essweine

* some updates to script w/ burnettk

* script has been written, needs to be tested

* pyl w/ burnettk

* updates to migration script so it can work w/ burnettk

* pyl w/ burnettk

* added comment to data migration file

* run the version 1 3 migration on app boot w/ burnettk

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2023-07-18 06:56:24 -07:00
jasquat
12bed674cd
use mysqlclient instead of mysql-connect w/ burnettk (#358)
* use mysqlclient instead of mysql-connect w/ burnettk

* updated some comments w/ burnettk

* runs tests in parallel in run_pyl

---------

Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-12 19:44:49 +05:30
jasquat
182f56a1ad
pyl and do not error if ruff fix fails w/ burnettk 2023-06-20 14:23:58 -04:00
danfunk
3178ce2573 Merge remote-tracking branch 'origin/main' into feature/better_interstitial_spinner_and_suspend_message 2023-06-01 15:07:25 -04:00
danfunk
9aa52bcd27 Introduced a small spinner to the interstitial view on the Process Instance Show page.
Display reasonable messages when a processes is suspended or errored. Can't do much with terminated.
Show the spinner more frequently and consistently.
When running ruff, ignore everything in .gitignore
2023-06-01 15:05:59 -04:00
jasquat
ab2a04f4fa
only run eslint if there is a change in frontend w/ burnettk 2023-05-31 16:28:56 -04:00
burnettk
68f4707581
enable pep8-naming and use ruff for autofixer 2023-05-30 07:15:49 -04:00
jbirddog
381f827aea
Editor path (#280) 2023-05-26 13:58:28 -04:00
burnettk
c58ae52243
force a good directory as arg 1 2023-05-25 17:00:02 -04:00
jbirddog
f3bb655229
Editor compose (#279) 2023-05-25 15:15:58 -04:00
burnettk
c91c6f9279
comment script 2023-03-16 23:11:17 -04:00
burnettk
a2c451537b
add bin/reorder_python_imports_in_backend script 2023-03-16 23:10:36 -04:00
burnettk
8e36cb8f8b
you are a wiley one, jon 2023-03-01 17:40:47 -05:00
jasquat
311a5b060d
added test for quickstart guide w/ burnettk 2023-02-16 15:05:55 -05:00
burnettk
28e98b66e5 remove flask-bpmn 2023-02-02 21:00:20 -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
Dan
bd150dfff9 Merges 2023-01-19 13:26:13 -05:00
Dan
628c59dde9 Lots of adjustments from running pyl
Main change is in the ErrorDisplay.tsx to assure all error information is provided. and index.css to make it "pretty"
2023-01-19 12:36:45 -05:00
jasquat
2cd861bdd3 disabled flake8 forcing comments to avoid all of the useless comments but still enforcing the formatting of comments if they exist w/ burnettk 2023-01-19 10:41:26 -05:00
jasquat
a2bb41301a added tabs to find by id page and install pre commit libraries if they fail to run help w/ burnettk 2023-01-13 11:29:45 -05:00
burnettk
ae4736ff89 give run_pyl a pre-commit type mode where it checks to see what you changed before running checks 2022-12-17 23:43:47 -05:00
jasquat
d12e606c84 added script to save process instance metadata and fixed permissions issue w/ burnettk cullerton 2022-11-28 15:26:50 -05:00
Jon Herron
08a1c230df Add connector-proxy-demo 2022-11-18 13:31:22 -05:00
jasquat
f838e11759 added lint fix for frontend to pyl w/ burnettk cullerton 2022-11-16 13:03:59 -05:00
jasquat
d2b3663579 updated run_pyl to work without no-term w/ burnettk 2022-11-16 11:42:56 -05:00
jasquat
92b97a57b8 attempt to run pre-commit in own action w/ burnettk jbirddog 2022-11-11 11:25:20 -05:00
jasquat
b02caa3d50 added push all subtrees script w/ burnettk 2022-10-31 14:10:45 -04:00
jasquat
d063d928ac avoid sending two errors to sentry w/ burnettk 2022-10-27 15:33:59 -04:00
jasquat
a632953d1a minor tweak to pyl script w/ burnettk 2022-10-27 10:50:37 -04:00
jasquat
4e5a53e648 added some base stuff to get pyl working 2022-10-27 09:15:56 -04:00
jasquat
a2dc475bf9 added script to push out a subtree w/ burnettk 2022-10-21 10:48:02 -04:00
burnettk
d326c45572 remove dependencies 2022-10-20 15:59:58 -04:00
burnettk
b93ad83f0e new script 2022-10-20 07:19:18 -04:00
jasquat
36ceec0c11 set auto edit to no w/ burnettk 2022-10-19 16:16:43 -04:00
Jon Herron
4fc450e6d9 Pull script+example push 2022-10-12 11:07:01 -04:00