[ https://issues.apache.org/jira/browse/SOLR-17501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christos Malliaridis updated SOLR-17501: ---------------------------------------- Fix Version/s: main (10.0) Resolution: Resolved Status: Resolved (was: Patch Available) > CLI: Reduce responsibilities of SolrCLI > --------------------------------------- > > Key: SOLR-17501 > URL: https://issues.apache.org/jira/browse/SOLR-17501 > Project: Solr > Issue Type: Improvement > Components: cli > Reporter: Christos Malliaridis > Assignee: Christos Malliaridis > Priority: Minor > Labels: cli, pull-request-available > Fix For: main (10.0) > > Time Spent: 1h 40m > Remaining Estimate: 0h > > The current state of {{SolrCLI}} contains multiple static fields and methods > that are used across the CLI classes. However, the {{SolrCLI}} class is used > as the main entrypoint for our CLI scripts and should not provide and be > responsible for these utilities. > By following the seperation of concerns, two improvements can be made. These > are > - extract the static fields and helper methods to a utility class > - extract global options to a cli options class > In the context of this ticket only the first improvement should be addressed. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org