This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit ed5cc241e2971c7ebe5c17902a5a21f10daa3580 Author: James Netherton <jamesnether...@gmail.com> AuthorDate: Thu Jun 24 08:21:20 2021 +0100 Remove reference to obsolete ContainerResourceLifecycleManager --- docs/modules/ROOT/pages/user-guide/testing.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/user-guide/testing.adoc b/docs/modules/ROOT/pages/user-guide/testing.adoc index e4f3976..b9570ba 100644 --- a/docs/modules/ROOT/pages/user-guide/testing.adoc +++ b/docs/modules/ROOT/pages/user-guide/testing.adoc @@ -81,7 +81,7 @@ come in handy for starting and configuring the services during testing. For the application to work properly it is often essential to pass the connection configuration data (host, port, user, password, etc. of the remote service) to the application before it starts. -In Quarkus ecosystem, `ContainerResourceLifecycleManager` serves this purpose. +In Quarkus ecosystem, `QuarkusTestResourceLifecycleManager` serves this purpose. You can start one or more Testcontainers in its `start()` method and you can return the connection configuration from the method in form of a `Map`. The entries of this map are then passed to the application either via command line (`-Dkey=value`) in native mode @@ -97,7 +97,7 @@ import io.quarkus.test.common.QuarkusTestResourceLifecycleManager; import org.testcontainers.containers.GenericContainer; import org.testcontainers.containers.wait.strategy.Wait; -public class MyTestResource implements ContainerResourceLifecycleManager { +public class MyTestResource implements QuarkusTestResourceLifecycleManager { private GenericContainer myContainer;