Repository navigation
server: add typed configuration and global error handling (3/N) - #2
Closed
littlegrasscao wants to merge 6 commits into
Closed
littlegrasscao wants to merge 6 commits into
littlegrasscao wants to merge 6 commits into
Conversation
littlegrasscao
force-pushed
the
server/02-protocol-http
branch
from
September 1, 2026 20:30
8b794d9 to
8554607
Compare
littlegrasscao
force-pushed
the
server/03-config-errors
branch
from
September 1, 2026 20:31
40166fb to
7b122fd
Compare
littlegrasscao
force-pushed
the
server/02-protocol-http
branch
from
September 1, 2026 20:35
8554607 to
d83406e
Compare
littlegrasscao
force-pushed
the
server/03-config-errors
branch
from
September 1, 2026 20:36
7b122fd to
d8dc9f7
Compare
Catalog exception types and GlobalExceptionHandler only; OpenSharing configuration properties arrive with the features that need them.
littlegrasscao
force-pushed
the
server/02-protocol-http
branch
from
September 1, 2026 21:03
d83406e to
4208709
Compare
littlegrasscao
force-pushed
the
server/03-config-errors
branch
from
September 1, 2026 21:04
d8dc9f7 to
642209f
Compare
littlegrasscao
changed the base branch from
server/02-protocol-http
to
server/02-30-temporary-credentials-request
September 1, 2026 21:05
added 5 commits
September 1, 2026 15:03
Drop the server() sentinel and isServer(); access-denied messages always name the caller.
Replace the two thin subclasses with CatalogException.Kind and static factories; GlobalExceptionHandler maps each kind to the same responses as before.
Keep CatalogException subclasses for each failure shape, but fold access denied and catalog authentication into CatalogAuthorizationException instead of two parallel types.
CatalogAuthorizationException no longer distinguishes reason; both map to 403 PERMISSION_DENIED with the exception message.
Catalog-specific exception types and their HTTP mapping belong with the catalog connector PR, where connector code translates native catalog failures into sharing-server exceptions.
1 task done
Owner
Author
|
Moved to upstream draft: OpenSharing-IO#20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Part 3/N of splitting OpenSharing-IO#14.
Stacks on fork PR for
server/02-protocol-http(upstream #19 stack).OpenSharingProperties(opensharing.*configuration)GlobalExceptionHandlermapping failures to{errorCode, message}Listingspagination helperTest plan
cd server && mvn test