Commit Graph

1883 Commits

Author SHA1 Message Date
Shawn f7e6783402 fix: typos in some rule-action's descriptions 2023-02-08 13:49:35 +08:00
Shawn 5b518eedb8 fix(http-api): using a fixed order when cluster query nodes 2023-02-07 17:16:04 +08:00
Shawn 73c6275788 chore: update emqx_rule_engine.appup.src 2023-02-04 12:53:29 +08:00
Shawn c22e2a0d18 fix: add retry for rules 2023-02-04 12:48:12 +08:00
JianBo He 26cec4be69
Merge pull request #9869 from HJianBo/upgrade-gen-coap-44
Upgrade gen coap to v0.4.3
2023-01-31 18:29:21 +08:00
Stefan Strigler 6e66d52d31
Merge pull request #9803 from sstrigler/main-v4.4
feat: support HAProxy protocol for mgmt API
2023-01-31 10:31:56 +01:00
JianBo He c3e1c8a054 chore(coap): update gen_coap to v0.4.3 2023-01-31 15:16:35 +08:00
Zaiming (Stone) Shi 7c476fd80b
Merge pull request #9790 from lafirest/feat/banned_with_delayed
feat: improve the integration of the banned and the delayed/retain feature
2023-01-30 16:40:03 +01:00
Shawn e459180015 fix: restart oracle resources at relup 2023-01-30 14:53:20 +08:00
firest 482952e951 chore: bump app version 2023-01-30 10:24:52 +08:00
firest 7fd7cfc665 feat: filter out messages which the source client is banned when delivering the retained message 2023-01-29 20:26:11 +08:00
Stefan Strigler 2b407cf0fa feat: support HAProxy protocol for mgmt API 2023-01-19 13:24:33 +01:00
Shawn c3e494c735 chore: update esockd to 5.8.8 2023-01-19 10:02:46 +08:00
Shawn e8abaf6a24 chore: update mysql-otp to 1.7.2 2023-01-16 16:35:08 +08:00
Zaiming (Stone) Shi ab8521c92c chore: bump app vsn to 4.4.15 for emqx_rule_engine 2023-01-08 10:43:37 +01:00
Thales Macedo Garitezi 53ab67285a Merge tag 'v4.4.14' into sync-v4414-into-v44 2023-01-06 13:34:34 -03:00
Thales Macedo Garitezi f6bdd1ffec chore: prepare for v4.4.14 release 2023-01-05 14:09:07 -03:00
Thales Macedo Garitezi 822a510873 chore: sync ee changes back into ce repo 2023-01-05 13:41:13 -03:00
Zaiming (Stone) Shi 7ae159af8f chore: bump emqx_exproto app vsn 2023-01-02 14:56:29 +01:00
Zaiming (Stone) Shi 14ba75502f chore: update copyright year 2023-01-02 14:54:38 +01:00
Zaiming (Stone) Shi ad91eca0e5 chore: generate appup 2022-12-30 20:45:55 +01:00
Zaiming (Stone) Shi e88feb5096 chore: bump app vsn for emqx_rule_engine 2022-12-30 20:21:48 +01:00
Zaiming (Stone) Shi 875df2b7ea Merge remote-tracking branch 'origin/release-v44' into main-v4.4 2022-12-30 19:55:26 +01:00
Thales Macedo Garitezi bc654ddf3a chore: bump release -> v4.4.13 2022-12-30 11:51:32 -03:00
Thales Macedo Garitezi ea209585b5 fix(jwt_sup): delete the worker spec from the supervision tree 2022-12-30 10:24:41 -03:00
Thales Macedo Garitezi 823efbaed3 fix(gcp_pubsub): ensure jwt token is deleted after worker stops and always ensure refresh timer (v4.4)
https://emqx.atlassian.net/browse/EMQX-8652

Since the rule resource testing mechanism creates a new resource to
test the configuration, a new JWT associated with an unique temporary
resource was being created and left in the JWT table, leaking it.

Also, a wrong case clause when setting the new refresh timer for the
JWT worker was preventing it from refreshing from the 2nd refresh
onward.
2022-12-30 10:24:26 -03:00
Thales Macedo Garitezi d345ccf4b8 chore: update appups 2022-12-29 11:45:45 -03:00
Thales Macedo Garitezi 7f8c5dcf01 fix(jwt_sup): delete the worker spec from the supervision tree 2022-12-29 11:33:07 -03:00
Thales Macedo Garitezi 56b1df1c7f fix(gcp_pubsub): ensure jwt token is deleted after worker stops and always ensure refresh timer (v4.4)
https://emqx.atlassian.net/browse/EMQX-8652

Since the rule resource testing mechanism creates a new resource to
test the configuration, a new JWT associated with an unique temporary
resource was being created and left in the JWT table, leaking it.

