You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "jaykay12 (via GitHub)" <gi...@apache.org> on 2026/09/26 19:11:01 UTC

[PR] SOLR-16396 | Migration of Get Config V2 API to JAX-RS construct [solr]

jaykay12 opened a new pull request, #4951:
URL: https://github.com/apache/solr/pull/4951

   https://issues.apache.org/jira/browse/SOLR-16396
   
   # Description
   
   Please provide a short description of the changes you're making with this pull request.
   
   # Solution
   
   Please provide a short description of the approach taken to implement your solution.
   We appreciate transparent disclosure of significant [AI Coding assistants](https://github.com/apache/solr/blob/main/dev-docs/how-to-contribute.adoc#setup-for-contributing) usage.
   
   Used - Cursor
   
   # Tests
   
   Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
   
   # Checklist
   
   Please review the following and check all that apply:
   
   - [x] I have reviewed the guidelines for [How to Contribute](https://github.com/apache/solr/blob/main/CONTRIBUTING.md) and my code conforms to the standards described there to the best of my ability.
   - [x] I have created a Jira issue and added the issue ID to my pull request title.
   - [ ] I have given Solr maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended, not available for branches on forks living under an organisation)
   - [x] I have developed this patch against the `main` branch.
   - [x] I have run `./gradlew check`.
   - [ ] I have added tests for my changes.
   - [ ] I have added documentation for the [Reference Guide](https://github.com/apache/solr/tree/main/solr/solr-ref-guide)
   - [x] I have added a [changelog entry](https://github.com/apache/solr/blob/main/dev-docs/changelog.adoc) for my change
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [PR] SOLR-16396 | Migration of Get Config V2 API to JAX-RS construct [solr]

Posted by "jaykay12 (via GitHub)" <gi...@apache.org>.
jaykay12 commented on code in PR #4951:
URL: https://github.com/apache/solr/pull/4951#discussion_r4169343422


##########
changelog/unreleased/SOLR-16396-config-get.yml:
##########
@@ -0,0 +1,14 @@
+title:
+  Migration of Get Config V2 API to JAX-RS construct. Note one response-shape difference from V1 -
+  a plugin's unnamed child elements (e.g. anonymous `processor` entries under an
+  `updateRequestProcessorChain`) are now grouped under a `children` key in the V2 JSON response,
+  instead of V1's legacy empty-string (`""`) key.

Review Comment:
   Title looks little too verbose to me, do we by convention writes such big titles in the CL?
   
   [not sure if it exists or not] should there be another key in the CL yml file say description to capture such low level details?
   
   comment is minor from my side, please take the call as per our community guidelines.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [PR] SOLR-16396 | Migration of Get Config V2 API to JAX-RS construct [solr]

Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh merged PR #4951:
URL: https://github.com/apache/solr/pull/4951


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [PR] SOLR-16396 | Migration of Get Config V2 API to JAX-RS construct [solr]

Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on PR #4951:
URL: https://github.com/apache/solr/pull/4951#issuecomment-5923957436

   @jaykay12 can you review my furthur edits?   And then I think we are there...  Will look to merge in a few days, maybe Friday.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [PR] SOLR-16396 | Migration of Get Config V2 API to JAX-RS construct [solr]

Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on PR #4951:
URL: https://github.com/apache/solr/pull/4951#issuecomment-5970738423

   thanks @jaykay12 for the work...  hopefully all o fthis work will make the next few much easier?  looking at rows 12 thorugh 18: https://docs.google.com/spreadsheets/d/1HAoBBFPpSiT8mJmgNZKkZAPwfCfPvlc08m5jz3fQBpA/edit?gid=769086849#gid=769086849


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [PR] SOLR-16396 | Migration of Get Config V2 API to JAX-RS construct [solr]

Posted by "jaykay12 (via GitHub)" <gi...@apache.org>.
jaykay12 commented on PR #4951:
URL: https://github.com/apache/solr/pull/4951#issuecomment-5906522704

   @epugh can you please approve the workflow runs?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [PR] SOLR-16396 | Migration of Get Config V2 API to JAX-RS construct [solr]

Posted by "jaykay12 (via GitHub)" <gi...@apache.org>.
jaykay12 commented on code in PR #4951:
URL: https://github.com/apache/solr/pull/4951#discussion_r4169343422


##########
changelog/unreleased/SOLR-16396-config-get.yml:
##########
@@ -0,0 +1,14 @@
+title:
+  Migration of Get Config V2 API to JAX-RS construct. Note one response-shape difference from V1 -
+  a plugin's unnamed child elements (e.g. anonymous `processor` entries under an
+  `updateRequestProcessorChain`) are now grouped under a `children` key in the V2 JSON response,
+  instead of V1's legacy empty-string (`""`) key.

Review Comment:
   Title looks little too verbose to me, do we by convention writes such big titles in the CL?
   
   [not sure if the capability exists or not] should there be another key in the CL yml file say description to capture such low level details?
   
   comment is minor from my side, please take the call as per our community guidelines.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [PR] SOLR-16396 | Migration of Get Config V2 API to JAX-RS construct [solr]

Posted by "jaykay12 (via GitHub)" <gi...@apache.org>.
jaykay12 commented on PR #4951:
URL: https://github.com/apache/solr/pull/4951#issuecomment-5863921560

   API|main branch|feature branch
   ---|---|---
   v1 API|<img width="1470" height="780" alt="Screenshot 2026-09-28 at 10 41 17 AM" src="https://github.com/user-attachments/assets/08d8aa00-c24c-4549-aae0-71acfa02f0e1" />|
   -|-|-
   v1 API with expandParams|<img width="1470" height="718" alt="Screenshot 2026-09-28 at 10 41 24 AM" src="https://github.com/user-attachments/assets/108822e7-7876-4dae-820e-4927c911ab95" />
   -|-|-
   v2 API|<img width="1470" height="765" alt="Screenshot 2026-09-28 at 10 41 30 AM" src="https://github.com/user-attachments/assets/d3b3dbb0-7e53-4a48-b20c-b8e04babe417" />
   -|-|-
   v2 API with expandParams|<img width="1470" height="786" alt="Screenshot 2026-09-28 at 10 41 38 AM" src="https://github.com/user-attachments/assets/3463ea0d-aeba-49c7-98e9-752a01a428a0" />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org