This is an automated email from the ASF dual-hosted git repository.
tanxinyu pushed a change to branch release-3.1.1
in repository https://gitbox.apache.org/repos/asf/ratis.git
from 5a470a2b2 RATIS-2147. Md5 mismatch when snapshot install (#1142)
add 313c51a13 RATIS-2157 Enhance make_rc.sh for non-first rc at release
time #1149
add fd260d8fd RATIS-2155. Add a builder for RatisShell. (#1150)
add d7709da87 RATIS-2158. Let the snapshot sender and receiver use a new
digester each time (#1151)
add 45a30d890 Change version for the version 3.1.1 -rc3
No new revisions were added by this update.
Summary of changes:
dev-support/make_rc.sh | 4 +-
.../grpc/client/GrpcClientProtocolClient.java | 1 +
.../org/apache/ratis/grpc/server/GrpcService.java | 1 +
.../apache/ratis/grpc/MiniRaftClusterWithGrpc.java | 6 +-
.../ratis/server/storage/FileChunkReader.java | 2 +-
.../java/org/apache/ratis/shell/cli/CliUtils.java | 33 +-----
.../org/apache/ratis/shell/cli/sh/RatisShell.java | 44 +++++++-
.../shell/cli/sh/command/AbstractCommand.java | 14 ++-
.../shell/cli/sh/command/AbstractRatisCommand.java | 6 +-
.../apache/ratis/shell/cli/sh/command/Context.java | 69 ++++++++++++
.../ratis/shell/cli/sh/election/PauseCommand.java | 3 +-
.../ratis/shell/cli/sh/election/ResumeCommand.java | 3 +-
.../shell/cli/sh/election/StepDownCommand.java | 3 +-
.../shell/cli/sh/election/TransferCommand.java | 3 +-
.../ratis/shell/cli/sh/group/GroupListCommand.java | 2 +-
.../apache/ratis/shell/cli/sh/peer/AddCommand.java | 2 +-
.../ratis/shell/cli/sh/peer/RemoveCommand.java | 3 +-
.../shell/cli/sh/peer/SetPriorityCommand.java | 3 +-
.../shell/cli/sh/snapshot/TakeSnapshotCommand.java | 3 +-
.../apache/ratis/security/SecurityTestUtils.java | 17 +++
.../ratis/shell/cli/sh/TestSecureRatisShell.java | 123 +++++++++++++++++++++
21 files changed, 286 insertions(+), 59 deletions(-)
create mode 100644
ratis-test/src/test/java/org/apache/ratis/shell/cli/sh/TestSecureRatisShell.java