Class PostgresResource
java.lang.Object
io.clonecloudstore.test.resource.postgres.PostgresResource
- All Implemented Interfaces:
io.quarkus.test.common.QuarkusTestResourceLifecycleManager
public class PostgresResource
extends Object
implements io.quarkus.test.common.QuarkusTestResourceLifecycleManager
Resource Lifecycle Manager for PostgreSQL
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
io.quarkus.test.common.QuarkusTestResourceLifecycleManager.Context, io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
init, inject, inject, order, setContext
-
Field Details
-
DB_KIND
- See Also:
-
-
Constructor Details
-
PostgresResource
public PostgresResource()
-
-
Method Details
-
getJdbcUrl
-
getDatabaseName
-
getUsername
-
getPassword
-
start
- Specified by:
start
in interfaceio.quarkus.test.common.QuarkusTestResourceLifecycleManager
-
stop
public void stop()- Specified by:
stop
in interfaceio.quarkus.test.common.QuarkusTestResourceLifecycleManager
-