{"action":"created","comment":{"url":"https://api.github.com/repos/cerner/jwala/pulls/comments/110736756","pull_request_review_id":31930686,"id":110736756,"diff_hunk":"@@ -27,10 +29,12 @@\n import com.cerner.jwala.service.webserver.exception.WebServerServiceException;\n import org.apache.commons.io.FileUtils;\n import org.apache.commons.io.IOUtils;\n+import org.joda.time.DateTime;\n import org.slf4j.Logger;\n import org.slf4j.LoggerFactory;\n import org.springframework.beans.factory.annotation.Autowired;\n import org.springframework.beans.factory.annotation.Qualifier;\n+import org.springframework.messaging.simp.SimpMessagingTemplate;","path":"jwala-services/src/main/java/com/cerner/jwala/service/webserver/impl/WebServerServiceImpl.java","position":18,"original_position":18,"commit_id":"f952fc2baf19ab544c5cab0243d1905a77edf127","original_commit_id":"f952fc2baf19ab544c5cab0243d1905a77edf127","user":{"login":"jeddcuison","id":10065908,"avatar_url":"https://avatars0.githubusercontent.com/u/10065908?v=3","gravatar_id":"","url":"https://api.github.com/users/jeddcuison","html_url":"https://github.com/jeddcuison","followers_url":"https://api.github.com/users/jeddcuison/followers","following_url":"https://api.github.com/users/jeddcuison/following{/other_user}","gists_url":"https://api.github.com/users/jeddcuison/gists{/gist_id}","starred_url":"https://api.github.com/users/jeddcuison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeddcuison/subscriptions","organizations_url":"https://api.github.com/users/jeddcuison/orgs","repos_url":"https://api.github.com/users/jeddcuison/repos","events_url":"https://api.github.com/users/jeddcuison/events{/privacy}","received_events_url":"https://api.github.com/users/jeddcuison/received_events","type":"User","site_admin":false},"body":"In case we need to send a message, can we just use the MessagingService instead ?","created_at":"2017-04-10T19:00:27Z","updated_at":"2017-04-10T19:00:27Z","html_url":"https://github.com/cerner/jwala/pull/69#discussion_r110736756","pull_request_url":"https://api.github.com/repos/cerner/jwala/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/cerner/jwala/pulls/comments/110736756"},"html":{"href":"https://github.com/cerner/jwala/pull/69#discussion_r110736756"},"pull_request":{"href":"https://api.github.com/repos/cerner/jwala/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/cerner/jwala/pulls/69","id":115150485,"html_url":"https://github.com/cerner/jwala/pull/69","diff_url":"https://github.com/cerner/jwala/pull/69.diff","patch_url":"https://github.com/cerner/jwala/pull/69.patch","issue_url":"https://api.github.com/repos/cerner/jwala/issues/69","number":69,"state":"open","locked":false,"title":"notify the UI that a web server was generated ","user":{"login":"jmahmoodcc","id":25931975,"avatar_url":"https://avatars0.githubusercontent.com/u/25931975?v=3","gravatar_id":"","url":"https://api.github.com/users/jmahmoodcc","html_url":"https://github.com/jmahmoodcc","followers_url":"https://api.github.com/users/jmahmoodcc/followers","following_url":"https://api.github.com/users/jmahmoodcc/following{/other_user}","gists_url":"https://api.github.com/users/jmahmoodcc/gists{/gist_id}","starred_url":"https://api.github.com/users/jmahmoodcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmahmoodcc/subscriptions","organizations_url":"https://api.github.com/users/jmahmoodcc/orgs","repos_url":"https://api.github.com/users/jmahmoodcc/repos","events_url":"https://api.github.com/users/jmahmoodcc/events{/privacy}","received_events_url":"https://api.github.com/users/jmahmoodcc/received_events","type":"User","site_admin":false},"body":"After generating a web server from the Operations tab, the state of the web server does not get updated from NEW to STOPPED. This causes problems when trying to start the web server from the UI immediately after generating.\r\n\r\nThe fix is to send the state update to the UI immediately after completing the web server generation.","created_at":"2017-04-10T17:21:40Z","updated_at":"2017-04-10T19:00:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf7accab837d636a6c5782243f702e7abc3c6100","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cerner/jwala/pulls/69/commits","review_comments_url":"https://api.github.com/repos/cerner/jwala/pulls/69/comments","review_comment_url":"https://api.github.com/repos/cerner/jwala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cerner/jwala/issues/69/comments","statuses_url":"https://api.github.com/repos/cerner/jwala/statuses/f952fc2baf19ab544c5cab0243d1905a77edf127","head":{"label":"cerner:webserver-deploy","ref":"webserver-deploy","sha":"f952fc2baf19ab544c5cab0243d1905a77edf127","user":{"login":"cerner","id":1873208,"avatar_url":"https://avatars2.githubusercontent.com/u/1873208?v=3","gravatar_id":"","url":"https://api.github.com/users/cerner","html_url":"https://github.com/cerner","followers_url":"https://api.github.com/users/cerner/followers","following_url":"https://api.github.com/users/cerner/following{/other_user}","gists_url":"https://api.github.com/users/cerner/gists{/gist_id}","starred_url":"https://api.github.com/users/cerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerner/subscriptions","organizations_url":"https://api.github.com/users/cerner/orgs","repos_url":"https://api.github.com/users/cerner/repos","events_url":"https://api.github.com/users/cerner/events{/privacy}","received_events_url":"https://api.github.com/users/cerner/received_events","type":"Organization","site_admin":false},"repo":{"id":82604742,"name":"jwala","full_name":"cerner/jwala","owner":{"login":"cerner","id":1873208,"avatar_url":"https://avatars2.githubusercontent.com/u/1873208?v=3","gravatar_id":"","url":"https://api.github.com/users/cerner","html_url":"https://github.com/cerner","followers_url":"https://api.github.com/users/cerner/followers","following_url":"https://api.github.com/users/cerner/following{/other_user}","gists_url":"https://api.github.com/users/cerner/gists{/gist_id}","starred_url":"https://api.github.com/users/cerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerner/subscriptions","organizations_url":"https://api.github.com/users/cerner/orgs","repos_url":"https://api.github.com/users/cerner/repos","events_url":"https://api.github.com/users/cerner/events{/privacy}","received_events_url":"https://api.github.com/users/cerner/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cerner/jwala","description":"A web application that provides management for a group of Tomcat servers","fork":false,"url":"https://api.github.com/repos/cerner/jwala","forks_url":"https://api.github.com/repos/cerner/jwala/forks","keys_url":"https://api.github.com/repos/cerner/jwala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cerner/jwala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cerner/jwala/teams","hooks_url":"https://api.github.com/repos/cerner/jwala/hooks","issue_events_url":"https://api.github.com/repos/cerner/jwala/issues/events{/number}","events_url":"https://api.github.com/repos/cerner/jwala/events","assignees_url":"https://api.github.com/repos/cerner/jwala/assignees{/user}","branches_url":"https://api.github.com/repos/cerner/jwala/branches{/branch}","tags_url":"https://api.github.com/repos/cerner/jwala/tags","blobs_url":"https://api.github.com/repos/cerner/jwala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cerner/jwala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cerner/jwala/git/refs{/sha}","trees_url":"https://api.github.com/repos/cerner/jwala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cerner/jwala/statuses/{sha}","languages_url":"https://api.github.com/repos/cerner/jwala/languages","stargazers_url":"https://api.github.com/repos/cerner/jwala/stargazers","contributors_url":"https://api.github.com/repos/cerner/jwala/contributors","subscribers_url":"https://api.github.com/repos/cerner/jwala/subscribers","subscription_url":"https://api.github.com/repos/cerner/jwala/subscription","commits_url":"https://api.github.com/repos/cerner/jwala/commits{/sha}","git_commits_url":"https://api.github.com/repos/cerner/jwala/git/commits{/sha}","comments_url":"https://api.github.com/repos/cerner/jwala/comments{/number}","issue_comment_url":"https://api.github.com/repos/cerner/jwala/issues/comments{/number}","contents_url":"https://api.github.com/repos/cerner/jwala/contents/{+path}","compare_url":"https://api.github.com/repos/cerner/jwala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cerner/jwala/merges","archive_url":"https://api.github.com/repos/cerner/jwala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cerner/jwala/downloads","issues_url":"https://api.github.com/repos/cerner/jwala/issues{/number}","pulls_url":"https://api.github.com/repos/cerner/jwala/pulls{/number}","milestones_url":"https://api.github.com/repos/cerner/jwala/milestones{/number}","notifications_url":"https://api.github.com/repos/cerner/jwala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cerner/jwala/labels{/name}","releases_url":"https://api.github.com/repos/cerner/jwala/releases{/id}","deployments_url":"https://api.github.com/repos/cerner/jwala/deployments","created_at":"2017-02-20T21:31:29Z","updated_at":"2017-04-09T12:17:25Z","pushed_at":"2017-04-10T18:39:31Z","git_url":"git://github.com/cerner/jwala.git","ssh_url":"git@github.com:cerner/jwala.git","clone_url":"https://github.com/cerner/jwala.git","svn_url":"https://github.com/cerner/jwala","homepage":null,"size":27598,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":5,"default_branch":"master"}},"base":{"label":"cerner:master","ref":"master","sha":"04aaf5adc0084c25fec2debe408756aec5b65e11","user":{"login":"cerner","id":1873208,"avatar_url":"https://avatars2.githubusercontent.com/u/1873208?v=3","gravatar_id":"","url":"https://api.github.com/users/cerner","html_url":"https://github.com/cerner","followers_url":"https://api.github.com/users/cerner/followers","following_url":"https://api.github.com/users/cerner/following{/other_user}","gists_url":"https://api.github.com/users/cerner/gists{/gist_id}","starred_url":"https://api.github.com/users/cerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerner/subscriptions","organizations_url":"https://api.github.com/users/cerner/orgs","repos_url":"https://api.github.com/users/cerner/repos","events_url":"https://api.github.com/users/cerner/events{/privacy}","received_events_url":"https://api.github.com/users/cerner/received_events","type":"Organization","site_admin":false},"repo":{"id":82604742,"name":"jwala","full_name":"cerner/jwala","owner":{"login":"cerner","id":1873208,"avatar_url":"https://avatars2.githubusercontent.com/u/1873208?v=3","gravatar_id":"","url":"https://api.github.com/users/cerner","html_url":"https://github.com/cerner","followers_url":"https://api.github.com/users/cerner/followers","following_url":"https://api.github.com/users/cerner/following{/other_user}","gists_url":"https://api.github.com/users/cerner/gists{/gist_id}","starred_url":"https://api.github.com/users/cerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerner/subscriptions","organizations_url":"https://api.github.com/users/cerner/orgs","repos_url":"https://api.github.com/users/cerner/repos","events_url":"https://api.github.com/users/cerner/events{/privacy}","received_events_url":"https://api.github.com/users/cerner/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cerner/jwala","description":"A web application that provides management for a group of Tomcat servers","fork":false,"url":"https://api.github.com/repos/cerner/jwala","forks_url":"https://api.github.com/repos/cerner/jwala/forks","keys_url":"https://api.github.com/repos/cerner/jwala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cerner/jwala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cerner/jwala/teams","hooks_url":"https://api.github.com/repos/cerner/jwala/hooks","issue_events_url":"https://api.github.com/repos/cerner/jwala/issues/events{/number}","events_url":"https://api.github.com/repos/cerner/jwala/events","assignees_url":"https://api.github.com/repos/cerner/jwala/assignees{/user}","branches_url":"https://api.github.com/repos/cerner/jwala/branches{/branch}","tags_url":"https://api.github.com/repos/cerner/jwala/tags","blobs_url":"https://api.github.com/repos/cerner/jwala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cerner/jwala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cerner/jwala/git/refs{/sha}","trees_url":"https://api.github.com/repos/cerner/jwala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cerner/jwala/statuses/{sha}","languages_url":"https://api.github.com/repos/cerner/jwala/languages","stargazers_url":"https://api.github.com/repos/cerner/jwala/stargazers","contributors_url":"https://api.github.com/repos/cerner/jwala/contributors","subscribers_url":"https://api.github.com/repos/cerner/jwala/subscribers","subscription_url":"https://api.github.com/repos/cerner/jwala/subscription","commits_url":"https://api.github.com/repos/cerner/jwala/commits{/sha}","git_commits_url":"https://api.github.com/repos/cerner/jwala/git/commits{/sha}","comments_url":"https://api.github.com/repos/cerner/jwala/comments{/number}","issue_comment_url":"https://api.github.com/repos/cerner/jwala/issues/comments{/number}","contents_url":"https://api.github.com/repos/cerner/jwala/contents/{+path}","compare_url":"https://api.github.com/repos/cerner/jwala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cerner/jwala/merges","archive_url":"https://api.github.com/repos/cerner/jwala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cerner/jwala/downloads","issues_url":"https://api.github.com/repos/cerner/jwala/issues{/number}","pulls_url":"https://api.github.com/repos/cerner/jwala/pulls{/number}","milestones_url":"https://api.github.com/repos/cerner/jwala/milestones{/number}","notifications_url":"https://api.github.com/repos/cerner/jwala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cerner/jwala/labels{/name}","releases_url":"https://api.github.com/repos/cerner/jwala/releases{/id}","deployments_url":"https://api.github.com/repos/cerner/jwala/deployments","created_at":"2017-02-20T21:31:29Z","updated_at":"2017-04-09T12:17:25Z","pushed_at":"2017-04-10T18:39:31Z","git_url":"git://github.com/cerner/jwala.git","ssh_url":"git@github.com:cerner/jwala.git","clone_url":"https://github.com/cerner/jwala.git","svn_url":"https://github.com/cerner/jwala","homepage":null,"size":27598,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cerner/jwala/pulls/69"},"html":{"href":"https://github.com/cerner/jwala/pull/69"},"issue":{"href":"https://api.github.com/repos/cerner/jwala/issues/69"},"comments":{"href":"https://api.github.com/repos/cerner/jwala/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/cerner/jwala/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/cerner/jwala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cerner/jwala/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/cerner/jwala/statuses/f952fc2baf19ab544c5cab0243d1905a77edf127"}}}}
{"actor":{"display_login":"jeddcuison"}}