Skip to content
Library to provide persistence to DynamoDB to work with play-async library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
dbscripts/async-persistence
project
src
.gitignore
Dockerfile
LICENSE
README.md
bintray.sbt
build.sbt
gittag.sh

README.md

async-persistence

Download CircleCI

Library to provide persistence to DynamoDB to support asynchronous functions from play-async

Prerequisits

DynamoDB

See script configure_dynamodb.sh which is used to create the asyncTaskCache table.

If running tests within an IDE the DynamoDB will need to be manually started as the SBT task will not be invoked. The easiest way to do this is from the sbt shell startDynamodbLocal. Don't forget that you will need to stop it manually too, stopDynamodbLocal.

For more information on the DynamoDB SBT plugin please see sbt-dynamodb

Installing

Include the following dependency in your SBT build

  • Release candidate versions

Download

resolvers += Resolver.bintrayRepo("equalexperts", "open-source-release-candidates")

libraryDependencies += "com.equalexperts" %% "async-persistence" % "[INSERT-VERSION]"
  • Released versions

TBC

resolvers += Resolver.bintrayRepo("equalexperts", "open-source")

libraryDependencies += "com.equalexperts" %% "async-persistence" % "[INSERT-VERSION]"

Building with Docker

To do this you will need to install Docker

docker build -t async-persistence:latest .

Publishing with Docker

docker run -v ~/.ivy2:/root/.ivy2 -t async-persistence:latest

Contributors

This based off a forked from /hmrc/microservice-async

License

This code is open source software licensed under the Apache 2.0 License.

You can’t perform that action at this time.