Thales Macedo Garitezi
65fee34fe4
test: fix inter-suite test teardowns
2023-03-14 16:08:47 -03:00
Zaiming (Stone) Shi
fff6bf921f
refactor(authz): call emqx_resource:simple_sync_query
...
there is no need to route the request through the buffer workers
2023-01-17 20:01:45 +01:00
Zaiming (Stone) Shi
dbc10c2eed
chore: update copyright year 2023
2023-01-02 09:22:27 +01:00
Zaiming (Stone) Shi
0ce1ca89b7
refactor: use string type for server and servers
2022-12-30 14:20:23 +01:00
Shawn
4135910b42
chore: merge master into dev/ee5.0
2022-09-26 09:52:33 +08:00
JianBo He
a461375b30
chore: support strip double quote in authn/authz
...
more compatibility for https://github.com/emqx/emqx/pull/8827
2022-09-14 15:25:31 +08:00
Shawn
45352206a3
fix(auth): remove emqx_connector from testcases of authz/authn
2022-08-22 20:20:45 +08:00
JimMoen
82559b9b08
style: erlfmt apps/emqx_authz
2022-04-01 02:19:46 +08:00
JimMoen
b41e396ed2
test(authz): make sure `emqx_resource` and `emqx_connector` stoped
2022-03-11 19:11:07 +08:00
Shawn
1d023b541f
refactor(connnector): rename waiting_connect_complete -> wait_for_resource_ready
...
Rename the option to wait_for_resource_ready and defaults to 5s.
2022-03-10 10:46:57 +08:00
EMQ-YangM
583624fb8d
fix(emqx_authn): fix test suite
2022-03-09 13:53:05 +08:00
Yang Miao
78cad0a528
Merge pull request #6989 from EMQ-YangM/up_master
...
refactor(emqx_resource): Improve grouping strategy for emqx_resource_instance
2022-02-16 16:26:28 +08:00
JimMoen
2a1fba97da
test(auth): resource use connector provided default port
2022-02-15 10:41:26 +08:00
EMQ-YangM
75b2963efc
test(authn,authz): fix create function
2022-02-14 14:10:10 +08:00
Chris
14630568d6
feat: create tests for connector pgsql module and refactoring
2022-02-10 10:40:46 +01:00
Zaiming (Stone) Shi
63167cea70
chore: update copyright
2022-01-05 20:55:00 +01:00
Ilya Averyanov
2bada0bab8
chore(authz): test Mria authz
2021-12-24 16:18:46 +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
DDDHuang
21bd9bba55
fix: generate palce holder ( #6250 )
...
* fix: generate place holder
* style: whitespace cleanup
* refactor(authz): placeholder for athuz
* test: authz test suite for placeholder
* fix: lw place holder suite
* fix: auth n redis suite
Co-authored-by: JimMoen <LnJimMoen@outlook.com>
2021-11-23 10:56:43 +08:00
JianBo He
ad2dbb5a49
chore(gw-sn): append messge headers
2021-11-17 14:51:27 +08:00
JianBo He
d0bdf27e0c
chore: fix elvis warnings
2021-11-17 11:04:09 +08:00
JianBo He
814e01c0cb
test(authz): deps on emqx_conf instead of meck emqx_schema
2021-11-17 10:46:38 +08:00
Tobias Lindahl
aa19c2a908
chore: Remove emqx_ct_helpers as dependency
2021-10-15 10:40:57 +02:00
zhanghongtong
ef0f94025a
chore(emqx_authz): rename config item
...
rename sql to query for mysql and pgsql
rename find to selector for mongo
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-09-10 19:27:10 +08:00
zhanghongtong
0fd18a2795
chore(emqx_authz): compression configuration items
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-09-02 15:28:17 +08:00
zhanghongtong
46fb99d44e
chore(emqx_authz): rename rules to sources in emqx_authz
2021-08-27 17:51:11 +08:00
zhanghongtong
f03fc88161
chore(emqx_authz): fix test cases error
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-27 15:08:56 +08:00
zhanghongtong
f2e29184de
chore(emqx_authz): use new config path
2021-08-27 15:08:56 +08:00
Shawn
cc56c74964
refactor(emqx): update the tests for the new zone,listener config
2021-08-26 09:11:30 +08:00
zhanghongtong
a2bafd1a18
feat(authz): support authorization config file part 2
2021-08-25 10:15:00 +08:00
zhanghongtong
bfb363bc61
chore(emqx_authz): rename authorization to authorization_rules in emqx_authz.conf
2021-08-25 10:15:00 +08:00
Turtle
bc325e55fc
fix(authn-authz-api): fix authn/authz test cases fail
2021-08-24 18:19:21 +08:00
Shawn
bf6251e20f
refactor(config): update the return values of config handlers
2021-08-18 09:42:06 +08:00
Shawn
bd8263e324
refactor(config): move APIs for config update,remove,reset to emqx
...
Move the emqx_config:update,remove,reset APIs to emqx, to remove
the circular dependency between the modules emqx_config and
emqx_config_handler.
After this change the dependency among these modules will be:
```
emqx ---> emqx_config
| ^
| |
+ ---> emqx_conifg_handler
```
2021-08-18 09:42:06 +08:00
Shawn
7f03cd0e8b
fix(config): update the calls to emqx_config:update/2,3
2021-08-16 17:41:53 +08:00
zhanghongtong
4bb1e9c964
feat(authz): more better update function
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-11 11:06:58 +08:00
Zaiming Shi
781de7f2a7
test(authz): ensure config cleaned up after test
2021-08-04 08:40:09 +02:00
Zaiming Shi
40faa31241
test(authz): no need to mock emqx_config
2021-07-30 16:53:21 +08:00
Zaiming Shi
c0ffbd68c8
test(emqx_authz): adjust meck and app start order
2021-07-29 13:32:57 +02:00
zhanghongtong
4c6739161d
chore(emqx authz): rename root name for authz conf
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-07-29 16:44:40 +08:00
Turtle
4afae79be9
chore(statsd): update statsd conf root
2021-07-29 10:08:07 +08:00
Shawn
bbf40a85bf
fix(config): merge conflicts
2021-07-23 18:49:09 +08:00
Shawn
2ddcfdf365
refactor(config): rename emqx_config:update_config/2 to emqx_config:update/2
2021-07-23 17:25:39 +08:00
Shawn
f2e62def1b
refactor(config): remove emqx:get_env/1,2 from testcases
2021-07-23 10:56:20 +08:00
Shawn
7a77f4f54e
fix(emqx_schema): start emqx as standalone app failed
2021-07-17 10:19:06 +08:00
Shawn
b82693cc0b
fix(authz): support config hot upgrading
2021-07-17 01:18:14 +08:00
Shawn
6d871cc52f
fix(authz): resources not created when authz started
2021-07-16 18:06:10 +08:00
Shawn
c3d24db642
fix(authz): update emqx_authz for new config
2021-07-16 14:07:27 +08:00
zhanghongtong
c10d154dab
chore(connector): update schema file
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-07-09 14:18:41 +08:00