Also, a wrong case clause when setting the new refresh timer for the
JWT worker was preventing it from refreshing from the 2nd refresh
onward.
2022-12-29 11:33:06 -03:00
Zaiming (Stone) Shi 0419c9b17e chore: update appups 2022-12-29 12:09:06 +01:00
Shawn f2bb0a364b chore: sometimes the alarm resource down cannot be cleared 2022-12-26 12:13:19 +08:00
Shawn 7c420b39de chore: update emqx_rule_engine.appup.src 2022-12-14 13:52:41 +08:00
Shawn 781c8949b3 fix: tmp probing resources are not removed after testing resources 2022-12-14 13:52:24 +08:00
Zaiming (Stone) Shi c5bbac0a23 chore: restore apps/emqx_retainer/src/emqx_retainer_sup.erl
this file, ce should be copied to ee, not the other way around
2022-12-09 14:44:53 +01:00
Zaiming (Stone) Shi f818a78d29 chore: update appup 2022-12-09 14:41:30 +01:00
Zaiming (Stone) Shi 0c3de088cb chore: sync changes from ee to ce 2022-12-09 13:58:07 +01:00
firest a01301a985 test(psk): add new ciphers into test case 2022-12-09 15:21:40 +08:00
zhongwencool c20b597e12 chore: replace match_object with select/4 2022-12-05 17:00:38 +08:00
zhongwencool a7079b8c0e test: fix rule_engine SUITE failed 2022-12-05 09:40:36 +08:00
zhongwencool 9f129a300a fix: load bootstrap file when no bootstrap user 2022-12-04 16:55:48 +08:00
Zaiming (Stone) Shi f54cf5466f fix(ehttpc): Upgrade ehttpc to 0.4.2 2022-12-02 09:51:15 +01:00
Zaiming (Stone) Shi d244c298dc chore: update app vsn and appup 2022-11-28 12:49:35 +01:00
Zaiming (Stone) Shi 89ad7ed7ef chore: bump app versions 2022-11-28 11:03:28 +01:00
Zaiming (Stone) Shi 71299a2bcf Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4 2022-11-28 10:02:29 +01:00
Zaiming (Stone) Shi 772ea4988b Merge remote-tracking branch 'origin/release-v44' into main-v4.4 2022-11-28 09:48:01 +01:00
Zaiming (Stone) Shi 3c84f4b254 chore: re-generate appup 2022-11-26 18:14:15 +01:00
Zaiming (Stone) Shi fdfb735327 Merge remote-tracking branch 'origin/release-v43' into main-v4.3 2022-11-26 15:59:29 +01:00
firest 0d2f1eb49e chore: update appup 2022-11-22 17:31:59 +08:00
firest cc03bc7881 fix: hide sensitive data in some logs 2022-11-22 16:55:47 +08:00
Shawn 17b6b71ea5 Merge remote-tracking branch 'origin/release-v43' into sync_v43_to_v44 2022-11-17 13:47:10 +08:00
Shawn 252b03abd8 fix: generating alarm name for utf8 resource id failed 2022-11-17 10:23:33 +08:00
Shawn f843938364 fix: don't check resource alive for the temporary resources 2022-11-16 09:43:04 +08:00
Shawn e4a3dd9ee8 fix: enlarge the timeout when check alive of resources 2022-11-15 21:07:01 +08:00
firest ebfaecfa91 fix(jwt): fix the jwt ACL will return a wrong result when the token is expired 2022-11-15 09:50:49 +08:00
Zaiming (Stone) Shi 1783fa1e80 Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-14 23:15:39 +01:00
JimMoen 7b5340ce09
fix(api): uppercase api request method 2022-11-14 17:55:17 +08:00
Zaiming (Stone) Shi c1d61a6f30 Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-10 16:01:29 +01:00
Shawn 6725a36dbf fix: make init_resource_with_retrier/4 only 'throw' when failed 2022-11-10 10:44:11 +08:00
Shawn 407a197c8a fix: typos in the RAISE macro of rule_engine 2022-11-09 12:06:58 +08:00
JianBo He 01ada64e46
Merge pull request #9325 from HJianBo/fix-flaky-test
test(stomp): fix flaky tests
2022-11-08 16:58:39 +08:00
JianBo He 491b402be3 test(stomp): fix flaky tests 2022-11-08 09:46:01 +08:00
Zaiming (Stone) Shi 45eed402d4 Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-07 22:16:05 +01:00
Zaiming (Stone) Shi a7768b6e98
Merge pull request #9313 from zmstone/1105-fix-resource-creation-retry-loop-should-delay-first
fix(emqx_rule_monitor): sleep before retry but not after
2022-11-07 22:09:28 +01:00
Zaiming (Stone) Shi 0eebabd34c Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-07 10:48:38 +01:00
Zaiming (Stone) Shi 51a959c3b4 Merge remote-tracking branch 'origin/release-v44' into ocsp-rv44 2022-11-07 10:18:15 +01:00
Zaiming (Stone) Shi 2998b014ce
Merge pull request #9314 from zmstone/1105-ci-improve-actions
1105 ci improve actions
2022-11-07 09:20:16 +01:00
Zaiming (Stone) Shi 568bd520a8 ci: ensure docker-ct for emqx_auth_http and emqx_web_hook 2022-11-07 08:51:32 +01:00
Zaiming (Stone) Shi 8ff8a8b55d ci: split fast (regular) and docker-compose (docker) ct 2022-11-06 19:39:06 +01:00
JimMoen 639006e302
fix(prometheus): disable auth for prometheus endpoint on mgmt listener 2022-11-07 00:44:37 +08:00
Zaiming (Stone) Shi 9b194baf69 fix(emqx_rule_monitor): sleep before retry but not after 2022-11-05 17:42:29 +01:00
Zaiming (Stone) Shi 2c8874cfe0
Merge branch 'release-v43' into EMQX-7665-cannot-clear-alarms 2022-11-04 16:12:56 +01:00
Zaiming (Stone) Shi 3346f2a26c Merge remote-tracking branch 'origin/release-v44' into 1104-ci-split-ct-runs 2022-11-04 14:34:24 +01:00
Zaiming (Stone) Shi be10498919 chore: re-generate appup 2022-11-04 13:50:24 +01:00
Thales Macedo Garitezi d3c6ade640 docs: rewrite fn doc 2022-11-04 09:38:40 -03:00
Thales Macedo Garitezi f5c655ec1b refactor: add api to ensure jwt token is created 2022-11-04 09:38:40 -03:00
Thales Macedo Garitezi d714f78590 refactor: use `include` for headers 2022-11-04 09:38:40 -03:00
Thales Macedo Garitezi a33977e635 feat: add ets table creation to jwt supervisor 2022-11-04 09:38:40 -03:00
Thales Macedo Garitezi b4837302aa refactor: move api to emqx_rule_engine_jwt module 2022-11-04 09:38:40 -03:00
Thales Macedo Garitezi 270f47aafc refactor: start jose as an app dependency 2022-11-04 09:38:40 -03:00
Thales Macedo Garitezi f926bcfbc0 fix(appup): stop workers and supervisors before deleting code when downgrading 2022-11-04 09:38:40 -03:00
Thales Macedo Garitezi 4a06c25178 chore: add some docs and specs; treat some possible errors 2022-11-04 09:38:40 -03:00
Thales Macedo Garitezi 7f4ffee7b5 feat: add jwt worker for rule actions
Will be used in GCP PubSub resource for EE.
2022-11-04 09:38:11 -03:00
Zaiming (Stone) Shi 2062911e3b Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-04 13:28:12 +01:00
Xinyu Liu 1887ae735b
Merge pull request #9291 from JimMoen/fix/repub-or-mqtt-bridge-topic-validate
fix: mqtt_bridge and republish validate msg topic
2022-11-04 19:14:41 +08:00
Zaiming (Stone) Shi 7dfa83f3c6
Merge pull request #9223 from emqx/av/parallelCTruns
ci(test): test parallel CT runs on self-hosted runners
2022-11-04 12:11:54 +01:00
JimMoen f9276edaf8
fix: mqtt_bridge and republish validate msg topic 2022-11-04 15:40:46 +08:00
zhongwencool 215548155b chore: update management.bootstrap_apps_file's document 2022-11-04 10:35:59 +08:00
Zaiming (Stone) Shi 279046c51e Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-03 21:58:25 +01:00
Zaiming (Stone) Shi 78c0ca18a7
Merge pull request #9296 from terry-xiaoyu/improve_testcase_emqx_rule_utils
test: improve the test cases for t_if_contains_placeholder
2022-11-03 14:45:24 +01:00
Thales Macedo Garitezi 915504c694 chore(appup): update appups 2022-11-03 10:35:57 -03:00
Thales Macedo Garitezi af4141bef4 chore(oscp_crl): port OCSP and CRL features to CE repo (re4.4) 2022-11-03 10:10:16 -03:00
Stefan Strigler 835d3a33ef fix(emqx_mgmt): call emqx_alarm:delete_all_deactivated_alarms for remote nodes
Old call was calling a non-existant function on current module, instead we make
call directly into `emqx_alarm` on remote node.
2022-11-03 14:02:55 +01:00
Shawn 2c27f8c474 test: improve the test cases for t_if_contains_placeholder 2022-11-03 18:49:06 +08:00
JimMoen cb3bd24528
test: unlink the process would be exited by tcp close 2022-11-03 16:43:34 +08:00
JimMoen 86dd1a3e05
test: different resons for disconnect event 2022-11-03 16:43:34 +08:00
Zaiming (Stone) Shi 7d3c7e1cc3 test: clear mqtt_admin table after bootstrap test suite 2022-11-02 20:15:23 +01:00
Zaiming (Stone) Shi 16a306f6f8 test: ensure rule engine resource providers are loaded 2022-11-02 20:06:26 +01:00
Zaiming (Stone) Shi 6d943181d7 test: ensure emqx_dashboard tables are created for data export import 2022-11-02 19:20:39 +01:00
Zaiming (Stone) Shi ae0225853b chore: regenerate appup 2022-11-01 19:37:35 +01:00
Zaiming (Stone) Shi f0b350ba4f Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-01 13:51:06 +01:00