Commit Graph

88 Commits

Author SHA1 Message Date
terry-xiaoyu
20b66e03a1 feature(project): add etc/emqx.d 2020-10-31 12:18:38 +08:00
JianBo He
485bffadd6 refactor(exhook): improve the exhook implementation 2020-10-31 10:24:28 +08:00
JianBo He
d1a87d38ba refactor(exproto): improve the exproto implementation 2020-10-31 10:21:53 +08:00
Gilbert
20188f9189 Optimize develop workflow and support make run and code hot swapping (#2644)
* Optimize develop workflow and support make run and code hot swapping
2019-06-21 20:52:27 +08:00
spring2maz
d0131ec663 Pin emqx-ct-helpers v1.1 (#2495)
* Pin emqx-ct-helpers v1.1.1

* Fix loaded_plugins touch command
2019-05-04 04:41:08 +08:00
Gilbert Wong
ec37225333 Add emqx_portal interfaces 2019-02-28 11:17:27 +08:00
spring2maz
520a5e0225 Download erlang.mk and use git tag in appfile vsn 2018-12-03 15:16:53 +08:00
spring2maz
721f237bc4 Rewrite emqx_gc.erl
The implementation prior to this commit supports
only one gc enforcement policy which is message count threshold.
The new implementation introduces 1 more: volume threshold based
2018-09-21 22:56:34 +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
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
fcb2ec8427 Merge the latest enterprise branch 2018-02-24 15:56:32 +08:00
Feng Lee
2cec86eba7 Merge with version 2.3.0 2017-11-21 14:14:12 +08:00
Feng Lee
4b8cd18f5d Merge with EMQ X project 2017-10-09 19:43:06 +08:00
Feng Lee
e1816a5682 Remove rebar.config to fix the building error of CI 2017-08-28 17:31:38 +08:00
Feng Lee
37ba47365c Remove 'docs/*', 'examples/*' folders from .gitignore 2017-08-14 09:54:45 +08:00
HuangDan
0c3c1c3788 Add restApi related test case 2017-08-11 15:42:55 +08:00
J Phani Mahesh
a71a061305
add app.src,rebar.lock, ignores for rebar3
Having src/emqttd.app.src allows rebar family of build tools
(rebar2, and rebar3) to be used to compile emqttd. This is important
to allow plugins to be written using rebar3, to lock dependencies.

rebar.lock contains references to commits or hashes of dependencies
and is used by rebar3 to allow repeatable builds.

This is important since without it, updates to dependencies are
silently pulled and it is impractical to replicate a build properly.

However, this adds an additional maintenance effort. Periodically,
the lock file must be updated using rebar3 upgrade, and app.src
must be updated when adding new dependencies.

Note that erlang.mk does not respect dependency locking currently,
and does not benefit from rebar.lock.

_build is used by rebar3 and mix for storing built artifacts.
2017-02-27 14:19:04 +05:30
Feng
3406137433 new config 2016-10-08 18:38:33 +08:00
Feng
710890dd22 relx 2016-07-21 09:31:14 +08:00
Feng Lee
83b25fe84a 2.0 2016-06-20 12:18:49 +08:00
Feng
928780f322 common tests 2016-02-16 02:20:29 +08:00
Feng
0d52082b2e ignore docs/build/* 2016-01-14 14:43:33 +08:00
Feng Lee
46732bcd72 ebin/.placeholder 2015-08-09 09:52:21 +08:00
Feng Lee
f25ceb1b2b ignore examples 2015-05-29 15:53:47 +08:00
Feng Lee
2e2d770c27 ingore *.so 2015-05-27 13:20:40 +08:00
Ery Lee
e6db7c7854 add spec 2015-03-27 14:30:07 +08:00
Ery Lee
b15dd90ea1 ignore log 2015-03-19 10:51:24 +08:00
Ery Lee
87eaba55c7 add plugins 2015-03-12 12:50:18 +08:00
Feng Lee
51e5af44f8 ignore rel/emqttd* 2015-03-11 00:22:01 +08:00
Ery Lee
aca536cd8a rename project name from 'emqtt' to 'emqttd' 2015-03-10 20:09:13 +08:00
Ery Lee
a0017c3186 author 2014-12-10 14:20:00 +08:00
Feng Lee
3a6ed9a876 0.2 project structure 2014-12-06 19:12:29 +08:00
erylee
50baba2cf6 rebar release 2012-12-26 14:35:52 +08:00
erylee
39ab7df38a ignore var 2012-12-24 12:00:14 +08:00
erylee
efc1d9f424 add bin/ and some files 2012-12-21 17:33:21 +08:00
erylee
a77bbf33e2 first workable 2012-12-20 16:30:51 +08:00
Ery Lee
f0e017f22f ignore log 2012-12-19 13:42:15 +08:00
Ery Lee
cb04c9c7e5 add file 2012-12-19 13:42:03 +08:00