Commit Graph

4552 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi 3524fb6994
Merge pull request #7775 from zmstone/0426-5.0-hint-metrics-merge-errors
fix: hint metrics merge errors
2022-05-16 07:42:01 +01:00
Zaiming (Stone) Shi 1c95c417f7
Merge pull request #7951 from zmstone/0514-fix-flaky-authn-test-case
0514 fix flaky authn test case
2022-05-16 06:55:28 +01:00
EMQ-YangM 1a1c82932a fix: when connecting health check failed, update status. 2022-05-16 10:47:20 +08:00
Chris 93799e3ac6 refactor: delete now unused emqx_resource modules 2022-05-16 09:54:26 +08:00
Xinyu Liu 74bef22299
Merge pull request #7947 from emqx/fix_flaky_tests
fix: fix tests for connector so they do not fail
2022-05-16 09:35:00 +08:00
Xinyu Liu c4fd31ae25
Merge pull request #7916 from emqx/EMQX-4204-auto-timer-based-retry-when-in-disconnected-state
feat: add auto_retry for disconnected state in resource manager
2022-05-16 09:34:08 +08:00
JianBo He 3f59650e4b
Merge pull request #7944 from EMQ-YangM/fix_bridge_status
fix: restart resource should not clear metrics
2022-05-16 09:16:12 +08:00
Zaiming (Stone) Shi ed0ab70aaf test: fix flaky-ness of authn api tests
if api test suite runs after the JWT suite, it failes as
the config is not clean
2022-05-15 09:19:31 +02:00
Zaiming (Stone) Shi 522bd935ba fix(authn): check authenticator config existence in pre-update callback
prior to this change, the authenticator existence check was done
in the post-update callback, this causes confusion as teh list
already contains duplication.
2022-05-15 09:19:31 +02:00
Zaiming (Stone) Shi 9527561125 refactor: ensure auth mechanism is binary 2022-05-15 09:19:28 +02:00
Zaiming (Stone) Shi 382d9079e1
Merge pull request #7923 from zmstone/0511-pin-lc-0.3.0-fix-memory-usage-false-alarm
pin lc 0.3.0 fix memory usage false alarm
2022-05-13 21:55:23 +01:00
Zaiming (Stone) Shi 2eb621ba57 fix: hint metrics merge errors 2022-05-13 21:38:51 +02:00
Zaiming (Stone) Shi d48528d74f chore(emqx_os_mon): no need for special handling of 0 2022-05-13 21:12:08 +02:00
Zaiming (Stone) Shi 5f3780a032 fix(os_mon): ensure float point number for ~f format 2022-05-13 20:55:28 +02:00
Zaiming (Stone) Shi 99d50d2455
Merge pull request #7496 from zmstone/0401-5.0-add-parallel-map-lib
refactor: refine pmap with nolink_apply
2022-05-13 18:40:36 +01:00
JimMoen 0c88457b4e
Merge pull request #7945 from DDDHuang/dash_m
feat: dashboard monitor missed topics field
2022-05-14 00:15:43 +08:00
Ilya Averyanov 4d661cd67b
Merge pull request #7939 from savonarola/authz-generalize
feat(authz): add default authn-based authz source
2022-05-13 17:12:56 +03:00
Zaiming (Stone) Shi c355c40ea8 refactor: call emqx_alarm:ensure_deactivated everywhere 2022-05-13 16:02:55 +02:00
Zaiming (Stone) Shi 4013dd2f14 refactor: refine pmap implementation 2022-05-13 15:22:42 +02:00
Georgy Sychev 0522361604 feat(shared_sub): Per-group shared subscription and local strategy 2022-05-13 14:23:06 +02:00
Zaiming (Stone) Shi 1ea0639321 fix(os_mon): do mem check and alarm triggers in emqx_os_mon 2022-05-13 13:06:27 +02:00
Zaiming (Stone) Shi 95f81126ca fix(emqx_os_mon): call load_ctl (lc) to get accurate memory stats
Prior to this commit, the RAM usage ratio reported by memsup is
used to trigger EMQX alarm.
This ratio counted system cache as 'used', so quite often
a false alarm is triggered.
With lc 0.3.0, the usage is caculated without cached RAM
2022-05-13 13:06:27 +02:00
Zaiming (Stone) Shi eb592df275 chore: pin lc version 0.3.0
lc 0.3.0 has new APIs added to get total RAM and usage ratio
2022-05-13 13:06:27 +02:00
Zaiming (Stone) Shi 44b14fc019
Merge pull request #7948 from zmstone/0513-fix-flaky-test
0513 fix flaky test
2022-05-13 12:06:03 +01:00
ieQu1 d277e2b644
Merge pull request #7897 from ieQu1/persist-sess-schema
feat(persistent_session): Make schema more flexible
2022-05-13 11:53:30 +02:00
Zaiming (Stone) Shi 7207b2fa70 test: ensure emqx app stoped for emqx_ctl_SUITE run 2022-05-13 11:52:41 +02:00
Zaiming (Stone) Shi b17a32661e test: fix flaky test, wait for new sample data 2022-05-13 11:52:41 +02:00
Ilya Averyanov 91da451803 feat(authz): add default authn-based authz source 2022-05-13 12:51:10 +03:00
Chris 6574c33797 feat: add auto_retry for disconnected state in resource manager 2022-05-13 11:19:39 +02:00
Chris dbc361959c fix: fix tests for connector so they do not fail 2022-05-13 11:08:11 +02:00
JimMoen ce2638d9c3 test(exhook): test create ExHook server with bad name 2022-05-13 16:56:29 +08:00
JimMoen 4d73fe83be fix(exhook): ExHook name limit with regular expression 2022-05-13 16:56:29 +08:00
DDDHuang a8ef4698e6 feat: dashboard monitor missed topics field 2022-05-13 16:15:33 +08:00
EMQ-YangM d5c416736b fix: restart resource should not clear metrics 2022-05-13 16:05:41 +08:00
JianBo He 93a65da6bc
Merge pull request #7937 from JimMoen/fix-exhook-ssl-key-path 2022-05-13 16:05:16 +08:00
DDDHuang 448f9b5c9f
Merge pull request #7940 from DDDHuang/mqtt_bridge_cs
fix: clean session when destroy mqtt bridge
2022-05-13 16:04:09 +08:00
Zaiming (Stone) Shi 2c9478eeb4
Merge pull request #7943 from zmstone/docs-fix-typo-water-mark-watermark
docs: water mark -> watermark
2022-05-13 08:59:44 +01:00
Zaiming (Stone) Shi 002249a89a docs: water mark -> watermark 2022-05-13 08:35:33 +02:00
DDDHuang 9744040795 fix: clean session when destroy mqtt bridge 2022-05-13 14:02:40 +08:00
EMQ-YangM 798a6dcfb9 fix: update comment 2022-05-13 13:55:17 +08:00
EMQ-YangM 637b81ec18 fix: mqtt connector disable bridge_mode 2022-05-13 13:08:04 +08:00
JimMoen f25dd4b571 fix(exhook): use `lists:filter/2` to delete exhook server conf 2022-05-13 10:15:00 +08:00
JimMoen 40188c140b fix(exhook): show file paths for SSL certs in dashboard 2022-05-13 10:15:00 +08:00
JianBo He bcac65310b
Merge pull request #7931 from HJianBo/gw-fixes
Increase the wait time to get the error of creating authn
2022-05-13 10:10:34 +08:00
Ilya Averyanov ca0c80965a
Merge pull request #7890 from savonarola/fix-jwt-acl-v5
fix(jwt auth): improve JWT handling
2022-05-12 19:48:37 +03:00
ieQu1 8dbd080e45 docs(persistent_session): Apply suggestions from William 2022-05-12 14:29:25 +02:00
ieQu1 b06c4cb6cc docs(persistent_session): Apply suggestions from code review
Co-authored-by: JianBo He <heeejianbo@163.com>
2022-05-12 14:29:25 +02:00
ieQu1 03cfb67a45 docs(persistent_session): Fix Chinese translation 2022-05-12 14:29:25 +02:00
ieQu1 a1285cd308 fix(persistent_sessions): Enhance documentation 2022-05-12 14:29:25 +02:00
ieQu1 39aa7de88f fix(grammar): Fix Chinese translations
Co-authored-by: JianBo He <heeejianbo@163.com>
2022-05-12 14:29:25 +02:00