{"action":"created","comment":{"url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls/comments/77685564","id":77685564,"diff_hunk":"@@ -137,12 +141,25 @@\n \n \t\t\t\t// Get the ResourceMetadata\n \t\t\t\tExecuteServiceJob jobItem = (ExecuteServiceJob) jobType;\n+\t\t\t\tjobItem.setJobId(consumerRecord.key());\n \t\t\t\tExecuteServiceData esData = jobItem.data;\n \t\t\t\tif (esData.dataOutput != null) {\n \n \t\t\t\t\tif (Thread.interrupted()) {\n \t\t\t\t\t\tthrow new InterruptedException();\n \t\t\t\t\t}\n+\t\t\t\t\t\n+\t\t\t\t\t// Determine if this is a Synchronous or an Asynchronous Job. \n+\t\t\t\t\tService service = accessor.getServiceById(esData.getServiceId());\n+\t\t\t\t\tif (service.getIsAsynchronous().equals(true)) {","path":"mainServiceController/src/main/java/org/venice/piazza/servicecontroller/messaging/ServiceMessageWorker.java","position":32,"original_position":32,"commit_id":"7f6bdac30b6a2560b23606b36b743159dda4f81b","original_commit_id":"7f6bdac30b6a2560b23606b36b743159dda4f81b","user":{"login":"russellorf","id":16306731,"avatar_url":"https://avatars.githubusercontent.com/u/16306731?v=3","gravatar_id":"","url":"https://api.github.com/users/russellorf","html_url":"https://github.com/russellorf","followers_url":"https://api.github.com/users/russellorf/followers","following_url":"https://api.github.com/users/russellorf/following{/other_user}","gists_url":"https://api.github.com/users/russellorf/gists{/gist_id}","starred_url":"https://api.github.com/users/russellorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellorf/subscriptions","organizations_url":"https://api.github.com/users/russellorf/orgs","repos_url":"https://api.github.com/users/russellorf/repos","events_url":"https://api.github.com/users/russellorf/events{/privacy}","received_events_url":"https://api.github.com/users/russellorf/received_events","type":"User","site_admin":false},"body":"Why not use `service.getIsAsynchronous().booleanValue()`?","created_at":"2016-09-06T17:53:54Z","updated_at":"2016-09-06T17:53:54Z","html_url":"https://github.com/venicegeo/pz-servicecontroller/pull/55#discussion_r77685564","pull_request_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls/comments/77685564"},"html":{"href":"https://github.com/venicegeo/pz-servicecontroller/pull/55#discussion_r77685564"},"pull_request":{"href":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls/55","id":84114892,"html_url":"https://github.com/venicegeo/pz-servicecontroller/pull/55","diff_url":"https://github.com/venicegeo/pz-servicecontroller/pull/55.diff","patch_url":"https://github.com/venicegeo/pz-servicecontroller/pull/55.patch","issue_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/issues/55","number":55,"state":"open","locked":false,"title":"6221 Asynchronous User Services","user":{"login":"go0ty","id":3855282,"avatar_url":"https://avatars.githubusercontent.com/u/3855282?v=3","gravatar_id":"","url":"https://api.github.com/users/go0ty","html_url":"https://github.com/go0ty","followers_url":"https://api.github.com/users/go0ty/followers","following_url":"https://api.github.com/users/go0ty/following{/other_user}","gists_url":"https://api.github.com/users/go0ty/gists{/gist_id}","starred_url":"https://api.github.com/users/go0ty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go0ty/subscriptions","organizations_url":"https://api.github.com/users/go0ty/orgs","repos_url":"https://api.github.com/users/go0ty/repos","events_url":"https://api.github.com/users/go0ty/events{/privacy}","received_events_url":"https://api.github.com/users/go0ty/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-09-06T12:42:15Z","updated_at":"2016-09-06T17:53:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02ab521c052553983817fd400727584191007fe1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls/55/commits","review_comments_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls/55/comments","review_comment_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls/comments{/number}","comments_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/issues/55/comments","statuses_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/statuses/7f6bdac30b6a2560b23606b36b743159dda4f81b","head":{"label":"venicegeo:6221-Asynchronous-User-Services","ref":"6221-Asynchronous-User-Services","sha":"7f6bdac30b6a2560b23606b36b743159dda4f81b","user":{"login":"venicegeo","id":15457149,"avatar_url":"https://avatars.githubusercontent.com/u/15457149?v=3","gravatar_id":"","url":"https://api.github.com/users/venicegeo","html_url":"https://github.com/venicegeo","followers_url":"https://api.github.com/users/venicegeo/followers","following_url":"https://api.github.com/users/venicegeo/following{/other_user}","gists_url":"https://api.github.com/users/venicegeo/gists{/gist_id}","starred_url":"https://api.github.com/users/venicegeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venicegeo/subscriptions","organizations_url":"https://api.github.com/users/venicegeo/orgs","repos_url":"https://api.github.com/users/venicegeo/repos","events_url":"https://api.github.com/users/venicegeo/events{/privacy}","received_events_url":"https://api.github.com/users/venicegeo/received_events","type":"Organization","site_admin":false},"repo":{"id":47989986,"name":"pz-servicecontroller","full_name":"venicegeo/pz-servicecontroller","owner":{"login":"venicegeo","id":15457149,"avatar_url":"https://avatars.githubusercontent.com/u/15457149?v=3","gravatar_id":"","url":"https://api.github.com/users/venicegeo","html_url":"https://github.com/venicegeo","followers_url":"https://api.github.com/users/venicegeo/followers","following_url":"https://api.github.com/users/venicegeo/following{/other_user}","gists_url":"https://api.github.com/users/venicegeo/gists{/gist_id}","starred_url":"https://api.github.com/users/venicegeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venicegeo/subscriptions","organizations_url":"https://api.github.com/users/venicegeo/orgs","repos_url":"https://api.github.com/users/venicegeo/repos","events_url":"https://api.github.com/users/venicegeo/events{/privacy}","received_events_url":"https://api.github.com/users/venicegeo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/venicegeo/pz-servicecontroller","description":"Repo for the Piazza core service controller responsible for managing and executing REST services.","fork":false,"url":"https://api.github.com/repos/venicegeo/pz-servicecontroller","forks_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/forks","keys_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/teams","hooks_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/hooks","issue_events_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/issues/events{/number}","events_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/events","assignees_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/assignees{/user}","branches_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/branches{/branch}","tags_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/tags","blobs_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/git/refs{/sha}","trees_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/statuses/{sha}","languages_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/languages","stargazers_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/stargazers","contributors_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/contributors","subscribers_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/subscribers","subscription_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/subscription","commits_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/commits{/sha}","git_commits_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/git/commits{/sha}","comments_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/comments{/number}","issue_comment_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/issues/comments{/number}","contents_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/contents/{+path}","compare_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/merges","archive_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/downloads","issues_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/issues{/number}","pulls_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls{/number}","milestones_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/milestones{/number}","notifications_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/labels{/name}","releases_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/releases{/id}","deployments_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/deployments","created_at":"2015-12-14T17:18:14Z","updated_at":"2016-08-22T05:57:56Z","pushed_at":"2016-09-06T12:42:16Z","git_url":"git://github.com/venicegeo/pz-servicecontroller.git","ssh_url":"git@github.com:venicegeo/pz-servicecontroller.git","clone_url":"https://github.com/venicegeo/pz-servicecontroller.git","svn_url":"https://github.com/venicegeo/pz-servicecontroller","homepage":"","size":828,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"venicegeo:master","ref":"master","sha":"bc4ae9e86ac3a63195b73187da1c694237e476a4","user":{"login":"venicegeo","id":15457149,"avatar_url":"https://avatars.githubusercontent.com/u/15457149?v=3","gravatar_id":"","url":"https://api.github.com/users/venicegeo","html_url":"https://github.com/venicegeo","followers_url":"https://api.github.com/users/venicegeo/followers","following_url":"https://api.github.com/users/venicegeo/following{/other_user}","gists_url":"https://api.github.com/users/venicegeo/gists{/gist_id}","starred_url":"https://api.github.com/users/venicegeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venicegeo/subscriptions","organizations_url":"https://api.github.com/users/venicegeo/orgs","repos_url":"https://api.github.com/users/venicegeo/repos","events_url":"https://api.github.com/users/venicegeo/events{/privacy}","received_events_url":"https://api.github.com/users/venicegeo/received_events","type":"Organization","site_admin":false},"repo":{"id":47989986,"name":"pz-servicecontroller","full_name":"venicegeo/pz-servicecontroller","owner":{"login":"venicegeo","id":15457149,"avatar_url":"https://avatars.githubusercontent.com/u/15457149?v=3","gravatar_id":"","url":"https://api.github.com/users/venicegeo","html_url":"https://github.com/venicegeo","followers_url":"https://api.github.com/users/venicegeo/followers","following_url":"https://api.github.com/users/venicegeo/following{/other_user}","gists_url":"https://api.github.com/users/venicegeo/gists{/gist_id}","starred_url":"https://api.github.com/users/venicegeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venicegeo/subscriptions","organizations_url":"https://api.github.com/users/venicegeo/orgs","repos_url":"https://api.github.com/users/venicegeo/repos","events_url":"https://api.github.com/users/venicegeo/events{/privacy}","received_events_url":"https://api.github.com/users/venicegeo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/venicegeo/pz-servicecontroller","description":"Repo for the Piazza core service controller responsible for managing and executing REST services.","fork":false,"url":"https://api.github.com/repos/venicegeo/pz-servicecontroller","forks_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/forks","keys_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/teams","hooks_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/hooks","issue_events_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/issues/events{/number}","events_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/events","assignees_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/assignees{/user}","branches_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/branches{/branch}","tags_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/tags","blobs_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/git/refs{/sha}","trees_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/statuses/{sha}","languages_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/languages","stargazers_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/stargazers","contributors_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/contributors","subscribers_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/subscribers","subscription_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/subscription","commits_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/commits{/sha}","git_commits_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/git/commits{/sha}","comments_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/comments{/number}","issue_comment_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/issues/comments{/number}","contents_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/contents/{+path}","compare_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/merges","archive_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/downloads","issues_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/issues{/number}","pulls_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls{/number}","milestones_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/milestones{/number}","notifications_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/labels{/name}","releases_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/releases{/id}","deployments_url":"https://api.github.com/repos/venicegeo/pz-servicecontroller/deployments","created_at":"2015-12-14T17:18:14Z","updated_at":"2016-08-22T05:57:56Z","pushed_at":"2016-09-06T12:42:16Z","git_url":"git://github.com/venicegeo/pz-servicecontroller.git","ssh_url":"git@github.com:venicegeo/pz-servicecontroller.git","clone_url":"https://github.com/venicegeo/pz-servicecontroller.git","svn_url":"https://github.com/venicegeo/pz-servicecontroller","homepage":"","size":828,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls/55"},"html":{"href":"https://github.com/venicegeo/pz-servicecontroller/pull/55"},"issue":{"href":"https://api.github.com/repos/venicegeo/pz-servicecontroller/issues/55"},"comments":{"href":"https://api.github.com/repos/venicegeo/pz-servicecontroller/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/venicegeo/pz-servicecontroller/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/venicegeo/pz-servicecontroller/statuses/7f6bdac30b6a2560b23606b36b743159dda4f81b"}}}}
{"actor":{"display_login":"russellorf"}}