Zaiming Shi
7e9d7c4858
test(proper): move emqx_ct_proper_types to local repo
...
previously provided by emqx-ct-helpers
2021-10-11 15:28:12 +02:00
JimMoen
3960204ce3
refactor(mgmt_api): `select_table_with_count`.
2021-10-11 21:11:34 +08:00
JimMoen
ea7aa5bc41
refactor(mgmt_api): use `select_table` congruously.
2021-10-11 21:11:34 +08:00
JimMoen
b65c9908a1
refactor(mgmt_api): Clearer variable name.
2021-10-11 21:11:34 +08:00
JianBo He
45ca168216
test(gw): fix bad test cases
2021-09-30 15:51:02 +08:00
JianBo He
ac3af8260d
fix(gw): fix print client record error
2021-09-30 15:51:02 +08:00
JianBo He
adaf3db719
refactor(gw): put conf operations into emqx_gateway_conf mod
2021-09-30 15:51:02 +08:00
JianBo He
642b588ad0
fix(gw): fix removing listener error
2021-09-30 15:51:02 +08:00
JianBo He
8e4256c06f
chore(conf): refine config format
2021-09-30 15:51:02 +08:00
Zaiming Shi
e7e8b8c77b
fix(schema): check tlsv1.3 availability
2021-09-27 13:53:54 +02:00
lafirest
acb5c693ba
Merge pull request #5767 from lafirest/fix/time_unit
...
fix(schema): fix some time unit in schema
2021-09-26 15:35:27 +08:00
JianBo He
8e78d29325
chore(gw): improve emqx_gateway_schema
2021-09-26 15:19:55 +08:00
JianBo He
791408cd99
refactor(gw): simplify code structure
...
1. Add the management API for listener's authn
2. Clarify responsed error messages
2021-09-26 15:19:55 +08:00
JianBo He
5ad1a8c232
chore(gw): fix test case errors
2021-09-26 15:19:55 +08:00
JianBo He
f0ac62c513
refactor(gw): use emqx_gateway_conf to update conf
2021-09-26 15:19:55 +08:00
JianBo He
b55a1f62c3
test(gw): more cases for emqx_gateway_conf
2021-09-26 15:19:55 +08:00
JianBo He
d163e99d58
chore(gw): add cases for emqx_gateway_conf
2021-09-26 15:19:55 +08:00
JianBo He
f68dfff0d6
refactor(gw): refactor config hot-upgrade mechnism
2021-09-26 15:19:55 +08:00
JianBo He
a9e32ac106
chore(gw): fix gatway enable/1 not working
2021-09-26 15:19:55 +08:00
JianBo He
d8176f4378
chore(gw): pass listener id into listener params
2021-09-26 15:19:55 +08:00
JianBo He
3e033b419c
refactor(gw): integrate with authn
2021-09-26 15:19:55 +08:00
JianBo He
eda94f5754
chore(gw): more comment for coap options
2021-09-26 15:19:55 +08:00
JianBo He
aa03023811
chore(gw): http-api for loading gateway
2021-09-26 15:19:55 +08:00
lafirest
e31e175e47
fix(schema): fix some time unit in schema
2021-09-26 14:38:53 +08:00
Zaiming Shi
97e1cf65b7
refactor(schema): make a client ssl options schema
...
client and server ssl options share some common fields
this commit make an abstraction for the common fields
then export server_ssl_options_schema/2 and client_ssl_options_schema/1
for other schema modules to call
2021-09-23 16:56:02 +02:00
Zaiming Shi
fbd5701989
fix(emqx_schema): make ssl config schema right
2021-09-23 16:56:02 +02:00
JianBo He
2fe96a3ad0
chore(gw-lwm2m): format emqx_lwm2m_tlv_SUITE
2021-09-17 18:13:57 +08:00
JianBo He
6da1196244
chore(gw-lwm2m): refine emqx_tlv_SUITE cases
2021-09-17 18:13:57 +08:00
lafirest
24eb0ac7bb
Merge pull request #5721 from lafirest/test/coap_case
...
test(emqx_coap): add some test case
2021-09-17 09:46:50 +08:00
lafirest
a83882a3b8
Merge pull request #5726 from lafirest/test/emqx_lwm2m
...
test(emqx_lwm2m): remove the lwm2m_coap dependency
2021-09-17 09:41:48 +08:00
JimMoen
deac54c847
chore(for editor): Add comments for Emacs major mode.
2021-09-16 15:43:30 +08:00
lafirest
acbbbbcd24
test(emqx_lwm2m): remove the lwm2m_coap dependency
2021-09-14 11:20:53 +08:00
lafirest
99566f12bb
test(emqx_coap): add some test case
2021-09-14 11:11:30 +08:00
zhongwencool
86eb6605f1
Merge pull request #5623 from zhongwencool/cluster-call-api
...
feat(cluster-call): support confirm success after all mfa apply ok
2021-09-13 16:03:47 +08:00
JianBo He
94c51f9253
chore(gw): fix dialyzer warnings
2021-09-10 18:41:23 +08:00
JianBo He
18ed1c9794
chore(gw): add listeners apis
2021-09-10 18:41:23 +08:00
lafirest
9fd9e09721
Merge pull request #5708 from lafirest/test/emqx_lwm2m
...
test(emqx_lwm2m): add some time intervals between test operations
2021-09-10 18:02:42 +08:00
lafirest
b8d4c12008
test(emqx_lwm2m): add some time intervals between test operations
2021-09-10 14:42:29 +08:00
Zaiming Shi
cca3a4414f
fix(bin/emqx): do not try to find vm.args file for cold_eval
2021-09-10 07:28:12 +02:00
Zaiming Shi
3a60f00643
refactor(emqx_gateway_schema): use hoconsc:map
2021-09-10 07:27:01 +02:00
zhongwencool
5a4428c53d
Merge branch 'cluster-call-api' of https://github.com/zhongwencool/emqx into zhongwencool-cluster-call-api
2021-09-10 13:11:13 +08:00
Shawn
1dae970cd3
refactor(rule): move emqx_rule_utils.erl -> emqx_plugin_libs_rule.erl
2021-09-10 11:43:03 +08:00
lafirest
5693981b54
Merge pull request #5699 from lafirest/feat/lwm2m_api
...
refactor(emqx_lwm2m): refactor lwm2m api use new rest framework
2021-09-10 10:34:18 +08:00
JianBo He
5da085bacc
chore(gw): improve the listener started banner
2021-09-09 17:33:04 +08:00
JianBo He
020e04e5cf
chore(gw): improve the default confs
2021-09-09 17:33:04 +08:00
JianBo He
0453702ce5
refactor(gw): improve http-api return structure
2021-09-09 17:33:04 +08:00
JianBo He
e94e09075c
refactor(gw): keep listeners conf tree compliance with core
2021-09-09 17:33:04 +08:00
lafirest
60914697b2
refactor(emqx_lwm2m): refactor lwm2m api use new rest framework
2021-09-09 16:37:14 +08:00
lafirest
9ad9f619c1
Merge pull request #5676 from lafirest/feat/coap_api
...
feat(emqx_coap): add emqx_coap_api
2021-09-08 22:23:22 +08:00
Jim Moen
4e5d781d21
fix: Words spelling fix.
2021-09-08 11:39:56 +08:00
lafirest
89f48f89eb
feat(emqx_coap): add emqx_coap_api
...
1. add a request api for emqx_coap
2. fix some emqx_coap logic error
2021-09-07 19:20:52 +08:00
lafirest
35cc0d972d
Merge pull request #5660 from lafirest/fix/emqx_lwm2m
...
fix(emqx_lwm2m): fix some error and incomplete function
2021-09-07 16:15:17 +08:00
tigercl
bd7a8179b4
Merge pull request #5664 from tigercl/refactor/authn
...
refactor(authn): refactor to support global and listener authentication
2021-09-07 11:38:46 +08:00
zhouzb
627de1d58c
fix(test): fix test case
2021-09-07 10:29:45 +08:00
lafirest
caee51f92a
fix(emqx_lwm2m): fix some error and incomplete function
2021-09-07 09:59:07 +08:00
JianBo He
ba9ad47cc1
fix(gw-exproto): fix grpc remote call
2021-09-07 09:49:33 +08:00
zhouzb
e998770f2e
refactor(authn): refactor to support global and listener authentication
2021-09-06 18:46:08 +08:00
JianBo He
c42c1e698a
chore(gw): add From param for _channel:handle_call/3
2021-09-06 09:16:03 +08:00
Zaiming Shi
ec13463f4a
refactor(schema): prepare for hocon schema doc generation
2021-09-03 11:02:31 +02:00
lafirest
d7b198b292
Merge pull request #5638 from HJianBo/gw-fix-udp-outgoing
...
fix(gw): not packing udp packages
2021-09-03 10:11:05 +08:00
JianBo He
956308f0ca
feat(gw-mqttsn): support subscribe/unsubscribe operation
2021-09-03 09:50:07 +08:00
JianBo He
dc05cdc586
chore(gw): fix dialyzer warnings
2021-09-03 09:50:07 +08:00
JianBo He
fd12a7ac9c
chore(gw): improve the gateway api swagger codes
2021-09-03 09:50:07 +08:00
JianBo He
40d34ccd85
fix(gw): fix the subscription apis bugs
2021-09-03 09:50:07 +08:00
JianBo He
1748de5ee3
feat(gw): support the sub/unsub operation
2021-09-03 09:50:07 +08:00
JianBo He
14b39224d4
chore(gw): clients http implement skeleton
2021-09-03 09:50:07 +08:00
JianBo He
52b6d620ee
feat(gw): implement clients list http-api
2021-09-03 09:50:07 +08:00
JianBo He
3f0ef7efa8
feat(gw): add api_clients swagger defination
2021-09-03 09:50:07 +08:00
JianBo He
cfe64d9c6f
fix(gw): not packing udp packages
2021-09-03 09:44:10 +08:00
zhongwencool
662f7438fa
chore: dos2unix format
...
find . -type f -print0 | xargs -0 dos2unix
2021-09-01 15:07:20 +08:00
lafirest
7075f3260e
refactor(emqx_lwm2m): port lwm2m into emqx_gateway framework
2021-08-31 20:01:47 +08:00
Zaiming Shi
5165fd6b30
refactor(schema): implement new hocon_schema callbacks
2021-08-30 09:56:03 +08:00
JianBo He
fdb41fe137
chore(gw): adapt the lates minirest and emqx-config
2021-08-27 18:23:12 +08:00
JianBo He
dacc53facf
refactor(gw): suppport the hot upgrade gateway instance
2021-08-27 18:23:12 +08:00
JianBo He
8886d60720
refactor(gw): change the on_gateway_update/3 callback params
2021-08-27 18:23:12 +08:00
JianBo He
bce130d9f9
chore(gw): integrate config-handler
2021-08-27 18:23:12 +08:00
JianBo He
86e28d5abb
chore(gw): rename rawconf to config
2021-08-27 18:23:12 +08:00
JianBo He
9c855ba8c2
chore(gw): cleanup the massive schema defination
2021-08-27 18:23:12 +08:00
JianBo He
ef372e415d
chore(gw): fix the time format
2021-08-27 18:23:12 +08:00
JianBo He
e239fb07cd
chore(gw): add http-api for gateway summary lists
2021-08-27 18:23:12 +08:00
JianBo He
836ca38c2b
chore(gw): append the protoname into listener name
2021-08-27 18:23:12 +08:00
JianBo He
914c375d9e
chore(gw): adjust the configuration format
2021-08-27 18:23:12 +08:00
JianBo He
f333a0b888
chore(gw): rename functions
2021-08-27 18:23:12 +08:00
JianBo He
eb8ec65162
refactor(gw): refactor authentication to authenticator
2021-08-27 18:23:12 +08:00
JianBo He
6de250741e
chore(gw): add started_at/created_at field
2021-08-27 18:23:12 +08:00
JianBo He
75dc4ea9a2
feat(gw): add the http api skeleton
2021-08-27 18:23:12 +08:00
Shawn
cc56c74964
refactor(emqx): update the tests for the new zone,listener config
2021-08-26 09:11:30 +08:00
Rory Z
1886aa8bff
chore: fix dialyzer error
2021-08-25 10:15:00 +08:00
k32
9c74fa42a5
chore(rlog): Use the new method of creating shards
2021-08-21 17:47:53 +02:00
k32
ca0fb214a7
feat(emqx-sn): Add tables to the SN shard
2021-08-21 17:47:34 +02:00
Shawn
f3efc89192
refactor(config): replace all ':' with '=' in the *.conf ( #5531 )
2021-08-19 19:57:42 +08:00
zhouzb
87051c0e53
test(authn): fix test case
2021-08-19 16:01:55 +08:00
Shawn
e8e95d39ef
refactor(config): move emqx_config:get/get_raw to emqx:get_config/get_raw_config ( #5517 )
2021-08-18 14:52:57 +08:00
JianBo He
9190f1f6f9
chore(gw): reformat config options
2021-08-18 09:26:48 +08:00
JianBo He
b8cb31c0ff
fix(gw): fix the bad return value for initiating chain
2021-08-18 09:26:48 +08:00
JianBo He
430f20adc1
fix(gw): fix conn_state
2021-08-18 09:26:48 +08:00
JianBo He
c5a4e05418
refactor(gw): rename gateway type to name
2021-08-18 09:26:48 +08:00
JianBo He
9072a60652
chore(gw): refine the cli command
2021-08-18 09:26:48 +08:00
JianBo He
630e0fb8cb
test(gw): fix bad test cases
2021-08-18 09:26:48 +08:00
JianBo He
cac0ea4b19
chore(gw): fix dialyzer warnigns
2021-08-18 09:26:48 +08:00