[
https://issues.apache.org/jira/browse/RATIS-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17789947#comment-17789947
]
Tsz-wo Sze commented on RATIS-1941:
-----------------------------------
Let's simply hard code all the parent commands in a list in RatisShell, but not
using org.reflections.Reflections. The old reflection method will be moved to
ratis-test for testing the hard coded list. We can also use it to test the
other hard coded subcommand list.
As a result, ratis-shell is no longer depend on org.reflections. Only
ratis-test depend on org.reflections.
> Do not print reflections log message in shell
> ---------------------------------------------
>
> Key: RATIS-1941
> URL: https://issues.apache.org/jira/browse/RATIS-1941
> Project: Ratis
> Issue Type: Improvement
> Components: shell
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
>
> {code}
> $./bin/ratis sh
> [main] INFO org.reflections.Reflections - Reflections took 50 ms to scan 1
> urls, producing 6 keys and 21 values
> Usage: ratis sh [generic options]
> [election [transfer] [stepDown] [pause] [resume]]
> [group [info] [list]]
> [local [raftMetaConf]]
> [peer [add] [remove] [setPriority]]
> [snapshot [create]] {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)