Skip to content

server: build OpenSharing from host-supplied parts - #94

Closed
littlegrasscao wants to merge 12 commits into
server/split2/05-http-errorsfrom
server/split2/06-hosting-mode
Closed

littlegrasscao wants to merge 12 commits into
server/split2/05-http-errorsfrom
server/split2/06-hosting-mode

Conversation

@littlegrasscao

Copy link
Copy Markdown
Collaborator

Stacks on #92.

Binds opensharing.hosting.mode and gates the local catalog on standalone so a host can start OpenSharing in-process with OpenSharing.embedded().catalog(...). Identity resolvers stay out until admin APIs need them.

Test plan

  • CI mvn verify
  • HostingModeTest
  • OpenSharingEmbeddedBuilderTest
  • CatalogConfigurationEmbeddedTest
  • CatalogConfigurationTest still loads the local catalog in standalone mode

@littlegrasscao
littlegrasscao marked this pull request as ready for review September 15, 2026 21:59
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from 5aba83f to 93250a9 Compare September 16, 2026 21:51
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch 2 times, most recently from 57d6d1b to b072957 Compare September 22, 2026 16:42
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch 2 times, most recently from 5a34448 to a849dc5 Compare September 25, 2026 22:26
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch from b072957 to 2401602 Compare September 25, 2026 22:26
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from a849dc5 to 34f17c2 Compare September 25, 2026 22:31
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch from 2401602 to c047494 Compare September 25, 2026 22:31
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from 34f17c2 to 6643c01 Compare September 25, 2026 22:37
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch from c047494 to 1d9e3e9 Compare September 25, 2026 22:37
@zhu-tom
zhu-tom added this pull request to stack #111 October 1, 2026 18:55
@littlegrasscao
littlegrasscao removed this pull request from stack #111 October 1, 2026 20:19
@littlegrasscao
littlegrasscao added this pull request to stack #112 October 1, 2026 20:20
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from 6643c01 to 4ca0f12 Compare October 2, 2026 16:08
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch 2 times, most recently from 65e08e9 to fbd5252 Compare October 2, 2026 16:40
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from 4ca0f12 to 257ea90 Compare October 2, 2026 16:40
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch from fbd5252 to f6077f8 Compare October 5, 2026 21:25
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from 356aae1 to 32c2f78 Compare October 5, 2026 23:57
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch from f6077f8 to a367701 Compare October 5, 2026 23:57
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from 32c2f78 to 614f257 Compare October 6, 2026 00:05
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch from a367701 to 68bc4ab Compare October 6, 2026 00:05
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from 614f257 to a313bfd Compare October 6, 2026 00:14
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch from 68bc4ab to 2ffc175 Compare October 6, 2026 00:14
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from a313bfd to 7dc0c8b Compare October 6, 2026 00:31
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch from 2ffc175 to aa6bb8d Compare October 6, 2026 00:31
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from 7dc0c8b to 4c0653b Compare October 6, 2026 00:59
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch from aa6bb8d to a68b1ea Compare October 6, 2026 00:59
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from 4c0653b to 1b8226e Compare October 6, 2026 16:29
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch from a68b1ea to 3d525b7 Compare October 6, 2026 16:30
Sun Cao added 12 commits October 6, 2026 11:47
…nSharing.

OpenSharing.embedded() registers the host CatalogConnector; CatalogConfiguration loads only in standalone mode.
Drop the unused stub catalog; local testing already has a file-backed connector.
Mode lives on OpenSharingProperties and the catalog is already a CatalogConnector bean.
Gate CatalogConfiguration with ConditionalOnProperty and keep OpenSharing.embedded() as the host entry point.
Drop overlapping hosting-mode tests and assert CatalogConfiguration is skipped from OpenSharing.embedded().
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from 1b8226e to 6fd83f2 Compare October 6, 2026 18:53
@littlegrasscao
littlegrasscao force-pushed the server/split2/06-hosting-mode branch from 3d525b7 to 35cfea0 Compare October 6, 2026 18:54
@littlegrasscao littlegrasscao changed the title server: add standalone vs embedded hosting mode server: build OpenSharing from host-supplied parts Oct 6, 2026
@littlegrasscao
littlegrasscao force-pushed the server/split2/05-http-errors branch from 6fd83f2 to 2b718e3 Compare October 6, 2026 19:13
@littlegrasscao
littlegrasscao removed this pull request from stack #112 October 6, 2026 19:14
@littlegrasscao

Copy link
Copy Markdown
Collaborator Author

Folded into #91, which now builds OpenSharing from host-supplied parts. #96 is now based on #92.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant