448 Commits

Author SHA1 Message Date
burnettk
8da5746bf6 never return 204, always return json response body 2022-09-29 00:13:30 -04:00
jasquat
f4539d2715 Merge remote-tracking branch 'origin/main' into feature/script-unit-tests 2022-09-28 17:45:38 -04:00
mike cullerton
4731d5e751 pre commit 2022-09-28 16:38:58 -04:00
mike cullerton
b44bd41b86 mypy 2022-09-28 16:36:23 -04:00
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
jasquat
043b64f2d6 add line numbers script unit test result failure w/ burnettk 2022-09-28 15:25:13 -04:00
Dan
69d8a8b146 raise an error when a secret is not found - this will help people attempting to debug their service tasks. 2022-09-28 14:44:59 -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
Elizabeth Esswein
4905d40876 add test for dot notation conversion 2022-09-28 12:25:18 -04:00
jasquat
6991db63a4 Merge remote-tracking branch 'origin/main' into feature/script-unit-tests 2022-09-28 11:18:30 -04:00
jasquat
4e402988b3 script unit tests are now running w/ burnettk 2022-09-27 17:21:06 -04:00
jasquat
d162f0d246 some cleanup and refactoring w/ burnettk 2022-09-27 15:10:32 -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
jasquat
556c9f1353 Merge remote-tracking branch 'origin/main' into feature/script-unit-tests 2022-09-27 10:36:45 -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
burnettk
4efe56f46f improve ScriptUnitTestRunner API and tests 2022-09-19 18:38:21 -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
burnettk
54dac63b1e ScriptUnitTestRunner and tests 2022-09-19 16:31:58 -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