Commit Graph

18047 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi f463eff02d chore: e5.3.1-alpha.2 2023-10-30 14:49:08 +01:00
Zaiming (Stone) Shi 0656b6be3c refactor(emqx_config): use dynamic callback to upgrade raw config 2023-10-30 14:49:08 +01:00
Kjell Winblad 9dc3a169b3 feat: split bridges into a connector part and a bridge part
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
Co-authored-by: Stefan Strigler <stefan.strigler@emqx.io>
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>

Several bridges should be able to share a connector pool defined by a
single connector. The connectors should be possible to enable and
disable similar to how one can disable and enable bridges. There should
also be an API for checking the status of a connector and for
add/edit/delete connectors similar to the current bridge API.

Issues:
https://emqx.atlassian.net/browse/EMQX-10805
2023-10-30 14:48:47 +01:00
Ivan Dyachkov 045875d18d ci: make CI a little faster and less flaky
- use latest ubuntu22.04 emqx-builder image in compose files
- use xl runners for compiling and for emqx app tests
- make helm tests less flaky
2023-10-30 10:32:27 +01:00
SergeTupchiy 45fdf8da1b
Merge pull request #11819 from SergeTupchiy/fix-opentelemetry-metrics-timestamp
chore: upgrade opentelemtry to v1.3.1-emqx
2023-10-30 09:07:24 +02:00
Zaiming (Stone) Shi e4414b9cb7
Merge pull request #11831 from zmstone/1028-only-enable-cover-compile-by-default-in-ci
ci: only enable cover-compile by default in CI
2023-10-28 22:28:48 +02:00
Zaiming (Stone) Shi 3aebe4a289 ci: only enable cover-compile by default in CI
so the ad-hoc make apps/appname-ct run can be faster
2023-10-28 00:39:55 +02:00
Zaiming (Stone) Shi 3e7ce6531d
Merge pull request #11827 from zmstone/1027-remove-unused-vars-from-Makefile
refactor: OTP_VSN and ELIXIR_VSN are no longer needed in Makefile
2023-10-27 15:58:29 +02:00
Zaiming (Stone) Shi 61c1c72061 refactor: OTP_VSN and ELIXIR_VSN are no longer needed in Makefile 2023-10-27 12:21:47 +02:00
Zaiming (Stone) Shi eddd2c2a99
Merge pull request #11825 from zmstone/1027-build-refactor-ct-Makefile-targets
build: refactor Makefile -ct and -prop target generation
2023-10-27 11:50:44 +02:00
Zaiming (Stone) Shi 5c14ac2e50 build: refactor Makefile -ct and -prop target generation
Do not pre-generate all the -ct and -prop targets,
rather generate only the one that is in the specified build target
2023-10-27 10:22:15 +02:00
Serge Tupchii 9b0a7b9c63 chore: upgrade opentelemtry to v1.3.1-emqx
v1.3.1-emqx fixes metrics timestamp issue #11802.
2023-10-26 10:17:29 +03:00
Zaiming (Stone) Shi 97601171a5
Merge pull request #11818 from zmstone/1025-fix-flaky-test
test: fix a flaky test case emqx_crl_cache_SUITE:t_revoked
2023-10-25 20:46:31 +02:00
Zaiming (Stone) Shi 76a8b0efd4 test: fix a flaky test case emqx_crl_cache_SUITE:t_revoked 2023-10-25 16:08:31 +02:00
William Yang ae49750b3e
Merge pull request #11816 from qzhuyan/fix/william/genrpc-tcp-port-align
fix: gen_rpc tcp client port align with server port
2023-10-25 14:19:56 +02:00
William Yang f52b4a9e32 fix: gen_rpc tcp client port align with server port 2023-10-25 12:11:35 +02:00
William Yang 37dd44c3d7
Merge pull request #11813 from qzhuyan/fix/william/genrpc-ssl-port-align
Fix/william/genrpc ssl port align
2023-10-25 09:04:19 +02:00
William Yang 6346e0d28a fix(gen_rpc): ssl client port align with server port 2023-10-24 22:33:52 +02:00
William Yang 2a7d73e62c ci: fix helm chart test 2023-10-24 21:19:37 +02:00
Zaiming (Stone) Shi 33db5f5054
Merge pull request #11810 from zmstone/1024-fix-otel-schema-default-value
fix: use binary string for raw default values
2023-10-24 16:20:01 +02:00
Zaiming (Stone) Shi abcb3166f6 fix: use binary string for raw default values 2023-10-24 14:46:01 +02:00
JimMoen da62242d42
Merge pull request #11807 from JimMoen/chore-11798-changelog
chore: missing change log for duplicated apikey fixing
2023-10-24 11:03:22 +08:00
JimMoen 99fab8dc5d
chore: missing change log for duplicated apikey fixing 2023-10-24 09:44:39 +08:00
William Yang a9b42af8b3
Merge pull request #11796 from qzhuyan/fix/william/gen_rpc-driver
fix(gen_rpc): ensure client/server use same driver
2023-10-23 08:24:17 +02:00
JimMoen 60a84b2845
Merge pull request #11798 from JimMoen/fix-conflict-api-key
fix: avoid duplicated apikey from data import
2023-10-23 09:51:33 +08:00
Ivan Dyachkov a437e7d0c7
Merge pull request #11799 from id/1020-emqx-builder-5.2-3
chore: emqx-builder 5.2-3
2023-10-20 17:37:24 +02:00
JimMoen e6576951ef
test: cleanup duplicated apikey with different name 2023-10-20 22:33:26 +08:00
Ivan Dyachkov 41dba71901 chore: emqx-builder 5.2-3 2023-10-20 16:26:53 +02:00
JimMoen d467289bb2
fix: avoid duplicated apikey from data import 2023-10-20 21:13:04 +08:00
William Yang 1808ad2373 ci(helm): test gen_rpc transports 2023-10-20 13:28:31 +02:00
William Yang cf20927bac docs: add changelog 2023-10-20 13:28:29 +02:00
William Yang dd5807b797 fix(gen_rpc): ensure client/server use same driver
Also bump to gen_rpc 3.2.1
2023-10-20 12:17:49 +02:00
Zaiming (Stone) Shi dbffc080c2
Merge pull request #11775 from zmstone/1016-docker-build-support-cache
build: make use of rebar git cache in docker build
2023-10-18 13:07:41 +02:00
Ivan Dyachkov d45ac980f6
Merge pull request #11781 from id/1017-ci-update-runner-labels
ci: explicitly specify architecture in runner labels
2023-10-18 08:03:35 +02:00
Ivan Dyachkov 898279099b ci: update remaining docker images in workflows to use public.ecr.aws 2023-10-17 22:36:43 +02:00
Ivan Dyachkov fb6b02c1ea ci: explicitly specify architecture in runner labels 2023-10-17 18:57:46 +02:00
Zaiming (Stone) Shi 22f8df2eee build: make use of rebar git cache in docker build 2023-10-17 13:06:50 +02:00
Zaiming (Stone) Shi 4dd60da9ee
Merge pull request #11767 from zmstone/1016-upgrade-rebar3
build: upgrade to rebar3 3.19.0-emqx-8
2023-10-17 00:03:25 +02:00
Zaiming (Stone) Shi 0886e6281a build: upgrade to rebar3 3.19.0-emqx-8
This version supports REBAR3_GIT_CACHE_DIR option to make use
of local repos as clone reference to reduced the number of clones
2023-10-16 13:34:23 +02:00
Ilya Averyanov 90a0c093bf
Merge pull request #11750 from savonarola/1011-redact-auth-http-request
Do not trace authn http request bodies
2023-10-13 17:25:28 +03:00
Andrew Mayorov d59747a011
Merge pull request #11760 from keynslug/fix/EMQX-11149/no-aggr-healthcheck
fix(cass): avoid using aggregates in healthcheck query
2023-10-13 21:03:15 +07:00
Andrew Mayorov dcdfcdb24f
chore: add changelog entry 2023-10-13 19:58:59 +07:00
Andrew Mayorov 51c57a5f0a
fix(cass): avoid using aggregates in healthcheck query
Otherwise, this query will produce warning message per each
healthcheck, telling the user:
```
WARN  <...> - Aggregation query used without partition key
```
2023-10-13 16:50:19 +07:00
Ilya Averyanov 68f31a9da2 fix(authn): do not trace authn requests 2023-10-12 16:32:16 +03:00
Andrew Mayorov 072ff19f92
Merge pull request #11759 from keynslug/fix/EMQX-11131/tab-shard
fix(gcpdev): restore original shard in mnesia tab definition
2023-10-12 19:21:47 +07:00
Andrew Mayorov 6413afd0bc
fix(gcpdev): restore original shard in mnesia tab definition
Changing the shard is not backward compatible, and leads to a crash
when upgrading from 5.2.x.
2023-10-12 17:30:07 +07:00
Zaiming (Stone) Shi d9859b6b49
Merge pull request #11749 from thalesmg/test-fix-flaky-http-suite-r53-20231011
test: attempt to fix flaky http bridge suite
2023-10-11 16:07:17 +02:00
William Yang e6358ca18c
Merge pull request #11747 from qzhuyan/dev/william/quicer-0.0.202
bump to quicer 0.0.202
2023-10-11 15:43:47 +02:00
Thales Macedo Garitezi ab662f506d test: attempt to fix flaky http bridge suite
```
 =CRASH REPORT==== 10-Oct-2023::05:35:30.911371 ===
  crasher:
    initial call: ehttpc:init/1
    pid: <0.23358.2>
    registered_name: []
    exception error: bad argument
      in function  persistent_term:get/1
         called as persistent_term:get({emqx_bridge_http_SUITE,
                                        do_t_async_retries,attempts})
         *** argument 1: no persistent term stored with this key
      in call from emqx_bridge_http_SUITE:'-do_t_async_retries/3-fun-2-'/0 (/__w/emqx/emqx/apps/emqx_bridge_http/test/emqx_bridge_http_SUITE.erl, line 697)
      in call from emqx_bridge_http_SUITE:'-do_t_async_retries/3-fun-4-'/6 (/__w/emqx/emqx/apps/emqx_bridge_http/test/emqx_bridge_http_SUITE.erl, line 705)
```
2023-10-11 09:13:25 -03:00
Ilya Averyanov 57655854d1
Merge pull request #11743 from savonarola/1010-auth-leftovers
chore(auth): cleanup code
2023-10-11 15:09:07 +03:00