{"action":"created","comment":{"url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls/comments/29347314","id":29347314,"diff_hunk":"@@ -65,4 +65,8 @@ trait EntityComponent {\n   def getEntity(guid: String)(implicit session: Session): Option[Entity] = {\n     entitiesByGUID(guid).firstOption\n   }\n+\n+  def getEntityList()(implicit session: Session): List[Entity] = {\n+    entities.list(session)","path":"src/main/scala/org/broadinstitute/dsde/vault/datamanagement/domain/EntityComponent.scala","position":6,"original_position":6,"commit_id":"1b3cbf515a527fe871a2b2b2cc4877854d934796","original_commit_id":"1b3cbf515a527fe871a2b2b2cc4877854d934796","user":{"login":"kshakir","id":791985,"avatar_url":"https://avatars.githubusercontent.com/u/791985?v=3","gravatar_id":"","url":"https://api.github.com/users/kshakir","html_url":"https://github.com/kshakir","followers_url":"https://api.github.com/users/kshakir/followers","following_url":"https://api.github.com/users/kshakir/following{/other_user}","gists_url":"https://api.github.com/users/kshakir/gists{/gist_id}","starred_url":"https://api.github.com/users/kshakir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshakir/subscriptions","organizations_url":"https://api.github.com/users/kshakir/orgs","repos_url":"https://api.github.com/users/kshakir/repos","events_url":"https://api.github.com/users/kshakir/events{/privacy}","received_events_url":"https://api.github.com/users/kshakir/received_events","type":"User","site_admin":false},"body":"`session` is (re-)passed implicitly, so this line should just be `entities.list`.","created_at":"2015-04-29T15:28:30Z","updated_at":"2015-04-29T15:28:30Z","html_url":"https://github.com/broadinstitute/vault-datamanagement/pull/27#discussion_r29347314","pull_request_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls/comments/29347314"},"html":{"href":"https://github.com/broadinstitute/vault-datamanagement/pull/27#discussion_r29347314"},"pull_request":{"href":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls/27","id":34275913,"html_url":"https://github.com/broadinstitute/vault-datamanagement/pull/27","diff_url":"https://github.com/broadinstitute/vault-datamanagement/pull/27.diff","patch_url":"https://github.com/broadinstitute/vault-datamanagement/pull/27.patch","issue_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/issues/27","number":27,"state":"open","locked":false,"title":"dsdev 1897 list ubams","user":{"login":"vvicario","id":11353754,"avatar_url":"https://avatars.githubusercontent.com/u/11353754?v=3","gravatar_id":"","url":"https://api.github.com/users/vvicario","html_url":"https://github.com/vvicario","followers_url":"https://api.github.com/users/vvicario/followers","following_url":"https://api.github.com/users/vvicario/following{/other_user}","gists_url":"https://api.github.com/users/vvicario/gists{/gist_id}","starred_url":"https://api.github.com/users/vvicario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvicario/subscriptions","organizations_url":"https://api.github.com/users/vvicario/orgs","repos_url":"https://api.github.com/users/vvicario/repos","events_url":"https://api.github.com/users/vvicario/events{/privacy}","received_events_url":"https://api.github.com/users/vvicario/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-28T15:00:22Z","updated_at":"2015-04-29T15:28:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a47236922850891a31924df9bf08b4ac062a54ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls/27/commits","review_comments_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls/27/comments","review_comment_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls/comments{/number}","comments_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/issues/27/comments","statuses_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/statuses/1b3cbf515a527fe871a2b2b2cc4877854d934796","head":{"label":"broadinstitute:feature/DSDEV-1897ListUbams","ref":"feature/DSDEV-1897ListUbams","sha":"1b3cbf515a527fe871a2b2b2cc4877854d934796","user":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"repo":{"id":31208477,"name":"vault-datamanagement","full_name":"broadinstitute/vault-datamanagement","owner":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/broadinstitute/vault-datamanagement","description":"","fork":false,"url":"https://api.github.com/repos/broadinstitute/vault-datamanagement","forks_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/forks","keys_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/keys{/key_id}","collaborators_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/teams","hooks_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/hooks","issue_events_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/issues/events{/number}","events_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/events","assignees_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/assignees{/user}","branches_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/branches{/branch}","tags_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/tags","blobs_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/git/refs{/sha}","trees_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/git/trees{/sha}","statuses_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/statuses/{sha}","languages_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/languages","stargazers_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/stargazers","contributors_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/contributors","subscribers_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/subscribers","subscription_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/subscription","commits_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/commits{/sha}","git_commits_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/git/commits{/sha}","comments_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/comments{/number}","issue_comment_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/issues/comments{/number}","contents_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/contents/{+path}","compare_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/compare/{base}...{head}","merges_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/merges","archive_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/downloads","issues_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/issues{/number}","pulls_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls{/number}","milestones_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/milestones{/number}","notifications_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/labels{/name}","releases_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/releases{/id}","created_at":"2015-02-23T13:10:03Z","updated_at":"2015-03-27T20:16:24Z","pushed_at":"2015-04-28T19:11:54Z","git_url":"git://github.com/broadinstitute/vault-datamanagement.git","ssh_url":"git@github.com:broadinstitute/vault-datamanagement.git","clone_url":"https://github.com/broadinstitute/vault-datamanagement.git","svn_url":"https://github.com/broadinstitute/vault-datamanagement","homepage":null,"size":926,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"broadinstitute:develop","ref":"develop","sha":"3d70edb3261b97fe35bf1b19158d345e6bca550e","user":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"repo":{"id":31208477,"name":"vault-datamanagement","full_name":"broadinstitute/vault-datamanagement","owner":{"login":"broadinstitute","id":393552,"avatar_url":"https://avatars.githubusercontent.com/u/393552?v=3","gravatar_id":"","url":"https://api.github.com/users/broadinstitute","html_url":"https://github.com/broadinstitute","followers_url":"https://api.github.com/users/broadinstitute/followers","following_url":"https://api.github.com/users/broadinstitute/following{/other_user}","gists_url":"https://api.github.com/users/broadinstitute/gists{/gist_id}","starred_url":"https://api.github.com/users/broadinstitute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/broadinstitute/subscriptions","organizations_url":"https://api.github.com/users/broadinstitute/orgs","repos_url":"https://api.github.com/users/broadinstitute/repos","events_url":"https://api.github.com/users/broadinstitute/events{/privacy}","received_events_url":"https://api.github.com/users/broadinstitute/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/broadinstitute/vault-datamanagement","description":"","fork":false,"url":"https://api.github.com/repos/broadinstitute/vault-datamanagement","forks_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/forks","keys_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/keys{/key_id}","collaborators_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/teams","hooks_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/hooks","issue_events_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/issues/events{/number}","events_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/events","assignees_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/assignees{/user}","branches_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/branches{/branch}","tags_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/tags","blobs_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/git/refs{/sha}","trees_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/git/trees{/sha}","statuses_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/statuses/{sha}","languages_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/languages","stargazers_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/stargazers","contributors_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/contributors","subscribers_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/subscribers","subscription_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/subscription","commits_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/commits{/sha}","git_commits_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/git/commits{/sha}","comments_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/comments{/number}","issue_comment_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/issues/comments{/number}","contents_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/contents/{+path}","compare_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/compare/{base}...{head}","merges_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/merges","archive_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/downloads","issues_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/issues{/number}","pulls_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls{/number}","milestones_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/milestones{/number}","notifications_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/labels{/name}","releases_url":"https://api.github.com/repos/broadinstitute/vault-datamanagement/releases{/id}","created_at":"2015-02-23T13:10:03Z","updated_at":"2015-03-27T20:16:24Z","pushed_at":"2015-04-28T19:11:54Z","git_url":"git://github.com/broadinstitute/vault-datamanagement.git","ssh_url":"git@github.com:broadinstitute/vault-datamanagement.git","clone_url":"https://github.com/broadinstitute/vault-datamanagement.git","svn_url":"https://github.com/broadinstitute/vault-datamanagement","homepage":null,"size":926,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls/27"},"html":{"href":"https://github.com/broadinstitute/vault-datamanagement/pull/27"},"issue":{"href":"https://api.github.com/repos/broadinstitute/vault-datamanagement/issues/27"},"comments":{"href":"https://api.github.com/repos/broadinstitute/vault-datamanagement/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/broadinstitute/vault-datamanagement/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/broadinstitute/vault-datamanagement/statuses/1b3cbf515a527fe871a2b2b2cc4877854d934796"}}}}