{"action":"created","comment":{"url":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls/comments/148294714","pull_request_review_id":73514227,"id":148294714,"diff_hunk":"@@ -59,10 +45,38 @@\n import io.syndesis.rest.v1.operations.SortOptionsFromQueryParams;\n import io.syndesis.rest.v1.operations.Updater;\n import io.syndesis.rest.v1.operations.Validating;\n-\n import org.springframework.security.core.context.SecurityContextHolder;\n import org.springframework.stereotype.Component;\n \n+import javax.persistence.EntityNotFoundException;\n+import javax.validation.Validator;\n+import javax.validation.constraints.NotNull;\n+import javax.validation.groups.ConvertGroup;\n+import javax.validation.groups.Default;\n+import javax.ws.rs.GET;\n+import javax.ws.rs.POST;\n+import javax.ws.rs.Path;\n+import javax.ws.rs.PathParam;\n+import javax.ws.rs.Produces;\n+import javax.ws.rs.core.Context;\n+import javax.ws.rs.core.MediaType;\n+import javax.ws.rs.core.SecurityContext;\n+import javax.ws.rs.core.StreamingOutput;\n+import javax.ws.rs.core.UriInfo;\n+import java.io.IOException;\n+import java.math.BigInteger;\n+import java.util.ArrayList;\n+import java.util.Date;\n+import java.util.List;\n+import java.util.Optional;\n+import java.util.function.Function;\n+import java.util.jar.JarOutputStream;","path":"rest/src/main/java/io/syndesis/rest/v1/handler/integration/IntegrationHandler.java","position":75,"original_position":75,"commit_id":"45b2e7ed5e65aafe3723e125eccda4036e9bae79","original_commit_id":"45b2e7ed5e65aafe3723e125eccda4036e9bae79","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused imports such as 'java.util.jar.JarOutputStream'](https://www.codacy.com/app/jimmidyson/syndesis-rest/pullRequest?prid=1038102)","created_at":"2017-11-01T15:35:05Z","updated_at":"2017-11-01T15:35:05Z","html_url":"https://github.com/syndesisio/syndesis-rest/pull/767#discussion_r148294714","pull_request_url":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls/767","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls/comments/148294714"},"html":{"href":"https://github.com/syndesisio/syndesis-rest/pull/767#discussion_r148294714"},"pull_request":{"href":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls/767"}}},"pull_request":{"url":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls/767","id":150066410,"html_url":"https://github.com/syndesisio/syndesis-rest/pull/767","diff_url":"https://github.com/syndesisio/syndesis-rest/pull/767.diff","patch_url":"https://github.com/syndesisio/syndesis-rest/pull/767.patch","issue_url":"https://api.github.com/repos/syndesisio/syndesis-rest/issues/767","number":767,"state":"closed","locked":false,"title":"fix: #619 Set 25 second keep alive timers on both SSE and WebSocket connections since open shift likes to close out idle backend server connection.","user":{"login":"chirino","id":103255,"avatar_url":"https://avatars0.githubusercontent.com/u/103255?v=4","gravatar_id":"","url":"https://api.github.com/users/chirino","html_url":"https://github.com/chirino","followers_url":"https://api.github.com/users/chirino/followers","following_url":"https://api.github.com/users/chirino/following{/other_user}","gists_url":"https://api.github.com/users/chirino/gists{/gist_id}","starred_url":"https://api.github.com/users/chirino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirino/subscriptions","organizations_url":"https://api.github.com/users/chirino/orgs","repos_url":"https://api.github.com/users/chirino/repos","events_url":"https://api.github.com/users/chirino/events{/privacy}","received_events_url":"https://api.github.com/users/chirino/received_events","type":"User","site_admin":false},"body":null,"created_at":"2017-11-01T15:25:24Z","updated_at":"2017-11-01T15:35:05Z","closed_at":"2017-11-01T15:26:37Z","merged_at":null,"merge_commit_sha":"542496f7d4be69cbe7ecfe02005f190d70eba93a","assignee":{"login":"KurtStam","id":35576,"avatar_url":"https://avatars0.githubusercontent.com/u/35576?v=4","gravatar_id":"","url":"https://api.github.com/users/KurtStam","html_url":"https://github.com/KurtStam","followers_url":"https://api.github.com/users/KurtStam/followers","following_url":"https://api.github.com/users/KurtStam/following{/other_user}","gists_url":"https://api.github.com/users/KurtStam/gists{/gist_id}","starred_url":"https://api.github.com/users/KurtStam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KurtStam/subscriptions","organizations_url":"https://api.github.com/users/KurtStam/orgs","repos_url":"https://api.github.com/users/KurtStam/repos","events_url":"https://api.github.com/users/KurtStam/events{/privacy}","received_events_url":"https://api.github.com/users/KurtStam/received_events","type":"User","site_admin":false},"assignees":[{"login":"KurtStam","id":35576,"avatar_url":"https://avatars0.githubusercontent.com/u/35576?v=4","gravatar_id":"","url":"https://api.github.com/users/KurtStam","html_url":"https://github.com/KurtStam","followers_url":"https://api.github.com/users/KurtStam/followers","following_url":"https://api.github.com/users/KurtStam/following{/other_user}","gists_url":"https://api.github.com/users/KurtStam/gists{/gist_id}","starred_url":"https://api.github.com/users/KurtStam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KurtStam/subscriptions","organizations_url":"https://api.github.com/users/KurtStam/orgs","repos_url":"https://api.github.com/users/KurtStam/repos","events_url":"https://api.github.com/users/KurtStam/events{/privacy}","received_events_url":"https://api.github.com/users/KurtStam/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"KurtStam","id":35576,"avatar_url":"https://avatars0.githubusercontent.com/u/35576?v=4","gravatar_id":"","url":"https://api.github.com/users/KurtStam","html_url":"https://github.com/KurtStam","followers_url":"https://api.github.com/users/KurtStam/followers","following_url":"https://api.github.com/users/KurtStam/following{/other_user}","gists_url":"https://api.github.com/users/KurtStam/gists{/gist_id}","starred_url":"https://api.github.com/users/KurtStam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KurtStam/subscriptions","organizations_url":"https://api.github.com/users/KurtStam/orgs","repos_url":"https://api.github.com/users/KurtStam/repos","events_url":"https://api.github.com/users/KurtStam/events{/privacy}","received_events_url":"https://api.github.com/users/KurtStam/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls/767/commits","review_comments_url":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls/767/comments","review_comment_url":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/syndesisio/syndesis-rest/issues/767/comments","statuses_url":"https://api.github.com/repos/syndesisio/syndesis-rest/statuses/45b2e7ed5e65aafe3723e125eccda4036e9bae79","head":{"label":"chirino:issue-764","ref":"issue-764","sha":"45b2e7ed5e65aafe3723e125eccda4036e9bae79","user":{"login":"chirino","id":103255,"avatar_url":"https://avatars0.githubusercontent.com/u/103255?v=4","gravatar_id":"","url":"https://api.github.com/users/chirino","html_url":"https://github.com/chirino","followers_url":"https://api.github.com/users/chirino/followers","following_url":"https://api.github.com/users/chirino/following{/other_user}","gists_url":"https://api.github.com/users/chirino/gists{/gist_id}","starred_url":"https://api.github.com/users/chirino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirino/subscriptions","organizations_url":"https://api.github.com/users/chirino/orgs","repos_url":"https://api.github.com/users/chirino/repos","events_url":"https://api.github.com/users/chirino/events{/privacy}","received_events_url":"https://api.github.com/users/chirino/received_events","type":"User","site_admin":false},"repo":{"id":82308098,"name":"ipaas-rest","full_name":"chirino/ipaas-rest","owner":{"login":"chirino","id":103255,"avatar_url":"https://avatars0.githubusercontent.com/u/103255?v=4","gravatar_id":"","url":"https://api.github.com/users/chirino","html_url":"https://github.com/chirino","followers_url":"https://api.github.com/users/chirino/followers","following_url":"https://api.github.com/users/chirino/following{/other_user}","gists_url":"https://api.github.com/users/chirino/gists{/gist_id}","starred_url":"https://api.github.com/users/chirino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirino/subscriptions","organizations_url":"https://api.github.com/users/chirino/orgs","repos_url":"https://api.github.com/users/chirino/repos","events_url":"https://api.github.com/users/chirino/events{/privacy}","received_events_url":"https://api.github.com/users/chirino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chirino/ipaas-rest","description":"The API for Red Hat iPaaS - a flexible, customizable, cloud-hosted platform that provides core integration capabilities as a service. It leverages Red Hat's existing product architecture using OpenShift Online/Dedicated and Fuse Integration Services.","fork":true,"url":"https://api.github.com/repos/chirino/ipaas-rest","forks_url":"https://api.github.com/repos/chirino/ipaas-rest/forks","keys_url":"https://api.github.com/repos/chirino/ipaas-rest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chirino/ipaas-rest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chirino/ipaas-rest/teams","hooks_url":"https://api.github.com/repos/chirino/ipaas-rest/hooks","issue_events_url":"https://api.github.com/repos/chirino/ipaas-rest/issues/events{/number}","events_url":"https://api.github.com/repos/chirino/ipaas-rest/events","assignees_url":"https://api.github.com/repos/chirino/ipaas-rest/assignees{/user}","branches_url":"https://api.github.com/repos/chirino/ipaas-rest/branches{/branch}","tags_url":"https://api.github.com/repos/chirino/ipaas-rest/tags","blobs_url":"https://api.github.com/repos/chirino/ipaas-rest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chirino/ipaas-rest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chirino/ipaas-rest/git/refs{/sha}","trees_url":"https://api.github.com/repos/chirino/ipaas-rest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chirino/ipaas-rest/statuses/{sha}","languages_url":"https://api.github.com/repos/chirino/ipaas-rest/languages","stargazers_url":"https://api.github.com/repos/chirino/ipaas-rest/stargazers","contributors_url":"https://api.github.com/repos/chirino/ipaas-rest/contributors","subscribers_url":"https://api.github.com/repos/chirino/ipaas-rest/subscribers","subscription_url":"https://api.github.com/repos/chirino/ipaas-rest/subscription","commits_url":"https://api.github.com/repos/chirino/ipaas-rest/commits{/sha}","git_commits_url":"https://api.github.com/repos/chirino/ipaas-rest/git/commits{/sha}","comments_url":"https://api.github.com/repos/chirino/ipaas-rest/comments{/number}","issue_comment_url":"https://api.github.com/repos/chirino/ipaas-rest/issues/comments{/number}","contents_url":"https://api.github.com/repos/chirino/ipaas-rest/contents/{+path}","compare_url":"https://api.github.com/repos/chirino/ipaas-rest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chirino/ipaas-rest/merges","archive_url":"https://api.github.com/repos/chirino/ipaas-rest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chirino/ipaas-rest/downloads","issues_url":"https://api.github.com/repos/chirino/ipaas-rest/issues{/number}","pulls_url":"https://api.github.com/repos/chirino/ipaas-rest/pulls{/number}","milestones_url":"https://api.github.com/repos/chirino/ipaas-rest/milestones{/number}","notifications_url":"https://api.github.com/repos/chirino/ipaas-rest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chirino/ipaas-rest/labels{/name}","releases_url":"https://api.github.com/repos/chirino/ipaas-rest/releases{/id}","deployments_url":"https://api.github.com/repos/chirino/ipaas-rest/deployments","created_at":"2017-02-17T15:03:04Z","updated_at":"2017-02-17T15:03:06Z","pushed_at":"2017-11-01T15:25:15Z","git_url":"git://github.com/chirino/ipaas-rest.git","ssh_url":"git@github.com:chirino/ipaas-rest.git","clone_url":"https://github.com/chirino/ipaas-rest.git","svn_url":"https://github.com/chirino/ipaas-rest","homepage":"https://ipaas-staging.b6ff.rh-idev.openshiftapps.com/api/v1/","size":3383,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"syndesisio:master","ref":"master","sha":"bfea32ff70468911d4b7ebc3c8b29d934f8e7d6d","user":{"login":"syndesisio","id":23079786,"avatar_url":"https://avatars3.githubusercontent.com/u/23079786?v=4","gravatar_id":"","url":"https://api.github.com/users/syndesisio","html_url":"https://github.com/syndesisio","followers_url":"https://api.github.com/users/syndesisio/followers","following_url":"https://api.github.com/users/syndesisio/following{/other_user}","gists_url":"https://api.github.com/users/syndesisio/gists{/gist_id}","starred_url":"https://api.github.com/users/syndesisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syndesisio/subscriptions","organizations_url":"https://api.github.com/users/syndesisio/orgs","repos_url":"https://api.github.com/users/syndesisio/repos","events_url":"https://api.github.com/users/syndesisio/events{/privacy}","received_events_url":"https://api.github.com/users/syndesisio/received_events","type":"Organization","site_admin":false},"repo":{"id":75404146,"name":"syndesis-rest","full_name":"syndesisio/syndesis-rest","owner":{"login":"syndesisio","id":23079786,"avatar_url":"https://avatars3.githubusercontent.com/u/23079786?v=4","gravatar_id":"","url":"https://api.github.com/users/syndesisio","html_url":"https://github.com/syndesisio","followers_url":"https://api.github.com/users/syndesisio/followers","following_url":"https://api.github.com/users/syndesisio/following{/other_user}","gists_url":"https://api.github.com/users/syndesisio/gists{/gist_id}","starred_url":"https://api.github.com/users/syndesisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syndesisio/subscriptions","organizations_url":"https://api.github.com/users/syndesisio/orgs","repos_url":"https://api.github.com/users/syndesisio/repos","events_url":"https://api.github.com/users/syndesisio/events{/privacy}","received_events_url":"https://api.github.com/users/syndesisio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/syndesisio/syndesis-rest","description":"The API for Syndesis - a flexible, customizable, cloud-hosted platform that provides core integration capabilities as a service. It leverages Red Hat's existing product architecture using OpenShift Online/Dedicated and Fuse Integration Services.","fork":false,"url":"https://api.github.com/repos/syndesisio/syndesis-rest","forks_url":"https://api.github.com/repos/syndesisio/syndesis-rest/forks","keys_url":"https://api.github.com/repos/syndesisio/syndesis-rest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/syndesisio/syndesis-rest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/syndesisio/syndesis-rest/teams","hooks_url":"https://api.github.com/repos/syndesisio/syndesis-rest/hooks","issue_events_url":"https://api.github.com/repos/syndesisio/syndesis-rest/issues/events{/number}","events_url":"https://api.github.com/repos/syndesisio/syndesis-rest/events","assignees_url":"https://api.github.com/repos/syndesisio/syndesis-rest/assignees{/user}","branches_url":"https://api.github.com/repos/syndesisio/syndesis-rest/branches{/branch}","tags_url":"https://api.github.com/repos/syndesisio/syndesis-rest/tags","blobs_url":"https://api.github.com/repos/syndesisio/syndesis-rest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/syndesisio/syndesis-rest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/syndesisio/syndesis-rest/git/refs{/sha}","trees_url":"https://api.github.com/repos/syndesisio/syndesis-rest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/syndesisio/syndesis-rest/statuses/{sha}","languages_url":"https://api.github.com/repos/syndesisio/syndesis-rest/languages","stargazers_url":"https://api.github.com/repos/syndesisio/syndesis-rest/stargazers","contributors_url":"https://api.github.com/repos/syndesisio/syndesis-rest/contributors","subscribers_url":"https://api.github.com/repos/syndesisio/syndesis-rest/subscribers","subscription_url":"https://api.github.com/repos/syndesisio/syndesis-rest/subscription","commits_url":"https://api.github.com/repos/syndesisio/syndesis-rest/commits{/sha}","git_commits_url":"https://api.github.com/repos/syndesisio/syndesis-rest/git/commits{/sha}","comments_url":"https://api.github.com/repos/syndesisio/syndesis-rest/comments{/number}","issue_comment_url":"https://api.github.com/repos/syndesisio/syndesis-rest/issues/comments{/number}","contents_url":"https://api.github.com/repos/syndesisio/syndesis-rest/contents/{+path}","compare_url":"https://api.github.com/repos/syndesisio/syndesis-rest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/syndesisio/syndesis-rest/merges","archive_url":"https://api.github.com/repos/syndesisio/syndesis-rest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/syndesisio/syndesis-rest/downloads","issues_url":"https://api.github.com/repos/syndesisio/syndesis-rest/issues{/number}","pulls_url":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls{/number}","milestones_url":"https://api.github.com/repos/syndesisio/syndesis-rest/milestones{/number}","notifications_url":"https://api.github.com/repos/syndesisio/syndesis-rest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/syndesisio/syndesis-rest/labels{/name}","releases_url":"https://api.github.com/repos/syndesisio/syndesis-rest/releases{/id}","deployments_url":"https://api.github.com/repos/syndesisio/syndesis-rest/deployments","created_at":"2016-12-02T14:49:12Z","updated_at":"2017-09-20T13:29:55Z","pushed_at":"2017-11-01T15:27:02Z","git_url":"git://github.com/syndesisio/syndesis-rest.git","ssh_url":"git@github.com:syndesisio/syndesis-rest.git","clone_url":"https://github.com/syndesisio/syndesis-rest.git","svn_url":"https://github.com/syndesisio/syndesis-rest","homepage":"https://syndesis-staging.b6ff.rh-idev.openshiftapps.com/api/v1/","size":3515,"stargazers_count":7,"watchers_count":7,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":85,"forks":24,"open_issues":85,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls/767"},"html":{"href":"https://github.com/syndesisio/syndesis-rest/pull/767"},"issue":{"href":"https://api.github.com/repos/syndesisio/syndesis-rest/issues/767"},"comments":{"href":"https://api.github.com/repos/syndesisio/syndesis-rest/issues/767/comments"},"review_comments":{"href":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls/767/comments"},"review_comment":{"href":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/syndesisio/syndesis-rest/pulls/767/commits"},"statuses":{"href":"https://api.github.com/repos/syndesisio/syndesis-rest/statuses/45b2e7ed5e65aafe3723e125eccda4036e9bae79"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"codacy-bot"}}