{"action":"created","comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls/comments/60674870","id":60674870,"diff_hunk":"@@ -0,0 +1,157 @@\n+/*\n+ * Copyright 2016 the original author or authors.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *      http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package org.springframework.cloud.task.batch.listener;\n+\n+import org.springframework.batch.core.ChunkListener;\n+import org.springframework.batch.core.ItemProcessListener;\n+import org.springframework.batch.core.ItemReadListener;\n+import org.springframework.batch.core.ItemWriteListener;\n+import org.springframework.batch.core.Job;\n+import org.springframework.batch.core.JobExecutionListener;\n+import org.springframework.batch.core.SkipListener;\n+import org.springframework.batch.core.StepExecutionListener;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;\n+import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;\n+import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;\n+import org.springframework.cloud.stream.annotation.EnableBinding;\n+import org.springframework.cloud.stream.annotation.Output;\n+import org.springframework.cloud.task.batch.listener.support.TaskBatchEventListenerBeanPostProcessor;\n+import org.springframework.cloud.task.listener.TaskLifecycleListener;\n+import org.springframework.context.annotation.Bean;\n+import org.springframework.context.annotation.Configuration;\n+import org.springframework.context.annotation.Lazy;\n+import org.springframework.integration.gateway.GatewayProxyFactoryBean;\n+import org.springframework.messaging.MessageChannel;\n+\n+/**","path":"spring-cloud-task-stream/src/main/java/org/springframework/cloud/task/batch/listener/BatchEventAutoConfiguration.java","position":41,"original_position":40,"commit_id":"5090c67f810453ca679f067dbba871ba0c0d12ff","original_commit_id":"b9ad330a9d50cfc53f133febbe2748fb7c07d8e2","user":{"login":"cppwfs","id":695673,"avatar_url":"https://avatars.githubusercontent.com/u/695673?v=3","gravatar_id":"","url":"https://api.github.com/users/cppwfs","html_url":"https://github.com/cppwfs","followers_url":"https://api.github.com/users/cppwfs/followers","following_url":"https://api.github.com/users/cppwfs/following{/other_user}","gists_url":"https://api.github.com/users/cppwfs/gists{/gist_id}","starred_url":"https://api.github.com/users/cppwfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cppwfs/subscriptions","organizations_url":"https://api.github.com/users/cppwfs/orgs","repos_url":"https://api.github.com/users/cppwfs/repos","events_url":"https://api.github.com/users/cppwfs/events{/privacy}","received_events_url":"https://api.github.com/users/cppwfs/received_events","type":"User","site_admin":false},"body":"Now Present","created_at":"2016-04-22T00:13:02Z","updated_at":"2016-04-22T00:13:02Z","html_url":"https://github.com/spring-cloud/spring-cloud-task/pull/128#discussion_r60674870","pull_request_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls/128","_links":{"self":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls/comments/60674870"},"html":{"href":"https://github.com/spring-cloud/spring-cloud-task/pull/128#discussion_r60674870"},"pull_request":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls/128"}}},"pull_request":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls/128","id":67367382,"html_url":"https://github.com/spring-cloud/spring-cloud-task/pull/128","diff_url":"https://github.com/spring-cloud/spring-cloud-task/pull/128.diff","patch_url":"https://github.com/spring-cloud/spring-cloud-task/pull/128.patch","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/issues/128","number":128,"state":"open","locked":false,"title":"SCT-119 \tAdd Job Event Messaging to task","user":{"login":"cppwfs","id":695673,"avatar_url":"https://avatars.githubusercontent.com/u/695673?v=3","gravatar_id":"","url":"https://api.github.com/users/cppwfs","html_url":"https://github.com/cppwfs","followers_url":"https://api.github.com/users/cppwfs/followers","following_url":"https://api.github.com/users/cppwfs/following{/other_user}","gists_url":"https://api.github.com/users/cppwfs/gists{/gist_id}","starred_url":"https://api.github.com/users/cppwfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cppwfs/subscriptions","organizations_url":"https://api.github.com/users/cppwfs/orgs","repos_url":"https://api.github.com/users/cppwfs/repos","events_url":"https://api.github.com/users/cppwfs/events{/privacy}","received_events_url":"https://api.github.com/users/cppwfs/received_events","type":"User","site_admin":false},"body":"resolves spring-cloud/spring-cloud-task#119","created_at":"2016-04-21T14:50:51Z","updated_at":"2016-04-22T00:13:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a23cbdb018a347a8f92b9e04d7e2b2f965c3c10b","assignee":{"login":"mminella","id":630743,"avatar_url":"https://avatars.githubusercontent.com/u/630743?v=3","gravatar_id":"","url":"https://api.github.com/users/mminella","html_url":"https://github.com/mminella","followers_url":"https://api.github.com/users/mminella/followers","following_url":"https://api.github.com/users/mminella/following{/other_user}","gists_url":"https://api.github.com/users/mminella/gists{/gist_id}","starred_url":"https://api.github.com/users/mminella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mminella/subscriptions","organizations_url":"https://api.github.com/users/mminella/orgs","repos_url":"https://api.github.com/users/mminella/repos","events_url":"https://api.github.com/users/mminella/events{/privacy}","received_events_url":"https://api.github.com/users/mminella/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls/128/commits","review_comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls/128/comments","review_comment_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/issues/128/comments","statuses_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/statuses/5090c67f810453ca679f067dbba871ba0c0d12ff","head":{"label":"cppwfs:SCT-119","ref":"SCT-119","sha":"5090c67f810453ca679f067dbba871ba0c0d12ff","user":{"login":"cppwfs","id":695673,"avatar_url":"https://avatars.githubusercontent.com/u/695673?v=3","gravatar_id":"","url":"https://api.github.com/users/cppwfs","html_url":"https://github.com/cppwfs","followers_url":"https://api.github.com/users/cppwfs/followers","following_url":"https://api.github.com/users/cppwfs/following{/other_user}","gists_url":"https://api.github.com/users/cppwfs/gists{/gist_id}","starred_url":"https://api.github.com/users/cppwfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cppwfs/subscriptions","organizations_url":"https://api.github.com/users/cppwfs/orgs","repos_url":"https://api.github.com/users/cppwfs/repos","events_url":"https://api.github.com/users/cppwfs/events{/privacy}","received_events_url":"https://api.github.com/users/cppwfs/received_events","type":"User","site_admin":false},"repo":{"id":41924843,"name":"spring-cloud-task","full_name":"cppwfs/spring-cloud-task","owner":{"login":"cppwfs","id":695673,"avatar_url":"https://avatars.githubusercontent.com/u/695673?v=3","gravatar_id":"","url":"https://api.github.com/users/cppwfs","html_url":"https://github.com/cppwfs","followers_url":"https://api.github.com/users/cppwfs/followers","following_url":"https://api.github.com/users/cppwfs/following{/other_user}","gists_url":"https://api.github.com/users/cppwfs/gists{/gist_id}","starred_url":"https://api.github.com/users/cppwfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cppwfs/subscriptions","organizations_url":"https://api.github.com/users/cppwfs/orgs","repos_url":"https://api.github.com/users/cppwfs/repos","events_url":"https://api.github.com/users/cppwfs/events{/privacy}","received_events_url":"https://api.github.com/users/cppwfs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cppwfs/spring-cloud-task","description":"","fork":true,"url":"https://api.github.com/repos/cppwfs/spring-cloud-task","forks_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/forks","keys_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/teams","hooks_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/hooks","issue_events_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/issues/events{/number}","events_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/events","assignees_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/assignees{/user}","branches_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/branches{/branch}","tags_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/tags","blobs_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/git/refs{/sha}","trees_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/statuses/{sha}","languages_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/languages","stargazers_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/stargazers","contributors_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/contributors","subscribers_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/subscribers","subscription_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/subscription","commits_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/commits{/sha}","git_commits_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/git/commits{/sha}","comments_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/comments{/number}","issue_comment_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/issues/comments{/number}","contents_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/contents/{+path}","compare_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/merges","archive_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/downloads","issues_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/issues{/number}","pulls_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/pulls{/number}","milestones_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/milestones{/number}","notifications_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/labels{/name}","releases_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/releases{/id}","deployments_url":"https://api.github.com/repos/cppwfs/spring-cloud-task/deployments","created_at":"2015-09-04T15:59:14Z","updated_at":"2016-01-19T21:41:32Z","pushed_at":"2016-04-22T00:08:50Z","git_url":"git://github.com/cppwfs/spring-cloud-task.git","ssh_url":"git@github.com:cppwfs/spring-cloud-task.git","clone_url":"https://github.com/cppwfs/spring-cloud-task.git","svn_url":"https://github.com/cppwfs/spring-cloud-task","homepage":null,"size":685,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spring-cloud:master","ref":"master","sha":"ced5a3aa879fba4033f82daaff7a7a24d62dfff5","user":{"login":"spring-cloud","id":7815877,"avatar_url":"https://avatars.githubusercontent.com/u/7815877?v=3","gravatar_id":"","url":"https://api.github.com/users/spring-cloud","html_url":"https://github.com/spring-cloud","followers_url":"https://api.github.com/users/spring-cloud/followers","following_url":"https://api.github.com/users/spring-cloud/following{/other_user}","gists_url":"https://api.github.com/users/spring-cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-cloud/subscriptions","organizations_url":"https://api.github.com/users/spring-cloud/orgs","repos_url":"https://api.github.com/users/spring-cloud/repos","events_url":"https://api.github.com/users/spring-cloud/events{/privacy}","received_events_url":"https://api.github.com/users/spring-cloud/received_events","type":"Organization","site_admin":false},"repo":{"id":41825227,"name":"spring-cloud-task","full_name":"spring-cloud/spring-cloud-task","owner":{"login":"spring-cloud","id":7815877,"avatar_url":"https://avatars.githubusercontent.com/u/7815877?v=3","gravatar_id":"","url":"https://api.github.com/users/spring-cloud","html_url":"https://github.com/spring-cloud","followers_url":"https://api.github.com/users/spring-cloud/followers","following_url":"https://api.github.com/users/spring-cloud/following{/other_user}","gists_url":"https://api.github.com/users/spring-cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-cloud/subscriptions","organizations_url":"https://api.github.com/users/spring-cloud/orgs","repos_url":"https://api.github.com/users/spring-cloud/repos","events_url":"https://api.github.com/users/spring-cloud/events{/privacy}","received_events_url":"https://api.github.com/users/spring-cloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spring-cloud/spring-cloud-task","description":"","fork":false,"url":"https://api.github.com/repos/spring-cloud/spring-cloud-task","forks_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/forks","keys_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/teams","hooks_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/hooks","issue_events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/issues/events{/number}","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/events","assignees_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/assignees{/user}","branches_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/branches{/branch}","tags_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/tags","blobs_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/git/refs{/sha}","trees_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/statuses/{sha}","languages_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/languages","stargazers_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/stargazers","contributors_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/contributors","subscribers_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/subscribers","subscription_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/subscription","commits_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/commits{/sha}","git_commits_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/git/commits{/sha}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/comments{/number}","issue_comment_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/issues/comments{/number}","contents_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/contents/{+path}","compare_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/merges","archive_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/downloads","issues_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/issues{/number}","pulls_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls{/number}","milestones_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/milestones{/number}","notifications_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/labels{/name}","releases_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/releases{/id}","deployments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-task/deployments","created_at":"2015-09-02T20:12:00Z","updated_at":"2016-04-15T09:30:34Z","pushed_at":"2016-04-22T00:08:50Z","git_url":"git://github.com/spring-cloud/spring-cloud-task.git","ssh_url":"git@github.com:spring-cloud/spring-cloud-task.git","clone_url":"https://github.com/spring-cloud/spring-cloud-task.git","svn_url":"https://github.com/spring-cloud/spring-cloud-task","homepage":null,"size":1411,"stargazers_count":15,"watchers_count":15,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":12,"forks":15,"open_issues":12,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls/128"},"html":{"href":"https://github.com/spring-cloud/spring-cloud-task/pull/128"},"issue":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-task/issues/128"},"comments":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-task/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-task/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-task/statuses/5090c67f810453ca679f067dbba871ba0c0d12ff"}}}}