-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7eb936f
commit 2662459
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
val releaseV = "2.2.6" | ||
val releaseV = "2.2.7" | ||
|
||
val scalaV = "2.11.12" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,16 +27,16 @@ | |
|
||
(Official Scala) | ||
```scala | ||
libraryDependencies +="com.github.scullxbones" %% "akka-persistence-mongo-scala" % "2.2.6" | ||
libraryDependencies +="com.github.scullxbones" %% "akka-persistence-mongo-scala" % "2.2.7" | ||
``` | ||
(Casbah) | ||
```scala | ||
libraryDependencies +="com.github.scullxbones" %% "akka-persistence-mongo-casbah" % "2.2.6" | ||
libraryDependencies +="com.github.scullxbones" %% "akka-persistence-mongo-casbah" % "2.2.7" | ||
``` | ||
(Reactive Mongo) | ||
##### Please note: Supported versions of reactive mongo require the `0.12` series, with a minimum version number of `0.12.3` (for Akka 2.5 support) | ||
```scala | ||
libraryDependencies +="com.github.scullxbones" %% "akka-persistence-mongo-rxmongo" % "2.2.6" | ||
libraryDependencies +="com.github.scullxbones" %% "akka-persistence-mongo-rxmongo" % "2.2.7" | ||
``` | ||
* Inside of your `application.conf` file, add the following line if you want to use the journal (snapshot is optional). The casbah/rxmongo selection should be pulled in by a `reference.conf` in the driver jar you choose: | ||
``` | ||
|
@@ -89,7 +89,7 @@ A mongo uri can be specified. This must meet the requirements of [Mongo's uri f | |
For example `mongodb://user:secret@localhost:27017/my-akka-persistence`. If the `database name` is unspecified, it will be defaulted to `akka-persistence`. | ||
|
||
``` | ||
akka.contrib.persistence.mongodb.mongo.mongouri = "mongodb://user:[email protected]:27017,192.168.0.2.2.617/replicated-database" | ||
akka.contrib.persistence.mongodb.mongo.mongouri = "mongodb://user:[email protected]:27017,192.168.0.2.2.717/replicated-database" | ||
``` | ||
|
||
If a user, password, and database are specified, the database will be used both as a credentials source as well as journal and/or snapshot storage. | ||
|
@@ -644,7 +644,7 @@ Of course, once this is done, you should **not** start your application, unless | |
###### Configuration | ||
Add the following to your `build.sbt` file: | ||
```scala | ||
libraryDependencies ++= Seq( "com.github.scullxbones" %% "akka-persistence-mongo-tools" % "2.2.6", | ||
libraryDependencies ++= Seq( "com.github.scullxbones" %% "akka-persistence-mongo-tools" % "2.2.7", | ||
"org.mongodb.scala" %% "mongo-scala-driver" % "2.4.2" ) | ||
``` | ||
Notice that even if you currently don't use it, migration process is performed through Official Scala driver. | ||
|