Commit Graph

238 Commits

Author SHA1 Message Date
lizhimins 2baaf044ea [maven-release-plugin] prepare release rocketmq-all-5.3.2 (#9231) 2025-03-08 14:07:17 +08:00
ltamber 295821bd92 [ISSUE #9181] update fastjson version
- 将 fastjson 依赖从 com_alibaba_fastjson 更新为 com_alibaba_fastjson2_fastjson2
- 此更改统一了 acl 模块中 fastjson 的使用版本

Signed-off-by: ltamber <ltamber12@gmail.com>
2025-02-13 10:04:51 +08:00
yx9o c24f654909 [ISSUE #9156] Use fastjson2 in AclUtils#getAclRPCHook (#9157) 2025-02-10 10:40:59 +08:00
imzs bfb3d17ef1 [ISSUE #8974] Support recalling of delay message (#8975) 2024-12-09 16:56:12 +08:00
dingshuangxi888 851473443e [ISSUE #8882] Change the compare method for acl signature to improve the security. (#8883)
* Change the compare method for acl signature to improve the security.

* Change the compare method for acl signature to improve the security.
2024-11-07 19:04:54 +08:00
lizhimins daf3d1a666 [maven-release-plugin] prepare for next development iteration (#8750) 2024-09-26 09:33:52 +08:00
lizhimins b122c8109d [maven-release-plugin] prepare release rocketmq-all-5.3.1 (#8749) 2024-09-25 23:24:56 +08:00
Hard_X 9059fcddd8 [ISSUE #8519] Add test case for rocketmq acl module. (#8508)
* add AuthorizationHeaderTest

* add PlainPermissionCheckerTest

* add license header for AuthorizationHeaderTest and PlainPermissionCheckerTest

* Update
2024-08-16 14:30:32 +08:00
lizhimins 5dc0c6a8b5 [maven-release-plugin] prepare for next development iteration (#8382) 2024-07-09 01:30:43 +08:00
lizhimins 7ee50ec32e [maven-release-plugin] prepare release rocketmq-all-5.3.0 (#8379) 2024-07-08 23:15:33 +08:00
vate 77d6633e62 [ISSUE #8298] Optimize some code format or style (#8299)
Co-authored-by: supervate <vate@MacBook-Air-4.local>
2024-07-04 18:36:55 +08:00
dingshuangxi888 7145964b4a [ISSUE 8230] fix the acl for NotifyClientTerminationRequest because group can be null. (#8231) 2024-06-04 13:46:16 +08:00
Liu Shengzhong c8fe0cb794 [ISSUE #7909] Fix send retry message permission check (#7917) 2024-04-23 23:23:17 +08:00
rongtong e656f91da5 [ISSUE #7929] Add some request codes to the permission verification for the admin role (#7930)
* Add some request codes to the permission verification for the admin role

* Fix UT can not pass
2024-03-18 13:56:24 +08:00
rongtong f41160210a [maven-release-plugin] prepare for next development iteration (#7828) 2024-02-12 11:07:03 +08:00
rongtong 281a7b32f0 [maven-release-plugin] prepare release rocketmq-all-5.2.0 (#7827) 2024-02-11 17:53:50 +08:00
Zhouxiang Zhan 5b43387be3 [ISSUE #7543] Retry topic v2 in pop (#7544)
* Implement pop retry topic v2

* Use pop retry topic v2 to notify the origin topic

* add parse group

* retry topic v2 compatibility

 * calculate consumer lag

 * delete retry topic
2023-11-23 14:53:48 +08:00
Ji Juntao dbc633d92b Check the input yaml and the path in ACL (#7475)
* check the input yaml and the path.

* only modify the path, no yaml.

* remove useless import
2023-10-19 14:12:33 +08:00
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
zhangjidi2016 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 Ai 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
SSpirits 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
zhangjidi2016 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