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
988d620421
fix(test): mock emqx_resource:remove/1 in emqx_authz_http_SUITE
2021-08-16 17:41:53 +08:00
Shawn
7f03cd0e8b
fix(config): update the calls to emqx_config:update/2,3
2021-08-16 17:41:53 +08:00
Shawn
4bf1e83449
fix(test): variable 'Id' shadowed in 'fun'
2021-08-12 17:20:05 +08:00
zhanghongtong
a94bfaf28b
feat(authz api): support move rule position
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-11 18:23:22 +08:00
zhanghongtong
632cc895d5
chore(authz): formatting error returned
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-11 11:06:58 +08:00
zhanghongtong
69a0fafd6b
feat(authz api): get api support paging
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-08-11 11:06:58 +08:00
zhanghongtong
c821528af9
feat(authz api): full CURD api
2021-08-11 11:06:58 +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
9dcb725898
fix(emqx_authz): update config with own schema module
2021-07-30 09:18:43 +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
zhanghongtong
4ef00072b9
chore(authz): add annotations for rules
...
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
zhanghongtong
8ba0890ce5
feat(authz): add id for every rule
2021-07-27 13:39:28 +08:00
zhanghongtong
4c5b75f281
chore: rename acl to authz
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-07-26 16:10:33 +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
6915d9abeb
fix(authz): update testcases for emqx_authz
2021-07-17 16:59:31 +08:00
Shawn
1d2cb6cb81
Merge branch 'master' into emqx_config
2021-07-17 15:53:12 +08:00
zhanghongtong
bb417e4498
feat(authz): support http
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-07-17 15:48:29 +08:00
Turtle
89f10d3902
fix(test): fix check emqx management test cases fail
2021-07-17 15:40:18 +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
Shawn
d5756ecd52
fix(test): update the testcases
2021-07-15 17:19:46 +08:00
DDDHuang
d04e1c6f54
refactor: clients api; status api; adapter minirest v1
...
The serious influence:
authn:
api
authz:
api; api test suit
dashboard:
all closed
lwm2m:
api;
modules:
api(api_topic_metrics, modules_api); test suit(emqx_modules_SUITE)
prometheus:
api
retainer:
api; api test suit
rule_engine:
api: api test suit
telemetry:
api
2021-07-12 10:05:51 +08:00
DDDHuang
c11a8c6db6
refactor: clients api; status api; adapter minirest v1
...
The serious influence:
authn:
api
authz:
api; api test suit
dashboard:
all closed
lwm2m:
api;
modules:
api(api_topic_metrics, modules_api); test suit(emqx_modules_SUITE)
prometheus:
api
retainer:
api; api test suit
rule_engine:
api: api test suit
telemetry:
api
2021-07-09 18:09:07 +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
DDDHuang
dc98cff27b
fix: mgmt conf & schema; prepare minirest ( #5178 )
2021-07-07 17:04:05 +08:00
Rory Z
f733293a8b
chore(authz): update apps vsn
2021-07-05 17:57:03 +08:00
Rory Z
f92b8bb7fb
chore(authz): add test case
2021-07-05 17:57:03 +08:00
Turtle
918a26e921
feat(conf): merge all conf to emqx.conf
2021-07-02 17:01:16 +08:00
DDDHuang
2c7fd0b547
chore: mgmt hoconf support ( #5153 )
2021-07-02 00:02:09 +08:00
zhanghongtong
bf4c31b745
chore(authz): use atom key for hocon config
2021-07-01 18:29:32 +08:00
zhanghongtong
2b082f9cf9
chore(connector): update connector ssl schema
2021-06-29 18:22:44 +08:00
zhanghongtong
e1b0f44a8a
chore: rename check_authz to authorize
2021-06-29 10:09:15 +08:00
zhanghongtong
c63bdc355a
chore: rename check_acl to check_authz
...
update emqx_coap vsn
rename OnClientCheckAcl to OnClientCheckAuthz in exhook
2021-06-29 10:09:15 +08:00
zhanghongtong
64ce0d0e4f
chore(acl): delete acl nomatch config item
2021-06-28 17:47:44 +08:00
Rory Z
4157524910
feat(redis connector): redis connector support cluster ( #5074 )
2021-06-25 11:47:57 +08:00
Rory Z
263aaff6d6
feat: add authz ( #4852 )
...
* feat(authorization): add authorization api
* feat(authorization): add check function
* feat(authorization): use hocon config file
* feat(authz): add mysql connector
* feat(authz): support pgsql
* feat(connector): support redis
* chore(authz): use "publish/subscribe/all" instead of "pub/sub/pubsub"
2021-06-23 10:55:38 +08:00