Skip to content

Migrate SplitCore and SplitShard to Jax-rs#4179

Draft
epugh wants to merge 9 commits intoapache:mainfrom
epugh:copilot/migrate-splitcoreapi-to-jaxrs
Draft

Migrate SplitCore and SplitShard to Jax-rs#4179
epugh wants to merge 9 commits intoapache:mainfrom
epugh:copilot/migrate-splitcoreapi-to-jaxrs

Conversation

@epugh
Copy link
Contributor

@epugh epugh commented Mar 3, 2026

TestApiFramework.testFramework was failing because it asserted the existence of a /commands/split endpoint at /collections/{collection}/shards in the old-style ApiBag registry — but SplitShardAPI was migrated to JAX-RS and removed from CollectionsHandler.getApis(), so that path no longer resolves via V2HttpCall.getApiInfo().

Changes

  • TestApiFramework.java: Removed the obsolete block that looked up /collections/hello/shards POST and asserted /commands/split in the spec. The remaining assertions against /collections/hello POST (/commands/modify) and the _introspect path are still valid and continue to exercise the V2 API framework lookup mechanics.

Copilot AI and others added 8 commits February 28, 2026 14:54
Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
…client via getSolrClient()

Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
…sts after JAX-RS migration

Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
…cks after JAX-RS migration

Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
@github-actions github-actions bot added documentation Improvements or additions to documentation tests cat:api labels Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:api documentation Improvements or additions to documentation tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants