Commit Graph

67 Commits

Author SHA1 Message Date
JimMoen
cfe3b2dcee
feat(exhook): subopts in on_client_subscribe/on_client_unsubscribe 2023-12-11 14:11:18 +08:00
JimMoen
46201a8796
feat(exhook): provide the peerport field
- both in `ConnInfo` and `ClientInfo`
2023-12-11 14:11:18 +08:00
JimMoen
0ca725ff25
fix: deprecated share in subopts 2023-10-27 09:23:43 +08:00
JimMoen
b5411da770
refactor: subscribe process to fix shared-sub 2023-10-27 09:23:43 +08:00
firest
53940754b7 chore: shutdown reason will never be a UTF8 atom 2023-09-01 14:17:33 +08:00
Ilya Averyanov
7de26a1776 feat(authz): use extensible map format for actions in authz rules
* support authorization on retain, qos fields
* refactored authz tests heavily
2023-07-07 19:40:34 +03:00
zhongwencool
07172e42f0 test: integer CI check failed 2023-06-20 08:39:23 +08:00
Zaiming (Stone) Shi
ccd2589ff2 Merge remote-tracking branch 'origin/master' into release-51 2023-06-07 21:43:29 +02:00
Andrew Mayorov
99ea9b86c2
feat(tlslib): add separate managed certfiles GC process
Which periodically inpects managed certificates directory and tries
to collect "orphans" here, in other words files that aren't
referenced anywhere in the current emqx config.
2023-06-05 22:41:07 +03:00
某文
03160ef599 test: add more test for update_config 2023-06-04 12:02:02 +08:00
Zaiming (Stone) Shi
a3b1664c06 test: allow inter-test case config dependency for emqx_exhook_SUITE 2023-05-01 20:15:47 +02:00
Stefan Strigler
062ce5f819 refactor: rename emqx_map_lib to emqx_utils_maps 2023-04-14 13:41:34 +02:00
Stefan Strigler
f8e9e54393 refactor: move emqx_json to emqx_utils_json 2023-04-14 13:31:27 +02:00
Thales Macedo Garitezi
65fee34fe4 test: fix inter-suite test teardowns 2023-03-14 16:08:47 -03:00
firest
c5f557e315 fix: disable basic auth for HTTP API 2023-01-12 21:35:49 +08:00
Zaiming (Stone) Shi
dbc10c2eed chore: update copyright year 2023 2023-01-02 09:22:27 +01:00
firest
f9bc700498 fix(exhook): fix obsolete SSL files aren't deleted after the Exhook config update 2022-11-29 10:40:08 +08:00
JianBo He
522f650096 chore: apply review suggestions 2022-09-13 10:28:53 +08:00
JianBo He
ebb2824e15 test: ensure hooks has unloaded if grpc is blocked 2022-09-13 09:15:28 +08:00
firest
63a6cd15c1 test: add emqx_access_control:authorize case for exhook 2022-08-31 21:14:40 +08:00
firest
71aaf5c538 fix(authz): fix dialyzer && test case && proper error 2022-08-31 16:49:27 +08:00
JimMoen
ce2638d9c3 test(exhook): test create ExHook server with bad name 2022-05-13 16:56:29 +08:00
JimMoen
e2eb1da647 test(exhook): exhook config update 2022-05-05 16:24:17 +08:00
Shawn
ef0e6d7fd8 fix(test): ensure the test node removed from the ekka cluster 2022-04-29 16:43:51 +08:00
JimMoen
a7542e1673 test(exhook): exhook request_meta SUITE and prop tests 2022-04-23 20:37:45 +08:00
firest
1a4afabe9f chore(exhook): reformat exhook codes 2022-04-14 14:12:34 +08:00
Thales Macedo Garitezi
72b87a6a7e
feat(exhook): export basic usage info for telemetry 2022-04-07 13:52:28 -03:00
Thales Macedo Garitezi
b1bcf36237
test: silence unused var warning 2022-04-05 15:59:49 -03:00
firest
877db375ed test(exhook): add test case for exhook metrics 2022-03-31 15:29:52 +08:00
JimMoen
02ed2148d7 refactor: move api top -> front, bottom -> rear 2022-03-15 10:28:46 +08:00
JimMoen
dd1168d98a test(exhook_api): move exhook position 2022-03-15 10:28:46 +08:00
JianBo He
321ad09882 chore: fix elvis warnings 2022-03-09 16:46:19 +08:00
JianBo He
857bd1e12a test(exhook): remove helpless test case 2022-03-09 13:50:17 +08:00
JianBo He
0c8d739e2f test: change assert condition 2022-03-09 13:50:17 +08:00
Zaiming (Stone) Shi
bf7ac80a83 feat: add api to delete override conf files
used in tests
2022-01-25 08:29:04 +01:00
lafirest
2327302c28 fix(emqx_exhook): improve test coverage of the emqx_exhook 2022-01-24 12:20:00 +08:00
firest
1d832c3026 fix(emqx_exhook): improve test coverage of the emqx_exhook_metrics 2022-01-21 18:05:01 +08:00
firest
a28d1efd39 fix(emqx_exhook): improve test coverage of the emqx_exhook_mgr 2022-01-21 16:12:21 +08:00
lafirest
9a6a8a778b feat(emqx_exhook): add metrics 2022-01-17 16:04:15 +08:00
JianBo He
10b110447c chore(exhook): change root name emqx_exhook > exhook 2022-01-12 13:51:37 +08:00
Zaiming (Stone) Shi
63167cea70 chore: update copyright 2022-01-05 20:55:00 +01:00
lafirest
7c9c7b6a60 refactor(emqx_exhook): refactore exhook and add api module 2021-12-23 17:51:13 +08:00
JianBo He
34cc8cc7f5 chore: put the pool_size default value to avoid hot upgrade failure 2021-12-09 15:06:18 +08:00
JianBo He
e7ccd88719 test(props): cover messages headers 2021-12-09 15:06:18 +08:00
JianBo He
20ba9d285f feat(exhook): expose headers for on_messages_publish hook 2021-12-09 15:06:17 +08:00
Zaiming (Stone) Shi
5440b431a1 fix: typo takeovered -> takenover 2021-12-07 16:06:23 +01:00
Ilya Averyanov
e37ecc10a6 style(behaviour attrs): unify behaviour declarations 2021-10-21 15:10:59 +03:00
Tobias Lindahl
aa19c2a908 chore: Remove emqx_ct_helpers as dependency 2021-10-15 10:40:57 +02:00
Zaiming Shi
7e9d7c4858 test(proper): move emqx_ct_proper_types to local repo
previously provided by emqx-ct-helpers
2021-10-11 15:28:12 +02:00
JianBo He
4921c00a19 chore(exhook): change the name to binary type 2021-08-12 16:34:10 +08:00