{"action":"created","comment":{"url":"https://api.github.com/repos/folio-org/raml-module-builder/pulls/comments/244851823","pull_request_review_id":188825507,"id":244851823,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDg1MTgyMw==","diff_hunk":"@@ -1322,11 +1328,17 @@ private void doDelete(SQLConnection connection, boolean transactionMode, String\n   public <T> void get(String table, Class<T> clazz, String fieldName, String where,\n       boolean returnCount, boolean returnIdField, boolean setId, List<FacetField> facets,\n       Handler<AsyncResult<Results<T>>> replyHandler) {\n+    get(table, clazz, fieldName, where, returnCount, returnIdField, setId, facets, null, replyHandler);\n+  }\n+\n+  public <T> void get(String table, Class<T> clazz, String fieldName, String where,","path":"domain-models-runtime/src/main/java/org/folio/rest/persist/PostgresClient.java","position":73,"original_position":73,"commit_id":"cae1f0dd18265b82c05145ce42741b6b50a6551f","original_commit_id":"cae1f0dd18265b82c05145ce42741b6b50a6551f","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: Method has 10 parameters, which is greater than 7 authorized. ([squid:S00107](https://sonarcloud.io/organizations/folio-org/rules#rule_key=squid%3AS00107))\n\n[See it in SonarCloud](https://sonarcloud.io/project/issues?id=org.folio%3Araml-module-builder&pullRequest=354&issues=AWgQWf8a1_eUtAp8LdTW&open=AWgQWf8a1_eUtAp8LdTW)\n\n[ISSUE_KEY]: AWgQWf8a1_eUtAp8LdTW","created_at":"2019-01-02T20:56:03Z","updated_at":"2019-01-02T20:56:04Z","html_url":"https://github.com/folio-org/raml-module-builder/pull/354#discussion_r244851823","pull_request_url":"https://api.github.com/repos/folio-org/raml-module-builder/pulls/354","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/folio-org/raml-module-builder/pulls/comments/244851823"},"html":{"href":"https://github.com/folio-org/raml-module-builder/pull/354#discussion_r244851823"},"pull_request":{"href":"https://api.github.com/repos/folio-org/raml-module-builder/pulls/354"}}},"pull_request":{"url":"https://api.github.com/repos/folio-org/raml-module-builder/pulls/354","id":241844907,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxODQ0OTA3","html_url":"https://github.com/folio-org/raml-module-builder/pull/354","diff_url":"https://github.com/folio-org/raml-module-builder/pull/354.diff","patch_url":"https://github.com/folio-org/raml-module-builder/pull/354.patch","issue_url":"https://api.github.com/repos/folio-org/raml-module-builder/issues/354","number":354,"state":"open","locked":false,"title":"MODORDERS-97 Distinct on","user":{"login":"grabsefx","id":45555481,"node_id":"MDQ6VXNlcjQ1NTU1NDgx","avatar_url":"https://avatars0.githubusercontent.com/u/45555481?v=4","gravatar_id":"","url":"https://api.github.com/users/grabsefx","html_url":"https://github.com/grabsefx","followers_url":"https://api.github.com/users/grabsefx/followers","following_url":"https://api.github.com/users/grabsefx/following{/other_user}","gists_url":"https://api.github.com/users/grabsefx/gists{/gist_id}","starred_url":"https://api.github.com/users/grabsefx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grabsefx/subscriptions","organizations_url":"https://api.github.com/users/grabsefx/orgs","repos_url":"https://api.github.com/users/grabsefx/repos","events_url":"https://api.github.com/users/grabsefx/events{/privacy}","received_events_url":"https://api.github.com/users/grabsefx/received_events","type":"User","site_admin":false},"body":"PURPOSE\r\nhttps://issues.folio.org/browse/MODORDERS-97\r\n\r\nAPPROACH\r\nCode refactoring and adding unit test\r\n\r\nActually this PR is a copy of #332","created_at":"2019-01-02T20:52:39Z","updated_at":"2019-01-02T20:56:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c50216e208b89a290bd5c91816fec933882095d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/folio-org/raml-module-builder/pulls/354/commits","review_comments_url":"https://api.github.com/repos/folio-org/raml-module-builder/pulls/354/comments","review_comment_url":"https://api.github.com/repos/folio-org/raml-module-builder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/folio-org/raml-module-builder/issues/354/comments","statuses_url":"https://api.github.com/repos/folio-org/raml-module-builder/statuses/cae1f0dd18265b82c05145ce42741b6b50a6551f","head":{"label":"grabsefx:DistinctOn","ref":"DistinctOn","sha":"cae1f0dd18265b82c05145ce42741b6b50a6551f","user":{"login":"grabsefx","id":45555481,"node_id":"MDQ6VXNlcjQ1NTU1NDgx","avatar_url":"https://avatars0.githubusercontent.com/u/45555481?v=4","gravatar_id":"","url":"https://api.github.com/users/grabsefx","html_url":"https://github.com/grabsefx","followers_url":"https://api.github.com/users/grabsefx/followers","following_url":"https://api.github.com/users/grabsefx/following{/other_user}","gists_url":"https://api.github.com/users/grabsefx/gists{/gist_id}","starred_url":"https://api.github.com/users/grabsefx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grabsefx/subscriptions","organizations_url":"https://api.github.com/users/grabsefx/orgs","repos_url":"https://api.github.com/users/grabsefx/repos","events_url":"https://api.github.com/users/grabsefx/events{/privacy}","received_events_url":"https://api.github.com/users/grabsefx/received_events","type":"User","site_admin":false},"repo":{"id":163875851,"node_id":"MDEwOlJlcG9zaXRvcnkxNjM4NzU4NTE=","name":"raml-module-builder","full_name":"grabsefx/raml-module-builder","private":false,"owner":{"login":"grabsefx","id":45555481,"node_id":"MDQ6VXNlcjQ1NTU1NDgx","avatar_url":"https://avatars0.githubusercontent.com/u/45555481?v=4","gravatar_id":"","url":"https://api.github.com/users/grabsefx","html_url":"https://github.com/grabsefx","followers_url":"https://api.github.com/users/grabsefx/followers","following_url":"https://api.github.com/users/grabsefx/following{/other_user}","gists_url":"https://api.github.com/users/grabsefx/gists{/gist_id}","starred_url":"https://api.github.com/users/grabsefx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grabsefx/subscriptions","organizations_url":"https://api.github.com/users/grabsefx/orgs","repos_url":"https://api.github.com/users/grabsefx/repos","events_url":"https://api.github.com/users/grabsefx/events{/privacy}","received_events_url":"https://api.github.com/users/grabsefx/received_events","type":"User","site_admin":false},"html_url":"https://github.com/grabsefx/raml-module-builder","description":"Framework allowing easy module creation based on RAML files","fork":true,"url":"https://api.github.com/repos/grabsefx/raml-module-builder","forks_url":"https://api.github.com/repos/grabsefx/raml-module-builder/forks","keys_url":"https://api.github.com/repos/grabsefx/raml-module-builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grabsefx/raml-module-builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grabsefx/raml-module-builder/teams","hooks_url":"https://api.github.com/repos/grabsefx/raml-module-builder/hooks","issue_events_url":"https://api.github.com/repos/grabsefx/raml-module-builder/issues/events{/number}","events_url":"https://api.github.com/repos/grabsefx/raml-module-builder/events","assignees_url":"https://api.github.com/repos/grabsefx/raml-module-builder/assignees{/user}","branches_url":"https://api.github.com/repos/grabsefx/raml-module-builder/branches{/branch}","tags_url":"https://api.github.com/repos/grabsefx/raml-module-builder/tags","blobs_url":"https://api.github.com/repos/grabsefx/raml-module-builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grabsefx/raml-module-builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grabsefx/raml-module-builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/grabsefx/raml-module-builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grabsefx/raml-module-builder/statuses/{sha}","languages_url":"https://api.github.com/repos/grabsefx/raml-module-builder/languages","stargazers_url":"https://api.github.com/repos/grabsefx/raml-module-builder/stargazers","contributors_url":"https://api.github.com/repos/grabsefx/raml-module-builder/contributors","subscribers_url":"https://api.github.com/repos/grabsefx/raml-module-builder/subscribers","subscription_url":"https://api.github.com/repos/grabsefx/raml-module-builder/subscription","commits_url":"https://api.github.com/repos/grabsefx/raml-module-builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/grabsefx/raml-module-builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/grabsefx/raml-module-builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/grabsefx/raml-module-builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/grabsefx/raml-module-builder/contents/{+path}","compare_url":"https://api.github.com/repos/grabsefx/raml-module-builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grabsefx/raml-module-builder/merges","archive_url":"https://api.github.com/repos/grabsefx/raml-module-builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grabsefx/raml-module-builder/downloads","issues_url":"https://api.github.com/repos/grabsefx/raml-module-builder/issues{/number}","pulls_url":"https://api.github.com/repos/grabsefx/raml-module-builder/pulls{/number}","milestones_url":"https://api.github.com/repos/grabsefx/raml-module-builder/milestones{/number}","notifications_url":"https://api.github.com/repos/grabsefx/raml-module-builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grabsefx/raml-module-builder/labels{/name}","releases_url":"https://api.github.com/repos/grabsefx/raml-module-builder/releases{/id}","deployments_url":"https://api.github.com/repos/grabsefx/raml-module-builder/deployments","created_at":"2019-01-02T18:32:26Z","updated_at":"2019-01-02T18:32:29Z","pushed_at":"2019-01-02T20:46:43Z","git_url":"git://github.com/grabsefx/raml-module-builder.git","ssh_url":"git@github.com:grabsefx/raml-module-builder.git","clone_url":"https://github.com/grabsefx/raml-module-builder.git","svn_url":"https://github.com/grabsefx/raml-module-builder","homepage":"","size":5587,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"folio-org:master","ref":"master","sha":"06e5f12eaf431918cc12dfff4470753fac44ab3b","user":{"login":"folio-org","id":16495055,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDk1MDU1","avatar_url":"https://avatars2.githubusercontent.com/u/16495055?v=4","gravatar_id":"","url":"https://api.github.com/users/folio-org","html_url":"https://github.com/folio-org","followers_url":"https://api.github.com/users/folio-org/followers","following_url":"https://api.github.com/users/folio-org/following{/other_user}","gists_url":"https://api.github.com/users/folio-org/gists{/gist_id}","starred_url":"https://api.github.com/users/folio-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/folio-org/subscriptions","organizations_url":"https://api.github.com/users/folio-org/orgs","repos_url":"https://api.github.com/users/folio-org/repos","events_url":"https://api.github.com/users/folio-org/events{/privacy}","received_events_url":"https://api.github.com/users/folio-org/received_events","type":"Organization","site_admin":false},"repo":{"id":65975333,"node_id":"MDEwOlJlcG9zaXRvcnk2NTk3NTMzMw==","name":"raml-module-builder","full_name":"folio-org/raml-module-builder","private":false,"owner":{"login":"folio-org","id":16495055,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NDk1MDU1","avatar_url":"https://avatars2.githubusercontent.com/u/16495055?v=4","gravatar_id":"","url":"https://api.github.com/users/folio-org","html_url":"https://github.com/folio-org","followers_url":"https://api.github.com/users/folio-org/followers","following_url":"https://api.github.com/users/folio-org/following{/other_user}","gists_url":"https://api.github.com/users/folio-org/gists{/gist_id}","starred_url":"https://api.github.com/users/folio-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/folio-org/subscriptions","organizations_url":"https://api.github.com/users/folio-org/orgs","repos_url":"https://api.github.com/users/folio-org/repos","events_url":"https://api.github.com/users/folio-org/events{/privacy}","received_events_url":"https://api.github.com/users/folio-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/folio-org/raml-module-builder","description":"Framework allowing easy module creation based on RAML files","fork":false,"url":"https://api.github.com/repos/folio-org/raml-module-builder","forks_url":"https://api.github.com/repos/folio-org/raml-module-builder/forks","keys_url":"https://api.github.com/repos/folio-org/raml-module-builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/folio-org/raml-module-builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/folio-org/raml-module-builder/teams","hooks_url":"https://api.github.com/repos/folio-org/raml-module-builder/hooks","issue_events_url":"https://api.github.com/repos/folio-org/raml-module-builder/issues/events{/number}","events_url":"https://api.github.com/repos/folio-org/raml-module-builder/events","assignees_url":"https://api.github.com/repos/folio-org/raml-module-builder/assignees{/user}","branches_url":"https://api.github.com/repos/folio-org/raml-module-builder/branches{/branch}","tags_url":"https://api.github.com/repos/folio-org/raml-module-builder/tags","blobs_url":"https://api.github.com/repos/folio-org/raml-module-builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/folio-org/raml-module-builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/folio-org/raml-module-builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/folio-org/raml-module-builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/folio-org/raml-module-builder/statuses/{sha}","languages_url":"https://api.github.com/repos/folio-org/raml-module-builder/languages","stargazers_url":"https://api.github.com/repos/folio-org/raml-module-builder/stargazers","contributors_url":"https://api.github.com/repos/folio-org/raml-module-builder/contributors","subscribers_url":"https://api.github.com/repos/folio-org/raml-module-builder/subscribers","subscription_url":"https://api.github.com/repos/folio-org/raml-module-builder/subscription","commits_url":"https://api.github.com/repos/folio-org/raml-module-builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/folio-org/raml-module-builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/folio-org/raml-module-builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/folio-org/raml-module-builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/folio-org/raml-module-builder/contents/{+path}","compare_url":"https://api.github.com/repos/folio-org/raml-module-builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/folio-org/raml-module-builder/merges","archive_url":"https://api.github.com/repos/folio-org/raml-module-builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/folio-org/raml-module-builder/downloads","issues_url":"https://api.github.com/repos/folio-org/raml-module-builder/issues{/number}","pulls_url":"https://api.github.com/repos/folio-org/raml-module-builder/pulls{/number}","milestones_url":"https://api.github.com/repos/folio-org/raml-module-builder/milestones{/number}","notifications_url":"https://api.github.com/repos/folio-org/raml-module-builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/folio-org/raml-module-builder/labels{/name}","releases_url":"https://api.github.com/repos/folio-org/raml-module-builder/releases{/id}","deployments_url":"https://api.github.com/repos/folio-org/raml-module-builder/deployments","created_at":"2016-08-18T07:28:13Z","updated_at":"2018-12-19T06:53:35Z","pushed_at":"2019-01-02T20:52:39Z","git_url":"git://github.com/folio-org/raml-module-builder.git","ssh_url":"git@github.com:folio-org/raml-module-builder.git","clone_url":"https://github.com/folio-org/raml-module-builder.git","svn_url":"https://github.com/folio-org/raml-module-builder","homepage":"","size":5583,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":8,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/folio-org/raml-module-builder/pulls/354"},"html":{"href":"https://github.com/folio-org/raml-module-builder/pull/354"},"issue":{"href":"https://api.github.com/repos/folio-org/raml-module-builder/issues/354"},"comments":{"href":"https://api.github.com/repos/folio-org/raml-module-builder/issues/354/comments"},"review_comments":{"href":"https://api.github.com/repos/folio-org/raml-module-builder/pulls/354/comments"},"review_comment":{"href":"https://api.github.com/repos/folio-org/raml-module-builder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/folio-org/raml-module-builder/pulls/354/commits"},"statuses":{"href":"https://api.github.com/repos/folio-org/raml-module-builder/statuses/cae1f0dd18265b82c05145ce42741b6b50a6551f"}},"author_association":"NONE"}}
{"actor":{"display_login":"sonarcloud"}}