Commit Graph

18048 Commits

Author SHA1 Message Date
Stefan Strigler
d05f2010b3 fix: fail remove connector with active channels 2023-10-27 11:53:40 +02:00
Stefan Strigler
cc864f4821 feat: add update/3 2023-10-27 11:53:40 +02:00
Stefan Strigler
9195838c17 test: add disable_enable tests 2023-10-27 11:53:40 +02:00
Stefan Strigler
009b9c3d39 style: remove unused commented fn 2023-10-27 11:53:40 +02:00
Kjell Winblad
c0df85ac09 feat: Bridge V2 compatiblilty layer progress and local topic
* Most Bridge V1 HTTP API calls are now compatible with Bridge V2
* Local topics works for Bridge V2 now
* A lot of work on trying to get the old Kafka producer test suite
  to work after the refactorings
2023-10-27 11:53:40 +02:00
Stefan Strigler
16d7f4d3e6 style: cleanup emqx_connector_resource 2023-10-27 11:53:40 +02:00
Stefan Strigler
99904cab27 fix: don't break root for non enterprise 2023-10-27 11:53:40 +02:00
Kjell Winblad
5374d35be3 feat: started to make bridge_v2 compatible with old style bridges 2023-10-27 11:53:40 +02:00
Stefan Strigler
bc6e1da2fb test: add suite for emqx_connector 2023-10-27 11:53:40 +02:00
Stefan Strigler
8f109da62b style: cleanup emqx_connector 2023-10-27 11:53:40 +02:00
Kjell Winblad
f7984be946 feat: add connector schema scaffold and break out Kafka conector
This commit is the beginning of an effort to split bridges into a
connector part and a bridge part.

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-27 11:53:40 +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
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