Commit Graph
220 Commits
Author SHA1 Message Date
lk 73b3fde837 [maven-release-plugin] prepare for next development iteration (#7379) 2023-09-22 10:08:59 +08:00
lk 1a681bdf9b [maven-release-plugin] prepare release rocketmq-all-5.1.4 (#7377) 2023-09-21 19:58:29 +08:00
caigy c0ba453f38 [ISSUE #7129] Fix resource collisions in acl tests (#7130)
* run acl tests sequencially to avoid collision

* disable reuseForks for acl like broker

* Revert "[ISSUE #7135] Temporarily ignoring plainAccessValidator test (#7135)"

This reverts commit 6bc2c8474a.
2023-08-10 14:08:17 +08:00
rongtong 6bc2c8474a [ISSUE #7135] Temporarily ignoring plainAccessValidator test (#7135) 2023-08-09 16:11:37 +08:00
lyx 5914ff8dbb [ISSUE #6968] fix grpc acl bug (#6969)
* feat(acl): fix acl bug

Signed-off-by: lyx <1419360299@qq.com>

# Conflicts:
#	proxy/src/main/java/org/apache/rocketmq/proxy/grpc/GrpcServerBuilder.java

* add access test for two client

Signed-off-by: lyx <1419360299@qq.com>

* use specific acl config

Signed-off-by: lyx <1419360299@qq.com>

* Recovering unchange file

Signed-off-by: lyx <1419360299@qq.com>

* let test pass

Signed-off-by: lyx <1419360299@qq.com>

---------

Signed-off-by: lyx <1419360299@qq.com>
2023-07-15 18:15:57 +08:00
rongtong e369d7deac [maven-release-plugin] prepare for next development iteration (#6939) 2023-06-24 14:31:42 +08:00
rongtong f7425f52f9 [maven-release-plugin] prepare release rocketmq-all-5.1.3 (#6938) 2023-06-24 12:23:11 +08:00
rongtong ad4cc957fb [maven-release-plugin] prepare for next development iteration (#6895) 2023-06-12 19:12:25 +08:00
rongtong 749967baa8 [maven-release-plugin] prepare release rocketmq-all-5.1.2 (#6892) 2023-06-12 17:44:39 +08:00
hiyo 330d56b2cf [ISSUE#6595] Fix NPE and repeat access key log (#6596)
* [ISSUE#6595] fix NPE and repeat access key log

* optimize code
2023-05-26 08:38:59 +08:00
rongtong 8aea26ef8f [maven-release-plugin] prepare for next development iteration 2023-05-15 19:48:34 +08:00
rongtong e244ebb99a [maven-release-plugin] prepare release rocketmq-all-5.1.1 (#6763) 2023-05-15 18:51:01 +08:00
maheshnikam d9223ffd78 Update AclUtils.java (#6689) 2023-05-05 17:38:17 +08:00
hiyo ea8b9d9f7a [ISSUE #6594] skip verification for admin user (#6613) 2023-04-19 10:31:43 +08:00
yuz10 e0213fb192 [ISSUE #6321] Optimize yaml parse code (#6322)
* optimize yaml parse

* update tests

* update tests

* update tests

* implements Serializable

* arrange import order

* fix spotbugs
2023-03-28 10:40:57 +08:00
Zhouxiang Zhan 8c4568569c Add rpc validatation for gRPC in PlainAccessResource (#6460)
* including NotifyClientTerminationRequest, QueryRouteRequest, QueryAssignmentRequest, ChangeInvisibleDurationRequest
2023-03-24 10:16:52 +08:00
hardyfish 94db42ade7 [ISSUE #6292] fix typos (#6293)
* fix typos

* fix typos

* fix typos
2023-03-15 15:41:01 +08:00
hardyfish 2e69a05fa5 [ISSUE #6159] fix typos 2023-02-23 09:45:33 +08:00
hardyfish e3d173bbc5 [ISSUE #6087] fix typos (#6091) 2023-02-21 22:17:16 +08:00
hardyfish 70495270f4 [ISSUE #6101] Remove rebundant code 2023-02-19 10:36:51 +08:00
hardyfish cce65a685e [ISSUE #6112] Fix typos in RemoteAddressStrategyFactory 2023-02-19 10:35:11 +08:00
zhouxiang 0f878b5157 [maven-release-plugin] prepare for next development iteration 2023-02-16 12:35:58 +08:00
zhouxiang b8e9334d2a [maven-release-plugin] prepare release rocketmq-all-5.1.0 2023-02-16 12:35:58 +08:00
zhouxiang 83d6778747 [ISSUE #6030] Update version to 5.1.0-SNAPSHOT 2023-02-16 12:35:58 +08:00
hardyfish 4cfd54f533 [ISSUE #6019] simplified the PlainAccessResource parse method 2023-02-11 13:10:31 +08:00
zhangjidi2016andzhangjidi a17991bd0f [ISSUE #5303]Resolved the invalid authentication problem of sending batch messages (#5608)
Co-authored-by: zhangjidi <zhangjidi@cmss.chinamobile.com>
2022-11-30 15:41:18 +08:00
Aaron Ai 4469fb51dd Update group id of rocketmq logging (#5564) 2022-11-22 11:31:21 +08:00
Aaron Ai a68078fef8 [ISSUE #5484] Replace logging module with the shaded logback (#5540)
* Replace logging module with the shaded logback

* Add license header

* Fix bazel compile issue
2022-11-21 16:30:15 +08:00
yukon 506b563f55 Revert "[ISSUE #5484] Replace Logging Module with Shaded Logback (#5524)" (#5537)
This reverts commit 809ff6b3e0.
2022-11-17 20:04:17 +08:00
Aaron AiandLi Zhanhui 809ff6b3e0 [ISSUE #5484] Replace Logging Module with Shaded Logback (#5524)
* Remove ClientLogger

* WIP

* WIP

* Rename logger to log

* Make it compile

* WIP

* Fix bazel to use shaded slf4j

* Fix DeleteExpiredCommitLogSubCommandTest

* Fix pom.xml duplication

* Fix maven deps

* Add test logback configuration file

* Fix unit test output

* Fix logback configuration file

* All logging are made on top of slf4j

* Fix test log configuration file name

* Fix test log configuration file name for test module

* All logging are shaded slf4j targeted

* DLedger has an explicit dependency on slf4j

* Fix DLedger

* Fix DLeader issue

* Move logback configuration files to each module

Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
2022-11-17 00:38:28 +08:00
SSpiritsandLi Zhanhui ec5d3236f6 invert dependency between remoting and common module (#5503)
* invert dependency between remoting and common module

* fix bazel

* Fix Bazel warning of indirect dependency

* remove duplicate class ServiceThread

* fix conflict

* revert delete class ServiceThread because of introduced by dledger

Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
2022-11-11 13:34:31 +08:00
zhangjidi2016andzhangjidi 86bc27eb24 [ISSUE #5310] Fix admin tool queryMessage signature check failed (#5319)
* [ISSUE #5310] Fix admin tool queryMessage signature check failed

* Compatible with versions less than 4.9.4

Co-authored-by: zhangjidi <zhangjidi@cmss.chinamobile.com>
2022-10-28 14:26:28 +08:00
mxsm db1f1839b9 [ISSUE #5298]Polish code style for jdk8+ (#5308) 2022-10-14 11:44:21 +08:00
NowinkeyandZhanhui Li 53e0847528 [ISSUE #5204] Enable checkstyle for test code (all module) (#5297)
* delete the checkstyle plugin for child modules

* [ISSUE #5204] Enable checkstyle for test code (all module)

* Exclude generated files

Co-authored-by: Zhanhui Li <lizhanhui@apache.org>
2022-10-14 10:58:48 +08:00
Nowinkey a5725c6b85 [ISSUE #5219] Enable checkstyle for test code (rocketmq-acl and rocketmq-tools) (#5220)
* style(acl):Enable checkstyle for test code

* style(tools):Enable checkstyle for test code
2022-09-29 11:46:56 +08:00
d52be62f71 [ISSUE #5122] Enable checkstyle for test code (rocketmq-broker module) (#5193)
* style(pom):Enable checkstyle for test code

* style(broker):Enable checkstyle for test code

* Update pom.xml

* Enable checkstyle for tests of broker module

* Remove delete tmp file assertion as OS may have cron job to clean them

* Fix bazel issue

Co-authored-by: Aaron Ai <yangkun.ayk@gmail.com>
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
2022-09-28 11:26:44 +08:00
Zhanhui Li 5723b97964 [ISSUE #5126]Make all tests in ACL module pass on Windows (#5127)
* Make all tests pass on Windows

* Run in serial
2022-09-26 17:47:19 +08:00
zhiliatomandshizhili a06a7d073a fix NPE in AclUtils#combineBytes (#5178)
Co-authored-by: shizhili <shizhili@cmss.chinamobile.com>
2022-09-23 19:50:27 +08:00
zhoubo 251fc77957 Merge branch 'develop' into release-5.0.0 2022-09-23 10:28:18 +08:00
Zhanhui Li 96f340d6e1 [ISSUE #5119]Infra enhancement project: Fix remaining test cases in ACL module (#5120)
* Fix the remaining test cases that is not hermetic

* Set size of src/test/java/org/apache/rocketmq/acl/plain/PlainAccessValidatorTest as medium
2022-09-20 09:51:09 +08:00
Zhanhui Li 7c6dbd7f31 [ISSUE #5116]Make PlainAccessControlFlowTest portable (#5117)
* Make PlainAccessControlFlowTest portable

* Enable PlainAccessControlFlowTest in Bazel RBE

* Add guava to acl/test module as an explicit dependency
2022-09-19 18:47:54 +08:00
hill ac82378aea [maven-release-plugin] prepare for next development iteration 2022-09-19 10:27:17 +08:00
hill f3e113cb1f [maven-release-plugin] prepare release rocketmq-all-5.0.0 2022-09-19 10:26:58 +08:00
Aaron Ai 1b011c1f50 [ISSUE #5108] Bump checkstyle to 3.2.0 (#5109)
* Bump checkstyle to 3.2.0

* Fix checkstyle
2022-09-19 10:10:29 +08:00
Aaron Ai c185c60b0f [ISSUE #5108] Bump checkstyle to 3.2.0 (#5109)
* Bump checkstyle to 3.2.0

* Fix checkstyle
2022-09-18 11:17:36 +08:00
Oliver 801639163d [ISSUE #4585] PlainPermissionManagerTest add unit test (#4637)
* [Issue #4585] Add unit test

* update path to support windows and not print SecretKey
2022-09-05 10:22:51 +08:00
mxsm 4f0636a2d9 [ISSUE #4987] fix test case:PlainAccessValidatorTest#testUpdateSpecifiedAclFileGlobalWhiteAddrsConfig (#4988) 2022-09-05 08:38:17 +08:00
Aaron Ai f23fdbe016 Replace findbugs by spotbugs (#4931) 2022-08-30 17:45:56 +08:00
Zhanhui Li 3da7ea9c1b [Infra Improvement] Build And Run Unit Tests in Parallel (#4878)
* Support build with Bazel (#4865)

* Support build with Bazel, fixing tests to make them capable of running in concurrency and hermetic.

* Make test cases capable of running in parallel. (#4874)
2022-08-24 20:53:30 +08:00
RongtongJin bbbb96e129 Revert "Support build with Bazel (#4865)"
This reverts commit ec8a93d2f7.
2022-08-23 14:29:46 +08:00