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
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LocalDynamoDB
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def arguments: Arguments

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def IS_LOCAL: Boolean

  7. def LOCAL_DB_PORT: Int

  8. def REGION: String

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def db_port: String

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

  12. 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.

  13. def dynamoClient: AmazonDynamoDBClient

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. def integration: String

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

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. lazy val randomPort: Int

  25. def region: String

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

  26. def runAttemptStep[A](attempt: Attempt[A]): Product with Serializable with Result { ... /* 3 definitions in type refinement */ }

  27. 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

  28. def startLocalDynamoDB(): Result

  29. def stopLocalDynamoDB(): Result

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def useAwsLocalDynamo: Boolean

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

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

    returns

  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def withLocalDb(f: ⇒ Result): Result

Inherited from AnyRef

Inherited from Any

Ungrouped