This is an automated email from the ASF dual-hosted git repository.
caigy pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
from 1f4ef2b31 [ISSUE #4419] Upgrade maven-checkstyle-plugin to 3.1.2
(#4420)
new 53baee780 Add option p to the updateGlobalWhiteAddr command to
indicate the full path of the ACL configuration file to be modified.If the
option is null, updateGlobalWhiteAddr command will update the default acl
configuration file.
new 881ac3a5a Add license to acl configuration files.
new 76dc96e9e update code to maintain compatibility.
new 85abf4cec upddate the method by which a string is determined to be
empty.
new aacaf9153 Merge pull request #4152 from
sunxi92/feature_update_global_white_addr
The 2170 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../org/apache/rocketmq/acl/AccessValidator.java | 2 +
.../rocketmq/acl/plain/PlainAccessValidator.java | 4 ++
.../rocketmq/acl/plain/PlainPermissionManager.java | 14 ++++++
.../acl/plain/PlainAccessControlFlowTest.java | 10 ++---
.../acl/plain/PlainAccessValidatorTest.java | 51 +++++++++++++++++++++-
.../update_global_white_addr/conf/acl/empty.yml | 5 +--
.../conf/acl/plain_acl.yml} | 0
.../conf/plain_acl.yml} | 3 --
.../broker/processor/AdminBrokerProcessor.java | 3 +-
.../rocketmq/client/impl/MQClientAPIImpl.java | 6 +--
.../UpdateGlobalWhiteAddrsConfigRequestHeader.java | 10 +++++
.../rocketmq/tools/admin/DefaultMQAdminExt.java | 5 +++
.../tools/admin/DefaultMQAdminExtImpl.java | 7 ++-
.../apache/rocketmq/tools/admin/MQAdminExt.java | 3 ++
.../acl/UpdateGlobalWhiteAddrSubCommand.java | 15 ++++++-
15 files changed, 119 insertions(+), 19 deletions(-)
copy distribution/conf/tools.yml =>
acl/src/test/resources/update_global_white_addr/conf/acl/empty.yml (94%)
copy acl/src/test/resources/{conf/plain_acl_correct.yml =>
update_global_white_addr/conf/acl/plain_acl.yml} (100%)
copy acl/src/test/resources/{conf/plain_acl_correct.yml =>
update_global_white_addr/conf/plain_acl.yml} (95%)