Packages

class DockerbasedTestconnectorSetupActor extends Actor with ActorLogging with MemoryStash

This class encapsulates the start sequence of all configured docker containers in preparation of the integration test.

The start sequence is kicked off with a StartContainerManager message, which will initialize a docker container manager and hand over the configuration of all ContainersUnderTest.

The Actor will stay in "starting" state as long as not all containers have been started within docker. Whenever a container is started successfully, the corresponding ContainerUnderTest config is updated with the port mappings of the exposed docker ports, so that they can be used to set up the required connections for testing.

Once all containers are started, the accumulated updated config is sent back with a ContainerManagerStarted message. The accumulated config is then used to call TestConnectorSetup.configure. It is in the developers responsibility to setup all required connection information within the TestConnector required to execute the tests.

!!! Note : The TestConnector information is also used to execute the conditions checking if the containers are ready to go for the tests.

Self Type
DockerbasedTestconnectorSetupActor with TestConnectorSetup
Linear Supertypes
MemoryStash, ActorLogging, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DockerbasedTestconnectorSetupActor
  2. MemoryStash
  3. ActorLogging
  4. Actor
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DockerbasedTestconnectorSetupActor()

Type Members

  1. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  5. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  7. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  8. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def containerReady(): Condition

    Check whether all preconditions to execute the tests are fulfilled.

    Check whether all preconditions to execute the tests are fulfilled.

    returns

    A (possibly) combined condition that must be fulfilled.

  12. implicit val context: ActorContext
    Definition Classes
    Actor
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def initializing: (DockerbasedTestconnectorSetupActor.this)#Receive
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def log: LoggingAdapter
    Definition Classes
    ActorLogging
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  25. def postStop(): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  26. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  27. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws(classOf[java.lang.Exception])
  28. def receive: PartialFunction[Any, Unit]
    Definition Classes
    DockerbasedTestconnectorSetupActor → Actor
  29. val requests: ListBuffer[(ActorRef, Any)]
    Definition Classes
    MemoryStash
  30. implicit final val self: ActorRef
    Definition Classes
    Actor
  31. final def sender(): ActorRef
    Definition Classes
    Actor
  32. def starting(requestors: List[ActorRef], containerMgr: ActorRef): (DockerbasedTestconnectorSetupActor.this)#Receive
  33. def stashing: (DockerbasedTestconnectorSetupActor.this)#Receive
    Definition Classes
    MemoryStash
  34. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  38. def unstash(): Unit
    Definition Classes
    MemoryStash
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. def working(cuts: Map[String, ContainerUnderTest], containerMgr: ActorRef): (DockerbasedTestconnectorSetupActor.this)#Receive

Inherited from MemoryStash

Inherited from ActorLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped