26 Commits

Author SHA1 Message Date
burnettk
9888bd09ad rename code to error_code 2022-10-11 10:08:05 -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
burnettk
8da5746bf6 never return 204, always return json response body 2022-09-29 00:13:30 -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
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
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
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
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
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
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
b7915b71c9 First stab at secrets 2022-09-13 08:20:30 -04:00