{"action":"created","comment":{"url":"https://api.github.com/repos/TomPallister/Ocelot/pulls/comments/153015807","pull_request_review_id":78970680,"id":153015807,"diff_hunk":"@@ -1,262 +1,36 @@\n-using CacheManager.Core;\n-using IdentityServer4.Models;\n-using Microsoft.AspNetCore.Http;\n+using System;\n using Microsoft.Extensions.Configuration;\n using Microsoft.Extensions.DependencyInjection;\n-using Ocelot.Authorisation;\n-using Ocelot.Cache;\n-using Ocelot.Claims;\n-using Ocelot.Configuration.Authentication;\n-using Ocelot.Configuration.Creator;\n-using Ocelot.Configuration.File;\n-using Ocelot.Configuration.Parser;\n-using Ocelot.Configuration.Provider;\n-using Ocelot.Configuration.Repository;\n-using Ocelot.Configuration.Setter;\n-using Ocelot.Configuration.Validator;\n-using Ocelot.Controllers;\n-using Ocelot.DownstreamRouteFinder.Finder;\n-using Ocelot.DownstreamRouteFinder.UrlMatcher;\n-using Ocelot.DownstreamUrlCreator;\n-using Ocelot.DownstreamUrlCreator.UrlTemplateReplacer;\n-using Ocelot.Headers;\n-using Ocelot.Infrastructure.Claims.Parser;\n-using Ocelot.Infrastructure.RequestData;\n-using Ocelot.LoadBalancer.LoadBalancers;\n-using Ocelot.Logging;\n-using Ocelot.Middleware;\n-using Ocelot.QueryStrings;\n-using Ocelot.RateLimit;\n-using Ocelot.Request.Builder;\n-using Ocelot.Request.Mapper;\n-using Ocelot.Requester;\n-using Ocelot.Requester.QoS;\n-using Ocelot.Responder;\n-using Ocelot.ServiceDiscovery;\n-using System;\n-using System.Collections.Generic;\n-using System.IdentityModel.Tokens.Jwt;\n-using System.Net.Http;\n-using System.Reflection;\n-using System.Security.Cryptography.X509Certificates;\n-using IdentityServer4.AccessTokenValidation;\n-using Microsoft.AspNetCore.Builder;\n-using Microsoft.AspNetCore.Hosting;\n-using Ocelot.Configuration;\n-using Ocelot.Configuration.Builder;\n-using FileConfigurationProvider = Ocelot.Configuration.Provider.FileConfigurationProvider;\n-using Microsoft.Extensions.DependencyInjection.Extensions;\n-using System.Linq;\n \n namespace Ocelot.DependencyInjection\n {\n+    /// <summary>\n+    /// Ocelot helper class for DI configuration\n+    /// </summary>\n     public class OcelotBuilder : IOcelotBuilder\n     {\n         private IServiceCollection _services;","path":"src/Ocelot/DependencyInjection/OcelotBuilder.cs","position":59,"original_position":59,"commit_id":"606bb1f3a8786b19022c1bcca1015f4677967d8c","original_commit_id":"606bb1f3a8786b19022c1bcca1015f4677967d8c","user":{"login":"TomPallister","id":5716716,"avatar_url":"https://avatars3.githubusercontent.com/u/5716716?v=4","gravatar_id":"","url":"https://api.github.com/users/TomPallister","html_url":"https://github.com/TomPallister","followers_url":"https://api.github.com/users/TomPallister/followers","following_url":"https://api.github.com/users/TomPallister/following{/other_user}","gists_url":"https://api.github.com/users/TomPallister/gists{/gist_id}","starred_url":"https://api.github.com/users/TomPallister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomPallister/subscriptions","organizations_url":"https://api.github.com/users/TomPallister/orgs","repos_url":"https://api.github.com/users/TomPallister/repos","events_url":"https://api.github.com/users/TomPallister/events{/privacy}","received_events_url":"https://api.github.com/users/TomPallister/received_events","type":"User","site_admin":false},"body":"These two fields are not used","created_at":"2017-11-24T18:28:59Z","updated_at":"2017-11-24T18:30:05Z","html_url":"https://github.com/TomPallister/Ocelot/pull/163#discussion_r153015807","pull_request_url":"https://api.github.com/repos/TomPallister/Ocelot/pulls/163","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/TomPallister/Ocelot/pulls/comments/153015807"},"html":{"href":"https://github.com/TomPallister/Ocelot/pull/163#discussion_r153015807"},"pull_request":{"href":"https://api.github.com/repos/TomPallister/Ocelot/pulls/163"}}},"pull_request":{"url":"https://api.github.com/repos/TomPallister/Ocelot/pulls/163","id":154490175,"html_url":"https://github.com/TomPallister/Ocelot/pull/163","diff_url":"https://github.com/TomPallister/Ocelot/pull/163.diff","patch_url":"https://github.com/TomPallister/Ocelot/pull/163.patch","issue_url":"https://api.github.com/repos/TomPallister/Ocelot/issues/163","number":163,"state":"open","locked":false,"title":"refactor: Refactor ocelot builder","user":{"login":"gitcore","id":4835062,"avatar_url":"https://avatars1.githubusercontent.com/u/4835062?v=4","gravatar_id":"","url":"https://api.github.com/users/gitcore","html_url":"https://github.com/gitcore","followers_url":"https://api.github.com/users/gitcore/followers","following_url":"https://api.github.com/users/gitcore/following{/other_user}","gists_url":"https://api.github.com/users/gitcore/gists{/gist_id}","starred_url":"https://api.github.com/users/gitcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitcore/subscriptions","organizations_url":"https://api.github.com/users/gitcore/orgs","repos_url":"https://api.github.com/users/gitcore/repos","events_url":"https://api.github.com/users/gitcore/events{/privacy}","received_events_url":"https://api.github.com/users/gitcore/received_events","type":"User","site_admin":false},"body":"Using the extension methods is more suitable for extendability","created_at":"2017-11-24T07:50:16Z","updated_at":"2017-11-24T18:30:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d7d3b4d746e90a7ac343b571ccfd812c53e5b31","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/TomPallister/Ocelot/pulls/163/commits","review_comments_url":"https://api.github.com/repos/TomPallister/Ocelot/pulls/163/comments","review_comment_url":"https://api.github.com/repos/TomPallister/Ocelot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TomPallister/Ocelot/issues/163/comments","statuses_url":"https://api.github.com/repos/TomPallister/Ocelot/statuses/606bb1f3a8786b19022c1bcca1015f4677967d8c","head":{"label":"gitcore:develop","ref":"develop","sha":"606bb1f3a8786b19022c1bcca1015f4677967d8c","user":{"login":"gitcore","id":4835062,"avatar_url":"https://avatars1.githubusercontent.com/u/4835062?v=4","gravatar_id":"","url":"https://api.github.com/users/gitcore","html_url":"https://github.com/gitcore","followers_url":"https://api.github.com/users/gitcore/followers","following_url":"https://api.github.com/users/gitcore/following{/other_user}","gists_url":"https://api.github.com/users/gitcore/gists{/gist_id}","starred_url":"https://api.github.com/users/gitcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitcore/subscriptions","organizations_url":"https://api.github.com/users/gitcore/orgs","repos_url":"https://api.github.com/users/gitcore/repos","events_url":"https://api.github.com/users/gitcore/events{/privacy}","received_events_url":"https://api.github.com/users/gitcore/received_events","type":"User","site_admin":false},"repo":{"id":111342246,"name":"Ocelot","full_name":"gitcore/Ocelot","owner":{"login":"gitcore","id":4835062,"avatar_url":"https://avatars1.githubusercontent.com/u/4835062?v=4","gravatar_id":"","url":"https://api.github.com/users/gitcore","html_url":"https://github.com/gitcore","followers_url":"https://api.github.com/users/gitcore/followers","following_url":"https://api.github.com/users/gitcore/following{/other_user}","gists_url":"https://api.github.com/users/gitcore/gists{/gist_id}","starred_url":"https://api.github.com/users/gitcore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitcore/subscriptions","organizations_url":"https://api.github.com/users/gitcore/orgs","repos_url":"https://api.github.com/users/gitcore/repos","events_url":"https://api.github.com/users/gitcore/events{/privacy}","received_events_url":"https://api.github.com/users/gitcore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gitcore/Ocelot","description":".NET core API Gateway.","fork":true,"url":"https://api.github.com/repos/gitcore/Ocelot","forks_url":"https://api.github.com/repos/gitcore/Ocelot/forks","keys_url":"https://api.github.com/repos/gitcore/Ocelot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gitcore/Ocelot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gitcore/Ocelot/teams","hooks_url":"https://api.github.com/repos/gitcore/Ocelot/hooks","issue_events_url":"https://api.github.com/repos/gitcore/Ocelot/issues/events{/number}","events_url":"https://api.github.com/repos/gitcore/Ocelot/events","assignees_url":"https://api.github.com/repos/gitcore/Ocelot/assignees{/user}","branches_url":"https://api.github.com/repos/gitcore/Ocelot/branches{/branch}","tags_url":"https://api.github.com/repos/gitcore/Ocelot/tags","blobs_url":"https://api.github.com/repos/gitcore/Ocelot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gitcore/Ocelot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gitcore/Ocelot/git/refs{/sha}","trees_url":"https://api.github.com/repos/gitcore/Ocelot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gitcore/Ocelot/statuses/{sha}","languages_url":"https://api.github.com/repos/gitcore/Ocelot/languages","stargazers_url":"https://api.github.com/repos/gitcore/Ocelot/stargazers","contributors_url":"https://api.github.com/repos/gitcore/Ocelot/contributors","subscribers_url":"https://api.github.com/repos/gitcore/Ocelot/subscribers","subscription_url":"https://api.github.com/repos/gitcore/Ocelot/subscription","commits_url":"https://api.github.com/repos/gitcore/Ocelot/commits{/sha}","git_commits_url":"https://api.github.com/repos/gitcore/Ocelot/git/commits{/sha}","comments_url":"https://api.github.com/repos/gitcore/Ocelot/comments{/number}","issue_comment_url":"https://api.github.com/repos/gitcore/Ocelot/issues/comments{/number}","contents_url":"https://api.github.com/repos/gitcore/Ocelot/contents/{+path}","compare_url":"https://api.github.com/repos/gitcore/Ocelot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gitcore/Ocelot/merges","archive_url":"https://api.github.com/repos/gitcore/Ocelot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gitcore/Ocelot/downloads","issues_url":"https://api.github.com/repos/gitcore/Ocelot/issues{/number}","pulls_url":"https://api.github.com/repos/gitcore/Ocelot/pulls{/number}","milestones_url":"https://api.github.com/repos/gitcore/Ocelot/milestones{/number}","notifications_url":"https://api.github.com/repos/gitcore/Ocelot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gitcore/Ocelot/labels{/name}","releases_url":"https://api.github.com/repos/gitcore/Ocelot/releases{/id}","deployments_url":"https://api.github.com/repos/gitcore/Ocelot/deployments","created_at":"2017-11-19T23:58:01Z","updated_at":"2017-11-19T23:58:04Z","pushed_at":"2017-11-24T07:25:19Z","git_url":"git://github.com/gitcore/Ocelot.git","ssh_url":"git@github.com:gitcore/Ocelot.git","clone_url":"https://github.com/gitcore/Ocelot.git","svn_url":"https://github.com/gitcore/Ocelot","homepage":"","size":1219,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"TomPallister:develop","ref":"develop","sha":"6289992faab8a4138e0beb0876da9b73c0987f08","user":{"login":"TomPallister","id":5716716,"avatar_url":"https://avatars3.githubusercontent.com/u/5716716?v=4","gravatar_id":"","url":"https://api.github.com/users/TomPallister","html_url":"https://github.com/TomPallister","followers_url":"https://api.github.com/users/TomPallister/followers","following_url":"https://api.github.com/users/TomPallister/following{/other_user}","gists_url":"https://api.github.com/users/TomPallister/gists{/gist_id}","starred_url":"https://api.github.com/users/TomPallister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomPallister/subscriptions","organizations_url":"https://api.github.com/users/TomPallister/orgs","repos_url":"https://api.github.com/users/TomPallister/repos","events_url":"https://api.github.com/users/TomPallister/events{/privacy}","received_events_url":"https://api.github.com/users/TomPallister/received_events","type":"User","site_admin":false},"repo":{"id":62256097,"name":"Ocelot","full_name":"TomPallister/Ocelot","owner":{"login":"TomPallister","id":5716716,"avatar_url":"https://avatars3.githubusercontent.com/u/5716716?v=4","gravatar_id":"","url":"https://api.github.com/users/TomPallister","html_url":"https://github.com/TomPallister","followers_url":"https://api.github.com/users/TomPallister/followers","following_url":"https://api.github.com/users/TomPallister/following{/other_user}","gists_url":"https://api.github.com/users/TomPallister/gists{/gist_id}","starred_url":"https://api.github.com/users/TomPallister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomPallister/subscriptions","organizations_url":"https://api.github.com/users/TomPallister/orgs","repos_url":"https://api.github.com/users/TomPallister/repos","events_url":"https://api.github.com/users/TomPallister/events{/privacy}","received_events_url":"https://api.github.com/users/TomPallister/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TomPallister/Ocelot","description":".NET core API Gateway.","fork":false,"url":"https://api.github.com/repos/TomPallister/Ocelot","forks_url":"https://api.github.com/repos/TomPallister/Ocelot/forks","keys_url":"https://api.github.com/repos/TomPallister/Ocelot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TomPallister/Ocelot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TomPallister/Ocelot/teams","hooks_url":"https://api.github.com/repos/TomPallister/Ocelot/hooks","issue_events_url":"https://api.github.com/repos/TomPallister/Ocelot/issues/events{/number}","events_url":"https://api.github.com/repos/TomPallister/Ocelot/events","assignees_url":"https://api.github.com/repos/TomPallister/Ocelot/assignees{/user}","branches_url":"https://api.github.com/repos/TomPallister/Ocelot/branches{/branch}","tags_url":"https://api.github.com/repos/TomPallister/Ocelot/tags","blobs_url":"https://api.github.com/repos/TomPallister/Ocelot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TomPallister/Ocelot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TomPallister/Ocelot/git/refs{/sha}","trees_url":"https://api.github.com/repos/TomPallister/Ocelot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TomPallister/Ocelot/statuses/{sha}","languages_url":"https://api.github.com/repos/TomPallister/Ocelot/languages","stargazers_url":"https://api.github.com/repos/TomPallister/Ocelot/stargazers","contributors_url":"https://api.github.com/repos/TomPallister/Ocelot/contributors","subscribers_url":"https://api.github.com/repos/TomPallister/Ocelot/subscribers","subscription_url":"https://api.github.com/repos/TomPallister/Ocelot/subscription","commits_url":"https://api.github.com/repos/TomPallister/Ocelot/commits{/sha}","git_commits_url":"https://api.github.com/repos/TomPallister/Ocelot/git/commits{/sha}","comments_url":"https://api.github.com/repos/TomPallister/Ocelot/comments{/number}","issue_comment_url":"https://api.github.com/repos/TomPallister/Ocelot/issues/comments{/number}","contents_url":"https://api.github.com/repos/TomPallister/Ocelot/contents/{+path}","compare_url":"https://api.github.com/repos/TomPallister/Ocelot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TomPallister/Ocelot/merges","archive_url":"https://api.github.com/repos/TomPallister/Ocelot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TomPallister/Ocelot/downloads","issues_url":"https://api.github.com/repos/TomPallister/Ocelot/issues{/number}","pulls_url":"https://api.github.com/repos/TomPallister/Ocelot/pulls{/number}","milestones_url":"https://api.github.com/repos/TomPallister/Ocelot/milestones{/number}","notifications_url":"https://api.github.com/repos/TomPallister/Ocelot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TomPallister/Ocelot/labels{/name}","releases_url":"https://api.github.com/repos/TomPallister/Ocelot/releases{/id}","deployments_url":"https://api.github.com/repos/TomPallister/Ocelot/deployments","created_at":"2016-06-29T20:35:24Z","updated_at":"2017-11-24T14:58:27Z","pushed_at":"2017-11-24T13:24:23Z","git_url":"git://github.com/TomPallister/Ocelot.git","ssh_url":"git@github.com:TomPallister/Ocelot.git","clone_url":"https://github.com/TomPallister/Ocelot.git","svn_url":"https://github.com/TomPallister/Ocelot","homepage":"","size":1222,"stargazers_count":765,"watchers_count":765,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":190,"mirror_url":null,"archived":false,"open_issues_count":26,"forks":190,"open_issues":26,"watchers":765,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/TomPallister/Ocelot/pulls/163"},"html":{"href":"https://github.com/TomPallister/Ocelot/pull/163"},"issue":{"href":"https://api.github.com/repos/TomPallister/Ocelot/issues/163"},"comments":{"href":"https://api.github.com/repos/TomPallister/Ocelot/issues/163/comments"},"review_comments":{"href":"https://api.github.com/repos/TomPallister/Ocelot/pulls/163/comments"},"review_comment":{"href":"https://api.github.com/repos/TomPallister/Ocelot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TomPallister/Ocelot/pulls/163/commits"},"statuses":{"href":"https://api.github.com/repos/TomPallister/Ocelot/statuses/606bb1f3a8786b19022c1bcca1015f4677967d8c"}},"author_association":"NONE"}}
{"actor":{"display_login":"TomPallister"}}