Class MongoDbResource

java.lang.Object
io.clonecloudstore.test.resource.mongodb.MongoDbResource
All Implemented Interfaces:
io.quarkus.test.common.QuarkusTestResourceLifecycleManager

public class MongoDbResource extends Object implements io.quarkus.test.common.QuarkusTestResourceLifecycleManager
Resource Lifecycle Manager for MongoDB
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
     
     
    void
     

    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
  • Constructor Details

    • MongoDbResource

      public MongoDbResource()
  • Method Details

    • getConnectionString

      public static String getConnectionString()
    • start

      public Map<String,String> start()
      Specified by:
      start in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
    • stop

      public void stop()
      Specified by:
      stop in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager