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
k32
af023b16c6
fix(system_monitor): Fix warning spam
2021-12-22 11:16:35 +01:00
JianBo He
1bcdbf3a06
chore(gw): make some fields required
2021-12-22 16:49:34 +08:00
JianBo He
6d4aac1600
chore(gw): improve http error messages
2021-12-22 16:49:33 +08:00
JianBo He
3fd9061418
fix(gw): save coap channel info
2021-12-22 16:49:33 +08:00
zhongwencool
2e10a5700c
Merge pull request #6515 from zhongwencool/fix-bann-utf8
...
fix(banned): create banned with utf8 failed by 500 response
2021-12-22 16:08:34 +08:00
zhongwencool
b11a15fa00
fix(banned): create banned with utf8 failed by 500
2021-12-22 14:29:15 +08:00
Shawn
cd4227b851
fix(rules): don't show the module name 'emqx_rule_outputs' in outputs
2021-12-22 10:26:22 +08:00
Shawn
9b4b3d2e8c
fix(rules): make the 'name' field of POST /rules mandatory
2021-12-22 10:26:22 +08:00
Shawn
5f050b149b
fix(rules): the schema for unsubscribe is messing from rule_test API
2021-12-22 10:26:22 +08:00
JimMoen
bbe223b4ad
Merge pull request #6501 from JimMoen/fix-telemetry
...
fix(telemetry): use required fields, rolling distro use PRETTY_NAME
2021-12-22 09:38:54 +08:00
Thales Macedo Garitezi
2ff46a6dbb
chore(mix): create a few more required files during release
...
Since Mix does not support hot upgrades out of the box, it does not
create a `RELEASES` file by default. Here, we introduce functionality
similar to what `relx` does in order for that file to be generated.
fdc8d7237e/src/rlx_assemble.erl (L928-L948)
The `RELEASES` file, in its turn, is required for `nodetool` to work
properly, and `nodetool` is required for us to generate several
required config files using `hocon`. Since the `start{_clean}.boot`
file used by the files generated by Elixir must be explicitly defined
in the `RELEASE_LIB` `boot_var`, we apply a small patch in the
existing `nodetool` in order to inject that required parameter when
calling the escript.
2021-12-21 17:28:39 -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
Shawn
c3eab16182
fix(boot_script): wait until the emqx running
2021-12-21 19:50:36 +08:00
zhouzb
25b7719db5
feat(authz): support sync configuration in the cluster
2021-12-21 17:00:49 +08:00
Shawn
08da5f5267
fix(boot_script): LD_LIBRARY_PATH: unbound variable
2021-12-21 16:53:06 +08:00
JimMoen
99a5f14301
fix(telemetry): use required fields, rolling distro use PRETTY_NAME
2021-12-21 10:44:54 +08:00
JimMoen
6d2c83af7b
Merge pull request #6495 from JimMoen/fix-dashboard-diagram-time
...
fix(dashobard): statistical diagram timestamp use UTC time
2021-12-21 09:42:05 +08:00
JimMoen
6f28e103d0
fix(dashobard): statistical diagram timestamp use UTC time
2021-12-20 19:21:19 +08:00
tigercl
a9b443ae34
Merge pull request #6491 from tigercl/chore/dashboard-vsn
...
chore(dashboard): update dashboard version
2021-12-20 15:34:09 +08:00
zhouzb
bac2fa6905
chore(dashboard): update dashboard version
2021-12-20 15:24:49 +08:00
JianBo He
db08cee20f
Merge pull request #6456 from HJianBo/gw-review-r1
2021-12-20 13:48:24 +08:00
Shawn
efb0365cdd
Merge pull request #6481 from terry-xiaoyu/fix_rule_apis
...
fix(connector): some desc for connector APIs
2021-12-20 13:46:29 +08:00
Shawn
27de3139a4
fix(http_connect): don't check status on_start
2021-12-20 11:36:52 +08:00
zhongwencool
f7a55d3f8d
Merge pull request #6238 from zhongwencool/fix-keepalive-ct-failed
...
fix: keepalive ct failed
2021-12-20 11:00:20 +08:00
JianBo He
5b1ed76a44
chore(gw-frame): export types for dialyzer check
2021-12-20 10:59:16 +08:00
tigercl
aceb4f1930
Merge pull request #6273 from Rory-Z/ci/add-push-ecr-for-5.0
...
ci: add new steps for push ecr image when release
2021-12-20 10:27:53 +08:00
Shawn
a879ec0f3a
feat(resource): add option 'force_create' to emqx_resource:create/4
2021-12-20 10:26:27 +08:00
zhongwencool
96ee51fe57
Merge pull request #6460 from zmstone/feat-add-plugin-mgmt
...
refactor(plugins): refactor plugins configuration interface
2021-12-20 09:24:38 +08:00
Shawn
05e24b457a
fix(bridge): update emqx_bridge.conf
2021-12-18 20:53:14 +08:00
Shawn
a9c9d9d805
fix(rule): rename enabled to enable
2021-12-18 20:28:14 +08:00
Shawn
cfaad15364
fix(connector): update the connector config failed
2021-12-18 20:19:34 +08:00
Shawn
a44e18e869
fix(bridge): filter out some extra fields from the request body
2021-12-18 19:19:58 +08:00
Shawn
11e8e0db69
fix(bridge): stop http failed due to econnrefused
2021-12-18 15:33:25 +08:00
Shawn
f08f37ec9c
fix(bridge): create bridge failed but the config was saved
2021-12-18 11:19:22 +08:00
Shawn
20091f8d2a
fix(connector): some desc for connector APIs
2021-12-18 09:52:15 +08:00
Shawn
b2e7a6a249
Merge pull request #6473 from terry-xiaoyu/fix_connector_apis
...
fix(connector): add type and name in repsonse of GET /connectors
2021-12-18 09:35:45 +08:00
Spycsh
ca2660d609
chore: refactor ?SLOG
2021-12-18 00:17:45 +01:00
Shawn
494c08f849
refactor(rule): add name field to request body of POST /rules
2021-12-18 06:34:44 +08:00
Ilya Averyanov
7cceecc11e
Merge pull request #6446 from savonarola/test-authz-more
...
Test authz more
2021-12-17 19:06:52 +03:00
k32
93acf8a3a7
Merge pull request #6451 from k32/dev/fix-dispatch-when-emqx-is-stopped
...
fix(broker): Check broker status before dispatch
2021-12-17 15:19:34 +01:00
Shawn
673a545aa2
fix(dialyzer): bad type specs
2021-12-17 22:15:56 +08:00
Shawn
7bcd38c101
fix(bridge): update qos fields for swagger examples
2021-12-17 21:41:25 +08:00
Shawn
0699682f38
refactor(bridges): rename some config entries for MQTT bridge
2021-12-17 21:22:04 +08:00
Ilya Averyanov
e24cdb067c
chore(authz): fix Mysql variable substitution
2021-12-17 14:20:53 +03:00
Ilya Averyanov
462ec39cb1
chore(authz): test Postgresql backend with real Postgresql
2021-12-17 14:20:50 +03:00
Ilya Averyanov
0a1a68245d
chore(authz): test Mysql backend with real Mysql
2021-12-17 14:18:54 +03:00
Ilya Averyanov
a21f67a67e
chore(authz): test Mongo backend with real Mongo
2021-12-17 14:18:54 +03:00
Ilya Averyanov
28c319b6c4
chore(authz): test Mongo backend with real Mongo
2021-12-17 14:18:54 +03:00
Ilya Averyanov
6ad71a483e
chore(authz): test Redis backend with real Redis
2021-12-17 14:18:54 +03:00