Skip to content

SOLR-15748 : Created v2 equivalent of v1 'CLUSTERSTATUS' command#1059

Closed
joshgog wants to merge 1 commit intoapache:mainfrom
joshgog:SOLR-15737
Closed

SOLR-15748 : Created v2 equivalent of v1 'CLUSTERSTATUS' command#1059
joshgog wants to merge 1 commit intoapache:mainfrom
joshgog:SOLR-15737

Conversation

@joshgog
Copy link
Copy Markdown
Contributor

@joshgog joshgog commented Oct 10, 2022

https://issues.apache.org/jira/browse/SOLR-15748

Description

Provide v2 equivalent of 'CLUSTERSTATUS' command under the v1 /solr/admin/collections endpoint.

Solution

Created a method that passes a ClusterPropPayload object to the handleRequestBody method of the CollectionsHandler.

Tests

Checklist

Please review the following and check all that apply:

  • I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
  • I have created a Jira issue and added the issue ID to my pull request title.
  • I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
  • I have developed this patch against the main branch.
  • I have run ./gradlew check.
  • I have added tests for my changes.
  • I have added documentation for the Reference Guide

@joshgog
Copy link
Copy Markdown
Contributor Author

joshgog commented Oct 10, 2022

I have just realized that I am supposed to work on the CollectionStatusAPI class and not the CollectionsAPI class

Am working on that.

@sonatype-lift
Copy link
Copy Markdown

sonatype-lift bot commented Oct 10, 2022

⚠️ 314 God Classes were detected by Lift in this project. Visit the Lift web console for more details.

@joshgog
Copy link
Copy Markdown
Contributor Author

joshgog commented Oct 10, 2022

Closing this PR since the task was completed by PR #396

@joshgog joshgog closed this Oct 10, 2022
@joshgog joshgog deleted the SOLR-15737 branch October 10, 2022 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant