Commit Graph

78 Commits

Author SHA1 Message Date
rkerner
5292096903 DBZ-4395 Add connector specific Debezium Connect REST Extension/s and move logic from UI backend to the Debezium Connect REST Extension (part 1 of the re-architecturing/re-factoring)
* fix that Docker networks should not be closed by MongoDb container managers (MongoDbReplicaSet and MongoDbShardedCluster)

closes to https://issues.redhat.com/browse/DBZ-4395
2023-09-21 13:29:59 +02:00
rkerner
32161c9874 DBZ-4395 Add connector specific Debezium Connect REST Extension/s and move logic from UI backend to the Debezium Connect REST Extension (part 1 of the re-architecturing/re-factoring)
closes to https://issues.redhat.com/browse/DBZ-4395
2023-09-21 13:29:59 +02:00
Jiri Pechanec
dac07d53c3 DBZ-6482 TimescaleDB transformation 2023-08-29 11:45:27 +02:00
Jiri Novotny
0d18eb6768 DBZ-6779 Change approach to version parsing 2023-08-10 06:59:36 +02:00
Jiri Novotny
554163a3f1 DBZ-6779 Fix version parsing of non-numerical chars 2023-08-10 06:59:36 +02:00
Chris Egerton
1dae3831ec DBZ-6734: Add new STOPPED and RESTARTING states for connectors
[KIP-875](https://cwiki.apache.org/confluence/display/KAFKA/KIP-875%3A+First-class+offsets+support+in+Kafka+Connect) added a new `STOPPED` state for connectors that causes the `Connector` instance to be paused and all `Task` instances to be shut down (as opposed to left ready-but-idling, which is the case for the `PAUSED` state).

Tasks will never appear in the `STOPPED` state, only connectors.

This PR adds that state to the testcontainers library to make custom testing easier (e.g., with `DebeziumContainer::ensureConnectorState`).

I'm unsure about the backporting policy here but if this change is approved, it may also be suitable to port over to the 2.4 branch. Happy to re-target this PR at 2.4 or open up a separate PR against that branch if it helps.

Additionally, the RESTARTING state is added to prevent IllegalArgumentExceptions from being thrown when trying to parse connector/task states into the Connector.State enum.
2023-08-02 06:52:58 +02:00
jcechace
5cb579bf12 DBZ-6525 Removing runtime dependency on core for testcontainers module in order to prevent logback.xml downstream conflicts 2023-07-11 12:07:04 +02:00
jcechace
fa78e77797 DBZ-6596 Support authentication for ReplicaSet testcontainers deployments 2023-06-26 07:53:46 +02:00
ani-sha
e91f483062 DBZ-5339 Enable Jolokia using DebeziumContainer class 2023-05-18 11:08:03 -04:00
jcechace
21e3c14491 DBZ-6363 Support for MongoDB tests in UI build with Debezium 2.2 2023-05-01 11:35:47 -04:00
jcechace
8e1d83ce88 DBZ-4427 Added sharding log messages to container infrastructure 2023-04-19 12:05:59 +02:00
Vojtech Juranek
44f2f40c56 DBZ-6216 Update testcontainers to use quay.io images
When needed update also version.
Update also leftovers in readme files.
2023-04-12 14:07:35 +02:00
ani-sha
434833e179 DBZ-6306 Use connection string configuration in ConnectorConfiguration#forMongoDbContainer 2023-04-11 22:57:35 +02:00
Chris Cranford
bcc7d49519 DBZ-6305 Allow specifying DockerImageName reference for MongoDB 2023-04-04 15:25:50 +02:00
jcechace
2fdd3fbc86 DBZ-6170 Added basic test scenario for running mongodb connector with sharded mongodb cluster 2023-03-27 10:31:47 +02:00
jcechace
99b9349587 DBZ-6247 More resilient image version handling for MongoDbContainer and related tests 2023-03-23 16:15:03 +01:00
Chris Cranford
9307019441 DBZ-6244 Support ImageFromDockerfile syntax with testcontainers 2023-03-22 19:58:48 +01:00
jcechace
922191cdd7 DBZ-6032 Connection management refactoring 2023-03-03 05:46:33 +01:00
Chris Cranford
24fe8fe572 DBZ-6136 Add toJson to TestContainers ConnectorConfiguration impl 2023-02-21 18:31:57 +01:00
Jiri Pechanec
8ca5e0a9b5 DBZ-4669 Reformat after plugin version consolidation 2023-01-11 06:44:53 +01:00
Mark Lambert
e5d16b14a6 DBZ-2439 Remove redundant modifiers 2023-01-11 06:44:53 +01:00
Jeremy Ford
8392d5e3ad DBZ-5282 Debezium is not working with apicurio and custom truststores
Update to latest version of apicurio
Force apicurio docker image to 2.3.1 temporarily
2023-01-10 08:37:29 +01:00
jcechace
d2437411e2 DBZ-5857 Temporarily disabling tc test for sharded cluster due to ci errors 2022-12-16 08:43:25 +01:00
jcechace
82643e9d26 DBZ-5857 Fake DNS resolver allowing the use of MongoDB containers under Docker Desktop without hots file modifications 2022-12-16 08:43:25 +01:00
jcechace
86fea445a5 DBZ-5857 Improved logging for MongoDB containers running under Docker Desktop 2022-12-16 08:43:25 +01:00
jcechace
7177518ae4 DBZ-5857 Ability to run MongoDB containers with static ports on docker desktop 2022-12-16 08:43:25 +01:00
Bobby Tiernay
294ca6a7db DBZ-4339 Fix unused import. 2022-11-30 07:00:56 +01:00
Bobby Tiernay
adb672a87c DBZ-4339 Migrate from JUnit 4 to 5, rename utility class, fix formatting. 2022-11-30 07:00:56 +01:00
Bobby Tiernay
950a2a8bdf DBZ-4339 Migrate MongoDB Testcontainer support to debezium-testing-testcontainers module. 2022-11-30 07:00:56 +01:00
jcechace
666fd6f858 DBZ-5779 Migrated debezium-testing-testcontainers to AssertJ 2022-11-02 08:50:26 +01:00
Sergei Morozov
e4d46c81b1 DBZ-5541: Default Debezium schema.name.adjustment.mode to "none" 2022-09-29 09:47:25 +02:00
Jiri Pechanec
6ec3472a57 DBZ-5651 Reduce default wait and make it configurable 2022-09-29 05:38:43 +02:00
Jaromir Hamala
82e37a68d4 DBZ-5651 More reliable wait strategy for DebeziumContainer
Reasoning: There original strategy is scrapping logs, but there
is a race between "Session key updated" being logged and Kafka Connect
REST interface being up. Hence, on slow machines the KC REST /connectors
interface was occasionally replying with HTTP 404.
2022-09-29 05:38:43 +02:00
Vojtech Juranek
59f6df8228 DBZ-5601 Switch Debezium test containers to nightly 2022-09-13 08:59:21 +02:00
Vojtech Juranek
0823cedf25 DBZ-5043 Replace database.server.name with topic.prefix 2022-09-07 12:57:31 +02:00
Jiri Pechanec
f770e0afb1 DBZ-2766 Remove Guava dependency 2022-08-23 13:43:41 +02:00
Chris Cranford
b92dd83c44 DBZ-5159 Fix possible NPE when checking connector task state 2022-05-23 17:23:53 +02:00
Chris Cranford
c762143178 DBZ-4867 Do not set database.dbname for SQL Server 2022-05-18 08:52:29 +02:00
zalmane
fbab769910 DBZ-4771 squash commits 2022-03-23 13:26:07 +01:00
zalmane
184d0a2dee DBZ-4509 update postgres connector test getter 2022-03-03 10:13:29 +01:00
zalmane
94803611b3 DBZ-4509 updated after comments 2022-03-03 10:13:29 +01:00
zalmane
d259496aa3 DBZ-4509 save and load offsets in redis 2022-03-03 10:13:29 +01:00
Jiri Pechanec
8fd3243a86 DBZ-2224 Test logging based on logback 2022-01-18 11:24:21 +01:00
Jiri Pechanec
7424b8a8bc DBZ-4544 Change tests to JUnit 5 2022-01-13 20:42:26 +01:00
Chris Cranford
3ec16a6975 DBZ-4035 Upgrade to Quarkus 2.5.0.Final 2021-12-07 14:57:23 +01:00
Gunnar Morling
36af61b789 DBZ-3889 Moving ContainerImageVersions to core for broader re-use and using it in two more places 2021-08-23 12:34:03 +02:00
Jiri Pechanec
96fc521f85 DBZ-3171 Use Apicurio 2.0 2021-06-15 14:16:25 +02:00
Anisha Mohanty
23fdb179a0 DBZ-3369 Add Schema Registry Lifecycle Manager to test Protobuf converters 2021-04-09 10:03:18 +02:00
Anisha Mohanty
0006a443cb DBZ-2388 Use Apicurio converters with Debezium Server 2021-03-31 15:23:15 +02:00
rkerner
f026f962f2 DBZ-3024 Migrate DebeziumContainer enhancements for DBZ-2950 and DBZ-2952 into main repository
* apply PR feedback

closes https://issues.redhat.com/browse/DBZ-3024
2021-02-03 15:21:50 +01:00