Commit Graph

7631 Commits

Author SHA1 Message Date
Chris Cranford
f549ebd390 DBZ-5493 Upgrade PostgreSQL driver to 42.4.1 2022-08-09 15:26:23 +02:00
Chris Cranford
fcb845024f DBZ-5483 Fix testStopSnapshotKafkaSignal random failure 2022-08-08 15:55:56 -04:00
Vojtech Juranek
43787b8a21 DBZ-5116 Provide more clear message when cannot load config
Example output after the failure:

    $ ./run.sh
    Failed to load mandatory config value 'debezium.sink.type'. Please check you have correct Debezium server config in /home/vjuranek/tmp/debezium-server/conf/application.properties or required properties are defined via system or environment variables.
    {"timestamp":"2022-08-08T13:37:35.848+02:00","sequence":155,"loggerClassName":"org.jboss.logging.Logger","loggerName":"io.quarkus.runtime.Application","level":"ERROR","message":"Failed to start application (with profile prod)","threadName":"main","threadId":1,"mdc":{},"ndc":"","hostName":"fedora","processName":"io.debezium.server.Main","processId":1048188,"exception":{"refId":1,"exceptionType":"java.util.NoSuchElementException","message":"SRCFG00014: The config property debezium.sink.type is required but it could not be found in any config source","frames":[{"class":"io.smallrye.config.SmallRyeConfig","method":"convertValue","line":282},{"class":"io.smallrye.config.SmallRyeConfig","method":"getValue","line":239},{"class":"io.smallrye.config.SmallRyeConfig","method":"getValue","line":167},{"class":"io.debezium.server.DebeziumServer","method":"start","line":104},{"class":"io.debezium.server.DebeziumServer_Bean","method":"create"},{"class":"io.debezium.server.DebeziumServer_Bean","method":"create"},{"class":"io.quarkus.arc.impl.AbstractSharedContext","method":"createInstanceHandle","line":111},{"class":"io.quarkus.arc.impl.AbstractSharedContext$1","method":"get","line":35},{"class":"io.quarkus.arc.impl.AbstractSharedContext$1","method":"get","line":32},{"class":"io.quarkus.arc.impl.LazyValue","method":"get","line":26},{"class":"io.quarkus.arc.impl.ComputingCache","method":"computeIfAbsent","line":69},{"class":"io.quarkus.arc.impl.AbstractSharedContext","method":"get","line":32},{"class":"io.quarkus.arc.impl.ClientProxies","method":"getApplicationScopedDelegate","line":19},{"class":"io.debezium.server.DebeziumServer_ClientProxy","method":"arc$delegate"},{"class":"io.debezium.server.DebeziumServer_ClientProxy","method":"arc_contextualInstance"},{"class":"io.debezium.server.DebeziumServer_Observer_Synthetic_d70cd75bf32ab6598217b9a64a8473d65e248c05","method":"notify"},{"class":"io.quarkus.arc.impl.EventImpl$Notifier","method":"notifyObservers","line":323},{"class":"io.quarkus.arc.impl.EventImpl$Notifier","method":"notify","line":305},{"class":"io.quarkus.arc.impl.EventImpl","method":"fire","line":73},{"class":"io.quarkus.arc.runtime.ArcRecorder","method":"fireLifecycleEvent","line":130},{"class":"io.quarkus.arc.runtime.ArcRecorder","method":"handleLifecycleEvents","line":99},{"class":"io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294","method":"deploy_0"},{"class":"io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294","method":"deploy"},{"class":"io.quarkus.runner.ApplicationImpl","method":"doStart"},{"class":"io.quarkus.runtime.Application","method":"start","line":101},{"class":"io.quarkus.runtime.ApplicationLifecycleManager","method":"run","line":103},{"class":"io.quarkus.runtime.Quarkus","method":"run","line":67},{"class":"io.quarkus.runtime.Quarkus","method":"run","line":41},{"class":"io.quarkus.runtime.Quarkus","method":"run","line":120},{"class":"io.debezium.server.Main","method":"main","line":15}]}}
2022-08-08 10:24:56 -04:00
harveyyue
78cb8e5890 DBZ-5485 Support wait/nowait clause in mariadb 2022-08-07 11:54:01 -04:00
harveyyue
f86c88477a DBZ-5487 Adapt create function syntax of mariadb 2022-08-07 11:43:36 -04:00
Sergei Morozov
8f0f9fe3ed DBZ-5477: Remove SQL Server connector SourceTimestampMode 2022-08-05 12:26:39 -04:00
Vojtech Juranek
8e0ad245e5 DBZ-5475 Ensure Outbox JSON NUMBER arrays are of the same type 2022-08-05 11:00:46 -04:00
Vojtech Juranek
7256f62f6b DBZ-5475 Remove unneeded checks from Outbox payload conversion
* remove float check as we return `float64` by default anyway
* simplify/narrow the checks when detemining array type, also add a test
  for array having the first element `null`
2022-08-05 11:00:46 -04:00
nicholas-fwang
58a91cddb4 DBZ-5479 Retry MongoNodeIsRecoveringException when failover 2022-08-05 10:52:46 -04:00
Vojtech Juranek
db446f85c4 DBZ-4329 Don't send fileds with obsolete values
During incremental snapshot fields `xmin`, `lsn` and `txId` are not
updated and therefore we stream obsolete values from previous records
in `source` struct. Don't include these obsolete value in the `source`
struct during incremental snapshot.
2022-08-05 10:23:47 -04:00
Sergei Morozov
fc7910e1a4 DBZ-5478: Restart SQL Server task on "Socket closed" exception 2022-08-05 10:16:27 -04:00
Chris Cranford
f8e67e3ff9 DBZ-5453 Add stop-snapshot MySQL read-only Kafka signal 2022-08-04 16:16:42 -04:00
Chris Cranford
d4261bd2fd DBZ-5476 Fix record accumulator during statistics log entry 2022-08-04 15:28:46 -04:00
Chris Cranford
22c0892ae2 DBZ-5472 Support CREATE INDEX using TABLESPACE with quoted identifiers 2022-08-04 15:21:05 -04:00
Martin Medek
f7001f47fe DBZ-5165 refactor, returned deployment-template, testsuite-helper no longer needed 2022-08-04 19:04:56 +02:00
Martin Medek
fc6d394df9 DBZ-5165 when running from OCP don't create kafka external service, removed testsuite-deployment script and inlined the ocp job descriptor creation to pipelone 2022-08-04 19:04:56 +02:00
Martin Medek
3405c49c41 DBZ-5165 refactoring the testsuite in OCP so that preparations are done in jenkins job and in OCP project is only cloned, build and ran 2022-08-04 19:04:56 +02:00
Martin Medek
3c7f26b611 DBZ-5165 fixing comments from code review 2022-08-04 19:04:56 +02:00
Martin Medek
301ecd4cbb DBZ-5165 checkstyle 2022-08-04 19:04:56 +02:00
Martin Medek
a0b414e2a8 DBZ-5165 cleanup of forsaken changes 2022-08-04 19:04:56 +02:00
Martin Medek
8eeab0802c DBZ-5165 refactoring the jenkins jobs, removing need for secret name specification 2022-08-04 19:04:56 +02:00
Martin Medek
7216569677 DBZ-5165 Fixed the copy secret action, refactor 2022-08-04 19:04:56 +02:00
Martin Medek
26d793bae4 DBZ-5165 Removed the java changes enabling using secret name instead of path 2022-08-04 19:04:56 +02:00
Martin Medek
b91ff7f7ef DBZ-5165 Changed the secret logic to avoid extensive changes in java 2022-08-04 19:04:56 +02:00
Martin Medek
a7125a840c DBZ-5165 Added downstream dockerfile, fixing the downstream prepare logic 2022-08-04 19:04:56 +02:00
Martin Medek
1f8f06b4c0 DBZ-5165 Fixed the secret copy action, removed the temporary logging 2022-08-04 19:04:56 +02:00
Martin Medek
f25536c99b DBZ-5165 Added test logging for the secret load, commented the waiting section in OCP system pipeline job, added secret name param to pom.xml 2022-08-04 19:04:56 +02:00
Martin Medek
ae3afef012 DBZ-5165 Refactoring the image preparation jobs, put back the git pull and recompile step in docker for quicker java development 2022-08-04 19:04:56 +02:00
Martin Medek
6dd4109649 DBZ-5165 added option to use existing pull secret from namespace instead of the one baked inside image. 2022-08-04 19:04:56 +02:00
Martin Medek
1bde16db8c DBZ-5165 reworked the public/local service distinction, refactor of OcpClient 2022-08-04 19:04:56 +02:00
Martin Medek
d6d4901e2b DBZ-5165 added waiting for the job finish and printing logs. Fixed apicurio descriptor name for product build 2022-08-04 19:04:56 +02:00
Martin Medek
1739ee9cf5 DBZ-5165 fixing the product build in testsuite 2022-08-04 19:04:56 +02:00
Martin Medek
240700a725 DBZ-5165 trying job deployment without specifying secret name 2022-08-04 19:04:56 +02:00
Martin Medek
87abe699f4 DBZ-5165 bugfixing, added missing newlines to EOF 2022-08-04 19:04:56 +02:00
Martin Medek
3f0c6ea577 DBZ-5165 added temporary fix for secret name/secret filename non-alignment 2022-08-04 19:04:56 +02:00
Martin Medek
35bc00f642 DBZ-5165 created job-dsl for ocp system pipeline, renamed deployment parameters 2022-08-04 19:04:56 +02:00
Martin Medek
b7cbbb3bb2 DBZ-5165 refactoring the testsuite scripts 2022-08-04 19:04:56 +02:00
Martin Medek
7a265104bc DBZ-5165 added apicurio step and a jenkins job to build the testsuite image 2022-08-04 19:04:56 +02:00
Martin Medek
6ee07d6a65 DBZ-5165 added oracle project system property to pom, refactor. Added docker tag to DockerRhelMongoConnectorIT 2022-08-04 19:04:56 +02:00
Martin Medek
116e2cfc5b DBZ-5165 modified all db fixtures to not use loadbalancers when running in ocp 2022-08-04 19:04:56 +02:00
Martin Medek
57eeb46c20 DBZ-5165 removed usage of postgresql service inside ocp, changed deployment.yml to run postgresql tests, codestyle 2022-08-04 19:04:56 +02:00
Martin Medek
2bad919b9d DBZ-5165 added Postgresql loadBalancer (not)creation logic 2022-08-04 19:04:56 +02:00
Martin Medek
543582e054 DBZ-5165 fixed deployment.yml formatting 2022-08-04 19:04:56 +02:00
Martin Medek
89812a614f DBZ-5165 moved the incremental build into testsuite script, fixed connect image version in deployment 2022-08-04 19:04:56 +02:00
Martin Medek
385d49fc9c DBZ-5165 changed git pull preparations in Dockerfile 2022-08-04 19:04:56 +02:00
Martin Medek
3d313a621f DBZ-5165 changed logging for isRunningFromOcp conditions 2022-08-04 19:04:56 +02:00
Martin Medek
5614712628 DBZ-5165 Refactored mysql test to not create mysql loadBalancer when running inside openshift, refactored the docker testsuite for running inside openshift. Moved project checkout and compilation to Dockerfile, so that it's not always done from scratch 2022-08-04 19:04:56 +02:00
harveyyue
2481172309 DBZ-5471 Missing the regex properties validation before start connector of DefaultRegexTopicNamingStrategy 2022-08-04 10:49:29 -04:00
jcechace
ea7219a2c8 DBZ-5465 Ability to detect AMQ Streams operator installed via OLM 2022-08-03 07:44:18 +02:00
Chris Cranford
90a4c0059a
DBZ-5434 Fix test failure 2022-08-01 14:36:09 -04:00