Commit Graph

100 Commits

Author SHA1 Message Date
Chris Cranford
b622cca987 DBZ-7785 Add MariaDB REST extension tests 2024-05-03 14:46:26 +02:00
Chris Cranford
60ac3c00a1 DBZ-7693 Add MariaDB connector 2024-04-18 10:27:21 +02:00
mfvitale
ffbde888bc DBZ-7732 Support multiple connector testing on Debezium Server 2024-04-08 12:46:53 +02:00
Ondrej Babec
9bc20c9ea3 DBZ-7711 Adjust fakeDNS startup conditional for Max OS 2024-03-27 17:29:55 +01:00
Chris Cranford
9e23163be4 DBZ-7626 MongoDbReplicaSet & MongoDbShardedCluster reuse networks by default 2024-03-11 16:59:17 -04:00
ani-sha
a87dc45029 DBZ-7507 Use descriptive test property name 2024-03-05 11:10:41 +01:00
ani-sha
5b27b07ad5 DBZ-7507 Configure startup timeout for MongoDb ReplicaSet 2024-03-05 11:10:41 +01:00
mfvitale
ce17bdcce6 DBZ-7461 Add generic properties for redo log archive and retention 2024-03-01 14:12:31 +01:00
mfvitale
c5ef32e07e [ci] Mark MongoDbReplicaSetAuthTest as flaky 2024-03-01 14:12:31 +01:00
Chris Cranford
09d500359f [ci] Mark MongoDbReplicaSetAuthTest Flaky 2024-02-26 21:44:16 -05:00
Vojtech Juranek
ae802f5642 DBZ-7524 Allow to customze version regex 2024-02-22 08:41:01 +01:00
Vojtech Juranek
4feb65f50c DBZ-7524 Download image from Docker Hub as a fallback option 2024-02-22 08:41:01 +01:00
harveyyue
1632646525 DBZ-7054 Move timeout configuration of MongoDbReplicaSet into Builder class 2024-02-19 11:56:59 +01:00
Jakub Cechacek
aa0c53ec2a DBZ-7260 Offset consolidation test coverage 2024-01-11 09:58:24 +01:00
rkerner
e06f96f339 DBZ-6764 Fix waitForStreamingRunning/isStreamingRunning 2023-12-20 08:56:56 +01:00
ani-sha
5841eacb79 DBZ-7177 Wait for streaming, adjust test cases 2023-12-20 08:56:56 +01:00
Jakub Cechacek
bd43db0b91 DBZ-6875 Ignoring the correct exception when awaiting RS primary 2023-11-28 14:25:52 +01:00
rkerner
aeaba3ae70 DBZ-6762 Add "validate filters" endpoint/s for connector-specific Connect REST Extensions
closes to https://issues.redhat.com/browse/DBZ-6762
2023-11-22 06:10:40 +01:00
Jakub Cechacek
2f70c30962 DBZ-6875 Ensuring root user is created when using authenticated mongo rs 2023-11-08 13:13:43 +01:00
rkerner
de6c1976f9 DBZ-6763 Add integration tests for the Debezium Connect REST extension for the Oracle connector / Oracle Connect REST extension
closes to https://issues.redhat.com/browse/DBZ-6763
2023-11-02 09:00:45 +01:00
Mark Ducommun
57e29ba575
DBZ-7044 Adapted DebeziumContainer to lazily retrieve latest stable… (#4940)
DBZ-7044 Adapted DebeziumContainer to lazily retrieve latest stable image tag when needed and cache it for subsequent usages
2023-10-19 09:28:47 +02:00
rkerner
b6b56d07cf DBZ-6763 Fix CI tests caused by MongoDbReplicaSet which is trying to stop not running containers almost infinitely 2023-10-18 11:21:01 +02:00
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