turtleDeng
00863acea3
Merge emqx30 ( #2181 )
...
* Change the reason code in will topic acl check (#2168 )
* Fix bridge bug (#2160 )
* Limit bridge QoS less than 1
* Improve shared sub dispatch implementation. (#2144 )
* Upgrade ekka, esockd libraries
* Improve the 'try_open_session' function
* Reload config (#2180 )
2019-01-25 13:01:48 +08:00
YoukiLin
3748cd434d
Add test case for emqx_sys_mon ( #2150 )
2019-01-12 23:09:39 +08:00
terry-xiaoyu
99f4283458
Update cuttlefish to v2.2.1
2019-01-04 22:55:58 +08:00
YoukiLin
78b3c375d8
Improving 'emqx_ws_connection' coverage ( #2107 )
2019-01-03 12:59:39 +08:00
turtleDeng
6a1ebe299a
Merge emqx32 to emqx30 ( #2112 )
2018-12-28 19:44:41 +08:00
turtled
390fae1134
Rm clique dep
2018-12-21 17:09:15 +08:00
Feng Lee
c93d0fb174
Add test cases for emqx_gc module
2018-12-21 10:28:33 +08:00
Feng Lee
14cffcf7fb
Add the 'emqx_pd' module
...
Add utility functions for erlang process dictionary
Add test cases for emqx_pd
2018-12-20 16:45:25 +08:00
Feng Lee
721b72b96a
Add 'active_n' option to optimize the CPU usage of emqx_connection ( #2060 )
...
* Add 'active_n' option to optimize the CPU usage of emqx_connection
* Supports batch processing 'DOWN' events
2018-12-17 19:53:29 +08:00
terry-xiaoyu
d445c17e6c
Move some vm args to file vm.args
2018-12-14 09:53:13 +08:00
Feng Lee
b4d981daf2
Add a sequence module to generate index for subscription sharding
2018-12-04 15:59:24 +08:00
spring2maz
520a5e0225
Download erlang.mk and use git tag in appfile vsn
2018-12-03 15:16:53 +08:00
spring2maz
b87e72861a
Fallback to git clone -n then checkout if git version is older than 1.8
2018-11-30 11:03:26 +01:00
spring2maz
14dfe03426
Use git tag for app vsn
2018-11-30 11:03:26 +01:00
spring2maz
fe33aeb3dc
For git older than 1.8, there is no shallow clone support
2018-11-30 17:47:59 +08:00
Feng Lee
21ed012a0c
Add an elegant batch module
2018-11-29 10:13:09 +08:00
Feng Lee
309f3560f3
Bump version to 3.0.0
2018-11-28 16:05:17 +08:00
Gilbert Wong
d08ed351be
Do no execute rebar-clean before distclean
...
Prior to this change, this project support to be built with rebar3 and
erlang.mk meanwhile but when we want to make distclean, this project
would execute rebar-clean which would get dependencies via rebar3, it
slow down the procedure of distclean.
2018-11-27 17:00:23 +08:00
Gilbert
d13c5f8ec1
Reduce dep size ( #1981 )
2018-11-26 17:55:48 +08:00
Shawn
93a079752f
Update cuttlefish to v2.1.1 ( #1978 )
2018-11-23 11:04:55 +08:00
tigercl
551d5d99d2
Change 'aquire' to 'acquire' ( #1976 )
...
* Change 'aquire' to 'acquire'
2018-11-23 11:00:30 +08:00
turtled
faeda253e1
Fix conflicts
2018-11-10 11:44:55 +08:00
terry-xiaoyu
f6266eaa93
Bumped the version number of deps
2018-11-02 19:42:51 +08:00
terry-xiaoyu
2a5f3e949c
revert Makefile
2018-11-02 18:38:07 +08:00
terry-xiaoyu
94dbdffd59
New logger formatter with meta-data
2018-11-02 18:38:07 +08:00
terry-xiaoyu
2c63aef3f6
Update schema
2018-11-02 18:32:42 +08:00
spring2maz
28c8f2dd5c
Remove neotoma plugin, build cuttlefish script in sub-dir
2018-10-27 14:21:53 +02:00
tigercl
abb2e5c918
Improve test cases, and fix some bugs ( #1920 )
...
* Improve emqx_banned, emqx_pqueue, emqx_router test cases
* Improve emqx_broker test case, and fix bug in emqx_broker
* Add emqx_hooks to CT_SUITES
2018-10-26 17:27:02 +08:00
Gilbert
0b44c1b75f
improve_test_cases
2018-10-26 17:25:31 +08:00
Gilbert
7544a21e25
Add test cases for emqx_bridge, emqx_mod_rewrite ( #1914 )
2018-10-26 14:04:33 +08:00
tigercl
873a08dc94
Improve coverage for emqx_hooks, and add test case for emqx_mod_sup ( #1892 )
...
Improve coverage for emqx_hooks, and add test case for emqx_mod_sup
2018-10-19 16:21:43 +08:00
huangdan
73658b3953
Merged emqx_misc_SUITE to emqx_misc_tests ( #1890 )
...
* Merged emqx_misc_SUITE to emqx_misc_tests
2018-10-19 09:46:25 +02:00
Gilbert
4c40f75f4b
Request & Response (broker and client) ( #1819 )
...
Add request & response support for CONNECT & CONNACK
Prior to this change, there is no validate and specified process for
Request-Response-Information and Response-Information
Also added basic Request/Response functionality to emqx_client implementation
2018-10-18 19:21:05 +02:00
spring2maz
4082f3ade2
Improve stats test
...
Before this change, the stats callback provided by emqx_broker_helper
was an anonymous function with module local context.
This commit changes it to a full fun M:F/A style callback for:
1. More robust to hot beam reload
2. Faster/smaller variable to construct
3. Easier test
2018-10-19 00:22:29 +08:00
HuangDan
cb85c5fea0
Upgrade the esockd library to v5.4.2
2018-09-29 18:59:35 +08:00
HuangDan
2a0bbd1c37
Fixed errors './cuttlefish: command not found' when running make app.config
2018-09-28 16:52:14 +08:00
spring2maz
8a8729f9ea
Make rebar3 xref work.
...
Fixed a bad call in emqx_mod_subscription module
also commented out dead code for now in emqx_config.erl
2018-09-25 22:09:13 +08:00
turtleDeng
925e98a3e5
Merge pull request #1823 from emqx/add-shared-sub-strategy
...
Add new shared subscription dispatch strategy
2018-09-22 19:30:08 +08:00
HuangDan
a46a1a2525
Upgrade the esockd library to v5.4.1
2018-09-22 18:34:18 +08:00
spring2maz
b35d37c92d
Add new shared subscription dispatch strategy
...
'random' was already there before this change
Added two new strategies: 'sticky' and 'round_robin'
'sticky' is made default as it is the cheapest
2018-09-22 10:50:34 +02:00
turtleDeng
8653732bae
Revert "Calculate the 1.5 keep alive time exactly"
2018-09-22 14:52:31 +08:00
周子博
b1d4ec750a
Remove the same test cases as emqx_keepalive
2018-09-20 17:58:54 +08:00
HuangDan
3822ff987b
Fix function args
...
Add test cases for emqx_pool module
2018-09-18 09:15:46 +08:00
spring2maz
35d209f364
Fix travis build
2018-09-14 00:52:03 +08:00
spring2maz
0c39a7620e
Rebar3 and erlang.mk dual support. ( #1806 )
...
* Rebar3 and erlang.mk dual support.
There was only erlang.mk support prior to this change.
The main reasons for this dual support are:
* Cover report upload can only be done by rebar3 in travis.ci
* We want to prepare for the future to build emqx releases using rebar3
* We do not want to stop supporting erlang.mk in one single step
* Add depencency version consistency check between erlang.mk and rebar.config
2018-09-09 21:51:42 +08:00
周子博
08bab7efa4
Fix bugs in test cases
2018-09-08 11:49:20 +08:00
spring2maz
3a94d7ddae
Generate a config file for testing
...
Prior to this change, the template file etc/emqx.conf is used
directly in testing, as a result, mustache style directories
are created e.g. `{{ platform_log_dir }}` which should have been
replaced with a config varialbe e.g. `log`
In this change, Makefile targets are added as `ct` dependency
to download bbmustach, load the template input, replace with
variableds defined in 'vars' file, finally to etc/gen.emqx.conf.
The direct usage of etc/emqx.conf in test code are replaced with
gen.emqx.conf
2018-09-07 07:04:04 +02:00
Feng Lee
5774ba542c
Rename the emqx_mqtt_properties SUITE to emqx_mqtt_props
2018-09-06 18:10:01 +08:00
Feng Lee
a4efcb5b2c
Update Makefile and README.md
2018-08-31 01:08:01 +08:00
Gilbert Wong
487fa6824d
add emqx_protocol test suites
2018-08-31 00:42:55 +08:00