{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/pulls/8","id":36755974,"html_url":"https://github.com/jdgoldie/akka-persistence-shared-inmemory/pull/8","diff_url":"https://github.com/jdgoldie/akka-persistence-shared-inmemory/pull/8.diff","patch_url":"https://github.com/jdgoldie/akka-persistence-shared-inmemory/pull/8.patch","issue_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/issues/8","number":8,"state":"closed","locked":false,"title":"[#7] Truncate journal and snapshot store","user":{"login":"Unisay","id":1009751,"avatar_url":"https://avatars.githubusercontent.com/u/1009751?v=3","gravatar_id":"","url":"https://api.github.com/users/Unisay","html_url":"https://github.com/Unisay","followers_url":"https://api.github.com/users/Unisay/followers","following_url":"https://api.github.com/users/Unisay/following{/other_user}","gists_url":"https://api.github.com/users/Unisay/gists{/gist_id}","starred_url":"https://api.github.com/users/Unisay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unisay/subscriptions","organizations_url":"https://api.github.com/users/Unisay/orgs","repos_url":"https://api.github.com/users/Unisay/repos","events_url":"https://api.github.com/users/Unisay/events{/privacy}","received_events_url":"https://api.github.com/users/Unisay/received_events","type":"User","site_admin":false},"body":"I think that solution with truncate method in the singleton object is simpler than sending a message.\r\nMoreover - message approach wouldn't work with snapshot store since `receive()` is final and can't be overridden.","created_at":"2015-06-02T17:55:26Z","updated_at":"2015-07-13T17:14:10Z","closed_at":"2015-07-13T17:14:10Z","merged_at":"2015-07-13T17:14:10Z","merge_commit_sha":"88f82e7ab04aaa81210ebb728d17bc5ffc2e0ee4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/pulls/8/commits","review_comments_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/pulls/8/comments","review_comment_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/issues/8/comments","statuses_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/statuses/d864bfd6bda5bb9e38a4821ef0ac48cba6e5dff7","head":{"label":"Unisay:master","ref":"master","sha":"d864bfd6bda5bb9e38a4821ef0ac48cba6e5dff7","user":{"login":"Unisay","id":1009751,"avatar_url":"https://avatars.githubusercontent.com/u/1009751?v=3","gravatar_id":"","url":"https://api.github.com/users/Unisay","html_url":"https://github.com/Unisay","followers_url":"https://api.github.com/users/Unisay/followers","following_url":"https://api.github.com/users/Unisay/following{/other_user}","gists_url":"https://api.github.com/users/Unisay/gists{/gist_id}","starred_url":"https://api.github.com/users/Unisay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unisay/subscriptions","organizations_url":"https://api.github.com/users/Unisay/orgs","repos_url":"https://api.github.com/users/Unisay/repos","events_url":"https://api.github.com/users/Unisay/events{/privacy}","received_events_url":"https://api.github.com/users/Unisay/received_events","type":"User","site_admin":false},"repo":{"id":36714496,"name":"akka-persistence-shared-inmemory","full_name":"Unisay/akka-persistence-shared-inmemory","owner":{"login":"Unisay","id":1009751,"avatar_url":"https://avatars.githubusercontent.com/u/1009751?v=3","gravatar_id":"","url":"https://api.github.com/users/Unisay","html_url":"https://github.com/Unisay","followers_url":"https://api.github.com/users/Unisay/followers","following_url":"https://api.github.com/users/Unisay/following{/other_user}","gists_url":"https://api.github.com/users/Unisay/gists{/gist_id}","starred_url":"https://api.github.com/users/Unisay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unisay/subscriptions","organizations_url":"https://api.github.com/users/Unisay/orgs","repos_url":"https://api.github.com/users/Unisay/repos","events_url":"https://api.github.com/users/Unisay/events{/privacy}","received_events_url":"https://api.github.com/users/Unisay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Unisay/akka-persistence-shared-inmemory","description":"In-memory Journal and Snapshot implementations designed so they can also be shared between nodes in multi-jvm tests.","fork":true,"url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory","forks_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/forks","keys_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/teams","hooks_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/hooks","issue_events_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/issues/events{/number}","events_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/events","assignees_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/assignees{/user}","branches_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/branches{/branch}","tags_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/tags","blobs_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/git/refs{/sha}","trees_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/statuses/{sha}","languages_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/languages","stargazers_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/stargazers","contributors_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/contributors","subscribers_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/subscribers","subscription_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/subscription","commits_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/commits{/sha}","git_commits_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/git/commits{/sha}","comments_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/comments{/number}","issue_comment_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/issues/comments{/number}","contents_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/contents/{+path}","compare_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/merges","archive_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/downloads","issues_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/issues{/number}","pulls_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/pulls{/number}","milestones_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/milestones{/number}","notifications_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/labels{/name}","releases_url":"https://api.github.com/repos/Unisay/akka-persistence-shared-inmemory/releases{/id}","created_at":"2015-06-02T07:01:02Z","updated_at":"2015-06-02T07:01:02Z","pushed_at":"2015-06-04T07:43:03Z","git_url":"git://github.com/Unisay/akka-persistence-shared-inmemory.git","ssh_url":"git@github.com:Unisay/akka-persistence-shared-inmemory.git","clone_url":"https://github.com/Unisay/akka-persistence-shared-inmemory.git","svn_url":"https://github.com/Unisay/akka-persistence-shared-inmemory","homepage":null,"size":115,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"jdgoldie:master","ref":"master","sha":"d2b3892ddd345bd82dd6f8c884c40ec3aec01fdb","user":{"login":"jdgoldie","id":3217397,"avatar_url":"https://avatars.githubusercontent.com/u/3217397?v=3","gravatar_id":"","url":"https://api.github.com/users/jdgoldie","html_url":"https://github.com/jdgoldie","followers_url":"https://api.github.com/users/jdgoldie/followers","following_url":"https://api.github.com/users/jdgoldie/following{/other_user}","gists_url":"https://api.github.com/users/jdgoldie/gists{/gist_id}","starred_url":"https://api.github.com/users/jdgoldie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdgoldie/subscriptions","organizations_url":"https://api.github.com/users/jdgoldie/orgs","repos_url":"https://api.github.com/users/jdgoldie/repos","events_url":"https://api.github.com/users/jdgoldie/events{/privacy}","received_events_url":"https://api.github.com/users/jdgoldie/received_events","type":"User","site_admin":false},"repo":{"id":25486718,"name":"akka-persistence-shared-inmemory","full_name":"jdgoldie/akka-persistence-shared-inmemory","owner":{"login":"jdgoldie","id":3217397,"avatar_url":"https://avatars.githubusercontent.com/u/3217397?v=3","gravatar_id":"","url":"https://api.github.com/users/jdgoldie","html_url":"https://github.com/jdgoldie","followers_url":"https://api.github.com/users/jdgoldie/followers","following_url":"https://api.github.com/users/jdgoldie/following{/other_user}","gists_url":"https://api.github.com/users/jdgoldie/gists{/gist_id}","starred_url":"https://api.github.com/users/jdgoldie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdgoldie/subscriptions","organizations_url":"https://api.github.com/users/jdgoldie/orgs","repos_url":"https://api.github.com/users/jdgoldie/repos","events_url":"https://api.github.com/users/jdgoldie/events{/privacy}","received_events_url":"https://api.github.com/users/jdgoldie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jdgoldie/akka-persistence-shared-inmemory","description":"In-memory Journal and Snapshot implementations designed so they can also be shared between nodes in multi-jvm tests.","fork":false,"url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory","forks_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/forks","keys_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/teams","hooks_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/hooks","issue_events_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/issues/events{/number}","events_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/events","assignees_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/assignees{/user}","branches_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/branches{/branch}","tags_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/tags","blobs_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/statuses/{sha}","languages_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/languages","stargazers_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/stargazers","contributors_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/contributors","subscribers_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/subscribers","subscription_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/subscription","commits_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/issues/comments{/number}","contents_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/contents/{+path}","compare_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/merges","archive_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/downloads","issues_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/issues{/number}","pulls_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/pulls{/number}","milestones_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/milestones{/number}","notifications_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/labels{/name}","releases_url":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/releases{/id}","created_at":"2014-10-20T21:07:17Z","updated_at":"2015-06-15T14:38:38Z","pushed_at":"2015-07-13T17:14:11Z","git_url":"git://github.com/jdgoldie/akka-persistence-shared-inmemory.git","ssh_url":"git@github.com:jdgoldie/akka-persistence-shared-inmemory.git","clone_url":"https://github.com/jdgoldie/akka-persistence-shared-inmemory.git","svn_url":"https://github.com/jdgoldie/akka-persistence-shared-inmemory","homepage":null,"size":352,"stargazers_count":5,"watchers_count":5,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/pulls/8"},"html":{"href":"https://github.com/jdgoldie/akka-persistence-shared-inmemory/pull/8"},"issue":{"href":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/issues/8"},"comments":{"href":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/jdgoldie/akka-persistence-shared-inmemory/statuses/d864bfd6bda5bb9e38a4821ef0ac48cba6e5dff7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jdgoldie","id":3217397,"avatar_url":"https://avatars.githubusercontent.com/u/3217397?v=3","gravatar_id":"","url":"https://api.github.com/users/jdgoldie","html_url":"https://github.com/jdgoldie","followers_url":"https://api.github.com/users/jdgoldie/followers","following_url":"https://api.github.com/users/jdgoldie/following{/other_user}","gists_url":"https://api.github.com/users/jdgoldie/gists{/gist_id}","starred_url":"https://api.github.com/users/jdgoldie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdgoldie/subscriptions","organizations_url":"https://api.github.com/users/jdgoldie/orgs","repos_url":"https://api.github.com/users/jdgoldie/repos","events_url":"https://api.github.com/users/jdgoldie/events{/privacy}","received_events_url":"https://api.github.com/users/jdgoldie/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":59,"deletions":6,"changed_files":4}}