Shawn
a6cf261e66
chore: add debug logs when auth/acl ignored
2023-03-14 22:24:54 +08:00
Shawn
2e8d207558
chore: bump versions for apps
2023-03-09 09:06:41 +08:00
Shawn
753f70bab8
chore: final EMQ X -> EMQX
2023-03-09 01:58:40 +08:00
firest
a6c6ae6206
chore: bump versions && update appup
2023-02-09 15:16:06 +08:00
firest
3314d9616d
fix(auth): add more detailed logs for auth/acl
2023-02-09 14:08:42 +08:00
Zaiming (Stone) Shi
14ba75502f
chore: update copyright year
2023-01-02 14:54:38 +01:00
Zaiming (Stone) Shi
0c3de088cb
chore: sync changes from ee to ce
2022-12-09 13:58:07 +01:00
Zaiming (Stone) Shi
0eebabd34c
Merge remote-tracking branch 'origin/release-v43' into release-v44
2022-11-07 10:48:38 +01:00
Zaiming (Stone) Shi
8ff8a8b55d
ci: split fast (regular) and docker-compose (docker) ct
2022-11-06 19:39:06 +01:00
Zaiming (Stone) Shi
4a020d0e1a
Merge remote-tracking branch 'origin/release-v43' into release-v44
2022-10-28 14:35:56 +02:00
firest
4fc56a6e5b
fix(log): Use LOG_SENSITIVE to replace the risky LOG in ACL
...
We should ensure that neither client nor backend database passwords should be printed out when users use ACLs
2022-10-27 17:02:57 +08:00
Thales Macedo Garitezi
0a8f3d4e16
Merge remote-tracking branch 'origin/main-v4.3' into sync-v44-a
2022-10-24 16:28:11 -03:00
Zaiming (Stone) Shi
f24728ee7b
chore: sync diverged modules modules from ee back to ce
2022-10-05 14:59:18 -03:00
Zaiming (Stone) Shi
fef42b0d17
Merge remote-tracking branch 'origin/main-v4.3' into 1005-sync-v44-upstreams
2022-10-05 13:40:35 +02:00
Ivan Dyachkov
77a45f86cc
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2022-09-26 20:19:23 +02:00
Thales Macedo Garitezi
a61c97ed9b
test: attempt to reduce inter-testcase flakiness in CI
...
Ex:
```
=== ERROR! init_per_testcase crashed!
Location: [{emqx_auth_mongo_SUITE,'-init_mongo_data/0-fun-0-',207},
{emqx_auth_mongo_SUITE,init_mongo_data,207},
{emqx_auth_mongo_SUITE,init_per_testcase,177},
{test_server,do_init_per_testcase,1554},
{test_server,run_test_case_eval1,1255},
{test_server,run_test_case_eval,1225}]
Reason: {{assertMatch,[{module,emqx_auth_mongo_SUITE},
{line,207},
{expression,"mongo_api : insert ( Connection , ? MONGO_CL_USER , ? INIT_AUTH )"},
{pattern,"{ { true , _ } , _ }"},
{value,{error,timeout}}]},
[{emqx_auth_mongo_SUITE,'-init_mongo_data/0-fun-0-',1,
[{file,"/emqx/apps/emqx_auth_mongo/test/emqx_auth_mongo_SUITE.erl"},
{line,207}]},
{emqx_auth_mongo_SUITE,init_mongo_data,0,
[{file,"/emqx/apps/emqx_auth_mongo/test/emqx_auth_mongo_SUITE.erl"},
{line,207}]},
{emqx_auth_mongo_SUITE,init_per_testcase,2,
[{file,"/emqx/apps/emqx_auth_mongo/test/emqx_auth_mongo_SUITE.erl"},
{line,177}]},
{test_server,do_init_per_testcase,2,[{file,"test_server.erl"},{line,1554}]},
{test_server,run_test_case_eval1,6,[{file,"test_server.erl"},{line,1255}]},
{test_server,run_test_case_eval,9,[{file,"test_server.erl"},{line,1225}]}]}
```
2022-09-26 09:13:07 -03:00
Thales Macedo Garitezi
7c4842e6e5
test: attempt to fix inter-suite flakiness
...
Ex:
https://github.com/emqx/emqx-enterprise/actions/runs/3124750818/jobs/5068407612#step:7:769
```
%%% undefined ==> end_per_suite: FAILED
%%% undefined ==> {{badmatch,{error,enoent}},
[{emqx_auth_mongo_SUITE,end_per_suite,1,
[{file,"/emqx/apps/emqx_auth_mongo/test/emqx_auth_mongo_SUITE.erl"},
{line,62}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1784}]},
{test_server,run_test_case_eval1,6,[{file,"test_server.erl"},{line,1381}]},
{test_server,run_test_case_eval,9,[{file,"test_server.erl"},{line,1225}]}]}
Testing lib.emqx_auth_mongo: TEST COMPLETE, 3 ok, 0 failed of 3 test cases
```
2022-09-26 08:57:53 -03:00
Thales Macedo Garitezi
f94c5ee40a
feat(auth_mongo): use `with_timeout` for `query`
2022-09-22 11:28:59 -03:00
Thales Macedo Garitezi
90995069c6
chore(auth_mongo): bump appup
2022-09-21 14:46:17 -03:00
Thales Macedo Garitezi
a60763dfcf
test(mongo): attempt to improve test stability
2022-09-21 14:03:44 -03:00
Thales Macedo Garitezi
ea8f444bda
test(mongo): add more acl tests
...
With this commit, we reach 100 % coverage over `emqx_acl_mongo`.
2022-09-21 14:03:44 -03:00
Thales Macedo Garitezi
69659caaf8
test(mongo): add more coverage tests
...
reaching 100% coverage of `emqx_auth_mongo` with this.
2022-09-21 14:03:44 -03:00
Thales Macedo Garitezi
3f02c6b574
feat(mongo): add timeouts and more tests
2022-09-21 14:03:44 -03:00
Thales Macedo Garitezi
fe0ba87fd0
fix: handle interpolation of unavailable info
2022-09-20 14:15:32 -03:00
Thales Macedo Garitezi
d3304d49b5
test: increase mongo integration test coverage (4.3)
2022-09-20 14:15:32 -03:00
Zaiming (Stone) Shi
51e70df440
Merge remote-tracking branch 'origin/main-v4.3' into 0919-sync-v44
2022-09-19 09:54:00 +02:00
Thales Macedo Garitezi
6204481d71
test: avoid inter-suite flakiness
...
This test runs most of the time fine in CI. But, if run alone
locally, will fail consistently because the default `acl.conf` has a
catch-all `{allow, all}` clause. Probably another suite that runs
before this in CI unloads that and everything seems fine.
2022-09-15 18:08:20 -03:00
JianBo He
90aa301830
chore: enhance emqx_auth_mongo appup.src
2022-05-23 21:44:05 +08:00
Shawn
ca842aa869
fix: merge main-v4.3 to main-v4.4
2022-05-23 11:23:27 +08:00
JimMoen
69abca17f2
chore(appup): bump app version & update appup
2022-05-22 22:06:02 +08:00
JimMoen
bd23dae523
refactor(auth): auth apps use counter in emqx_metrics
2022-05-22 22:06:02 +08:00
JimMoen
6168745f90
chore: update copyright
2022-04-14 11:23:25 +08:00
DDDHuang
4a692f0c2e
fix: config schema sni disable
2022-04-10 12:57:50 +08:00
DDDHuang
3c34cb3b6a
fix: start auth & acl mongo with availability check
2022-04-07 18:27:04 +08:00
EMQ-YangM
9d25c58bb1
fix: move mongodb-erlang to top level rebar.config
2022-04-02 16:54:48 +08:00
EMQ-YangM
c84a4b2b6b
fix: update mongodb driver to fix potential process leak
2022-04-02 10:27:44 +08:00
Chris Hicks
eb5d9fa501
Merge pull request #7298 from mononym/fix-mongodb-timeout-crash
...
fix: prevent crash when mongodb connection times out
2022-03-14 17:01:09 +01:00
Chris
440523138b
fix: prevent crash when mongodb connection times out
2022-03-14 15:09:49 +01:00
Chris
ca5637b4a3
fix: update mongodb client to include deadloop fix
2022-03-09 10:57:29 +01:00
Zaiming (Stone) Shi
43c900bb5a
chore: rename more descriptive EQM X to EMQX
2022-02-22 11:16:38 +01:00
Zaiming (Stone) Shi
e09e5673eb
docs(README): EMQ X -> EMQX
2022-02-15 16:15:25 +01:00
JianBo He
f86c1316e7
chore(auth): bump version & update appup.src
2022-01-21 14:24:03 +08:00
JianBo He
f0a3b7754e
refactor: remove the acl metrics for all auth plugins
2022-01-21 14:24:03 +08:00
Shawn
0ab1b7c95d
fix(mongo): update mongodb to 3.0.10
2021-11-02 09:23:07 +08:00
Zaiming Shi
6354e75626
chore: update copyrights
2021-04-23 20:43:00 +02:00
Zaiming Shi
b3b821e8c4
fix(flase): false
2021-04-08 00:34:43 +02:00
Zaiming Shi
a914b191b6
chore(build): Pin poolboy 1.5.2
...
mongodb-erlang uses a special fork:
https://github.com/comtihon/poolboy.git
(which has overflow_ttl feature added).
However, it references `{branch, "master}`
should be `{ref, "9c06a9a"}` (2021-04-07).
By accident, We have always been using the upstream fork due to
eredis_cluster's dependency getting resolved earlier.
Here we pin 1.5.2 to avoid surprises in the future.
2021-04-08 00:02:27 +02:00
JianBo He
f08ddec296
Add server_name_indication and verify option ( #4349 )
...
Add server_name_indication and verify option
2021-03-23 19:48:04 +08:00
zhanghongtong
99843e7b4b
chore(auth plugins): remove emqx_modules in test case
2021-03-20 09:33:15 +08:00
Zaiming Shi
7aff861f9b
refactor(emqx_modules): Move emqx_modules to lib-opensource
...
emqx_moduels for enterprise is refactored as a lib/plugin
in order to avoid merge conflicts, we make sure they can
co-exist in the same branch, because lib-opensource is compiled
in opensource project and lib-enterprise (to be added) is
compiled in enterprise project
2021-02-08 21:35:44 +01:00