Commit Graph

1550 Commits

Author SHA1 Message Date
jasquat 89f3dbc7b8 moved callback code to delegate class in process model test runner w/ burnettk 2023-05-24 15:26:26 -04:00
jasquat 9c0a8cc9df only test admin permissions in ci since it takes longer run w/ burnettk 2023-05-24 11:10:40 -04:00
jasquat 2db6b10b7d Merge pull request #275 from sartography/feature/process_model_unit_tests
Feature/process model unit tests
2023-05-23 15:55:47 -04:00
jasquat 5e25e591ae pyl w/ burnettk 2023-05-23 15:55:27 -04:00
jasquat ac73ee47f6 fixed tests failing for typeguard w/ burnettk 2023-05-23 15:50:55 -04:00
jasquat e2fe5ea660 respect host from db uri env var when recreating db w/ burnettk 2023-05-23 12:12:32 -04:00
jasquat ed42c6c399 make the test case results errors work with WorkflowTaskException and use in ErrorForDisplay 2023-05-23 10:33:37 -04:00
jbirddog 9ec956cee8 Support custom run at time when creating an instance (#270) 2023-05-23 09:52:01 -04:00
jbirddog ba81019257 Exposed filter (#269) 2023-05-23 09:50:34 -04:00
burnettk 4e359e6574 Merge remote-tracking branch 'origin/main' into feature/process_model_unit_tests 2023-05-23 07:19:21 -04:00
burnettk ecca0453f4 bump requests to mitigate security issue 2023-05-23 07:19:09 -04:00
burnettk 20bc44bfe7 lint 2023-05-23 06:38:35 -04:00
jasquat 4ed43e5058 added api to run process model unit tests w/ burnettk 2023-05-22 17:36:07 -04:00
jasquat 3f6bc76a7e Merge remote-tracking branch 'origin/main' into feature/process_model_unit_tests 2023-05-22 15:17:49 -04:00
jasquat 696bfe224c fixed tests related to new permissions w/ burnettk 2023-05-22 14:58:51 -04:00
jasquat 3124c5451a remove api usages from script tests and pyl w/ burnettk 2023-05-22 14:09:17 -04:00
jasquat a3890afba1 added missing permissions to elevated perm macro and removed api calls from unit tests 2023-05-22 13:50:32 -04:00
jasquat b8d06ae08e fixed process-instance api perms in macro 2023-05-22 10:03:46 -04:00
jasquat 289d8b4464 pyl w/ burnettk 2023-05-19 16:22:27 -04:00
jasquat f862aad767 elevated permissions should include running privileged scripts w/ burnettk 2023-05-19 16:21:32 -04:00
jasquat 4fcb0474a4 fixed example permission yml files 2023-05-19 13:46:12 -04:00
jasquat 83f7849685 changed publish endpoint to precede model id so we can grant publish access but read only to a model otherwise w/ burnettk 2023-05-19 12:26:16 -04:00
jasquat 5ec2756a64 Merge remote-tracking branch 'origin/main' into feature/support_macros_in_permission_yaml 2023-05-19 11:16:29 -04:00
jasquat a285037505 added elevated permission macro 2023-05-19 10:50:55 -04:00
burnettk cf1e1a79d9 avoid doing stuff outside of nox 2023-05-19 07:05:58 -04:00
burnettk 8d20ef6956 remove sphinx from pyproject since we do not use it in this way 2023-05-18 18:42:40 -04:00
jasquat 1a6acb11f3 merged in main and resolved conflicts w/ burnettk 2023-05-18 17:17:43 -04:00
jasquat de24d76c9d cleaned up runner tests and rsyncd back to sample w/ burnettk 2023-05-18 17:16:58 -04:00
danfunk 2bdf4e1cfc Remove incorrectly added myst-parser from backend. 2023-05-18 16:30:38 -04:00
jasquat 3961dcebd0 Merge remote-tracking branch 'origin/main' into feature/process_model_unit_tests 2023-05-18 15:11:40 -04:00
jasquat 0bd16283fc allow prepending test case data with process id and added better error formatting w/ burnettk 2023-05-18 15:11:30 -04:00
jasquat a445badcd1 moved remove permission code to own method and some cleanup 2023-05-18 12:35:23 -04:00
jasquat 40b3246eb7 support macros in perm yml and pyl 2023-05-18 12:11:40 -04:00
jasquat 84f3847c50 refactored import perms from yaml and from dmn tables to do the same thing w/ burnettk 2023-05-18 11:29:15 -04:00
danfunk 5d91ee6487 Merge branch 'main' of github.com:sartography/spiff-arena into main 2023-05-18 10:49:55 -04:00
danfunk 670a1d5363 initial set of docs for SpiffWorkflow 2023-05-18 10:49:44 -04:00
jasquat 5b793d5a81 added parse method to turn the yaml into the same format as the incoming perms from the dmn tables w/ burnettk 2023-05-18 10:02:07 -04:00
jasquat 7bfe43d617 added example permission yaml for read only admin 2023-05-18 09:05:26 -04:00
jasquat 40c67f000c cleaned up process model tests and added support for service tasks w/ burnettk 2023-05-17 17:28:51 -04:00
jasquat acaf3a3c24 support call activities in process model test runner w/ burnettk 2023-05-17 16:35:04 -04:00
jasquat d2e2478e06 fixed pyl issues and set max threads based on cpu cores w/ burnettk 2023-05-17 14:04:48 -04:00
danfunk 054cd4d3df cause a rebuild of frontend in jenkins. 2023-05-17 13:50:23 -04:00
jasquat 505e6dc8b5 do not run validations on save and close on a form w/ burnettk 2023-05-17 12:14:44 -04:00
jasquat 1cd2a794eb no reason to instantiate a ProcessModelService 2023-05-17 10:16:09 -04:00
jasquat 3d35dc6213 pyl 2023-05-17 10:01:11 -04:00
jasquat 5d7b183150 Merge remote-tracking branch 'origin/main' into feature/process_model_unit_tests 2023-05-17 09:34:21 -04:00
burnettk 957af50f31 default to 6 threads and set db pool the same, allowing overrides 2023-05-16 19:24:55 -04:00
burnettk 63999da13a Merge remote-tracking branch 'origin/main' into feature/gunicorn-configs 2023-05-16 17:37:33 -04:00
jasquat 2f98891489 added test for failing test and multiple at once w/ burnettk 2023-05-16 17:32:53 -04:00
jasquat c2083103e4 added some framework stuff to run process model unit tests w/ burnettk 2023-05-16 17:24:22 -04:00