Commit Graph

235 Commits

Author SHA1 Message Date
Thales Macedo Garitezi ccd8a2f9d7
fixing machine boot 2021-12-19 15:23:07 -03:00
Thales Macedo Garitezi 9edb7ac3ed
it lives?!?! 2021-12-08 15:50:59 -03:00
Thales Macedo Garitezi 05c638219c
wip 2021-12-07 15:29:57 -03:00
Thales Macedo Garitezi 51bd361b16
Merge remote-tracking branch 'origin/master' into build-with-mix 2021-12-07 15:09:09 -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
Thales Macedo Garitezi 2e5596f6ee
Merge remote-tracking branch 'origin/master' into build-with-mix 2021-11-29 11:28:22 -03: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
Thales Macedo Garitezi f6d0159371
Merge remote-tracking branch 'origin/master' into build-with-mix 2021-11-23 16:19:11 -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
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
JimMoen c5241670e0 refactor(paginate): use exported fun call `{M,F}` 2021-10-27 21:47:59 -07:00
JimMoen 2b46e16d74 fix(authz): add license headers 2021-10-27 21:47:59 -07:00
JimMoen 7a4edc0104 chore(authz): fix test suite page params 2021-10-27 21:47:59 -07:00
JimMoen c1b737a9b2 fix(authz): authz rules page query 2021-10-27 21:47:59 -07:00
Zaiming (Stone) Shi 4eb966549e fix: typo in apps/emqx_authz/src/emqx_authz.erl
Co-authored-by: Rory Z <Rory-Z@outlook.com>
2021-10-27 21:47:59 -07:00
Zaiming Shi 70491aee07 fix(authn): save certificates to certs dir 2021-10-27 21:47:59 -07:00
Zaiming Shi bc99d5c1a6 refactor(authz): call emqx_tls_lib to save & read SSL files 2021-10-27 21:47:59 -07:00
zhanghongtong d796f815d7 chore(authz): add more test case 2021-10-27 21:47:59 -07:00
zhanghongtong b8de05891e chore(authz): implement create_dry_run in other function clause
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-10-27 21:47:59 -07:00
zhanghongtong 2def7e4ac2 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-27 21:47:59 -07:00
Ilya Averyanov c9a0c37dbb style(behaviour attrs): unify behaviour declarations 2021-10-27 21:47:59 -07:00
zhongwencool d2fc66f436 emqx_conf (#5939)
* feat(emqx_conf): move conf manager for emqx_machine to emqx_conf

* chore(emqx_conf): change emqx:get_config/2 to emqx_conf:get/2

* fix: common test failed

* fix: badmatch by typo wrong key

* fix(emqx_conf): get the wrong core nodes

* fix(emqx_conf): get core node's tnx_id not latest tnx_id

* fix: add ro_transation when copy conf file

* fix: delete debug info

* fix: change ekka_rlog to mria_rlog

* fix: remove cluster_rpc from emqx_machine.

* fix: don't call ekka:start/0 explicitly

* fix: ekka should be start in emqx_machine
2021-10-27 21:47:59 -07:00
k32 6ef68f8e2c fix(mria): Replace mnesia calls with mria 2021-10-27 21:47:59 -07:00
k32 1a473bb73b chore(mria): ekka_rlog -> mria_rlog 2021-10-27 21:47:58 -07:00
k32 3e8b9ff76a chore(mria): Get rid of copy_mnesia callback 2021-10-27 21:47:58 -07:00
k32 814623edae chore(mria): ekka_mnesia:create_table -> mria:create_table 2021-10-27 21:47:58 -07:00
k32 fd482e2ec0 chore(mria): Rename module: ekka_mnesia -> mria 2021-10-27 21:47:58 -07: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