{"action":"created","comment":{"url":"https://api.github.com/repos/symphonyoss/GroupID/pulls/comments/175201709","pull_request_review_id":104702505,"id":175201709,"diff_hunk":"@@ -122,25 +109,24 @@ private void createAgentProxy(Ticket ticket, HelpDeskAiSessionContext aiSessionC\n \n     helpDeskAi.startConversation(aiSessionContext.getAiSessionKey(), aiConversation);\n \n-    aiSessionContext.setProxyConversation(aiConversation);\n+    aiSessionContext.setIdleTimerManager(idleTimerManager);\n \n     MessageProxy messageProxy = new MessageProxy();\n-    messageProxy.setAgentProxyTimer(new ProxyIdleTimer(idleTicketConfig.getTimeout(),\n+    messageProxy.setProxyIdleTimer(new ProxyIdleTimer(idleTicketConfig.getTimeout(),\n         idleTicketConfig.getUnit()) {\n       @Override\n       public void onIdleTimeout() {\n-        sendIdleMessage(ticket);\n+        idleMessage.sendIdleMessage(ticket);\n       }\n     });\n-    messageProxy.getAgentProxyTimer().start();\n \n-    agentProxy.put(ticket.getId(), messageProxy);\n+    idleTimerManager.put(ticket.getId(), messageProxy.getProxyIdleTimer());\n \n-    aiConversation.setProxyIdleTimer(messageProxy.getAgentProxyTimer());\n+    aiConversation.setProxyIdleTimer(messageProxy.getProxyIdleTimer());\n     messageProxy.addProxyConversation(aiConversation);\n \n-    ProxyIdleTimer clientProxyIdleTimer = clientProxy.get(ticket.getId()).getAgentProxyTimer();\n-    clientProxyIdleTimer.stop();\n+//    ProxyIdleTimer clientProxyIdleTimer = clientProxy.get(ticket.getId()).getProxyIdleTimer();","path":"helpdesk-message-proxy-service/src/main/java/org/symphonyoss/symphony/bots/helpdesk/messageproxy/MessageProxyService.java","position":156,"original_position":156,"commit_id":"c10a24b725bc14880fb7d6f516ca8eb27876e137","original_commit_id":"103b79041db4f9d47597f85cc6a18b98d5cdf796","user":{"login":"ardsilva","id":3215587,"avatar_url":"https://avatars2.githubusercontent.com/u/3215587?v=4","gravatar_id":"","url":"https://api.github.com/users/ardsilva","html_url":"https://github.com/ardsilva","followers_url":"https://api.github.com/users/ardsilva/followers","following_url":"https://api.github.com/users/ardsilva/following{/other_user}","gists_url":"https://api.github.com/users/ardsilva/gists{/gist_id}","starred_url":"https://api.github.com/users/ardsilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardsilva/subscriptions","organizations_url":"https://api.github.com/users/ardsilva/orgs","repos_url":"https://api.github.com/users/ardsilva/repos","events_url":"https://api.github.com/users/ardsilva/events{/privacy}","received_events_url":"https://api.github.com/users/ardsilva/received_events","type":"User","site_admin":false},"body":"ok","created_at":"2018-03-16T20:08:50Z","updated_at":"2018-03-16T20:08:51Z","html_url":"https://github.com/symphonyoss/GroupID/pull/88#discussion_r175201709","pull_request_url":"https://api.github.com/repos/symphonyoss/GroupID/pulls/88","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/symphonyoss/GroupID/pulls/comments/175201709"},"html":{"href":"https://github.com/symphonyoss/GroupID/pull/88#discussion_r175201709"},"pull_request":{"href":"https://api.github.com/repos/symphonyoss/GroupID/pulls/88"}},"in_reply_to_id":175086333},"pull_request":{"url":"https://api.github.com/repos/symphonyoss/GroupID/pulls/88","id":175523720,"html_url":"https://github.com/symphonyoss/GroupID/pull/88","diff_url":"https://github.com/symphonyoss/GroupID/pull/88.diff","patch_url":"https://github.com/symphonyoss/GroupID/pull/88.patch","issue_url":"https://api.github.com/repos/symphonyoss/GroupID/issues/88","number":88,"state":"open","locked":false,"title":"APP-1715 Idle messages have been posted to the queue room after closing the ticket","user":{"login":"ardsilva","id":3215587,"avatar_url":"https://avatars2.githubusercontent.com/u/3215587?v=4","gravatar_id":"","url":"https://api.github.com/users/ardsilva","html_url":"https://github.com/ardsilva","followers_url":"https://api.github.com/users/ardsilva/followers","following_url":"https://api.github.com/users/ardsilva/following{/other_user}","gists_url":"https://api.github.com/users/ardsilva/gists{/gist_id}","starred_url":"https://api.github.com/users/ardsilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardsilva/subscriptions","organizations_url":"https://api.github.com/users/ardsilva/orgs","repos_url":"https://api.github.com/users/ardsilva/repos","events_url":"https://api.github.com/users/ardsilva/events{/privacy}","received_events_url":"https://api.github.com/users/ardsilva/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-16T12:49:24Z","updated_at":"2018-03-16T20:08:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9e384d8641166209f80a3a692e72301d6c14179","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":794912635,"url":"https://api.github.com/repos/symphonyoss/GroupID/labels/cla-signed","name":"cla-signed","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/symphonyoss/GroupID/pulls/88/commits","review_comments_url":"https://api.github.com/repos/symphonyoss/GroupID/pulls/88/comments","review_comment_url":"https://api.github.com/repos/symphonyoss/GroupID/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symphonyoss/GroupID/issues/88/comments","statuses_url":"https://api.github.com/repos/symphonyoss/GroupID/statuses/c10a24b725bc14880fb7d6f516ca8eb27876e137","head":{"label":"symphonyoss:APP-1715","ref":"APP-1715","sha":"c10a24b725bc14880fb7d6f516ca8eb27876e137","user":{"login":"symphonyoss","id":16778380,"avatar_url":"https://avatars1.githubusercontent.com/u/16778380?v=4","gravatar_id":"","url":"https://api.github.com/users/symphonyoss","html_url":"https://github.com/symphonyoss","followers_url":"https://api.github.com/users/symphonyoss/followers","following_url":"https://api.github.com/users/symphonyoss/following{/other_user}","gists_url":"https://api.github.com/users/symphonyoss/gists{/gist_id}","starred_url":"https://api.github.com/users/symphonyoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symphonyoss/subscriptions","organizations_url":"https://api.github.com/users/symphonyoss/orgs","repos_url":"https://api.github.com/users/symphonyoss/repos","events_url":"https://api.github.com/users/symphonyoss/events{/privacy}","received_events_url":"https://api.github.com/users/symphonyoss/received_events","type":"Organization","site_admin":false},"repo":{"id":116244995,"name":"GroupID","full_name":"symphonyoss/GroupID","owner":{"login":"symphonyoss","id":16778380,"avatar_url":"https://avatars1.githubusercontent.com/u/16778380?v=4","gravatar_id":"","url":"https://api.github.com/users/symphonyoss","html_url":"https://github.com/symphonyoss","followers_url":"https://api.github.com/users/symphonyoss/followers","following_url":"https://api.github.com/users/symphonyoss/following{/other_user}","gists_url":"https://api.github.com/users/symphonyoss/gists{/gist_id}","starred_url":"https://api.github.com/users/symphonyoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symphonyoss/subscriptions","organizations_url":"https://api.github.com/users/symphonyoss/orgs","repos_url":"https://api.github.com/users/symphonyoss/repos","events_url":"https://api.github.com/users/symphonyoss/events{/privacy}","received_events_url":"https://api.github.com/users/symphonyoss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symphonyoss/GroupID","description":"Symphony GroupID repository","fork":false,"url":"https://api.github.com/repos/symphonyoss/GroupID","forks_url":"https://api.github.com/repos/symphonyoss/GroupID/forks","keys_url":"https://api.github.com/repos/symphonyoss/GroupID/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symphonyoss/GroupID/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symphonyoss/GroupID/teams","hooks_url":"https://api.github.com/repos/symphonyoss/GroupID/hooks","issue_events_url":"https://api.github.com/repos/symphonyoss/GroupID/issues/events{/number}","events_url":"https://api.github.com/repos/symphonyoss/GroupID/events","assignees_url":"https://api.github.com/repos/symphonyoss/GroupID/assignees{/user}","branches_url":"https://api.github.com/repos/symphonyoss/GroupID/branches{/branch}","tags_url":"https://api.github.com/repos/symphonyoss/GroupID/tags","blobs_url":"https://api.github.com/repos/symphonyoss/GroupID/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symphonyoss/GroupID/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symphonyoss/GroupID/git/refs{/sha}","trees_url":"https://api.github.com/repos/symphonyoss/GroupID/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symphonyoss/GroupID/statuses/{sha}","languages_url":"https://api.github.com/repos/symphonyoss/GroupID/languages","stargazers_url":"https://api.github.com/repos/symphonyoss/GroupID/stargazers","contributors_url":"https://api.github.com/repos/symphonyoss/GroupID/contributors","subscribers_url":"https://api.github.com/repos/symphonyoss/GroupID/subscribers","subscription_url":"https://api.github.com/repos/symphonyoss/GroupID/subscription","commits_url":"https://api.github.com/repos/symphonyoss/GroupID/commits{/sha}","git_commits_url":"https://api.github.com/repos/symphonyoss/GroupID/git/commits{/sha}","comments_url":"https://api.github.com/repos/symphonyoss/GroupID/comments{/number}","issue_comment_url":"https://api.github.com/repos/symphonyoss/GroupID/issues/comments{/number}","contents_url":"https://api.github.com/repos/symphonyoss/GroupID/contents/{+path}","compare_url":"https://api.github.com/repos/symphonyoss/GroupID/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symphonyoss/GroupID/merges","archive_url":"https://api.github.com/repos/symphonyoss/GroupID/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symphonyoss/GroupID/downloads","issues_url":"https://api.github.com/repos/symphonyoss/GroupID/issues{/number}","pulls_url":"https://api.github.com/repos/symphonyoss/GroupID/pulls{/number}","milestones_url":"https://api.github.com/repos/symphonyoss/GroupID/milestones{/number}","notifications_url":"https://api.github.com/repos/symphonyoss/GroupID/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symphonyoss/GroupID/labels{/name}","releases_url":"https://api.github.com/repos/symphonyoss/GroupID/releases{/id}","deployments_url":"https://api.github.com/repos/symphonyoss/GroupID/deployments","created_at":"2018-01-04T10:08:42Z","updated_at":"2018-03-16T13:31:28Z","pushed_at":"2018-03-16T20:05:20Z","git_url":"git://github.com/symphonyoss/GroupID.git","ssh_url":"git@github.com:symphonyoss/GroupID.git","clone_url":"https://github.com/symphonyoss/GroupID.git","svn_url":"https://github.com/symphonyoss/GroupID","homepage":"","size":21209,"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":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"dev"}},"base":{"label":"symphonyoss:dev","ref":"dev","sha":"04b1c9c9b8e30baa9480362d9e1f6dbcdd369f69","user":{"login":"symphonyoss","id":16778380,"avatar_url":"https://avatars1.githubusercontent.com/u/16778380?v=4","gravatar_id":"","url":"https://api.github.com/users/symphonyoss","html_url":"https://github.com/symphonyoss","followers_url":"https://api.github.com/users/symphonyoss/followers","following_url":"https://api.github.com/users/symphonyoss/following{/other_user}","gists_url":"https://api.github.com/users/symphonyoss/gists{/gist_id}","starred_url":"https://api.github.com/users/symphonyoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symphonyoss/subscriptions","organizations_url":"https://api.github.com/users/symphonyoss/orgs","repos_url":"https://api.github.com/users/symphonyoss/repos","events_url":"https://api.github.com/users/symphonyoss/events{/privacy}","received_events_url":"https://api.github.com/users/symphonyoss/received_events","type":"Organization","site_admin":false},"repo":{"id":116244995,"name":"GroupID","full_name":"symphonyoss/GroupID","owner":{"login":"symphonyoss","id":16778380,"avatar_url":"https://avatars1.githubusercontent.com/u/16778380?v=4","gravatar_id":"","url":"https://api.github.com/users/symphonyoss","html_url":"https://github.com/symphonyoss","followers_url":"https://api.github.com/users/symphonyoss/followers","following_url":"https://api.github.com/users/symphonyoss/following{/other_user}","gists_url":"https://api.github.com/users/symphonyoss/gists{/gist_id}","starred_url":"https://api.github.com/users/symphonyoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symphonyoss/subscriptions","organizations_url":"https://api.github.com/users/symphonyoss/orgs","repos_url":"https://api.github.com/users/symphonyoss/repos","events_url":"https://api.github.com/users/symphonyoss/events{/privacy}","received_events_url":"https://api.github.com/users/symphonyoss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symphonyoss/GroupID","description":"Symphony GroupID repository","fork":false,"url":"https://api.github.com/repos/symphonyoss/GroupID","forks_url":"https://api.github.com/repos/symphonyoss/GroupID/forks","keys_url":"https://api.github.com/repos/symphonyoss/GroupID/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symphonyoss/GroupID/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symphonyoss/GroupID/teams","hooks_url":"https://api.github.com/repos/symphonyoss/GroupID/hooks","issue_events_url":"https://api.github.com/repos/symphonyoss/GroupID/issues/events{/number}","events_url":"https://api.github.com/repos/symphonyoss/GroupID/events","assignees_url":"https://api.github.com/repos/symphonyoss/GroupID/assignees{/user}","branches_url":"https://api.github.com/repos/symphonyoss/GroupID/branches{/branch}","tags_url":"https://api.github.com/repos/symphonyoss/GroupID/tags","blobs_url":"https://api.github.com/repos/symphonyoss/GroupID/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symphonyoss/GroupID/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symphonyoss/GroupID/git/refs{/sha}","trees_url":"https://api.github.com/repos/symphonyoss/GroupID/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symphonyoss/GroupID/statuses/{sha}","languages_url":"https://api.github.com/repos/symphonyoss/GroupID/languages","stargazers_url":"https://api.github.com/repos/symphonyoss/GroupID/stargazers","contributors_url":"https://api.github.com/repos/symphonyoss/GroupID/contributors","subscribers_url":"https://api.github.com/repos/symphonyoss/GroupID/subscribers","subscription_url":"https://api.github.com/repos/symphonyoss/GroupID/subscription","commits_url":"https://api.github.com/repos/symphonyoss/GroupID/commits{/sha}","git_commits_url":"https://api.github.com/repos/symphonyoss/GroupID/git/commits{/sha}","comments_url":"https://api.github.com/repos/symphonyoss/GroupID/comments{/number}","issue_comment_url":"https://api.github.com/repos/symphonyoss/GroupID/issues/comments{/number}","contents_url":"https://api.github.com/repos/symphonyoss/GroupID/contents/{+path}","compare_url":"https://api.github.com/repos/symphonyoss/GroupID/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symphonyoss/GroupID/merges","archive_url":"https://api.github.com/repos/symphonyoss/GroupID/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symphonyoss/GroupID/downloads","issues_url":"https://api.github.com/repos/symphonyoss/GroupID/issues{/number}","pulls_url":"https://api.github.com/repos/symphonyoss/GroupID/pulls{/number}","milestones_url":"https://api.github.com/repos/symphonyoss/GroupID/milestones{/number}","notifications_url":"https://api.github.com/repos/symphonyoss/GroupID/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symphonyoss/GroupID/labels{/name}","releases_url":"https://api.github.com/repos/symphonyoss/GroupID/releases{/id}","deployments_url":"https://api.github.com/repos/symphonyoss/GroupID/deployments","created_at":"2018-01-04T10:08:42Z","updated_at":"2018-03-16T13:31:28Z","pushed_at":"2018-03-16T20:05:20Z","git_url":"git://github.com/symphonyoss/GroupID.git","ssh_url":"git@github.com:symphonyoss/GroupID.git","clone_url":"https://github.com/symphonyoss/GroupID.git","svn_url":"https://github.com/symphonyoss/GroupID","homepage":"","size":21209,"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":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/symphonyoss/GroupID/pulls/88"},"html":{"href":"https://github.com/symphonyoss/GroupID/pull/88"},"issue":{"href":"https://api.github.com/repos/symphonyoss/GroupID/issues/88"},"comments":{"href":"https://api.github.com/repos/symphonyoss/GroupID/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/symphonyoss/GroupID/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/symphonyoss/GroupID/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symphonyoss/GroupID/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/symphonyoss/GroupID/statuses/c10a24b725bc14880fb7d6f516ca8eb27876e137"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ardsilva"}}