Draft
Migrate SchemaDesignerAPI to JAX-RS V2 annotations with RESTful improvements#23
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
…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.
-- again; was accidentally un-deprecated for 10.0. Oops.
…n mapping old to new system property names (apache#4535) Co-authored-by: Utsav Parmar <utsavp0213@gmail.com>
Repeat changelog "type" documentation/usage.
MapSerializable is deprecated; stop using it in some places.
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: epugh <22395+epugh@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…emadesignerapi-to-v2-annotations
…PR and landed in main.
…gSetsAPI /configs.
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.