t

io.atlassian.aws.dynamodb

LocalDynamoDB

trait LocalDynamoDB extends AnyRef

Mix in this trait if you want to write a spec that depends on DynamoDB and want to optionally spin up a local DynamoDB.

To use it, extend this trait, specify (val arguments: org.specs2.main.Arguments) as an argument to your spec class, and add steps to your spec to call startLocalDynamoDB and stopLocalDynamoDB at the appropriate times.

You can also optionally override various command line argument names to configure the spec.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LocalDynamoDB
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def arguments: Arguments

Concrete 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 IS_LOCAL: Boolean
  5. def LOCAL_DB_PORT: Int
  6. def REGION: String
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def db_port: String

    Override this to provide a custom command line argument name for local Dynamo DB port

  10. def defaultDbPort: Int

    Override this to provide a custom default DB port programmatically.

    Override this to provide a custom default DB port programmatically. By default it will try to pick a random port.

  11. def dynamoClient: AmazonDynamoDBClient
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. def integration: String

    Override this to provide a custom command line argument name that represents 'use AWS resources' mode

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. lazy val randomPort: Int
  23. def region: String

    Override this to provide a custom command line argument name for Dynamo DB region

  24. def runAttemptStep[A](attempt: Attempt[A]): Product with Serializable with Result { ... /* 3 definitions in type refinement */ }
  25. def runScript(script: String, args: List[String], name: String): Attempt[String]

    Override this to specify custom location for start/stop scripts for a local Dynamo instance

  26. def startLocalDynamoDB(): Result
  27. def stopLocalDynamoDB(): Result
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def useAwsLocalDynamo: Boolean

    Override this to specify whether to use AWS Local DynamoDB or Dynalite

  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withLocalDb(f: ⇒ Result): Result

Inherited from AnyRef

Inherited from Any

Ungrouped