{"action":"created","comment":{"url":"https://api.github.com/repos/SDVentures/Contour/pulls/comments/105665757","pull_request_review_id":26555203,"id":105665757,"diff_hunk":"@@ -287,7 +287,7 @@ public void should_accept_message()\n                     \"Body\");\n \n                 Mock<IDelivery> deliveryMock = new Mock<IDelivery>();\n-                BusProcessingContext.Current = new BusProcessingContext(deliveryMock.Object);\n+                BusProcessingContext.Current = new BusProcessingContext(deliveryMock.Object, null);","path":"Tests/Contour.Common.Tests/PatternsSpecs.cs","position":5,"original_position":5,"commit_id":"fcda5471053b78491b7f33c664573f6a2bbfcc2b","original_commit_id":"fcda5471053b78491b7f33c664573f6a2bbfcc2b","user":{"login":"semion-akimtsev","id":19775050,"avatar_url":"https://avatars2.githubusercontent.com/u/19775050?v=3","gravatar_id":"","url":"https://api.github.com/users/semion-akimtsev","html_url":"https://github.com/semion-akimtsev","followers_url":"https://api.github.com/users/semion-akimtsev/followers","following_url":"https://api.github.com/users/semion-akimtsev/following{/other_user}","gists_url":"https://api.github.com/users/semion-akimtsev/gists{/gist_id}","starred_url":"https://api.github.com/users/semion-akimtsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/semion-akimtsev/subscriptions","organizations_url":"https://api.github.com/users/semion-akimtsev/orgs","repos_url":"https://api.github.com/users/semion-akimtsev/repos","events_url":"https://api.github.com/users/semion-akimtsev/events{/privacy}","received_events_url":"https://api.github.com/users/semion-akimtsev/received_events","type":"User","site_admin":false},"body":"Bus processing context acts as an aggregate for delivery and bus, thus it should maintain it's consistency, e.x. delivery and bus context should both be null or not null.\r\nIn other way why should one provide the delivery and not the bus which is related to the delivery?\r\n\r\nThis is one more reason to push just the consuming context to the constructor and extract delivery and bus inside (assuming a potentially non-type safe cast to IDeliveryContext which should be fixed aside this task).","created_at":"2017-03-13T13:59:57Z","updated_at":"2017-03-13T13:59:57Z","html_url":"https://github.com/SDVentures/Contour/pull/23#discussion_r105665757","pull_request_url":"https://api.github.com/repos/SDVentures/Contour/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/SDVentures/Contour/pulls/comments/105665757"},"html":{"href":"https://github.com/SDVentures/Contour/pull/23#discussion_r105665757"},"pull_request":{"href":"https://api.github.com/repos/SDVentures/Contour/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/SDVentures/Contour/pulls/23","id":110379253,"html_url":"https://github.com/SDVentures/Contour/pull/23","diff_url":"https://github.com/SDVentures/Contour/pull/23.diff","patch_url":"https://github.com/SDVentures/Contour/pull/23.patch","issue_url":"https://api.github.com/repos/SDVentures/Contour/issues/23","number":23,"state":"open","locked":false,"title":"Added IBusContext to bus processing context for operators","user":{"login":"bullmastiffo","id":11883159,"avatar_url":"https://avatars1.githubusercontent.com/u/11883159?v=3","gravatar_id":"","url":"https://api.github.com/users/bullmastiffo","html_url":"https://github.com/bullmastiffo","followers_url":"https://api.github.com/users/bullmastiffo/followers","following_url":"https://api.github.com/users/bullmastiffo/following{/other_user}","gists_url":"https://api.github.com/users/bullmastiffo/gists{/gist_id}","starred_url":"https://api.github.com/users/bullmastiffo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bullmastiffo/subscriptions","organizations_url":"https://api.github.com/users/bullmastiffo/orgs","repos_url":"https://api.github.com/users/bullmastiffo/repos","events_url":"https://api.github.com/users/bullmastiffo/events{/privacy}","received_events_url":"https://api.github.com/users/bullmastiffo/received_events","type":"User","site_admin":false},"body":"To resove https://github.com/SDVentures/Contour/issues/21 added IBusContext to bus processing context for operators","created_at":"2017-03-13T10:52:07Z","updated_at":"2017-03-13T13:59:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed7070f9bec9d23e856eb4fdf528f38355fd6fab","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SDVentures/Contour/pulls/23/commits","review_comments_url":"https://api.github.com/repos/SDVentures/Contour/pulls/23/comments","review_comment_url":"https://api.github.com/repos/SDVentures/Contour/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SDVentures/Contour/issues/23/comments","statuses_url":"https://api.github.com/repos/SDVentures/Contour/statuses/fcda5471053b78491b7f33c664573f6a2bbfcc2b","head":{"label":"bullmastiffo:busprocessing","ref":"busprocessing","sha":"fcda5471053b78491b7f33c664573f6a2bbfcc2b","user":{"login":"bullmastiffo","id":11883159,"avatar_url":"https://avatars1.githubusercontent.com/u/11883159?v=3","gravatar_id":"","url":"https://api.github.com/users/bullmastiffo","html_url":"https://github.com/bullmastiffo","followers_url":"https://api.github.com/users/bullmastiffo/followers","following_url":"https://api.github.com/users/bullmastiffo/following{/other_user}","gists_url":"https://api.github.com/users/bullmastiffo/gists{/gist_id}","starred_url":"https://api.github.com/users/bullmastiffo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bullmastiffo/subscriptions","organizations_url":"https://api.github.com/users/bullmastiffo/orgs","repos_url":"https://api.github.com/users/bullmastiffo/repos","events_url":"https://api.github.com/users/bullmastiffo/events{/privacy}","received_events_url":"https://api.github.com/users/bullmastiffo/received_events","type":"User","site_admin":false},"repo":{"id":77445501,"name":"Contour","full_name":"bullmastiffo/Contour","owner":{"login":"bullmastiffo","id":11883159,"avatar_url":"https://avatars1.githubusercontent.com/u/11883159?v=3","gravatar_id":"","url":"https://api.github.com/users/bullmastiffo","html_url":"https://github.com/bullmastiffo","followers_url":"https://api.github.com/users/bullmastiffo/followers","following_url":"https://api.github.com/users/bullmastiffo/following{/other_user}","gists_url":"https://api.github.com/users/bullmastiffo/gists{/gist_id}","starred_url":"https://api.github.com/users/bullmastiffo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bullmastiffo/subscriptions","organizations_url":"https://api.github.com/users/bullmastiffo/orgs","repos_url":"https://api.github.com/users/bullmastiffo/repos","events_url":"https://api.github.com/users/bullmastiffo/events{/privacy}","received_events_url":"https://api.github.com/users/bullmastiffo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bullmastiffo/Contour","description":null,"fork":true,"url":"https://api.github.com/repos/bullmastiffo/Contour","forks_url":"https://api.github.com/repos/bullmastiffo/Contour/forks","keys_url":"https://api.github.com/repos/bullmastiffo/Contour/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bullmastiffo/Contour/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bullmastiffo/Contour/teams","hooks_url":"https://api.github.com/repos/bullmastiffo/Contour/hooks","issue_events_url":"https://api.github.com/repos/bullmastiffo/Contour/issues/events{/number}","events_url":"https://api.github.com/repos/bullmastiffo/Contour/events","assignees_url":"https://api.github.com/repos/bullmastiffo/Contour/assignees{/user}","branches_url":"https://api.github.com/repos/bullmastiffo/Contour/branches{/branch}","tags_url":"https://api.github.com/repos/bullmastiffo/Contour/tags","blobs_url":"https://api.github.com/repos/bullmastiffo/Contour/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bullmastiffo/Contour/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bullmastiffo/Contour/git/refs{/sha}","trees_url":"https://api.github.com/repos/bullmastiffo/Contour/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bullmastiffo/Contour/statuses/{sha}","languages_url":"https://api.github.com/repos/bullmastiffo/Contour/languages","stargazers_url":"https://api.github.com/repos/bullmastiffo/Contour/stargazers","contributors_url":"https://api.github.com/repos/bullmastiffo/Contour/contributors","subscribers_url":"https://api.github.com/repos/bullmastiffo/Contour/subscribers","subscription_url":"https://api.github.com/repos/bullmastiffo/Contour/subscription","commits_url":"https://api.github.com/repos/bullmastiffo/Contour/commits{/sha}","git_commits_url":"https://api.github.com/repos/bullmastiffo/Contour/git/commits{/sha}","comments_url":"https://api.github.com/repos/bullmastiffo/Contour/comments{/number}","issue_comment_url":"https://api.github.com/repos/bullmastiffo/Contour/issues/comments{/number}","contents_url":"https://api.github.com/repos/bullmastiffo/Contour/contents/{+path}","compare_url":"https://api.github.com/repos/bullmastiffo/Contour/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bullmastiffo/Contour/merges","archive_url":"https://api.github.com/repos/bullmastiffo/Contour/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bullmastiffo/Contour/downloads","issues_url":"https://api.github.com/repos/bullmastiffo/Contour/issues{/number}","pulls_url":"https://api.github.com/repos/bullmastiffo/Contour/pulls{/number}","milestones_url":"https://api.github.com/repos/bullmastiffo/Contour/milestones{/number}","notifications_url":"https://api.github.com/repos/bullmastiffo/Contour/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bullmastiffo/Contour/labels{/name}","releases_url":"https://api.github.com/repos/bullmastiffo/Contour/releases{/id}","deployments_url":"https://api.github.com/repos/bullmastiffo/Contour/deployments","created_at":"2016-12-27T09:59:34Z","updated_at":"2016-12-27T09:59:37Z","pushed_at":"2017-03-13T10:50:13Z","git_url":"git://github.com/bullmastiffo/Contour.git","ssh_url":"git@github.com:bullmastiffo/Contour.git","clone_url":"https://github.com/bullmastiffo/Contour.git","svn_url":"https://github.com/bullmastiffo/Contour","homepage":null,"size":508,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"SDVentures:master","ref":"master","sha":"157dfeed2f09c0c2dec7b681b84f1beeb6031f66","user":{"login":"SDVentures","id":14763752,"avatar_url":"https://avatars3.githubusercontent.com/u/14763752?v=3","gravatar_id":"","url":"https://api.github.com/users/SDVentures","html_url":"https://github.com/SDVentures","followers_url":"https://api.github.com/users/SDVentures/followers","following_url":"https://api.github.com/users/SDVentures/following{/other_user}","gists_url":"https://api.github.com/users/SDVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/SDVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDVentures/subscriptions","organizations_url":"https://api.github.com/users/SDVentures/orgs","repos_url":"https://api.github.com/users/SDVentures/repos","events_url":"https://api.github.com/users/SDVentures/events{/privacy}","received_events_url":"https://api.github.com/users/SDVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":44839502,"name":"Contour","full_name":"SDVentures/Contour","owner":{"login":"SDVentures","id":14763752,"avatar_url":"https://avatars3.githubusercontent.com/u/14763752?v=3","gravatar_id":"","url":"https://api.github.com/users/SDVentures","html_url":"https://github.com/SDVentures","followers_url":"https://api.github.com/users/SDVentures/followers","following_url":"https://api.github.com/users/SDVentures/following{/other_user}","gists_url":"https://api.github.com/users/SDVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/SDVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDVentures/subscriptions","organizations_url":"https://api.github.com/users/SDVentures/orgs","repos_url":"https://api.github.com/users/SDVentures/repos","events_url":"https://api.github.com/users/SDVentures/events{/privacy}","received_events_url":"https://api.github.com/users/SDVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SDVentures/Contour","description":null,"fork":false,"url":"https://api.github.com/repos/SDVentures/Contour","forks_url":"https://api.github.com/repos/SDVentures/Contour/forks","keys_url":"https://api.github.com/repos/SDVentures/Contour/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SDVentures/Contour/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SDVentures/Contour/teams","hooks_url":"https://api.github.com/repos/SDVentures/Contour/hooks","issue_events_url":"https://api.github.com/repos/SDVentures/Contour/issues/events{/number}","events_url":"https://api.github.com/repos/SDVentures/Contour/events","assignees_url":"https://api.github.com/repos/SDVentures/Contour/assignees{/user}","branches_url":"https://api.github.com/repos/SDVentures/Contour/branches{/branch}","tags_url":"https://api.github.com/repos/SDVentures/Contour/tags","blobs_url":"https://api.github.com/repos/SDVentures/Contour/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SDVentures/Contour/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SDVentures/Contour/git/refs{/sha}","trees_url":"https://api.github.com/repos/SDVentures/Contour/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SDVentures/Contour/statuses/{sha}","languages_url":"https://api.github.com/repos/SDVentures/Contour/languages","stargazers_url":"https://api.github.com/repos/SDVentures/Contour/stargazers","contributors_url":"https://api.github.com/repos/SDVentures/Contour/contributors","subscribers_url":"https://api.github.com/repos/SDVentures/Contour/subscribers","subscription_url":"https://api.github.com/repos/SDVentures/Contour/subscription","commits_url":"https://api.github.com/repos/SDVentures/Contour/commits{/sha}","git_commits_url":"https://api.github.com/repos/SDVentures/Contour/git/commits{/sha}","comments_url":"https://api.github.com/repos/SDVentures/Contour/comments{/number}","issue_comment_url":"https://api.github.com/repos/SDVentures/Contour/issues/comments{/number}","contents_url":"https://api.github.com/repos/SDVentures/Contour/contents/{+path}","compare_url":"https://api.github.com/repos/SDVentures/Contour/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SDVentures/Contour/merges","archive_url":"https://api.github.com/repos/SDVentures/Contour/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SDVentures/Contour/downloads","issues_url":"https://api.github.com/repos/SDVentures/Contour/issues{/number}","pulls_url":"https://api.github.com/repos/SDVentures/Contour/pulls{/number}","milestones_url":"https://api.github.com/repos/SDVentures/Contour/milestones{/number}","notifications_url":"https://api.github.com/repos/SDVentures/Contour/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SDVentures/Contour/labels{/name}","releases_url":"https://api.github.com/repos/SDVentures/Contour/releases{/id}","deployments_url":"https://api.github.com/repos/SDVentures/Contour/deployments","created_at":"2015-10-23T21:27:44Z","updated_at":"2017-02-02T09:01:45Z","pushed_at":"2017-03-13T10:52:08Z","git_url":"git://github.com/SDVentures/Contour.git","ssh_url":"git@github.com:SDVentures/Contour.git","clone_url":"https://github.com/SDVentures/Contour.git","svn_url":"https://github.com/SDVentures/Contour","homepage":null,"size":507,"stargazers_count":13,"watchers_count":13,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":12,"forks":9,"open_issues":12,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SDVentures/Contour/pulls/23"},"html":{"href":"https://github.com/SDVentures/Contour/pull/23"},"issue":{"href":"https://api.github.com/repos/SDVentures/Contour/issues/23"},"comments":{"href":"https://api.github.com/repos/SDVentures/Contour/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/SDVentures/Contour/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/SDVentures/Contour/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SDVentures/Contour/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/SDVentures/Contour/statuses/fcda5471053b78491b7f33c664573f6a2bbfcc2b"}}}}
{"actor":{"display_login":"semion-akimtsev"}}