Swirrl / drafter

A clojure service and a client to it for exposing data management operations to PMD
Other
0 stars 0 forks source link

socket function to reject and flush write jobs #634

Closed scottlowe closed 1 year ago

scottlowe commented 2 years ago

Addresses issue #548.

See Rick's comment here:

https://github.com/Swirrl/drafter/issues/548#issuecomment-1227425832

This PR also includes a commit from @lkitching which addresses a bug in auth middleware whereby all error types are caught and returned as a 401 not authorised error.

scottlowe commented 2 years ago

This PR is currently waiting upon a fix to the auth middleware which contains a bug whereby any exception, for example an a 503 error will be caught and rethrown as an HTTP 401 error response.

scottlowe commented 1 year ago

Force pushed to resolve merge conflicts following a rebase since master has changed.