Commit Graph
262 Commits
Author SHA1 Message Date
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
Zhanhui Li d8c2930a20 [ISSUE #5276] Use OS pick-up port (#5280)
* Use OS pick-up port

* Replace deprecated PosixParser with DefaultParser for cli argument parsing

* DefaultParser cannot parse values that contain '=' character

* Revert changes to ServerUtil
2022-10-12 11:10:51 +08:00
rongtong 12e29df6db Fix the issue that AutoSwitchRoleIntegrationTest is flaky (#5277) 2022-10-11 18:44:22 +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
lizhimins 2c6ea9eeaf [ISSUE #5198] Fix NPE in ClusterList SubCommand (#5199) 2022-09-28 11:07:22 +08:00
lizhimins b8607d917c [ISSUE #5095] Support socks proxy in remoting client (#5123) 2022-09-28 10:22:55 +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
zhoubo 251fc77957 Merge branch 'develop' into release-5.0.0 2022-09-23 10:28:18 +08:00
RapperCLandchenyong 91f98f3d51 remove unnecessary parameters (#5143)
Co-authored-by: chenyong <chenyong@highlight.mobi>
2022-09-21 09:48:54 +08:00
islongfei a4296a648b [ISSUE #5135] Format ERROR_MESSAGE string 2022-09-21 08:56:05 +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
zhangjidi2016andzhangjidi ad72dbee54 [ISSUE #5022] Optimize DefaultMQAdminExtImpl (#5023)
Co-authored-by: zhangjidi <zhangjidi@cmss.chinamobile.com>
2022-09-08 11:00:26 +08:00
zhangjidi2016andzhangjidi 10e8e6b8ae [ISSUE #4487]The trackType is wrong when the consumer in broadcasting subscription (#4981)
Co-authored-by: zhangjidi <zhangjidi@cmss.chinamobile.com>
2022-09-06 13:48:10 +08:00
Aaron Ai 4661e58ebe [ISSUE #4934] Checking for violations as part of build (#4935)
* Checking for violations as part of build

* Extend await time for FileWatchServiceTest#watchTwoFiles_ModifyOne
2022-08-31 10:55:04 +08:00
Aaron Ai f23fdbe016 Replace findbugs by spotbugs (#4931) 2022-08-30 17:45:56 +08:00
Zhanhui Li aae7b37d04 [ISSUE 4915] Identify flaky tests (#4919)
* Rule out tests that are flaky. Aka they failed to pass 64 sequential  and concurrent runs

* Change default log root directory for tests

* Follow test encyclopedia

* Fix test cases, allowing OS pick up available port to listen to

* Add sha256

* Use pull_request
2022-08-29 19:52:53 +08:00
rongtong 36a5a5dedd Make all admin command descriptions begin with capital letters (#4912) 2022-08-28 20:30:27 +08:00
mxsm a961d1b44a [ISSUE #4817] Add a command to clear broker data from controller for CLI (#4823) 2022-08-27 19:42:55 +08:00
rongtong c411713836 [ISSUE #4894] Fix NPE in CommandUtil
[ISSUE #4894] Fix NPE in CommandUtil
2022-08-26 15:31:08 +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
YangJodie a5b6a5d4a8 [ISSUE apache#4858] fix ci fialed 2022-08-23 18:52:10 +08:00
YangJodie 17634d3317 [ISSUE apache#4858] add consumer type check for message direct push 2022-08-23 18:52:10 +08:00
RongtongJin bbbb96e129 Revert "Support build with Bazel (#4865)"
This reverts commit ec8a93d2f7.
2022-08-23 14:29:46 +08:00
Zhanhui Li ec8a93d2f7 Support build with Bazel (#4865)
* Support build with Bazel, fixing tests to make them capable of running in concurrency and hermetic.
2022-08-23 13:11:53 +08:00
rongtong a1dfb0197d Remove useless main function (#4867) 2022-08-22 18:00:54 +08:00
Aaron Ai 9e53567b8e [ISSUE #3998] Enable Github Action for CI Build (#4782)
* Enable Github Action for CI Build
2022-08-22 10:36:07 +08:00
allen 97521a3d8d [ISSUE #4849] Print message body while querying message, admin tools (queryMsgById&queryMsgByOffset) enhancement. (#4850) 2022-08-20 12:24:54 +08:00
HuiTong b7f0162ffa fix thread-safety problem of admin tools (#4843) 2022-08-19 12:26:47 +08:00
mxsm 06ca14a508 [ISSUE #4791] Add elect master command for admin CLI (#4798) 2022-08-11 10:06:46 +08:00
Aaron Ai 61b14c3f4e [ISSUE #4785] Enable misspell check GitHub Action (#4786)
* Enable misspell check GitHub Action

* Fix typo
2022-08-08 09:28:41 +08:00
mxsm b145062308 [ISSUE #4789] Fix mqadmin CL print format is incorrect (#4795) 2022-08-07 17:44:42 +08:00
rongtong 0b6563b58f Add getControllerConfig and updateControllerConfig command for admin CLI (#4793) 2022-08-07 15:28:51 +08:00
mxsmandAaron Ai b875b3309a [ISSUE #4709] fix method is on the same line as @Override annotation (#4717)
Co-authored-by: Aaron Ai <yangkun.ayk@gmail.com>
2022-08-01 20:42:34 +08:00
rongtong e976cdbfc1 [ISSUE #4739] Add TimerMessageStore runtime info in ClusterListSubCommand (#4740)
* Add TimerMessageStore runtime info in ClusterListSubCommand

* Modify AdminBrokerProcessorTest to pass the UTs
2022-08-01 10:15:20 +08:00
wangfanandwangfan e8fd55bb01 [ISSUE #4257] Verify that the value of the permission is valid when updating the topic/broker config (#4498)
* [ISSUE #4257] Verify that the value of the permission is valid when updating the topic/broker config

* delete useless import

Co-authored-by: wangfan <wangfan8@xiaomi.com>
2022-07-31 16:40:29 +08:00
Heng Du 8034690d5f Merge pull request #4651 from Oliverwqcwrw/develop-sendmsgstatus-fix-32
[ISSUE #4650] Admin tool sendMsgStatus add more description
2022-07-26 14:46:05 +08:00
OliverandRongtongJin a3aef179f7 [ISSUE #4647] Update CommandLineOption secretKey to necessary (#4648)
* Ignore the unstable updateGlobalWhiteRemoteAddressesTest in the arm environment of CI

* [ISSUE #4647] udpate option to necessary

Co-authored-by: RongtongJin <jinrongtong16@mails.ucas.ac.cn>
2022-07-23 13:26:03 +08:00
JanWarlen 3a1d1a7e60 [ISSUE #4644] Fix mqadmin deleteTopic bug when command exec on slave broker 2022-07-22 09:06:45 +08:00
Oliver dcf3c29b67 [ISSUE #4650] add description 2022-07-21 18:27:48 +08:00
RongtongJin dd09f2b782 Merge remote-tracking branch 'apache/develop' into 5.0.0-beta-dledger-controller
# Conflicts:
#	distribution/bin/mqshutdown
#	pom.xml
2022-07-20 10:53:39 +08:00
zhouxiang ac6ccc5445 [ISSUE #3905] Support bname in protocol 2022-07-18 14:21:32 +08:00
rongtong 225bc42f95 Fix the wrong format output of clusterlist command (#4608) 2022-07-15 10:21:11 +08:00
Oliver 74e1a60b37 [ISSUE #4597] Fix inaccurate judgement 2022-07-14 17:16:05 +08:00
RongtongJin b6fac74443 Merge branch 'develop-merge-5.0.0' into 5.0.0-beta-dledger-controller
# Conflicts:
#	.travis.yml
2022-07-12 14:33:55 +08:00
RongtongJin 8ef151d605 Change rocketmq version to 5.0.0-SNAPSHOT in all pom files 2022-07-08 23:45:55 +08:00
RongtongJin 9cd2e901e2 Make #ACTIVATED to display 2022-07-08 20:04:21 +08:00