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

hmrc/work-item-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[DEPRECATED]

Use https://github.com/hmrc/hmrc-mongo instead

work-item-repo

Download

Enables a microservice to distribute work across it's instances. It can be used as a simplified alternative to SQS, using mongo-repository as the queue.

Installing

Include the following dependency in your SBT build

resolvers += Resolver.bintrayRepo("hmrc", "releases")

libraryDependencies += "uk.gov.hmrc" %% "work-item-repo" % "[INSERT-VERSION]"

How to Use

See How to Use

Compatibility

Library Version Scala Version Play Version
8.x.x 2.12 2.6, 2.7, 2.8
>=7.2.x 2.12 2.6, 2.7
7.x.x 2.11, 2.12 2.6
6.x.x 2.11 2.6, 2.5

work-item-repo since version 6.0.0 uses the latest ReactiveMongo (https://github.com/ReactiveMongo/ReactiveMongo) instead of HMRC fork of it (https://github.com/hmrc/ReactiveMongo). Please review your dependencies if you upgrade. In particular you should no longer use https://github.com/hmrc/Play-ReactiveMongo/ in your microservice.

License

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