{"action":"closed","number":30,"pull_request":{"url":"https://api.github.com/repos/caelum/vraptor-jpa/pulls/30","id":29893991,"html_url":"https://github.com/caelum/vraptor-jpa/pull/30","diff_url":"https://github.com/caelum/vraptor-jpa/pull/30.diff","patch_url":"https://github.com/caelum/vraptor-jpa/pull/30.patch","issue_url":"https://api.github.com/repos/caelum/vraptor-jpa/issues/30","number":30,"state":"closed","locked":false,"title":"Firing CDI events on BeforeCommit, AfterCommit and AfterRollback.","user":{"login":"rafaelGuerreiro","id":836370,"avatar_url":"https://avatars.githubusercontent.com/u/836370?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelGuerreiro","html_url":"https://github.com/rafaelGuerreiro","followers_url":"https://api.github.com/users/rafaelGuerreiro/followers","following_url":"https://api.github.com/users/rafaelGuerreiro/following{/other_user}","gists_url":"https://api.github.com/users/rafaelGuerreiro/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelGuerreiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelGuerreiro/subscriptions","organizations_url":"https://api.github.com/users/rafaelGuerreiro/orgs","repos_url":"https://api.github.com/users/rafaelGuerreiro/repos","events_url":"https://api.github.com/users/rafaelGuerreiro/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelGuerreiro/received_events","type":"User","site_admin":false},"body":"I also added one more test case, improved the setUp() on the tests and tested if the events were fired only when needed.","created_at":"2015-02-24T12:43:53Z","updated_at":"2015-02-25T13:31:02Z","closed_at":"2015-02-25T13:31:02Z","merged_at":"2015-02-25T13:31:02Z","merge_commit_sha":"321b6b76bd72471be33027d8a11f170ca15e7b8b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/caelum/vraptor-jpa/pulls/30/commits","review_comments_url":"https://api.github.com/repos/caelum/vraptor-jpa/pulls/30/comments","review_comment_url":"https://api.github.com/repos/caelum/vraptor-jpa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/caelum/vraptor-jpa/issues/30/comments","statuses_url":"https://api.github.com/repos/caelum/vraptor-jpa/statuses/087e30f4a68e8ad8aa58f851988caec84e4a6975","head":{"label":"rafaelGuerreiro:work-issue7","ref":"work-issue7","sha":"087e30f4a68e8ad8aa58f851988caec84e4a6975","user":{"login":"rafaelGuerreiro","id":836370,"avatar_url":"https://avatars.githubusercontent.com/u/836370?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelGuerreiro","html_url":"https://github.com/rafaelGuerreiro","followers_url":"https://api.github.com/users/rafaelGuerreiro/followers","following_url":"https://api.github.com/users/rafaelGuerreiro/following{/other_user}","gists_url":"https://api.github.com/users/rafaelGuerreiro/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelGuerreiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelGuerreiro/subscriptions","organizations_url":"https://api.github.com/users/rafaelGuerreiro/orgs","repos_url":"https://api.github.com/users/rafaelGuerreiro/repos","events_url":"https://api.github.com/users/rafaelGuerreiro/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelGuerreiro/received_events","type":"User","site_admin":false},"repo":{"id":31220247,"name":"vraptor-jpa","full_name":"rafaelGuerreiro/vraptor-jpa","owner":{"login":"rafaelGuerreiro","id":836370,"avatar_url":"https://avatars.githubusercontent.com/u/836370?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelGuerreiro","html_url":"https://github.com/rafaelGuerreiro","followers_url":"https://api.github.com/users/rafaelGuerreiro/followers","following_url":"https://api.github.com/users/rafaelGuerreiro/following{/other_user}","gists_url":"https://api.github.com/users/rafaelGuerreiro/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelGuerreiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelGuerreiro/subscriptions","organizations_url":"https://api.github.com/users/rafaelGuerreiro/orgs","repos_url":"https://api.github.com/users/rafaelGuerreiro/repos","events_url":"https://api.github.com/users/rafaelGuerreiro/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelGuerreiro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rafaelGuerreiro/vraptor-jpa","description":"","fork":true,"url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa","forks_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/forks","keys_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/teams","hooks_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/hooks","issue_events_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/issues/events{/number}","events_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/events","assignees_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/assignees{/user}","branches_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/branches{/branch}","tags_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/tags","blobs_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/git/refs{/sha}","trees_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/statuses/{sha}","languages_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/languages","stargazers_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/stargazers","contributors_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/contributors","subscribers_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/subscribers","subscription_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/subscription","commits_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/commits{/sha}","git_commits_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/git/commits{/sha}","comments_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/comments{/number}","issue_comment_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/issues/comments{/number}","contents_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/contents/{+path}","compare_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/merges","archive_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/downloads","issues_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/issues{/number}","pulls_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/pulls{/number}","milestones_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/milestones{/number}","notifications_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/labels{/name}","releases_url":"https://api.github.com/repos/rafaelGuerreiro/vraptor-jpa/releases{/id}","created_at":"2015-02-23T17:36:26Z","updated_at":"2015-02-24T14:10:14Z","pushed_at":"2015-02-24T19:05:52Z","git_url":"git://github.com/rafaelGuerreiro/vraptor-jpa.git","ssh_url":"git@github.com:rafaelGuerreiro/vraptor-jpa.git","clone_url":"https://github.com/rafaelGuerreiro/vraptor-jpa.git","svn_url":"https://github.com/rafaelGuerreiro/vraptor-jpa","homepage":null,"size":455,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"caelum:master","ref":"master","sha":"cc79bd347d1badcdca1def18c74f8a74978fa413","user":{"login":"caelum","id":65012,"avatar_url":"https://avatars.githubusercontent.com/u/65012?v=3","gravatar_id":"","url":"https://api.github.com/users/caelum","html_url":"https://github.com/caelum","followers_url":"https://api.github.com/users/caelum/followers","following_url":"https://api.github.com/users/caelum/following{/other_user}","gists_url":"https://api.github.com/users/caelum/gists{/gist_id}","starred_url":"https://api.github.com/users/caelum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caelum/subscriptions","organizations_url":"https://api.github.com/users/caelum/orgs","repos_url":"https://api.github.com/users/caelum/repos","events_url":"https://api.github.com/users/caelum/events{/privacy}","received_events_url":"https://api.github.com/users/caelum/received_events","type":"Organization","site_admin":false},"repo":{"id":8451188,"name":"vraptor-jpa","full_name":"caelum/vraptor-jpa","owner":{"login":"caelum","id":65012,"avatar_url":"https://avatars.githubusercontent.com/u/65012?v=3","gravatar_id":"","url":"https://api.github.com/users/caelum","html_url":"https://github.com/caelum","followers_url":"https://api.github.com/users/caelum/followers","following_url":"https://api.github.com/users/caelum/following{/other_user}","gists_url":"https://api.github.com/users/caelum/gists{/gist_id}","starred_url":"https://api.github.com/users/caelum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caelum/subscriptions","organizations_url":"https://api.github.com/users/caelum/orgs","repos_url":"https://api.github.com/users/caelum/repos","events_url":"https://api.github.com/users/caelum/events{/privacy}","received_events_url":"https://api.github.com/users/caelum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caelum/vraptor-jpa","description":"","fork":false,"url":"https://api.github.com/repos/caelum/vraptor-jpa","forks_url":"https://api.github.com/repos/caelum/vraptor-jpa/forks","keys_url":"https://api.github.com/repos/caelum/vraptor-jpa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caelum/vraptor-jpa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caelum/vraptor-jpa/teams","hooks_url":"https://api.github.com/repos/caelum/vraptor-jpa/hooks","issue_events_url":"https://api.github.com/repos/caelum/vraptor-jpa/issues/events{/number}","events_url":"https://api.github.com/repos/caelum/vraptor-jpa/events","assignees_url":"https://api.github.com/repos/caelum/vraptor-jpa/assignees{/user}","branches_url":"https://api.github.com/repos/caelum/vraptor-jpa/branches{/branch}","tags_url":"https://api.github.com/repos/caelum/vraptor-jpa/tags","blobs_url":"https://api.github.com/repos/caelum/vraptor-jpa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caelum/vraptor-jpa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caelum/vraptor-jpa/git/refs{/sha}","trees_url":"https://api.github.com/repos/caelum/vraptor-jpa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caelum/vraptor-jpa/statuses/{sha}","languages_url":"https://api.github.com/repos/caelum/vraptor-jpa/languages","stargazers_url":"https://api.github.com/repos/caelum/vraptor-jpa/stargazers","contributors_url":"https://api.github.com/repos/caelum/vraptor-jpa/contributors","subscribers_url":"https://api.github.com/repos/caelum/vraptor-jpa/subscribers","subscription_url":"https://api.github.com/repos/caelum/vraptor-jpa/subscription","commits_url":"https://api.github.com/repos/caelum/vraptor-jpa/commits{/sha}","git_commits_url":"https://api.github.com/repos/caelum/vraptor-jpa/git/commits{/sha}","comments_url":"https://api.github.com/repos/caelum/vraptor-jpa/comments{/number}","issue_comment_url":"https://api.github.com/repos/caelum/vraptor-jpa/issues/comments{/number}","contents_url":"https://api.github.com/repos/caelum/vraptor-jpa/contents/{+path}","compare_url":"https://api.github.com/repos/caelum/vraptor-jpa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caelum/vraptor-jpa/merges","archive_url":"https://api.github.com/repos/caelum/vraptor-jpa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caelum/vraptor-jpa/downloads","issues_url":"https://api.github.com/repos/caelum/vraptor-jpa/issues{/number}","pulls_url":"https://api.github.com/repos/caelum/vraptor-jpa/pulls{/number}","milestones_url":"https://api.github.com/repos/caelum/vraptor-jpa/milestones{/number}","notifications_url":"https://api.github.com/repos/caelum/vraptor-jpa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caelum/vraptor-jpa/labels{/name}","releases_url":"https://api.github.com/repos/caelum/vraptor-jpa/releases{/id}","created_at":"2013-02-27T07:48:51Z","updated_at":"2015-02-25T13:31:02Z","pushed_at":"2015-02-25T13:31:02Z","git_url":"git://github.com/caelum/vraptor-jpa.git","ssh_url":"git@github.com:caelum/vraptor-jpa.git","clone_url":"https://github.com/caelum/vraptor-jpa.git","svn_url":"https://github.com/caelum/vraptor-jpa","homepage":null,"size":455,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":9,"forks":18,"open_issues":9,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/caelum/vraptor-jpa/pulls/30"},"html":{"href":"https://github.com/caelum/vraptor-jpa/pull/30"},"issue":{"href":"https://api.github.com/repos/caelum/vraptor-jpa/issues/30"},"comments":{"href":"https://api.github.com/repos/caelum/vraptor-jpa/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/caelum/vraptor-jpa/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/caelum/vraptor-jpa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/caelum/vraptor-jpa/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/caelum/vraptor-jpa/statuses/087e30f4a68e8ad8aa58f851988caec84e4a6975"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Turini","id":1529021,"avatar_url":"https://avatars.githubusercontent.com/u/1529021?v=3","gravatar_id":"","url":"https://api.github.com/users/Turini","html_url":"https://github.com/Turini","followers_url":"https://api.github.com/users/Turini/followers","following_url":"https://api.github.com/users/Turini/following{/other_user}","gists_url":"https://api.github.com/users/Turini/gists{/gist_id}","starred_url":"https://api.github.com/users/Turini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Turini/subscriptions","organizations_url":"https://api.github.com/users/Turini/orgs","repos_url":"https://api.github.com/users/Turini/repos","events_url":"https://api.github.com/users/Turini/events{/privacy}","received_events_url":"https://api.github.com/users/Turini/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"commits":5,"additions":123,"deletions":5,"changed_files":7}}