adityamparikh opened a new pull request, #71:
URL: https://github.com/apache/solr-mcp/pull/71

   ## Summary
   Remove standalone Solr (single-node Core Admin API) support from 
CollectionService. The project now exclusively supports SolrCloud deployments 
using the Collections API.
   - **`CollectionService.listCollections()`**: Always uses 
`CollectionAdminRequest.List` (Collections API) instead of branching on 
`instanceof CloudSolrClient` with a Core Admin API fallback
   - **Removed unused imports**: `CloudSolrClient`, `CoreAdminRequest`, 
`CoreAdminResponse`, `CoreAdminParams`
   - **Updated Javadoc**: Removed references to standalone Solr and dual-mode 
detection throughout `CollectionService` and `SolrConfig`
   - **Simplified unit tests**: Replaced `CloudSolrClient`-specific and 
standalone-specific test branches with unified `SolrClient` mock tests
   The previous `instanceof CloudSolrClient` check was effectively dead code — 
the application always creates an `Http2SolrClient`, so the standalone branch 
(Core Admin API) was always taken, even when connecting to SolrCloud. This 
change removes the broken dual-mode logic and commits to SolrCloud-only support.
   - All existing unit and integration tests pass
   - `./gradlew spotlessApply build` passes cleanly


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to