225 Commits

Author SHA1 Message Date
mike cullerton
8e1075406f Merge branch 'main' into bug/refresh-token
# Conflicts:
#	migrations/versions/07ff3fbef405_.py
#	migrations/versions/9e14b40371f3_.py
#	migrations/versions/c98445562ced_.py
#	src/spiffworkflow_backend/services/authentication_service.py
2022-10-20 11:54:25 -04:00
jasquat
72049c0041 added authentication callback endpoint. w/ burnettk, cullerton, jbirddog 2022-10-19 14:19:12 -04:00
burnettk
2fbc6777bd filter out NotFound from our sentry alerts and fix a bunch of typing things 2022-10-18 07:09:03 -04:00
mike cullerton
1f443bb946 PublicAuthenticationService -> AuthenticationService 2022-10-17 12:43:17 -04:00
mike cullerton
516ee5fcd7 Remove allowed process stuff from secrets 2022-10-13 08:20:42 -04:00
mike cullerton
6da486fd99 Merge branch 'main' into feature/secrets 2022-10-12 16:57:56 -04:00
burnettk
e55c740b05 pick up more renames 2022-10-11 10:14:32 -04:00
burnettk
9888bd09ad rename code to error_code 2022-10-11 10:08:05 -04:00
burnettk
fb572c99e8 allow updating primary_file_name and primary_process_id from process model update 2022-10-10 22:18:28 -04:00
burnettk
9bcd5a73a2 refactor get_user_info_from_id_token into authn service. w/ mike 2022-10-07 16:25:37 -04:00
burnettk
611632388d rename function to make sense 2022-10-06 18:50:09 -04:00
burnettk
04918e0f41 jam in task data 2022-10-06 18:00:12 -04:00
burnettk
93e6adbc23 work in progress 2022-10-06 17:16:26 -04:00
burnettk
a1f50f09cd lint 2022-10-06 06:51:19 -04:00
mike cullerton
453c4b1e24 add get and update for allowed process paths 2022-10-05 18:06:33 -04:00
mike cullerton
f3166cc8a8 Merge branch 'main' into feature/secrets 2022-10-04 15:29:33 -04:00
burnettk
5d449fe984 some upgrades while resolving a merge conflict 2022-10-03 13:55:28 -04:00
burnettk
bb2d4d2f1a bump spiffworkflow and fix lint 2022-10-03 12:29:04 -04:00
Dan
7ef2226dec Merge remote-tracking branch 'origin/main' into feature/upgrade_spiff_workflow_and_service_task 2022-09-30 13:12:21 -04:00
mike cullerton
ff56ed068d Use secret key when adding allowed process model 2022-09-30 12:15:04 -04:00
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
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
jasquat
6991db63a4 Merge remote-tracking branch 'origin/main' into feature/script-unit-tests 2022-09-28 11:18:30 -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
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
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
jasquat
9458e3da50 added test to get message instances 2022-09-20 13:54:52 -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
05903af99b Committing to work on logging 2022-09-16 10:30:04 -04:00