Stefan Strigler
abcae6b509
fix: refactor handling of operation(s) [ie 'start']
2023-10-27 11:53:41 +02:00
Stefan Strigler
676572c65a
fix: use check_schema to simplify API implementation
2023-10-27 11:53:41 +02:00
Stefan Strigler
2a1e135304
test: fix tests after emqx_authn changes
2023-10-27 11:53:41 +02:00
Stefan Strigler
d46f8efe60
test: add emqx_bridge_v2_api_SUITE
2023-10-27 11:53:41 +02:00
Kjell Winblad
cb3892038a
fix: typo
2023-10-27 11:53:41 +02:00
Kjell Winblad
f49011ece4
fix: unused variable warning
2023-10-27 11:53:41 +02:00
Kjell Winblad
2cd1c88f7f
fix: fixup after rebasing on release-23
2023-10-27 11:53:41 +02:00
Kjell Winblad
d8a9778d7c
feat: add compatibilty layer function for checking if valid bridge_v1
2023-10-27 11:53:41 +02:00
Stefan Strigler
e2b4fb3bda
fix: support 'start' operation
2023-10-27 11:53:41 +02:00
Stefan Strigler
d5ac3d0fd7
fix: description for operation on connector
2023-10-27 11:53:41 +02:00
Stefan Strigler
6568759a7e
fix: add bridge_v2_probe
2023-10-27 11:53:41 +02:00
Stefan Strigler
7ad709560d
fix: bridge_not_found renamed
2023-10-27 11:53:41 +02:00
Kjell Winblad
2249a2cb50
fix: remove unused function
2023-10-27 11:53:41 +02:00
Stefan Strigler
38f5c7dcf4
feat: HTTP API for bridge_v2
2023-10-27 11:53:41 +02:00
Kjell Winblad
a5a060473c
feat: restructure emqx_bridge_v2 for better readability
2023-10-27 11:53:41 +02:00
Kjell Winblad
e13196c1ca
feat(bridge_v2): dry_run and specific test suite
2023-10-27 11:53:41 +02:00
Kjell Winblad
04943ccbf0
refactor: better name of funtion
2023-10-27 11:53:41 +02:00
Kjell Winblad
b0b518067a
fix: remove connector as well on Bridge V1 remove
...
For backwards compatibility we remove the connector for the Bridge V2
bridge when performing the remove operation but only if no other
channels depend on the connector.
2023-10-27 11:53:41 +02:00
Kjell Winblad
828bbc57ac
feat: test case fixes and compatibility layer probe etc
...
* test case fixes for Bridge V1 suite
* Bug fixes
* local_topic
* Bridge V1 probe compatibility functionality
2023-10-27 11:53:41 +02:00
Stefan Strigler
1c62b5bcf3
fix: use correct body_schema
2023-10-27 11:53:41 +02:00
Stefan Strigler
291d54eef0
test: use no_link in init for mecks
2023-10-27 11:53:41 +02:00
Stefan Strigler
671b5306cd
fix: cleanup start/stop/restart operations
2023-10-27 11:53:41 +02:00
Stefan Strigler
1816b450f0
test: (re-)add inconsistent connector test
2023-10-27 11:53:41 +02:00
Stefan Strigler
0ad156bfa9
test: make sure mocks are ready before init_mocks terminates
2023-10-27 11:53:41 +02:00
Stefan Strigler
ee8e469086
test: port all remaining tests
2023-10-27 11:53:40 +02:00
Kjell Winblad
58db34ac62
fix: apply suggestions from code review
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2023-10-27 11:53:40 +02:00
Stefan Strigler
a9a7f4ae3a
fix: set bpapi version to 1
2023-10-27 11:53:40 +02:00
Stefan Strigler
cb8691438a
test: use mock instead of actual kafka service
2023-10-27 11:53:40 +02:00
Stefan Strigler
7f3e23eed9
test: initial add of /connectors api suite
2023-10-27 11:53:40 +02:00
Stefan Strigler
f3648c5232
fix: allow Type in resource-id and pass it on
2023-10-27 11:53:40 +02:00
Stefan Strigler
8567ccafc1
fix: don't assume resource-id starts with "connector:"
2023-10-27 11:53:40 +02:00
Stefan Strigler
4b4eb19b0b
fix: add schema desc for connector
2023-10-27 11:53:40 +02:00
Stefan Strigler
c9b683fd78
fix: add missing function for non enterprise
2023-10-27 11:53:40 +02:00
Stefan Strigler
229bc0ee34
fix: schema fixes for connector and kafka as connector
2023-10-27 11:53:40 +02:00
Stefan Strigler
64faf32842
style: cleanup examples
2023-10-27 11:53:40 +02:00
Stefan Strigler
4e05b1f013
style: fix wording, typos, punctuation etc
2023-10-27 11:53:40 +02:00
Stefan Strigler
7641c22455
fix: add missing parts
2023-10-27 11:53:40 +02:00
Stefan Strigler
ed8aa46602
refactor: copy bridge api code over to emqx_connector
2023-10-27 11:53:40 +02:00
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