{"action":"created","comment":{"url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls/comments/240804919","pull_request_review_id":183921273,"id":240804919,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDgwNDkxOQ==","diff_hunk":"@@ -0,0 +1,17 @@\n+package com.revature.repository;\n+\n+import java.util.List;\n+\n+import org.springframework.data.jpa.repository.JpaRepository;\n+import org.springframework.data.repository.query.QueryByExampleExecutor;\n+import org.springframework.stereotype.Repository;\n+\n+\n+import com.revature.models.Resource;\n+\n+@Repository\n+public interface ResourceRepository extends JpaRepository<Resource, Integer>, QueryByExampleExecutor<Resource> {\n+\n+\tList<Resource> findAllByBuilding_Id(int id);","path":"src/main/java/com/revature/repository/ResourceRepository.java","position":15,"original_position":15,"commit_id":"5b0767a5d690f10ac7f0cb317f73c4c03458190e","original_commit_id":"5b0767a5d690f10ac7f0cb317f73c4c03458190e","user":{"login":"sonarcloud[bot]","id":39514782,"node_id":"MDM6Qm90Mzk1MTQ3ODI=","avatar_url":"https://avatars2.githubusercontent.com/in/12526?v=4","gravatar_id":"","url":"https://api.github.com/users/sonarcloud%5Bbot%5D","html_url":"https://github.com/apps/sonarcloud","followers_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/followers","following_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/repos","events_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"![Code Smell](https://sonarsource.github.io/sonar-github/code_smell.png 'Code Smell') Code Smell: Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'. ([squid:S00100](https://sonarcloud.io/organizations/1809-spark-usf/rules#rule_key=squid%3AS00100))\n\n[See it in SonarCloud](https://sonarcloud.io/project/issues?id=com.revature.rms%3ARMSResourceService&pullRequest=9&issues=AWeemzUKh73OK3QaR_MJ&open=AWeemzUKh73OK3QaR_MJ)\n\n[ISSUE_KEY]: AWeemzUKh73OK3QaR_MJ","created_at":"2018-12-11T21:51:52Z","updated_at":"2018-12-11T21:51:53Z","html_url":"https://github.com/1809-Spark-usf/rms-resource-service/pull/9#discussion_r240804919","pull_request_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls/9","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls/comments/240804919"},"html":{"href":"https://github.com/1809-Spark-usf/rms-resource-service/pull/9#discussion_r240804919"},"pull_request":{"href":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls/9","id":237782976,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3NzgyOTc2","html_url":"https://github.com/1809-Spark-usf/rms-resource-service/pull/9","diff_url":"https://github.com/1809-Spark-usf/rms-resource-service/pull/9.diff","patch_url":"https://github.com/1809-Spark-usf/rms-resource-service/pull/9.patch","issue_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/issues/9","number":9,"state":"open","locked":false,"title":"BuildTrigger-NoMerge","user":{"login":"mgoshorn","id":20766107,"node_id":"MDQ6VXNlcjIwNzY2MTA3","avatar_url":"https://avatars3.githubusercontent.com/u/20766107?v=4","gravatar_id":"","url":"https://api.github.com/users/mgoshorn","html_url":"https://github.com/mgoshorn","followers_url":"https://api.github.com/users/mgoshorn/followers","following_url":"https://api.github.com/users/mgoshorn/following{/other_user}","gists_url":"https://api.github.com/users/mgoshorn/gists{/gist_id}","starred_url":"https://api.github.com/users/mgoshorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgoshorn/subscriptions","organizations_url":"https://api.github.com/users/mgoshorn/orgs","repos_url":"https://api.github.com/users/mgoshorn/repos","events_url":"https://api.github.com/users/mgoshorn/events{/privacy}","received_events_url":"https://api.github.com/users/mgoshorn/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-11T18:30:04Z","updated_at":"2018-12-11T21:51:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5df9132449ae337b6fba577c336d6579ec08ebbd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls/9/commits","review_comments_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls/9/comments","review_comment_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/issues/9/comments","statuses_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/statuses/5b0767a5d690f10ac7f0cb317f73c4c03458190e","head":{"label":"1809-Spark-usf:Resource-Setup","ref":"Resource-Setup","sha":"5b0767a5d690f10ac7f0cb317f73c4c03458190e","user":{"login":"1809-Spark-usf","id":45554062,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1NTU0MDYy","avatar_url":"https://avatars1.githubusercontent.com/u/45554062?v=4","gravatar_id":"","url":"https://api.github.com/users/1809-Spark-usf","html_url":"https://github.com/1809-Spark-usf","followers_url":"https://api.github.com/users/1809-Spark-usf/followers","following_url":"https://api.github.com/users/1809-Spark-usf/following{/other_user}","gists_url":"https://api.github.com/users/1809-Spark-usf/gists{/gist_id}","starred_url":"https://api.github.com/users/1809-Spark-usf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1809-Spark-usf/subscriptions","organizations_url":"https://api.github.com/users/1809-Spark-usf/orgs","repos_url":"https://api.github.com/users/1809-Spark-usf/repos","events_url":"https://api.github.com/users/1809-Spark-usf/events{/privacy}","received_events_url":"https://api.github.com/users/1809-Spark-usf/received_events","type":"Organization","site_admin":false},"repo":{"id":160149532,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAxNDk1MzI=","name":"rms-resource-service","full_name":"1809-Spark-usf/rms-resource-service","private":false,"owner":{"login":"1809-Spark-usf","id":45554062,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1NTU0MDYy","avatar_url":"https://avatars1.githubusercontent.com/u/45554062?v=4","gravatar_id":"","url":"https://api.github.com/users/1809-Spark-usf","html_url":"https://github.com/1809-Spark-usf","followers_url":"https://api.github.com/users/1809-Spark-usf/followers","following_url":"https://api.github.com/users/1809-Spark-usf/following{/other_user}","gists_url":"https://api.github.com/users/1809-Spark-usf/gists{/gist_id}","starred_url":"https://api.github.com/users/1809-Spark-usf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1809-Spark-usf/subscriptions","organizations_url":"https://api.github.com/users/1809-Spark-usf/orgs","repos_url":"https://api.github.com/users/1809-Spark-usf/repos","events_url":"https://api.github.com/users/1809-Spark-usf/events{/privacy}","received_events_url":"https://api.github.com/users/1809-Spark-usf/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/1809-Spark-usf/rms-resource-service","description":null,"fork":false,"url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service","forks_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/forks","keys_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/teams","hooks_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/hooks","issue_events_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/issues/events{/number}","events_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/events","assignees_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/assignees{/user}","branches_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/branches{/branch}","tags_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/tags","blobs_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/statuses/{sha}","languages_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/languages","stargazers_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/stargazers","contributors_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/contributors","subscribers_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/subscribers","subscription_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/subscription","commits_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/contents/{+path}","compare_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/merges","archive_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/downloads","issues_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/issues{/number}","pulls_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls{/number}","milestones_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/milestones{/number}","notifications_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/labels{/name}","releases_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/releases{/id}","deployments_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/deployments","created_at":"2018-12-03T07:26:05Z","updated_at":"2018-12-04T23:50:46Z","pushed_at":"2018-12-11T21:42:02Z","git_url":"git://github.com/1809-Spark-usf/rms-resource-service.git","ssh_url":"git@github.com:1809-Spark-usf/rms-resource-service.git","clone_url":"https://github.com/1809-Spark-usf/rms-resource-service.git","svn_url":"https://github.com/1809-Spark-usf/rms-resource-service","homepage":null,"size":91,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"1809-Spark-usf:master","ref":"master","sha":"fa7636f4376a602b50b80ecb1e48ca1cdb107a29","user":{"login":"1809-Spark-usf","id":45554062,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1NTU0MDYy","avatar_url":"https://avatars1.githubusercontent.com/u/45554062?v=4","gravatar_id":"","url":"https://api.github.com/users/1809-Spark-usf","html_url":"https://github.com/1809-Spark-usf","followers_url":"https://api.github.com/users/1809-Spark-usf/followers","following_url":"https://api.github.com/users/1809-Spark-usf/following{/other_user}","gists_url":"https://api.github.com/users/1809-Spark-usf/gists{/gist_id}","starred_url":"https://api.github.com/users/1809-Spark-usf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1809-Spark-usf/subscriptions","organizations_url":"https://api.github.com/users/1809-Spark-usf/orgs","repos_url":"https://api.github.com/users/1809-Spark-usf/repos","events_url":"https://api.github.com/users/1809-Spark-usf/events{/privacy}","received_events_url":"https://api.github.com/users/1809-Spark-usf/received_events","type":"Organization","site_admin":false},"repo":{"id":160149532,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAxNDk1MzI=","name":"rms-resource-service","full_name":"1809-Spark-usf/rms-resource-service","private":false,"owner":{"login":"1809-Spark-usf","id":45554062,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1NTU0MDYy","avatar_url":"https://avatars1.githubusercontent.com/u/45554062?v=4","gravatar_id":"","url":"https://api.github.com/users/1809-Spark-usf","html_url":"https://github.com/1809-Spark-usf","followers_url":"https://api.github.com/users/1809-Spark-usf/followers","following_url":"https://api.github.com/users/1809-Spark-usf/following{/other_user}","gists_url":"https://api.github.com/users/1809-Spark-usf/gists{/gist_id}","starred_url":"https://api.github.com/users/1809-Spark-usf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1809-Spark-usf/subscriptions","organizations_url":"https://api.github.com/users/1809-Spark-usf/orgs","repos_url":"https://api.github.com/users/1809-Spark-usf/repos","events_url":"https://api.github.com/users/1809-Spark-usf/events{/privacy}","received_events_url":"https://api.github.com/users/1809-Spark-usf/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/1809-Spark-usf/rms-resource-service","description":null,"fork":false,"url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service","forks_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/forks","keys_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/teams","hooks_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/hooks","issue_events_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/issues/events{/number}","events_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/events","assignees_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/assignees{/user}","branches_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/branches{/branch}","tags_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/tags","blobs_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/statuses/{sha}","languages_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/languages","stargazers_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/stargazers","contributors_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/contributors","subscribers_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/subscribers","subscription_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/subscription","commits_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/contents/{+path}","compare_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/merges","archive_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/downloads","issues_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/issues{/number}","pulls_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls{/number}","milestones_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/milestones{/number}","notifications_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/labels{/name}","releases_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/releases{/id}","deployments_url":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/deployments","created_at":"2018-12-03T07:26:05Z","updated_at":"2018-12-04T23:50:46Z","pushed_at":"2018-12-11T21:42:02Z","git_url":"git://github.com/1809-Spark-usf/rms-resource-service.git","ssh_url":"git@github.com:1809-Spark-usf/rms-resource-service.git","clone_url":"https://github.com/1809-Spark-usf/rms-resource-service.git","svn_url":"https://github.com/1809-Spark-usf/rms-resource-service","homepage":null,"size":91,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls/9"},"html":{"href":"https://github.com/1809-Spark-usf/rms-resource-service/pull/9"},"issue":{"href":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/issues/9"},"comments":{"href":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/1809-Spark-usf/rms-resource-service/statuses/5b0767a5d690f10ac7f0cb317f73c4c03458190e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sonarcloud"}}