Commit Graph

285 Commits

Author SHA1 Message Date
mike cullerton 906f4d5346 SecretService.get_secret returns the entire object, not just the value
Fixed the model so it also returns the allowed processes
2022-09-28 16:29:55 -04:00
mike cullerton c0512062b5 add secret_list api endpoint
pagination for secrets
SecretService.get_secret -> SecretService.get_secret_value
2022-09-28 14:40:24 -04:00
mike cullerton 4b50263db8 mypy and pre commit 2022-09-27 10:57:19 -04:00
mike cullerton a87a49ae0f add test for process_instance_show 2022-09-27 10:51:47 -04:00
mike cullerton 78e428feaa pre commit 2022-09-26 15:13:28 -04:00
mike cullerton 35e26e89fa mypy and pre commit 2022-09-26 13:54:26 -04:00
mike cullerton d268e85e1f First stab 2022-09-26 13:40:09 -04:00
jasquat ccdeaceda5 add dmn files when processing a call activity w/ burnettk cullerton 2022-09-23 16:12:46 -04:00
jasquat aea56fc750 allow process_status filter to be a csv string 2022-09-23 14:19:57 -04:00
jasquat a0eba9ed33 Merge remote-tracking branch 'origin/main' into feature/process_instance_search 2022-09-23 10:53:15 -04:00
jasquat da4c20524a code for api error codes instead of db errors since each db raises different errors for the samething 2022-09-23 10:46:03 -04:00
jasquat 8bb45c67d3 avoid checking for mysql specific error messages so other dbs can still work 2022-09-23 09:45:12 -04:00
burnettk 4736e2878e Merge remote-tracking branch 'origin/main' into feature/process_instance_search 2022-09-22 18:02:18 -04:00
mike cullerton de512fb373 Pre commit 2022-09-22 16:40:47 -04:00
mike cullerton 65d163ed39 secrets api 2022-09-22 16:29:08 -04:00
jasquat f02a825cec updated process_models_list to allow getting all process models and udpated tests w/ burnettk 2022-09-22 15:40:01 -04:00
mike cullerton a328846a8b We call create_principal in create_user 2022-09-22 08:25:48 -04:00
mike cullerton 1bf5467ebe logged in headers is now in BaseTest 2022-09-22 08:22:54 -04:00
mike cullerton 59e2d1639e Merge branch 'main' into feature/secrets
# Conflicts:
#	migrations/versions/00a59d952198_.py
#	migrations/versions/1ccfcb7baf22_.py
#	migrations/versions/36aff687ae47_.py
2022-09-22 08:16:42 -04:00
burnettk 9202d9ed12 lint 2022-09-20 17:24:47 -04:00
burnettk a2b81ac8b4 add test and fix for timer_intermediate_catch_event 2022-09-20 17:23:07 -04:00
burnettk e5c363397a fix flaky test that only is flaky on postgres 2022-09-20 15:32:43 -04:00
jasquat 9458e3da50 added test to get message instances 2022-09-20 13:54:52 -04:00
jasquat 2c170efde7 added api to get a list of message instances 2022-09-20 13:26:35 -04:00
mike cullerton bddfc52b65 pre commit 2022-09-19 17:24:05 -04:00
mike cullerton e9cb3b71be mypy 2022-09-19 17:18:03 -04:00
mike cullerton 1c411d0af5 Add UniqueConstraint on secret_id/allowed_relative_path columns in secret_allowed_process table
Add delete_allowed_process to SecretService
Added some remaining tests for SecretService
2022-09-19 17:02:20 -04:00
mike cullerton 8efe5bc0b5 Merge branch 'main' into feature/secrets
# Conflicts:
#	migrations/versions/00a59d952198_.py
#	migrations/versions/70d52c39fdda_.py
#	migrations/versions/ab77f4ccb4d6_.py
#	src/spiffworkflow_backend/routes/process_api_blueprint.py
2022-09-19 13:36:21 -04:00
mike cullerton 05903af99b Committing to work on logging 2022-09-16 10:30:04 -04:00
burnettk 15b5a271ae fix tests 2022-09-15 12:59:05 -04:00
mike cullerton ee29df7268 Merge branch 'main' into feature/secrets
# Conflicts:
#	.gitignore
#	migrations/versions/774ff3b4b328_.py
#	migrations/versions/ab77f4ccb4d6_.py
#	migrations/versions/d4922c5cd32d_.py
#	src/spiffworkflow_backend/load_database_models.py
2022-09-15 11:42:47 -04:00
mike cullerton 7eb76e2328 mypy, precommit 2022-09-15 11:36:14 -04:00
mike cullerton faffa9c37b Secrets now uses simple key/value instead of service and client
Finished update and delete
Add checks for correct user
2022-09-15 11:29:54 -04:00
jasquat 8cffd03013 updated spiff logging to store the correct timestamp value w/ burnettk 2022-09-15 11:08:58 -04:00
jasquat 5acf06046d precommit w/ burnettk cullerton jbirddog 2022-09-14 17:01:02 -04:00
jasquat 8f45f3d586 merged in main w/ burnettk cullerton jbirddog 2022-09-14 16:58:51 -04:00
mike cullerton e20e2fa8e4 Committing for Thursday demo 2022-09-14 16:54:33 -04:00
jasquat 530238c8aa precommit w/ burnettk 2022-09-14 11:57:48 -04:00
jasquat b4c9acfa4c added test to ensure the primary process id is properly udpated on save w/ burnettk 2022-09-14 11:55:20 -04:00
jasquat d8c5e99ac3 ensure the primary process file and id are set when adding a new bpmn file w/ burnettk 2022-09-14 11:33:59 -04:00
jasquat 036055dc59 fixed calling subprocesses with forms w/ burnettk 2022-09-14 09:14:10 -04:00
mike cullerton 431216e63c pre commit 2022-09-13 10:33:44 -04:00
mike cullerton 75b183f821 mypy 2022-09-13 10:22:40 -04:00
mike cullerton b5da2d35c5 pre commit 2022-09-13 09:08:24 -04:00
mike cullerton 516af8a39b Merge branch 'main' into feature/secrets
# Conflicts:
#	migrations/versions/39a05179b8df_.py
#	migrations/versions/774ff3b4b328_.py
#	migrations/versions/9005f01aecf4_.py
#	src/spiffworkflow_backend/api.yml
2022-09-13 08:36:22 -04:00
mike cullerton b7915b71c9 First stab at secrets 2022-09-13 08:20:30 -04:00
jasquat 6eef611095 fix call activities to get the form from the process called and added tests to ensure they are working w/ burnettk 2022-09-12 14:17:18 -04:00
jasquat 5b43326fb6 do not look for called elements if spiff already knows about them w/ burnettk 2022-09-12 11:13:03 -04:00
burnettk db0729bd7f pluralize entity name in path 2022-09-12 08:19:45 -04:00
burnettk 191faf2a17 add process model file delete api 2022-09-11 22:26:21 -04:00