Commit Graph

8802 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi
4cee12614b fix: mark license key sensitive
so it's not logged to console when environment variable is used
2022-02-08 17:28:40 +01:00
Zaiming (Stone) Shi
ae9c8098ba test: ensure coverage for the no_license case 2022-02-08 17:28:40 +01:00
Zaiming (Stone) Shi
c936706a1f refactor(emqx_license): log a different msg when license is not loaded 2022-02-08 17:28:40 +01:00
Zaiming (Stone) Shi
319d08678e chore: update license year 2022-02-08 17:28:40 +01:00
Chris
d0b0b05aa4 fix: decouple suite tests 2022-02-08 14:53:01 +01:00
Shawn
b69dca4f08 feat(rule): add testcase for '/delivery_dropped' 2022-02-08 20:37:40 +08:00
k32
72dc7276ed
Merge pull request #6940 from k32/fix-sysmon-start
fix(system_monitor): Fix conditional start
2022-02-08 13:33:37 +01:00
Thales Macedo Garitezi
4a93b22cc1
Merge pull request #6934 from thalesmg/mix-node-dump
fix(mix): include `node_dump` in tgz and packages
2022-02-08 09:16:09 -03:00
k32
5a1b18ae86 fix(system_monitor): Fix conditional start 2022-02-08 12:46:27 +01:00
Shawn
707284db31 fix(session): update calling to session APIs 2022-02-08 18:49:38 +08:00
Shawn
93092657b9 fix(session): update testcases 2022-02-08 18:33:06 +08:00
zhongwencool
3b4eade1ad
Merge pull request #6900 from zhongwencool/restricted-shell
feat(shell): add restricted shell and user_default
2022-02-08 17:25:28 +08:00
Shawn
2879001694 fix(metrics): rename metrics 'messages.dropped.expired' to 'messages.dropped.await_pubrel_timeout' 2022-02-08 17:14:59 +08:00
Shawn
06168f7080 refactor(session): pass ClientInfo as first params to APIs of emqx_session 2022-02-08 16:52:47 +08:00
zhongwencool
f3fa302d84 chore: print only the port number when bound on all interfaces. 2022-02-08 15:25:22 +08:00
zhongwencool
5f2618912f chore(format): format port by ts 2022-02-08 11:03:54 +08:00
zhongwencool
00fe866392 chore(test): add restricted_shell CT test. 2022-02-08 10:49:11 +08:00
Shawn
b2f027bcf7 feat(rule): add 'delivery.dropped' hook for rules 2022-02-08 10:32:25 +08:00
zhongwencool
b50ceac9bb chore(listener): change the listener binding format 0.0.0.0:port to :port. 2022-02-08 10:28:10 +08:00
Shawn
261e9929b6 fix(rule): deny POST empty rule ids 2022-02-08 09:57:44 +08:00
Thales Macedo Garitezi
eea217093b
fix(mix): include node_dump in tgz and packages 2022-02-07 18:15:17 -03:00
k32
58b69f97fd
Merge pull request #6933 from k32/sysmon301
chore(system_monitor): Bump version to 3.0.1
2022-02-07 21:33:00 +01:00
Ilya Averyanov
ab2e4c80ba
Merge pull request #6807 from savonarola/emqx-license
feat(license): add license application
2022-02-07 23:30:24 +03:00
k32
490278ccb7 chore(system_monitor): Bump version to 3.0.1 2022-02-07 20:49:28 +01:00
Ilya Averyanov
17599432d1 feat(license): add license application 2022-02-07 19:05:47 +03:00
k32
bede3443a3
Merge pull request #6931 from k32/mria-dirty-shards
feat(router): Mark router shards as dirty
2022-02-07 15:41:57 +01:00
k32
9c5d35e0db chore(ekka): Bump version to 0.12.0 2022-02-07 14:39:43 +01:00
Thales Macedo Garitezi
17c10e5677
Merge pull request #6921 from thalesmg/mix-erl-eval
feat: add eval-erl command to `bin/emqx`

