Kjell Winblad
38bf2ae445
fix: issues found by spellcheck script
2023-10-27 11:53:41 +02:00
Kjell Winblad
2d05e3a975
fix: dialyzer problem for community edition
2023-10-27 11:53:41 +02:00
Kjell Winblad
6c6c2e0cff
fix: dialyzer warnings for community edition
2023-10-27 11:53:41 +02:00
Stefan Strigler
a847b043df
fix: disable bridge_v2 tests if not on enterprise
2023-10-27 11:53:41 +02:00
Kjell Winblad
e72b952138
fix: problems reported by dialyzer
2023-10-27 11:53:41 +02:00
Stefan Strigler
7822d7db76
fix: strange issue with `erlfmt`
2023-10-27 11:53:41 +02:00
Stefan Strigler
29ca7f944f
fix: simplify by enabling check_schema
2023-10-27 11:53:41 +02:00
Stefan Strigler
2b66018d3b
fix: enable param is atom
2023-10-27 11:53:41 +02:00
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