Trait

io.atlassian.aws.dynamodb

LocalDynamoDB

Related Doc: package dynamodb

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def arguments: Arguments

    Permalink

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def IS_LOCAL: Boolean

    Permalink
  5. def LOCAL_DB_PORT: Int

    Permalink
  6. def REGION: String

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

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

    Permalink

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

  10. def defaultDbPort: Int

    Permalink

    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

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def integration: String

    Permalink

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

  18. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. lazy val randomPort: Int

    Permalink
  23. def region: String

    Permalink

    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 */ }

    Permalink
  25. def runScript(script: String, args: List[String], name: String): Attempt[String]

    Permalink

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

  26. def startLocalDynamoDB(): Result

    Permalink
  27. def stopLocalDynamoDB(): Result

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

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. def useAwsLocalDynamo: Boolean

    Permalink

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

  31. final def wait(): Unit

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

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

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped