{"action":"created","comment":{"url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls/comments/80384448","id":80384448,"diff_hunk":"@@ -0,0 +1,206 @@\n+/* \n+ * Contributions:\n+ * Jean-Francois GUENA: implement \"suffixed collection name\" migration tool\n+ * ...\n+ */\n+package akka.contrib.persistence.mongodb\n+\n+import akka.actor.ActorSystem\n+import com.mongodb.casbah.Imports._\n+import com.typesafe.config.Config\n+\n+import scala.util.Try\n+\n+class MigrateToSuffixedCollections(system: ActorSystem, config: Config) extends CasbahMongoDriver(system, config) {\n+\n+  def migrateToSuffixCollections(): Unit = {\n+    import akka.contrib.persistence.mongodb.JournallingFieldNames._\n+    import scala.util.Random\n+\n+    // INIT //\n+\n+    logger.info(\"Starting automatic migration to collections with suffixed names\\nThis may take a while...\")\n+\n+    if (settings.JournalAutomaticUpgrade) {\n+      logger.warn(\"Please, disable 'journal-automatic-upgrade' option when migrating from unique to suffixed collections. Aborting...\")\n+      return\n+    }\n+\n+    if (!useSuffixedCollectionNames) {\n+      logger.warn(\"Please, provide some 'suffix-builder.class' option when migrating from unique to suffixed collections. Aborting...\")\n+      return\n+    }\n+\n+    // create a temporary collection\n+    val temporaryCollectionName = s\"migration2suffix-${System.currentTimeMillis()}-${Random.nextInt(1000)}\"\n+    val temporaryCollection = collection(temporaryCollectionName)\n+\n+    def pidQuery(persistenceId: String) = (PROCESSOR_ID $eq persistenceId)\n+\n+    // JOURNALS //\n+\n+    // aggregate persistenceIds, contained in unique journal, and store them in temporary collection\n+    journal.aggregate(\n+      MongoDBObject(\"$group\" -> MongoDBObject(\"_id\" -> s\"$$$PROCESSOR_ID\")) ::\n+        MongoDBObject(\"$out\" -> temporaryCollectionName) ::\n+        Nil).results\n+\n+    // for each retrieved persistenceId, insert corresponding records from unique journal\n+    // to appropriate (and newly created) suffixed journal, then remove them from unique journal\n+    if (temporaryCollection.count() > 0) {\n+      val totalCount = journal.count()\n+      temporaryCollection.find().toSeq.groupBy(tempDbObject => getJournalCollectionName(tempDbObject.get(\"_id\").toString)).foldLeft(0L, 0L) {\n+        case ((done, ignored), (collectionName, tempDbObjects)) => {\n+          val newCollection = journal(tempDbObjects.head.get(\"_id\").toString)\n+          if (!collectionName.equals(settings.JournalCollection)) {\n+            tempDbObjects.foldLeft(0L, 0L) {\n+              case ((ok, tot), tdbo) =>\n+                val query = pidQuery(tdbo.get(\"_id\").toString)\n+                val cnt = journal.count(query).toLong\n+                journal.find(query).foldLeft(0L) {\n+                  case (i, dbo) =>\n+                    Try { newCollection.insert(dbo, journalWriteConcern) } map { _ =>\n+                      i + 1\n+                    } recover {\n+                      case _: Throwable =>\n+                        logger.warn(s\"Errors occurred when trying to insert record in '$collectionName' journal\")\n+                        i\n+                    } getOrElse (i)\n+                } match { case ssTotOk => (ok + ssTotOk, tot + cnt) }\n+            } match {\n+              case (inserted, count) =>\n+                logger.info(s\"$inserted/$count records were inserted into '$collectionName' journal\")\n+                tempDbObjects.foldLeft(0L) {\n+                  case (ok, tdbo) =>\n+                    val query = pidQuery(tdbo.get(\"_id\").toString)\n+                    Try { journal.remove(query, journalWriteConcern) } map { r =>\n+                      ok + r.getN\n+                    } recover {\n+                      case _: Throwable =>\n+                        logger.warn(s\"Errors occurred when trying to remove records, previously copied to '$collectionName' journal, from '${settings.JournalCollection}' journal\")\n+                        ok\n+                    } getOrElse (ok)\n+                } match {\n+                  case removed =>\n+                    logger.info(s\"$removed/$count records, previously copied to '$collectionName' journal, were removed from '${settings.JournalCollection}' journal\")\n+                    if (removed < inserted) (done + removed, ignored) else (done + inserted, ignored)\n+                }\n+            }\n+          } else {\n+            tempDbObjects.foldLeft(0L) {\n+              case (tot, tdbo) =>\n+                val query = pidQuery(tdbo.get(\"_id\").toString)\n+                val cnt = journal.count(query).toLong\n+                tot + cnt\n+            } match { case ssTotIgnored => \n+                logger.info(s\"$ssTotIgnored records were ignored and remain in '${settings.JournalCollection}' journal\")\n+                (done, ignored + ssTotIgnored)\n+            }\n+          }\n+        }\n+      } match { \n+        case (totalOk, totalIgnored) => \n+          logger.info(s\"JOURNALS: $totalOk/$totalCount records were successfully transfered to suffixed collections\")\n+          if ( totalIgnored > 0) {\n+            logger.info(s\"JOURNALS: $totalIgnored/$totalCount records were ignored and remain in '${settings.JournalCollection}' journal\")\n+            if (totalIgnored + totalOk == totalCount)\n+              logger.info(s\"JOURNALS: $totalOk + $totalIgnored = $totalCount, all records were successfully handled\")\n+            else\n+              logger.warn(s\"JOURNALS: $totalOk + $totalIgnored does NOT equal $totalCount, check remaining records  in '${settings.JournalCollection}' journal\")\n+          }\n+      }\n+    }\n+\n+    // SNAPSHOTS //\n+\n+    // aggregate persistenceIds, contained in unique snaps, and store them in temporary collection\n+    snaps.aggregate(\n+      MongoDBObject(\"$group\" -> MongoDBObject(\"_id\" -> s\"$$$PROCESSOR_ID\")) ::\n+        MongoDBObject(\"$out\" -> temporaryCollectionName) ::\n+        Nil).results\n+\n+    // for each retrieved persistenceId, insert corresponding records from unique snaps\n+    // to appropriate (and newly created) suffixed snaps, then remove them from unique snaps\n+    if (temporaryCollection.count() > 0) {","path":"tools/src/main/scala/akka/contrib/persistence/mongodb/MigrateToSuffixedCollections.scala","position":124,"original_position":124,"commit_id":"5151a94aac8ce5984da82c6d4be61b57711d7fd6","original_commit_id":"5151a94aac8ce5984da82c6d4be61b57711d7fd6","user":{"login":"scullxbones","id":1650047,"avatar_url":"https://avatars.githubusercontent.com/u/1650047?v=3","gravatar_id":"","url":"https://api.github.com/users/scullxbones","html_url":"https://github.com/scullxbones","followers_url":"https://api.github.com/users/scullxbones/followers","following_url":"https://api.github.com/users/scullxbones/following{/other_user}","gists_url":"https://api.github.com/users/scullxbones/gists{/gist_id}","starred_url":"https://api.github.com/users/scullxbones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scullxbones/subscriptions","organizations_url":"https://api.github.com/users/scullxbones/orgs","repos_url":"https://api.github.com/users/scullxbones/repos","events_url":"https://api.github.com/users/scullxbones/events{/privacy}","received_events_url":"https://api.github.com/users/scullxbones/received_events","type":"User","site_admin":false},"body":"Similar to the journal, this is a complicated section.  Can methods be pulled out here?","created_at":"2016-09-25T15:14:28Z","updated_at":"2016-09-25T15:18:39Z","html_url":"https://github.com/scullxbones/akka-persistence-mongo/pull/122#discussion_r80384448","pull_request_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls/122","_links":{"self":{"href":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls/comments/80384448"},"html":{"href":"https://github.com/scullxbones/akka-persistence-mongo/pull/122#discussion_r80384448"},"pull_request":{"href":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls/122"}}},"pull_request":{"url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls/122","id":86136430,"html_url":"https://github.com/scullxbones/akka-persistence-mongo/pull/122","diff_url":"https://github.com/scullxbones/akka-persistence-mongo/pull/122.diff","patch_url":"https://github.com/scullxbones/akka-persistence-mongo/pull/122.patch","issue_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues/122","number":122,"state":"open","locked":false,"title":"Suffix evol","user":{"login":"JeanFrancoisGuena","id":20284805,"avatar_url":"https://avatars.githubusercontent.com/u/20284805?v=3","gravatar_id":"","url":"https://api.github.com/users/JeanFrancoisGuena","html_url":"https://github.com/JeanFrancoisGuena","followers_url":"https://api.github.com/users/JeanFrancoisGuena/followers","following_url":"https://api.github.com/users/JeanFrancoisGuena/following{/other_user}","gists_url":"https://api.github.com/users/JeanFrancoisGuena/gists{/gist_id}","starred_url":"https://api.github.com/users/JeanFrancoisGuena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeanFrancoisGuena/subscriptions","organizations_url":"https://api.github.com/users/JeanFrancoisGuena/orgs","repos_url":"https://api.github.com/users/JeanFrancoisGuena/repos","events_url":"https://api.github.com/users/JeanFrancoisGuena/events{/privacy}","received_events_url":"https://api.github.com/users/JeanFrancoisGuena/received_events","type":"User","site_admin":false},"body":"This PR implements a *suffixed collection names* ([PR #118](https://github.com/scullxbones/akka-persistence-mongo/pull/118)) evolution.\r\n\r\nThe main evolution is a **migration tool**, from unique **1.x** collections to suffixed collections. I created a new project, called \"akka-persistence-mongo-tools\" that could be useful for other future tools if any. For now, the only tool available is this migration tool, consisting of a single `MigrateToSuffixedCollections` class with a single `migrateToSuffixCollections()` method and some unit tests.\r\n\r\nThis is a *basic* tool, it deals directly with database (no Akka Persistence here) but I used again aggregation and batch writing to increase performance. Notice that this tool MUST be performed offline, so users have to stop their application before migrating. Actually, this is a maintenance operation... Of course, I provided some explanation at `akka24.md` markdown file bottom.\r\n\r\nOther evolution, batch writing is now performed \"**by suffixed collection**\" instead of \"by persistenceId\", so there are less bulk operations which is good news for performance. We discussed that when reviewing [PR #118](https://github.com/scullxbones/akka-persistence-mongo/pull/118) and you asked me to group events \"by suffix\" instead of \"by persistenceId\", but at that time, I was not *that* aware of the `groupBy` method fantastic possibilities ;-)\r\n\r\nReally, scala is an amazing language :-)\r\n\r\nLess amazing, I discovered some *really stupid* bug in `getJournalCollectionName` and `getSnapsCollectionName` methods in `MongoPersistenceDriver` class, where I did not take into account empty strings... This is fixed now :-/\r\n\r\nAlso, I canceled a test in `ReadJournalSpec` class where journal name is hard coded, so there is no \"suffix\" test to run here.\r\n\r\nPlease, ignore \"bulk delete\" mentioned in commits, this was to be another evolution, but I gave up as it did not increase performance at all...\r\n\r\nAnd I think that's all. Happy review...\r\n\r\n\r\n\r\n","created_at":"2016-09-21T10:29:49Z","updated_at":"2016-09-25T15:18:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e6621d3775808c28a566e2daea5d1561a38625d3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls/122/commits","review_comments_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls/122/comments","review_comment_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues/122/comments","statuses_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/statuses/5151a94aac8ce5984da82c6d4be61b57711d7fd6","head":{"label":"JeanFrancoisGuena:suffix_evol","ref":"suffix_evol","sha":"5151a94aac8ce5984da82c6d4be61b57711d7fd6","user":{"login":"JeanFrancoisGuena","id":20284805,"avatar_url":"https://avatars.githubusercontent.com/u/20284805?v=3","gravatar_id":"","url":"https://api.github.com/users/JeanFrancoisGuena","html_url":"https://github.com/JeanFrancoisGuena","followers_url":"https://api.github.com/users/JeanFrancoisGuena/followers","following_url":"https://api.github.com/users/JeanFrancoisGuena/following{/other_user}","gists_url":"https://api.github.com/users/JeanFrancoisGuena/gists{/gist_id}","starred_url":"https://api.github.com/users/JeanFrancoisGuena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeanFrancoisGuena/subscriptions","organizations_url":"https://api.github.com/users/JeanFrancoisGuena/orgs","repos_url":"https://api.github.com/users/JeanFrancoisGuena/repos","events_url":"https://api.github.com/users/JeanFrancoisGuena/events{/privacy}","received_events_url":"https://api.github.com/users/JeanFrancoisGuena/received_events","type":"User","site_admin":false},"repo":{"id":66440558,"name":"akka-persistence-mongo","full_name":"JeanFrancoisGuena/akka-persistence-mongo","owner":{"login":"JeanFrancoisGuena","id":20284805,"avatar_url":"https://avatars.githubusercontent.com/u/20284805?v=3","gravatar_id":"","url":"https://api.github.com/users/JeanFrancoisGuena","html_url":"https://github.com/JeanFrancoisGuena","followers_url":"https://api.github.com/users/JeanFrancoisGuena/followers","following_url":"https://api.github.com/users/JeanFrancoisGuena/following{/other_user}","gists_url":"https://api.github.com/users/JeanFrancoisGuena/gists{/gist_id}","starred_url":"https://api.github.com/users/JeanFrancoisGuena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeanFrancoisGuena/subscriptions","organizations_url":"https://api.github.com/users/JeanFrancoisGuena/orgs","repos_url":"https://api.github.com/users/JeanFrancoisGuena/repos","events_url":"https://api.github.com/users/JeanFrancoisGuena/events{/privacy}","received_events_url":"https://api.github.com/users/JeanFrancoisGuena/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JeanFrancoisGuena/akka-persistence-mongo","description":"Implementation of akka-persistence storage plugins for mongodb","fork":true,"url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo","forks_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/forks","keys_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/teams","hooks_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/hooks","issue_events_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/issues/events{/number}","events_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/events","assignees_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/assignees{/user}","branches_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/branches{/branch}","tags_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/tags","blobs_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/git/refs{/sha}","trees_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/statuses/{sha}","languages_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/languages","stargazers_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/stargazers","contributors_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/contributors","subscribers_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/subscribers","subscription_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/subscription","commits_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/commits{/sha}","git_commits_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/git/commits{/sha}","comments_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/comments{/number}","issue_comment_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/issues/comments{/number}","contents_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/contents/{+path}","compare_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/merges","archive_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/downloads","issues_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/issues{/number}","pulls_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/pulls{/number}","milestones_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/milestones{/number}","notifications_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/labels{/name}","releases_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/releases{/id}","deployments_url":"https://api.github.com/repos/JeanFrancoisGuena/akka-persistence-mongo/deployments","created_at":"2016-08-24T07:15:55Z","updated_at":"2016-08-24T07:15:57Z","pushed_at":"2016-09-23T14:21:53Z","git_url":"git://github.com/JeanFrancoisGuena/akka-persistence-mongo.git","ssh_url":"git@github.com:JeanFrancoisGuena/akka-persistence-mongo.git","clone_url":"https://github.com/JeanFrancoisGuena/akka-persistence-mongo.git","svn_url":"https://github.com/JeanFrancoisGuena/akka-persistence-mongo","homepage":null,"size":744,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scullxbones:master","ref":"master","sha":"2fe637a68d3419b73308b0f0d77ed9db37e4c6bd","user":{"login":"scullxbones","id":1650047,"avatar_url":"https://avatars.githubusercontent.com/u/1650047?v=3","gravatar_id":"","url":"https://api.github.com/users/scullxbones","html_url":"https://github.com/scullxbones","followers_url":"https://api.github.com/users/scullxbones/followers","following_url":"https://api.github.com/users/scullxbones/following{/other_user}","gists_url":"https://api.github.com/users/scullxbones/gists{/gist_id}","starred_url":"https://api.github.com/users/scullxbones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scullxbones/subscriptions","organizations_url":"https://api.github.com/users/scullxbones/orgs","repos_url":"https://api.github.com/users/scullxbones/repos","events_url":"https://api.github.com/users/scullxbones/events{/privacy}","received_events_url":"https://api.github.com/users/scullxbones/received_events","type":"User","site_admin":false},"repo":{"id":15635209,"name":"akka-persistence-mongo","full_name":"scullxbones/akka-persistence-mongo","owner":{"login":"scullxbones","id":1650047,"avatar_url":"https://avatars.githubusercontent.com/u/1650047?v=3","gravatar_id":"","url":"https://api.github.com/users/scullxbones","html_url":"https://github.com/scullxbones","followers_url":"https://api.github.com/users/scullxbones/followers","following_url":"https://api.github.com/users/scullxbones/following{/other_user}","gists_url":"https://api.github.com/users/scullxbones/gists{/gist_id}","starred_url":"https://api.github.com/users/scullxbones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scullxbones/subscriptions","organizations_url":"https://api.github.com/users/scullxbones/orgs","repos_url":"https://api.github.com/users/scullxbones/repos","events_url":"https://api.github.com/users/scullxbones/events{/privacy}","received_events_url":"https://api.github.com/users/scullxbones/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scullxbones/akka-persistence-mongo","description":"Implementation of akka-persistence storage plugins for mongodb","fork":false,"url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo","forks_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/forks","keys_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/teams","hooks_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/hooks","issue_events_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues/events{/number}","events_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/events","assignees_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/assignees{/user}","branches_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/branches{/branch}","tags_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/tags","blobs_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/git/refs{/sha}","trees_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/statuses/{sha}","languages_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/languages","stargazers_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/stargazers","contributors_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/contributors","subscribers_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/subscribers","subscription_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/subscription","commits_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/commits{/sha}","git_commits_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/git/commits{/sha}","comments_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/comments{/number}","issue_comment_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues/comments{/number}","contents_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/contents/{+path}","compare_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/merges","archive_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/downloads","issues_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues{/number}","pulls_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls{/number}","milestones_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/milestones{/number}","notifications_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/labels{/name}","releases_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/releases{/id}","deployments_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/deployments","created_at":"2014-01-04T16:21:21Z","updated_at":"2016-08-24T19:38:56Z","pushed_at":"2016-09-23T14:22:33Z","git_url":"git://github.com/scullxbones/akka-persistence-mongo.git","ssh_url":"git@github.com:scullxbones/akka-persistence-mongo.git","clone_url":"https://github.com/scullxbones/akka-persistence-mongo.git","svn_url":"https://github.com/scullxbones/akka-persistence-mongo","homepage":null,"size":764,"stargazers_count":51,"watchers_count":51,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":13,"forks":21,"open_issues":13,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls/122"},"html":{"href":"https://github.com/scullxbones/akka-persistence-mongo/pull/122"},"issue":{"href":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues/122"},"comments":{"href":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/statuses/5151a94aac8ce5984da82c6d4be61b57711d7fd6"}}}}
{"actor":{"display_login":"scullxbones"}}