Skip to content

Migrate SchemaDesignerAPI to JAX-RS V2 annotations with RESTful improvements#23

Draft
epugh with Copilot wants to merge 76 commits into
mainfrom
copilot/migrate-schemadesignerapi-to-v2-annotations
Draft

Migrate SchemaDesignerAPI to JAX-RS V2 annotations with RESTful improvements#23
epugh with Copilot wants to merge 76 commits into
mainfrom
copilot/migrate-schemadesignerapi-to-v2-annotations

Conversation

Copilot AI commented Feb 22, 2026

Copy link
Copy Markdown
  • Analysis: DownloadConfigSet (GET /api/configsets/{configSetName}/files) in main handles the zip; JS can call it directly with the draft configset name ._designer_{configSet}
  • Add optional displayName query param to ConfigsetsApi.Download.downloadConfigSet() — when provided, overrides the filename in the Content-Disposition header (so ._designer_filmsfilms_configset.zip); add DefaultValue import to ConfigsetsApi.java
  • Update DownloadConfigSet.downloadConfigSet() to accept and use displayName; add buildZipResponse(service, configSetName, displayName) overload that sets Content-Disposition header; remove old buildZipResponse(service, configSetName) (was missing the header entirely)
  • Remove downloadConfig method from SchemaDesignerApi.java interface; remove now-unused imports (RAW_OUTPUT_PROPERTY, Extension, ExtensionProperty, Produces, jakarta.ws.rs.core.Response)
  • Remove downloadConfig implementation from SchemaDesigner.java; remove now-unused imports (jakarta.ws.rs.core.Response, StreamingOutput, DownloadConfigSet)
  • Update schema-designer.js: downloadConfig() now constructs mutableId = "._designer_" + configSet and calls /api/configsets/{encoded mutableId}/files?displayName={configSet}; add comment explaining the approach
  • Update BATS test: both download tests now use /api/configsets/.../files?displayName=... endpoint
  • Run gradlew :solr:api:tidy :solr:core:tidy — passes
  • Run gradlew :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.

Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
…mments

Co-authored-by: epugh <22395+epugh@users.noreply.github.com>
…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
epugh and others added 30 commits May 6, 2026 14:40
…hen I had to fix this.

If we used Rails we wouldn't need this!
-- 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants