Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Latest commit

 

History

History
70 lines (40 loc) · 2.69 KB

README.md

File metadata and controls

70 lines (40 loc) · 2.69 KB

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.