JimMoen
da68dfc8f4
test(authz): `servers` field use string
2021-12-30 15:38:04 +08:00
JimMoen
8cb9482542
fix(authz): `servers` field use string
2021-12-30 15:37:53 +08:00
tigercl
d769401869
Merge pull request #6555 from tigercl/chore/new-epgsql
...
chore: support prepared query in postgresql connector
2021-12-29 13:37:29 +08:00
zhouzb
487b84f166
test: fix test case
2021-12-28 11:37:51 +08:00
zhouzb
d26042703e
chore: provide prepared_query and equery
2021-12-28 09:52:31 +08:00
zhouzb
72a27e9d8f
fix: fix undefined function call
2021-12-24 13:44:28 +08:00
zhouzb
80c1128b7a
fix(authz): fix deadlock issues
2021-12-23 11:45:58 +08:00
zhouzb
25b7719db5
feat(authz): support sync configuration in the cluster
2021-12-21 17:00:49 +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
JimMoen
477b62200d
fix(authz): placeholder regular expression escape
2021-12-16 23:33:26 +08:00
Ilya Averyanov
abdb98ffa2
refactor(authz): hide mnesia authz implementation details
...
* Eliminate type and record sharing through `emqx_authz.hrl`.
* Hide all mria/mnesia interactions inside mnesia authz backend.
2021-12-13 21:23:58 +03:00
Ilya Averyanov
1c9d867c5e
chore(authz): add test for authz backend creation dry run
2021-12-08 21:38:10 +03:00
Ilya Averyanov
b7d227d2ef
chore(authz): move file backend to a separate module
2021-12-08 21:38:10 +03:00
Ilya Averyanov
056558e445
chore(authz): encapsulate authz backend logic
2021-12-08 21:38:10 +03:00
Zaiming (Stone) Shi
867cc3c4ad
test: ensure emqx_connector is loaded
2021-12-04 09:33:14 +01:00
JimMoen
a58493f7a4
test(authz): fix test suite for schema check and app start
2021-12-02 10:12:10 +08:00
JimMoen
effa3b8b90
style: make elvis happy
2021-12-02 10:12:10 +08:00
JimMoen
d7ec368884
fix(authz): fix mongo resources create
2021-12-02 10:12:10 +08:00
JimMoen
68af284570
fix(authz): http source create and update
2021-12-02 10:12:10 +08:00
JimMoen
1d3558ebe0
style: make elvis happy
2021-11-26 17:46:38 +08:00
JimMoen
b41c41570a
fix(authz): placehodler regular escape
2021-11-26 15:39:42 +08:00
JimMoen
d7c7292321
fix(authz): placeholder regular replace
2021-11-24 11:10:30 +08: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
Shawn
9c93ea0338
feat(connector): add API for /connectors_test
2021-11-22 17:35:33 +08:00
tigercl
a074cf24d0
Merge pull request #6219 from tigercl/fix/authz-certs
...
fix(authz): fix badmatch when reading certs
2021-11-19 11:25:29 +08:00
JianBo He
905e58c93a
Merge pull request #5997 from HJianBo/gw-fixes-part3
...
Gateway improvement part.3
2021-11-19 09:29:51 +08:00
zhouzb
47851c2430
fix(authz): fix badmatch when reading certs
2021-11-18 14:36:59 +08:00
JimMoen
53b51e31f0
fix(api_schema): add authn mongo missing fields
2021-11-18 12:41:40 +08:00
JianBo He
ad2dbb5a49
chore(gw-sn): append messge headers
2021-11-17 14:51:27 +08:00
zhongwencool
04c204374a
chore: All placeholders are placed in the same header file ( #6190 )
...
* chore: All placeholders are placed in the same header file
* feat: Separate placeholders from the rules engine
2021-11-17 14:40:48 +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
JimMoen
b3f9220d02
style: make elvis happy
2021-11-15 16:30:44 +08:00
JimMoen
106aa559e0
fix(api): DELETE success wrongly returned code 200
2021-11-15 16:30:44 +08:00
JimMoen
a65597e302
Authz api mnesia refactor ( #6082 )
...
* refactor(authz): macro move to hrl and rename, add meta example
* refactor(authz_api_mnesia): use config schemas for request validations
* chore(authz_api_mnesia): suite module typerefl fit
* chore(style): authz_api_mnesia style format
2021-11-11 16:29:36 +08:00
William Yang
5e6dab435a
perf(pool): authz http example pool_type to hash
2021-10-27 08:48:41 +02:00
JimMoen
4a07d5e1f3
refactor(paginate): use exported fun call `{M,F}`
2021-10-26 16:16:37 +08:00
JimMoen
c5142a6d11
fix(authz): add license headers
2021-10-26 14:30:39 +08:00
JimMoen
f44bda806a
chore(authz): fix test suite page params
2021-10-26 14:02:19 +08:00
JimMoen
be6ba14ddf
fix(authz): authz rules page query
2021-10-26 14:02:19 +08:00
Zaiming (Stone) Shi
666b319729
Merge pull request #5989 from zmstone/refactor-ssl-certs-lib
...
refactor(tls): move ssl files handling to emqx_tls_lib
2021-10-25 12:42:29 +02:00
Zaiming (Stone) Shi
a0e77d22b0
fix: typo in apps/emqx_authz/src/emqx_authz.erl
...
Co-authored-by: Rory Z <Rory-Z@outlook.com>
2021-10-25 08:57:44 +02:00
zhanghongtong
3c2292e74f
chore(authz): add more test case
2021-10-25 13:43:28 +08:00
zhanghongtong
a2da746bf9
chore(authz): implement create_dry_run in other function clause
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-10-25 13:43:28 +08:00
zhanghongtong
198ae4c782
fix(authz): fix configuration could be updated with incorrect values
...
when updating the configuration, first check with emqx_resouce:create_dry_run/2
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-10-25 13:43:28 +08:00