firest
f1acfece6b
chore(retainer): reformat retainer codes
2022-04-19 10:41:54 +08:00
ieQu1
8df76da9ac
chore(formatting): Fix formatting of modules, authz and authn
2022-04-05 11:01:53 +02:00
ieQu1
99b3f2f83e
docs(schema): Document missing records and fields
2022-04-04 23:58:43 +02:00
Zaiming (Stone) Shi
6fd902ebc8
chore: update dependency app versions
...
lc: 0.2.1
emqtt: 1.5.0
2022-04-04 21:07:02 +02:00
ieQu1
077ef073e5
docs(schema): Add descriptions to the schema
2022-03-23 19:05:25 +01:00
ieQu1
8967e13eee
docs(schema): Move descriptions from emqx.conf.all
2022-03-23 13:52:54 +01:00
DDDHuang
4d4348759d
fix: generate connector & exhook & retainer api response code
2022-03-21 14:12:19 +08:00
firest
114f676150
fix(limiter): make elvis happy
2022-03-18 18:04:47 +08:00
firest
5459e38e15
fix(retainer): don't translate config content, keep it in raw
2022-03-18 17:16:03 +08:00
firest
beba7c9692
fix(limiter): improve code style and description
2022-03-18 16:00:42 +08:00
firest
d28b34f0d1
fix(limiter): improve test case and fix some bugs
2022-03-18 16:00:42 +08:00
firest
32030c8369
feat(limiter): remove the group(zone) level
2022-03-18 16:00:42 +08:00
Zaiming (Stone) Shi
4fce9d4cc3
Merge pull request #7305 from zmstone/chore-split-ct-jobs
...
ci: run ct in concurrent jobs
2022-03-15 21:15:19 +01:00
Zaiming (Stone) Shi
d9ebca3294
test: fix emqx_retainer_api_SUITE infinity wait for table
2022-03-15 20:40:28 +01:00
Zaiming (Stone) Shi
4a35aaa50e
Merge pull request #7304 from zmstone/update-emqtt-to-1.4.8
...
chore: update emqtt to 1.4.8
2022-03-15 17:50:38 +01:00
Zaiming (Stone) Shi
420ad32aa7
chore: update emqtt to 1.4.8
2022-03-15 12:11:44 +01:00
Ilya Averyanov
b3193181b2
chore(retainer): fix mqtt_v5 test suite
2022-03-15 12:55:02 +03:00
Shawn
1d023b541f
refactor(connnector): rename waiting_connect_complete -> wait_for_resource_ready
...
Rename the option to wait_for_resource_ready and defaults to 5s.
2022-03-10 10:46:57 +08:00
Xinyu Liu
e0557551aa
Merge pull request #7156 from EMQ-YangM/upm2
...
fix(emqx_resource): remove async_create option
2022-03-09 17:57:15 +08:00
EMQ-YangM
583624fb8d
fix(emqx_authn): fix test suite
2022-03-09 13:53:05 +08:00
lafirest
3601d147e4
test(retainer): fix the flaky case
2022-03-09 10:12:49 +08:00
lafirest
c6385762c6
test(retainer): improve test coverage from 63% to 92%
2022-03-04 15:24:08 +08:00
lafirest
be61d918bf
fix(retainer): fix config lookup error
2022-03-03 10:43:08 +08:00
JianBo He
cc7db4a104
Merge pull request #7183 from lafirest/refactor/retainer_api
...
refactor(retainer): refactor the api use swagger
2022-03-03 09:55:13 +08:00
lafirest
4a9ba7f8b8
fix(retainer): trap exit message
2022-03-02 17:06:48 +08:00
lafirest
ddb7786d30
refactor(retainer): refactor the api use swagger
2022-03-02 16:37:54 +08:00
lafirest
9bdebabdbc
fix(retainer): fix/add some comment
2022-03-02 11:34:19 +08:00
firest
19d4dabd04
fix(emqx_retainer): fix test case error
2022-02-25 10:08:44 +08:00
firest
5bf1d77993
refactor(emqx_retainer): use hierarchical limiter for the flow control
2022-02-24 18:06:40 +08:00
Zaiming (Stone) Shi
0528262705
chore(app.src): EMQ X -> EMQX in .app.src files
2022-02-16 17:51:45 +01:00
Zaiming (Stone) Shi
b3d9605722
chore(conf): EMQ X -> EMQX in conf files
2022-02-16 17:50:41 +01:00
Yang Miao
78cad0a528
Merge pull request #6989 from EMQ-YangM/up_master
...
refactor(emqx_resource): Improve grouping strategy for emqx_resource_instance
2022-02-16 16:26:28 +08:00
EMQ-YangM
f70fc1a3b0
fix(emqx_bridge, emqx_retainer): hard code group name
2022-02-16 14:02:13 +08:00
Zaiming (Stone) Shi
667d66eb1e
docs(README): EMQ X -> EMQX
2022-02-15 16:19:26 +01:00
EMQ-YangM
79badcb403
fix(emqx_retainer): fix function 'create_resource'
2022-02-11 18:36:55 +08:00
Shawn
8207090419
fix: format the code to remove extra spaces
2022-02-09 18:46:49 +08:00
Zaiming (Stone) Shi
0cde9e6ecf
Merge pull request #6878 from zmstone/slog-ftw
...
refactor: delete deprecated logging macros
2022-01-27 16:15:47 +01:00
Kian-Meng Ang
fc92e4c8bf
docs: fix typos
2022-01-27 12:29:38 +01:00
Zaiming (Stone) Shi
1718360156
refactor: delete deprecated logging macros
2022-01-26 23:25:11 +01:00
Zaiming (Stone) Shi
2105d1f22b
test: call ct helpers to load config
2022-01-25 11:50:18 +01:00
Zaiming (Stone) Shi
2a01c7a077
test: ensure clean config for retainer test
2022-01-25 10:42:19 +01:00
JimMoen
82e3565344
chore: major mode file variable for Emacs
2022-01-13 15:53:47 +08:00
JianBo He
6e0a248555
chore: add namespace for _schema.erl module
2022-01-12 15:01:00 +01:00
JianBo He
b1959086d9
chore: fix elvis warnings
2022-01-12 13:51:37 +08:00
JianBo He
6bb919b65c
chore(retainer): change root name emqx_retainer > retainer
2022-01-11 15:30:42 +08:00
zhongwencool
3bdfa183f3
Merge pull request #6666 from JimMoen/merge-5.0-beta.3-to-master
...
Merge 5.0 beta.3 to master
2022-01-06 18:20:30 +08:00
JimMoen
9a115b99a4
Merge remote-tracking branch 'emqx/release-5.0-beta.3' into merge-5.0-beta.3-to-master
2022-01-06 14:08:45 +08:00
Zaiming (Stone) Shi
63167cea70
chore: update copyright
2022-01-05 20:55:00 +01:00
lafirest
6a80f8320d
Merge pull request #6622 from lafirest/fix/retainer_stats
...
fix(emqx_retainer): fix the stats function of retainer
2022-01-05 09:42:38 +08:00
Zaiming (Stone) Shi
211b8e1b06
Merge remote-tracking branch 'origin/release-5.0-beta.3' into merge-5.0-beta.3-to-master
2022-01-04 22:48:25 +01:00
lafirest
a593921137
fix(emqx_retainer): fix the stats function of retainer
2022-01-04 17:26:48 +08:00
lafirest
aacdc5c2f7
fix(emqx_retainer): remove disc_only option
2022-01-04 14:40:11 +08:00
Zaiming (Stone) Shi
2898fa76e1
Merge remote-tracking branch 'origin/release-5.0-beta.3' into merge-5.0-beta.3-to-master
2022-01-03 11:39:06 +01:00
DDDHuang
d18a2ab57c
fix(delayed): base64 encode twice
2021-12-31 14:07:34 +08:00
lafirest
86001765cb
fix(emqx_retainer): fix config update error
2021-12-31 09:56:25 +08:00
lafirest
ed086728cf
fix: Revert "fix(emqx_retainer): add support for RAP falg"
...
This reverts commit b80a01554b
.
2021-12-30 11:32:08 +08:00
Thales Macedo Garitezi
0020cf592f
Merge remote-tracking branch 'origin/master' into build-with-mix-mkII
2021-12-28 11:28:40 -03:00
lafirest
c68499e39a
fix(api): fix the payload in the result of the api of emqx_retainer & emqx_dealy
2021-12-28 10:25:53 +08:00
Thales Macedo Garitezi
cc652c3343
ci(mix): add elixir deps check
...
Checks whether there are discrepancies between rebar3 and mix deps.
2021-12-24 14:44:49 -03:00
lafirest
b80a01554b
fix(emqx_retainer): add support for RAP falg
2021-12-24 18:03:55 +08:00
lafirest
d2d50443ce
fix(emqx_retainer): use base64 to encode payload in api's result
2021-12-24 10:48:12 +08:00
lafirest
8c42b623c6
Merge pull request #6529 from lafirest/fix/retain_payload
...
fix(emqx_retainer): use base64 to encode payload in api's result
2021-12-24 10:26:00 +08:00
lafirest
b6755d5953
fix(emqx_retainer): use base64 to encode payload in api's result
2021-12-24 10:22:10 +08:00
Thales Macedo Garitezi
34d6dbca61
chore(mix): simplify build by using rebar3 for umbrella apps
...
By treating the apps in the umbrella as dependencies to be managed and
built by rebar3, we can simplify the maintenance of the release, at
the cost of increased build times: using Mix as before, it could track
changed files better than using rebar. But the complexity and
possibility of discrepancies make it using rebar much more compelling.
2021-12-22 09:40:01 -03:00
Thales Macedo Garitezi
917575de5a
chore(mix): minimal elixir mix release build
...
This commit enables a minimal working build of EMQX release using
Mix. However, to properly start the release, several configuration
steps are still missing. A `mix_release.sh` script does a few hacks
to get the release built with Mix to start properly, by first assuming
that `make emqx` has been run prior to the release, ran once to
generate the `app.*.config` files, and then it copies that and some
other files to the expected places.
Also, `emqx_telemetry` hangs the start procedure because it thinks
it's in an official release and tries to make a request. We disable
it temporarily via config just to get a working build for now.
2021-12-21 13:51:22 -03:00
Spycsh
ca2660d609
chore: refactor ?SLOG
2021-12-18 00:17:45 +01:00
Zaiming (Stone) Shi
d3d8b3a01f
fix: allow listener not_found before restart
2021-12-12 22:18:56 +01:00
JianBo He
f645a4eada
test(retainer): add test case for stopping publish clear msg
2021-12-03 14:42:27 +08:00
JianBo He
4b3b29873a
feat(retainer): allow to stop publish clear msg
2021-12-03 14:41:42 +08:00
Zaiming (Stone) Shi
8d653b6d39
Merge pull request #6173 from zmstone/refactor-retainer-use-ordered-set
...
[5.0] refactor(retainer): use ordered_set Mnesia table type
2021-11-18 00:28:57 +01:00
Zaiming Shi
ac693c0dcb
refactor(retainer): use ordered_set Mnesia table type
...
ordered_set is compatible to set in all the existing APIs
and in addition, it provides a more deterministic traversing
cursor in case we want to change the current dirty_select
based "select ALL" implementation
2021-11-16 12:33:59 +01:00
JimMoen
b3f9220d02
style: make elvis happy
2021-11-15 16:30:44 +08:00
JimMoen
106aa559e0
fix(api): DELETE success wrongly returned code 200
2021-11-15 16:30:44 +08:00
Zaiming Shi
56e2a9741f
style: ensure newline at EOF for all files
2021-11-04 14:40:14 +01:00
William Yang
edc1581b4b
perf(pool): change emqx_retainer_pool type to hash
2021-10-27 08:26:02 +02:00
zhongwencool
d784e63b9f
emqx_conf ( #5939 )
...
* feat(emqx_conf): move conf manager for emqx_machine to emqx_conf
* chore(emqx_conf): change emqx:get_config/2 to emqx_conf:get/2
* fix: common test failed
* fix: badmatch by typo wrong key
* fix(emqx_conf): get the wrong core nodes
* fix(emqx_conf): get core node's tnx_id not latest tnx_id
* fix: add ro_transation when copy conf file
* fix: delete debug info
* fix: change ekka_rlog to mria_rlog
* fix: remove cluster_rpc from emqx_machine.
* fix: don't call ekka:start/0 explicitly
* fix: ekka should be start in emqx_machine
2021-10-21 18:08:51 +08:00
k32
37a1c45af0
fix(dialyzer): Fix problems found by dialyzer
2021-10-18 22:04:05 +02:00
k32
d14b8e7da9
chore(mria): ekka_rlog -> mria_rlog
2021-10-18 22:04:05 +02:00
k32
9965d6e028
chore(mria): ekka_mnesia:create_table -> mria:create_table
2021-10-18 22:04:05 +02:00
k32
ae2056da1b
chore(mria): Fix clear_table and ro_transaction calls
2021-10-18 22:04:05 +02:00
k32
b515a45a4f
chore(mria): Rename module: ekka_mnesia -> mria
2021-10-18 22:04:05 +02:00
zhongwencool
c73205a589
Ct helpers migrate ( #5943 )
...
* chore: common test
* chore: delete emqx_ct_helpers deps
2021-10-18 13:45:52 +08:00
Tobias Lindahl
aa19c2a908
chore: Remove emqx_ct_helpers as dependency
2021-10-15 10:40:57 +02:00
lafirest
3524942766
fix: change all ~s in io format to ~ts
...
we should use unicode to replace latin1
2021-10-12 15:09:24 +08:00
lafirest
7ff26003e5
fix(emqx_retainer): fix the bug that re-enable does't work
2021-09-24 10:25:19 +08:00
JimMoen
deac54c847
chore(for editor): Add comments for Emacs major mode.
2021-09-16 15:43:30 +08:00
zhouzb
e998770f2e
refactor(authn): refactor to support global and listener authentication
2021-09-06 18:46:08 +08:00
Zaiming Shi
ec13463f4a
refactor(schema): prepare for hocon schema doc generation
2021-09-03 11:02:31 +02:00
Shawn
f4eae8c0cb
fix(retainer): test case failed for expired retained msg
2021-09-03 10:42:12 +08:00
lafirest
473a3c0b35
Merge pull request #5617 from lafirest/fix/emqx_retainer
...
fix(emqx_retainer): fix function clause error
2021-09-01 16:26:18 +08:00
lafirest
9d2f6503af
fix(emqx_retainer): fix function clause error
2021-09-01 15:44:29 +08:00
DDDHuang
cfe4e37d50
fix: retainer api doc qos enum ( #5614 )
2021-09-01 09:02:47 +08:00
DDDHuang
caef8cb381
fix: retainer message format time by rfc3339 ( #5607 )
...
* fix: retainer message format time by rfc3339
2021-08-31 10:24:17 +08:00
Zaiming Shi
5165fd6b30
refactor(schema): implement new hocon_schema callbacks
2021-08-30 09:56:03 +08:00
zhongwencool
73238ed81f
feat: emqx_resource support cluster_call
2021-08-26 17:23:39 +08:00
Turtle
675d23111c
chore(swagger-schema): Delete the schema that is not reused
2021-08-24 23:01:51 +08:00
Turtle
e0c05242a7
refactor(minirest-callback): refactor minirest callback function
2021-08-24 18:19:21 +08:00
Turtle
5a87d941f6
refactor(retainer): refactor emqx_retainer test case
2021-08-24 10:53:06 +08:00
Turtle
47378e0e96
refactor(schema-utils): refactor mgmt swagger schema utils
2021-08-24 10:53:06 +08:00
k32
9c74fa42a5
chore(rlog): Use the new method of creating shards
2021-08-21 17:47:53 +02:00