{"action":"opened","number":39,"pull_request":{"url":"https://api.github.com/repos/techdev-solutions/trackr-backend/pulls/39","id":36916617,"html_url":"https://github.com/techdev-solutions/trackr-backend/pull/39","diff_url":"https://github.com/techdev-solutions/trackr-backend/pull/39.diff","patch_url":"https://github.com/techdev-solutions/trackr-backend/pull/39.patch","issue_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/issues/39","number":39,"state":"open","locked":false,"title":"Remove unnecessary OneToMany associations","user":{"login":"FrontierPsychiatrist","id":3382041,"avatar_url":"https://avatars.githubusercontent.com/u/3382041?v=3","gravatar_id":"","url":"https://api.github.com/users/FrontierPsychiatrist","html_url":"https://github.com/FrontierPsychiatrist","followers_url":"https://api.github.com/users/FrontierPsychiatrist/followers","following_url":"https://api.github.com/users/FrontierPsychiatrist/following{/other_user}","gists_url":"https://api.github.com/users/FrontierPsychiatrist/gists{/gist_id}","starred_url":"https://api.github.com/users/FrontierPsychiatrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrontierPsychiatrist/subscriptions","organizations_url":"https://api.github.com/users/FrontierPsychiatrist/orgs","repos_url":"https://api.github.com/users/FrontierPsychiatrist/repos","events_url":"https://api.github.com/users/FrontierPsychiatrist/events{/privacy}","received_events_url":"https://api.github.com/users/FrontierPsychiatrist/received_events","type":"User","site_admin":false},"body":"They are mostly for cascading deletes. Since we won't really delete employees this is not necessary in this way. It also removes a lot of circular dependencies in Sonar.","created_at":"2015-06-04T09:27:57Z","updated_at":"2015-06-04T09:27:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/pulls/39/commits","review_comments_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/pulls/39/comments","review_comment_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/issues/39/comments","statuses_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/statuses/73a2ddd7a79b50aae4387ea364daa29b27c777bc","head":{"label":"techdev-solutions:trackr-remove-circular-deps","ref":"trackr-remove-circular-deps","sha":"73a2ddd7a79b50aae4387ea364daa29b27c777bc","user":{"login":"techdev-solutions","id":4929218,"avatar_url":"https://avatars.githubusercontent.com/u/4929218?v=3","gravatar_id":"","url":"https://api.github.com/users/techdev-solutions","html_url":"https://github.com/techdev-solutions","followers_url":"https://api.github.com/users/techdev-solutions/followers","following_url":"https://api.github.com/users/techdev-solutions/following{/other_user}","gists_url":"https://api.github.com/users/techdev-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/techdev-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techdev-solutions/subscriptions","organizations_url":"https://api.github.com/users/techdev-solutions/orgs","repos_url":"https://api.github.com/users/techdev-solutions/repos","events_url":"https://api.github.com/users/techdev-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/techdev-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":22063870,"name":"trackr-backend","full_name":"techdev-solutions/trackr-backend","owner":{"login":"techdev-solutions","id":4929218,"avatar_url":"https://avatars.githubusercontent.com/u/4929218?v=3","gravatar_id":"","url":"https://api.github.com/users/techdev-solutions","html_url":"https://github.com/techdev-solutions","followers_url":"https://api.github.com/users/techdev-solutions/followers","following_url":"https://api.github.com/users/techdev-solutions/following{/other_user}","gists_url":"https://api.github.com/users/techdev-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/techdev-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techdev-solutions/subscriptions","organizations_url":"https://api.github.com/users/techdev-solutions/orgs","repos_url":"https://api.github.com/users/techdev-solutions/repos","events_url":"https://api.github.com/users/techdev-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/techdev-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/techdev-solutions/trackr-backend","description":"","fork":false,"url":"https://api.github.com/repos/techdev-solutions/trackr-backend","forks_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/forks","keys_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/teams","hooks_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/hooks","issue_events_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/issues/events{/number}","events_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/events","assignees_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/assignees{/user}","branches_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/branches{/branch}","tags_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/tags","blobs_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/languages","stargazers_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/stargazers","contributors_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/contributors","subscribers_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/subscribers","subscription_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/subscription","commits_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/contents/{+path}","compare_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/merges","archive_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/downloads","issues_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/issues{/number}","pulls_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/labels{/name}","releases_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/releases{/id}","created_at":"2014-07-21T12:44:01Z","updated_at":"2015-06-01T13:47:41Z","pushed_at":"2015-06-04T09:26:52Z","git_url":"git://github.com/techdev-solutions/trackr-backend.git","ssh_url":"git@github.com:techdev-solutions/trackr-backend.git","clone_url":"https://github.com/techdev-solutions/trackr-backend.git","svn_url":"https://github.com/techdev-solutions/trackr-backend","homepage":"http://blog.techdev.de","size":2004,"stargazers_count":77,"watchers_count":77,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":5,"forks":45,"open_issues":5,"watchers":77,"default_branch":"master"}},"base":{"label":"techdev-solutions:development","ref":"development","sha":"d40daa971bbfb2f43186b909ae8c43d46703153d","user":{"login":"techdev-solutions","id":4929218,"avatar_url":"https://avatars.githubusercontent.com/u/4929218?v=3","gravatar_id":"","url":"https://api.github.com/users/techdev-solutions","html_url":"https://github.com/techdev-solutions","followers_url":"https://api.github.com/users/techdev-solutions/followers","following_url":"https://api.github.com/users/techdev-solutions/following{/other_user}","gists_url":"https://api.github.com/users/techdev-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/techdev-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techdev-solutions/subscriptions","organizations_url":"https://api.github.com/users/techdev-solutions/orgs","repos_url":"https://api.github.com/users/techdev-solutions/repos","events_url":"https://api.github.com/users/techdev-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/techdev-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":22063870,"name":"trackr-backend","full_name":"techdev-solutions/trackr-backend","owner":{"login":"techdev-solutions","id":4929218,"avatar_url":"https://avatars.githubusercontent.com/u/4929218?v=3","gravatar_id":"","url":"https://api.github.com/users/techdev-solutions","html_url":"https://github.com/techdev-solutions","followers_url":"https://api.github.com/users/techdev-solutions/followers","following_url":"https://api.github.com/users/techdev-solutions/following{/other_user}","gists_url":"https://api.github.com/users/techdev-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/techdev-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techdev-solutions/subscriptions","organizations_url":"https://api.github.com/users/techdev-solutions/orgs","repos_url":"https://api.github.com/users/techdev-solutions/repos","events_url":"https://api.github.com/users/techdev-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/techdev-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/techdev-solutions/trackr-backend","description":"","fork":false,"url":"https://api.github.com/repos/techdev-solutions/trackr-backend","forks_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/forks","keys_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/teams","hooks_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/hooks","issue_events_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/issues/events{/number}","events_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/events","assignees_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/assignees{/user}","branches_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/branches{/branch}","tags_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/tags","blobs_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/languages","stargazers_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/stargazers","contributors_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/contributors","subscribers_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/subscribers","subscription_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/subscription","commits_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/contents/{+path}","compare_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/merges","archive_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/downloads","issues_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/issues{/number}","pulls_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/labels{/name}","releases_url":"https://api.github.com/repos/techdev-solutions/trackr-backend/releases{/id}","created_at":"2014-07-21T12:44:01Z","updated_at":"2015-06-01T13:47:41Z","pushed_at":"2015-06-04T09:26:52Z","git_url":"git://github.com/techdev-solutions/trackr-backend.git","ssh_url":"git@github.com:techdev-solutions/trackr-backend.git","clone_url":"https://github.com/techdev-solutions/trackr-backend.git","svn_url":"https://github.com/techdev-solutions/trackr-backend","homepage":"http://blog.techdev.de","size":2004,"stargazers_count":77,"watchers_count":77,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":5,"forks":45,"open_issues":5,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/techdev-solutions/trackr-backend/pulls/39"},"html":{"href":"https://github.com/techdev-solutions/trackr-backend/pull/39"},"issue":{"href":"https://api.github.com/repos/techdev-solutions/trackr-backend/issues/39"},"comments":{"href":"https://api.github.com/repos/techdev-solutions/trackr-backend/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/techdev-solutions/trackr-backend/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/techdev-solutions/trackr-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/techdev-solutions/trackr-backend/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/techdev-solutions/trackr-backend/statuses/73a2ddd7a79b50aae4387ea364daa29b27c777bc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":0,"deletions":23,"changed_files":1}}