Dan
7b16625cff
run_pyl
2023-02-20 12:34:42 -05:00
Dan
5171e53240
* SpiffWorkflow event_definitions wanted to return a message event's correlation properties mested within correlation keys. But messages are directly related to properties, not to keys - and it forced a number of conversions that made for tricky code. So Messages now contain a dictionary of correlation properties only.
...
* SpiffWorkflow did not serialize correlations - so they were lost between save and retrieve.
* When comparing Correlation Property values - we are storing these values as strings in the database and can't convert them back to integers later, so I'm changing everying everywhere to compare after conversion to a string. Don't feel great about this one.
* By using an SQL Alchemy join table, there is a lot of db queries we don't need to write.
* A few handy fucntions on db models to make it easier to work with correlations.
* Updated tests because I changed some of the BPMN models we were testing against.
* Database migration to use the new constraint names with the alternate form of the join table between correlation mesages to instance messages.
2023-02-20 11:50:35 -05:00
Dan
28ac9ef872
* Re-work message tests so I could wrap my simple head around what was happening - just needed an example that made sense to me.
...
* Clear out complex get_message_instance_receive how that many-to-many works.
* Create decent error messages when correlations fail
* Move correlation checks into the MessageInstance class
* The APIError could bomb out ugly if it hit a workflow exception with not Task Spec.
2023-02-18 13:09:58 -05:00
Dan
4958dbf895
failing test.
2023-02-17 12:10:32 -05:00
Dan
948deb97bc
work in progress -
...
* Link between message instance and correlations is now a link table and many-to-many relationships as recommended by SQLAlchemy
* Use the correlation keys, not the process id when accepting api messages.
2023-02-17 10:45:01 -05:00
Jon Herron
1c95d2f234
The End Event has a spiff step
2023-02-13 14:13:34 -05:00
Dan Funk
81da8c30a6
Merge pull request #132 from sartography/feature/no_more_current_user
...
Feature/no more current user
2023-02-08 18:23:25 -05:00
Dan
9eb2eb28df
run_pyl
2023-02-08 17:10:57 -05:00
Dan
23403acd29
remove the "current_user" from being added to the task_data.
2023-02-08 15:53:14 -05:00
burnettk
29f96ff68d
pyl
2023-02-08 14:02:17 -05:00
Dan
f9372effd9
Use a mock when making external calls in tests.
2023-02-08 13:14:42 -05:00
Dan
f387ab6c6c
run_pyl
2023-02-08 12:00:27 -05:00
Dan
d97fcfd238
Assure that when something goes wrong calling a service task that we get as much good information about the problem as possible.
2023-02-08 11:53:20 -05:00
jasquat
03b265a522
renamed development env to local_development and testing to unit_testing w/ burnettk
2023-02-07 15:02:47 -05:00
jasquat
cea7f746f6
use our json encoder to dump the user for get_current_user script w/ burnettk
2023-02-06 14:11:15 -05:00
burnettk
8ce5855b78
move towards returning dict in get_current_user
2023-02-06 10:30:38 -05:00
burnettk
408759d122
show that hiding nested fields works as well
2023-02-03 15:47:35 -05:00
burnettk
c3cb288875
make form schema and form ui schema both dicts, add support for hiding fields based on task data
2023-02-03 15:40:14 -05:00
jbirddog
f4ff86f9b0
Allow for different Python Environments when executing scripts within SpiffWorkflow ( #121 )
2023-02-02 10:24:55 -05:00
burnettk
7b4d714a06
folks who can start instances can also view their logs
2023-01-31 17:11:11 -05:00
jasquat
00164b1089
tests are passing now w/ burnettk
2023-01-27 13:20:22 -05:00
jasquat
a882355803
some initial updates w/ burnettk
2023-01-27 12:51:19 -05:00
jasquat
1e7b80bd7d
set the correct type for task since SpiffTask and a backend task are not the same
2023-01-26 07:35:13 -05:00
jasquat
0b497161e1
Merge remote-tracking branch 'origin/main' into feature/jinja_errors
2023-01-25 17:30:55 -05:00
Dan
eedc994e3e
run_pyl had various recommendations that I find a bit of a pain in the butt, but that I did anyway.
2023-01-25 16:43:28 -05:00
jasquat
0da69d1e05
ensure we are passing the primary file name to the delete file test
2023-01-25 16:20:55 -05:00
Dan
b59cca0212
Merge remote-tracking branch 'origin/main' into feature/jinja_errors
2023-01-25 15:38:52 -05:00
jasquat
d9cffcb963
allow removing users from groups when refreshing permissions w/ burnettk
2023-01-25 15:12:48 -05:00
Dan
c4ba9f398d
Making sure we create informative messages when encountering jinja2 syntax errors.
2023-01-25 14:13:21 -05:00
jasquat
b05e7fcd38
do not allow deleting primary bpmn file and do not allow instantiating models without a primary bpmn file w/ burnettk
2023-01-24 15:15:48 -05:00
jasquat
7ca6a703f2
removed uniqueness constraint from human task so we can loopback to a previous task with a gateway w/ burnettk
2023-01-24 11:03:55 -05:00
jasquat
09a502d48d
ensure order of permissions in tests
2023-01-24 10:23:47 -05:00
jasquat
3f692ab1cb
added locking system for process instances so hopefully background jobs will not take instances currently being run by the user w/ burnettk
2023-01-23 16:45:07 -05:00
jasquat
c488615dcf
pyl w/ burnettk
2023-01-19 15:37:55 -05:00
Kevin Burnett
6434f1bc9b
Merge branch 'main' into feature/improved_errors
2023-01-19 12:18:02 -08:00
jasquat
d112a6489f
ensure we have something in the logs w/ burnettk
2023-01-19 15:16:59 -05:00
jasquat
a56c3d851e
pyl w/ burnettk
2023-01-19 15:03:33 -05:00
Dan
b151ef7937
pre-commit-in-ci
2023-01-19 14:00:36 -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
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
jasquat
26de48193c
do not allow overwriting process models and process groups w/ burnettk
2023-01-18 14:40:03 -05:00
jasquat
3416b2f015
pyl w/ burnettk
2023-01-18 10:39:53 -05:00
jasquat
1d717cff6b
skip failing xml test on windows w/ burnettk
2023-01-18 10:38:43 -05:00
jasquat
baf60e9cc9
use the correct windows path separator in test file
2023-01-18 09:43:19 -05:00
jasquat
2c6937eb18
fixed broken test w/ burnettk
2023-01-17 16:17:04 -05:00
jasquat
336fb1d8d2
do not resolve entities when parsing xml w/ burnettk
2023-01-17 14:58:54 -05:00
Dan
127eb7868c
Removing dependency on flask-bpmn and taking it out of SpiffArena
...
Slightly updating the APIError code for recent updates to SpiffWorkflow's error refactoring.
2023-01-17 12:56:06 -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
mike cullerton
ff48f67918
Merge branch 'main' into feature/waku-fault-message
2023-01-13 08:29:42 -05:00