This allows Erlang expressions to be evaluated easily even on nodes
running Elixir.
2022-02-07 10:20:00 -03:00
k32
78c762479f feat(router): Mark CM_SHARD and ROUTE_SHARD as dirty 2022-02-07 12:38:59 +01:00
k32
dbe1282d32 chore(mria): Bump version to 0.2.0 2022-02-07 12:37:13 +01:00
EMQ-YangM
3b3f3fed76 refactor(emqx_resource_instance): add function create_default_checker 2022-02-07 17:49:51 +08:00
EMQ-YangM
8976e25b7a fix(emqx_resource_instance): create health_check process when create resources synchronously 2022-02-07 17:49:51 +08:00
k32
342eed9702
Merge pull request #6923 from k32/sysmon3
feat(system_monitor): Bump version to 3.0.0
2022-02-07 10:04:42 +01:00
zhongwencool
f24c05b1bd chore(shell): make restricted_shell prompt more friendly. 2022-02-07 15:33:59 +08:00
zhongwencool
b189d594c3 chore: fix dialyzer warning. 2022-02-07 15:33:59 +08:00
zhongwencool
3efa583830 feat(shell): add emqx version to prompt. 2022-02-07 15:33:59 +08:00
zhongwencool
6a701e098f feat(shell): add restricted shell and user_default 2022-02-07 15:33:59 +08:00
lafirest
467bb830b1 fix(emqx_ratelimiter): relax the rate bound of test cases 2022-02-07 13:57:48 +08:00
k32
f699de9773 feat(system_monitor): Bump version to 3.0.0 2022-02-07 02:22:11 +01:00
k32
987945def3 refactor(schema): Refactor cluster_static seeds type 2022-02-04 23:37:59 +01:00
Thales Macedo Garitezi
1b3b2c0d03
feat: add eval-erl command to bin/emqx
This allows Erlang expressions to be evaluated easily even on nodes
running Elixir.
2022-02-04 16:53:27 -03:00
Thales Macedo Garitezi
e4b14a34b2
Merge pull request #6918 from thalesmg/fix-mix-vsn
Currently, emqx_release.erl depends on the erl_opts option
compile_info being set by Rebar3 to include {emqx_vsn, $PKG_VSN}
to report the version, for instance, in emqx ctl status.

Since Mix does not provide a simple way to pass erl_opts to Rebar3
dependencies without creating a mix.exs file, the workaround is to
set the environment variable ERL_COMPILER_OPTIONS to include that
value before invoking the Erlang compiler on the Rebar3 dependencies.

Also, we set the `EMQX_ENTERPRISE` macro in the same way.
2022-02-04 16:12:26 -03:00
Zaiming (Stone) Shi
add2f62824
Merge pull request #6920 from thalesmg/ci-pin-pytest
ci(pytest): pin pytest version at 6.2.5
2022-02-04 20:09:57 +01:00
Thales Macedo Garitezi
9021b7e9b8
fix(mix): set enterprise compile flag 2022-02-04 14:17:53 -03:00
Thales Macedo Garitezi
6d557bc0ca
ci(pytest): pin pytest version at 6.2.5
After a major version release (7.0.0), our current FVT tests all
failed due to some change in the lib.  Our pytest version in CI was
not pinned, and picked this update up.
2022-02-04 10:19:29 -03:00
Thales Macedo Garitezi
69e7e40d5f
Merge pull request #6915 from thalesmg/cleanup-mix-release-file
chore: delete unused file
2022-02-04 09:03:08 -03:00
Thales Macedo Garitezi
88ae489219
fix(mix): set emqx_vsn compile info
Currently, `emqx_release.erl` depends on the `erl_opts` option
`compile_info` being set by Rebar3 to include `{emqx_vsn, $PKG_VSN}`
to report the version, for instance, in `emqx ctl status`.

Since Mix does not provide a simple way to pass `erl_opts` to Rebar3
dependencies without creating a `mix.exs` file, the workaround is to
set the environment variable `ERL_COMPILER_OPTIONS` to include that
value before invoking the Erlang compiler on the Rebar3 dependencies.
2022-02-03 17:31:47 -03:00
Thales Macedo Garitezi
c681ee433e
chore: delete unused file
Now that Elixir 1.13.2 is released, we no longer need the "vendored"
version of `Mix.Release`.
2022-02-03 14:09:26 -03:00
Thales Macedo Garitezi
ac1b1b800d
Merge pull request #6786 from emqx/flaky-fvt-ci
fix(flaky_test): improve helm test preparation check
2022-02-03 12:28:05 -03:00
Thales Macedo Garitezi
a37ee6aa05
fix(flaky_test): improve helm test preparation check 2022-02-03 09:44:10 -03:00