80 Commits

Author SHA1 Message Date
Dan
1b75ef2245 need to filter on process here, or a DMN with the same name will obscure the BPMN. 2022-11-15 16:19:52 -05:00
Dan
221dea4bac Assure changes to process ids are updated in the cache on a file save,
and remove old references that no longer exist.  Still some work to do here.
2022-11-15 16:04:05 -05:00
jasquat
1d1c7a2db4 pyl 2022-11-15 15:06:22 -05:00
Dan
9755356279 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
burnettk
b63693514a fix mypy typing stuff. w/ jasquat 2022-11-15 10:28:18 -05:00
burnettk
d748f019e8 run_pyl 2022-11-15 10:11:26 -05:00
Dan
a9df1ed23f Merge remote-tracking branch 'origin/main' into feature/call_activity_selection 2022-11-15 09:55:02 -05:00
Dan
96f8cf1fd2 A little quick code cleanup. 2022-11-14 22:01:38 -05:00
Dan
22d1186236 Adding a very simple api endpoint that just returns a list of every process known to the system. 2022-11-14 21:54:13 -05:00
Dan
88a40c73ea Assure that the list of cached Spec References includes all Process Instances and DMNs (even those that are not primary) 2022-11-14 20:31:20 -05:00
jasquat
b9e7b5271e more refactoring for process instance list w/ burnettk 2022-11-14 17:35:04 -05:00
jasquat
e6db091ba1 refactored pagination table to allow prefixing page options w/ burnettk 2022-11-14 16:29:04 -05:00
Dan
d740518e75 Mostly a name change from BpmnProcessIdLookup to SpecReferenceCache. I landed on this unfortunate name because:
1. It's not just processes, it contains the list of all DMN Decisions as well.
2. It is closely linked to the SpecReference object that can be generated by looking through all the Spec files to find the processes and decisions they contain.
3. It is a cache of information, the file system is the source of truth.  Seems likely we will cache more things in the future -- so setting things up this way made sense.
2022-11-14 15:23:37 -05:00
jasquat
2cd80594d8 use the same file path method in spec file service w/ burnettk 2022-11-14 14:25:27 -05:00
jasquat
71a277e37b some fixes for windows and python 3.9 w/ burnettk 2022-11-14 13:55:22 -05:00
jasquat
9ed04d63fa merged in main and resolved pyl issues w/ burnettk 2022-11-14 12:24:23 -05:00
Dan
ce98cd75de work in spiff is approved and merged, updating dependency 2022-11-14 10:40:52 -05:00
Dan
0d0235ec70 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
jasquat
5901bae731 store bpmn_file_relative_path using correct slashes w/ burnettk 2022-11-11 14:22:00 -05:00
burnettk
3a2857524e underscore unused vars 2022-11-11 11:44:45 -05:00
burnettk
91b69e0ada pyl 2022-11-11 11:39:15 -05:00
jasquat
c10b5aeb07 pulled in subtrees and resolved conflicts w/ burnettk 2022-11-11 10:33:51 -05:00
mike cullerton
81967f42b1 mypy fixes 2022-11-11 08:18:11 -05:00
mike cullerton
2c4b8f5ab2 modify process_groups_list so it can process any group path, not just the root
process_groups_list now takes an optional group path
2022-11-11 08:05:38 -05:00
mike cullerton
2e7a605149 Merge branch 'main' into feature/nested-groups-2
# Conflicts:
#	spiffworkflow-frontend/src/routes/ProcessGroupShow.tsx
2022-11-10 16:50:11 -05:00
mike cullerton
b13bfe0489 Delete groups now checks for running instances in nested models
also, pyl
2022-11-10 16:44:27 -05:00
jasquat
8ae9179a64 use error as a status instead of faulted w/ burnettk 2022-11-10 15:55:17 -05:00
jasquat
427973a4aa fixed up the process instance show page and moved contents of scss to css file and load that last w/ burnettk 2022-11-10 15:44:58 -05:00
mike cullerton
b0d673ac37 Merge branch 'main' into feature/nested-groups-2
# Conflicts:
#	spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py
#	spiffworkflow-backend/src/spiffworkflow_backend/services/process_model_service.py
#	spiffworkflow-frontend/src/components/ProcessModelForm.tsx
#	spiffworkflow-frontend/src/helpers.tsx
2022-11-09 16:49:15 -05:00
mike cullerton
7d5c6b8efc Fixes for adding nested groups.
We pass modified ids to the api, and need to clean them up before calling services.
2022-11-09 15:45:12 -05:00
jbirddog
2b92a6afef Bulk insert spiff logs and step details (#26) 2022-11-09 15:43:12 -05:00
jbirddog
5b01c50d6a Move to Python 3.11 (#27) 2022-11-09 13:45:16 -05:00
burnettk
fe5f9d9e2d remove leading slash from model identifiers 2022-11-09 12:46:39 -05:00
jasquat
cb8ea4d966 one instance test left for cypress w/ burnettk 2022-11-09 12:33:43 -05:00
mike cullerton
b646fa98bd Merge branch 'main' into feature/nested-groups
# Conflicts:
#	spiffworkflow-backend/src/spiffworkflow_backend/api.yml
#	spiffworkflow-backend/src/spiffworkflow_backend/models/process_instance_report.py
#	spiffworkflow-backend/src/spiffworkflow_backend/routes/process_api_blueprint.py
#	spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py
#	spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_spec_file_service.py
#	spiffworkflow-frontend/src/routes/ProcessInstanceList.tsx
#	spiffworkflow-frontend/src/routes/ProcessInstanceReportList.tsx
#	spiffworkflow-frontend/src/routes/ProcessModelEditDiagram.tsx
#	spiffworkflow-frontend/src/routes/ProcessModelShow.tsx
2022-11-08 14:09:03 -05:00
jasquat
9d4e096a5d return next task when running an instance w/ burnettk 2022-11-08 12:36:11 -05:00
Dan
d1e612e7d2 Merge commit '39f9dcba4d497b121ef7f24e58e735b62b0e03d4' into main 2022-11-07 14:35:45 -05:00
mike cullerton
19bbc0da92 Merge branch 'main' into feature/nested-groups
# Conflicts:
#	spiffworkflow-backend/src/spiffworkflow_backend/models/process_model.py
#	spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py
#	spiffworkflow-backend/tests/spiffworkflow_backend/integration/test_process_api.py
2022-11-07 10:56:37 -05:00
burnettk
921fc04d29 Merge remote-tracking branch 'origin/main' into feature/carbon_ui 2022-11-04 18:33:07 -04:00
jasquat
57cc5f732b pyl is passing w/ burnettk 2022-11-04 11:03:40 -04:00
burnettk
65566086dc prevent backfill from exploding when a primary file name on another model does not exist 2022-11-03 16:55:10 -04:00
burnettk
be250eb6d4 work around parser.get_process_dependencies returning a set containing the element None 2022-11-03 16:23:15 -04:00
jasquat
7fffa650b0 some more updates for group forms w/ burnettk 2022-11-03 15:55:50 -04:00
jbirddog
f0f88cd27c Track spiff step details more granularly (#17) 2022-11-03 15:07:46 -04:00
jbirddog
84b1bd3eaf Clear the remaining __init__.py imports in SpiffWorkflow (#14) 2022-11-03 11:12:00 -04:00
jbirddog
09ac38291e From the logs, allow viewing a diagram in a previous state (#15)
Co-authored-by: Elizabeth Esswein <elizabeth.esswein@gmail.com>
2022-11-02 14:34:59 -04:00
jasquat
dbb011c911 Merge commit '95d9dbf036f09b62054c04a64d5c7a9e3002173c' 2022-11-02 14:17:16 -04:00
jbirddog
6daea00efa SpiffWorkflow cold start improvements (#13) 2022-11-02 11:35:10 -04:00
mike cullerton
89d73614af Merge branch 'main' into feature/nested-groups 2022-11-01 16:49:55 -04:00
mike cullerton
4edf96ae76 First stab at nested folders.
Added temp endpoints
Changes to tests and test helpers
2022-11-01 16:48:04 -04:00