Migrate SchemaDesignerAPI to JAX-RS V2 annotations with RESTful improvements#23
Draft
Copilot wants to merge 65 commits into
Draft
Migrate SchemaDesignerAPI to JAX-RS V2 annotations with RESTful improvements#23Copilot wants to merge 65 commits into
Copilot wants to merge 65 commits into
Conversation
Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
…mments Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate SchemaDesignerAPI to use JAX-RS annotations
Migrate SchemaDesignerAPI from homegrown @EndPoint to JAX-RS V2 annotations
Feb 22, 2026
Copilot stopped work on behalf of
epugh due to an error
February 22, 2026 16:50
…y docs guard) Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
Copilot
AI
changed the title
Migrate SchemaDesignerAPI from homegrown @EndPoint to JAX-RS V2 annotations
Fix schema designer /query wiping indexed docs when sample docs unavailable
Feb 22, 2026
…ader, sanitize filename Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
Copilot
AI
changed the title
Fix schema designer /query wiping indexed docs when sample docs unavailable
Migrate SchemaDesignerAPI from homegrown @EndPoint annotations to JAX-RS V2 API
Feb 23, 2026
…/docs map for JS rendering Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
Copilot
AI
changed the title
Migrate SchemaDesignerAPI from homegrown @EndPoint annotations to JAX-RS V2 API
Fix schema designer query results not rendering in UI
Feb 23, 2026
…e download+getFile to SchemaDesignerApi Agent-Logs-Url: https://github.com/epugh/solr/sessions/07fed0d8-5175-46b5-bff4-7111da9bb8c3 Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
…emadesignerapi-to-v2-annotations
… DownloadConfigSet.zipConfigSet() Agent-Logs-Url: https://github.com/epugh/solr/sessions/fd2b245f-2e34-45e1-96fe-a5047e48206b Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
…ownload endpoint directly Agent-Logs-Url: https://github.com/epugh/solr/sessions/4f648089-c8e3-4fcd-9ac5-c55c3e9307df Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
…pressions (apache#4286) Co-authored-by: Eric Pugh <epugh@opensourceconnections.com>
SOLR-18219: Rename the CoreAdmin UPGRADECOREINDEX action to UPGRADEINDEX for a cleaner API with reduced verbosity.
…back to using CPU (apache#4328)
…emadesignerapi-to-v2-annotations
…hen I had to fix this. If we used Rails we wouldn't need this!
… left over from v1
…ing about this api that others don't have.
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.
DownloadConfigSet(GET /api/configsets/{configSetName}/files) in main handles the zip; JS can call it directly with the draft configset name._designer_{configSet}displayNamequery param toConfigsetsApi.Download.downloadConfigSet()— when provided, overrides the filename in theContent-Dispositionheader (so._designer_films→films_configset.zip); addDefaultValueimport toConfigsetsApi.javaDownloadConfigSet.downloadConfigSet()to accept and usedisplayName; addbuildZipResponse(service, configSetName, displayName)overload that setsContent-Dispositionheader; remove oldbuildZipResponse(service, configSetName)(was missing the header entirely)downloadConfigmethod fromSchemaDesignerApi.javainterface; remove now-unused imports (RAW_OUTPUT_PROPERTY,Extension,ExtensionProperty,Produces,jakarta.ws.rs.core.Response)downloadConfigimplementation fromSchemaDesigner.java; remove now-unused imports (jakarta.ws.rs.core.Response,StreamingOutput,DownloadConfigSet)schema-designer.js:downloadConfig()now constructsmutableId = "._designer_" + configSetand calls/api/configsets/{encoded mutableId}/files?displayName={configSet}; add comment explaining the approach/api/configsets/.../files?displayName=...endpointgradlew :solr:api:tidy :solr:core:tidy— passesgradlew :solr:api:compileJava :solr:core:compileJava— BUILD SUCCESSFUL✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.