{"action":"created","comment":{"url":"https://api.github.com/repos/OData/WebApi/pulls/comments/37318222","id":37318222,"diff_hunk":"@@ -43,13 +43,36 @@ public ActionDescriptor SelectAction(RouteContext routeContext)\n                     controllerName = entitySetSegment.EntitySet.Name;\n                 }\n \n+                var operationImportSegment = odataPath.FirstSegment as OperationImportSegment;","path":"vNext/src/Microsoft.AspNet.OData/Routing/Conventions/DefaultODataRoutingConvention.cs","position":4,"original_position":4,"commit_id":"f3448c175e876d270b6e59701e0750e66f0d2813","original_commit_id":"f3448c175e876d270b6e59701e0750e66f0d2813","user":{"login":"gfrappier","id":13457522,"avatar_url":"https://avatars.githubusercontent.com/u/13457522?v=3","gravatar_id":"","url":"https://api.github.com/users/gfrappier","html_url":"https://github.com/gfrappier","followers_url":"https://api.github.com/users/gfrappier/followers","following_url":"https://api.github.com/users/gfrappier/following{/other_user}","gists_url":"https://api.github.com/users/gfrappier/gists{/gist_id}","starred_url":"https://api.github.com/users/gfrappier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfrappier/subscriptions","organizations_url":"https://api.github.com/users/gfrappier/orgs","repos_url":"https://api.github.com/users/gfrappier/repos","events_url":"https://api.github.com/users/gfrappier/events{/privacy}","received_events_url":"https://api.github.com/users/gfrappier/received_events","type":"User","site_admin":false},"body":"Do you want to create a new class in Routing\\Convention and declaring a new interface for it (same interface as IODataRoutingConvention)? I believe this should be done in a different branch since it will involve registering new routing convention and handling it in code. \r\n\r\nCurrently, the only function in place is used in the Customer context, so I have routed the function to the Customer controller. Do you envision a separate controller for function/action imports?","created_at":"2015-08-18T16:10:47Z","updated_at":"2015-08-18T16:10:47Z","html_url":"https://github.com/OData/WebApi/pull/476#discussion_r37318222","pull_request_url":"https://api.github.com/repos/OData/WebApi/pulls/476","_links":{"self":{"href":"https://api.github.com/repos/OData/WebApi/pulls/comments/37318222"},"html":{"href":"https://github.com/OData/WebApi/pull/476#discussion_r37318222"},"pull_request":{"href":"https://api.github.com/repos/OData/WebApi/pulls/476"}}},"pull_request":{"url":"https://api.github.com/repos/OData/WebApi/pulls/476","id":42417259,"html_url":"https://github.com/OData/WebApi/pull/476","diff_url":"https://github.com/OData/WebApi/pull/476.diff","patch_url":"https://github.com/OData/WebApi/pull/476.patch","issue_url":"https://api.github.com/repos/OData/WebApi/issues/476","number":476,"state":"open","locked":false,"title":"Action and function discovery support","user":{"login":"gfrappier","id":13457522,"avatar_url":"https://avatars.githubusercontent.com/u/13457522?v=3","gravatar_id":"","url":"https://api.github.com/users/gfrappier","html_url":"https://github.com/gfrappier","followers_url":"https://api.github.com/users/gfrappier/followers","following_url":"https://api.github.com/users/gfrappier/following{/other_user}","gists_url":"https://api.github.com/users/gfrappier/gists{/gist_id}","starred_url":"https://api.github.com/users/gfrappier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfrappier/subscriptions","organizations_url":"https://api.github.com/users/gfrappier/orgs","repos_url":"https://api.github.com/users/gfrappier/repos","events_url":"https://api.github.com/users/gfrappier/events{/privacy}","received_events_url":"https://api.github.com/users/gfrappier/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-14T01:37:37Z","updated_at":"2015-08-18T16:10:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d9433635f946ecb9da082eb9a86b72e4c5dc0ca","assignee":null,"milestone":{"url":"https://api.github.com/repos/OData/WebApi/milestones/15","html_url":"https://github.com/OData/WebApi/milestones/6.0%20alpha2","labels_url":"https://api.github.com/repos/OData/WebApi/milestones/15/labels","id":1250942,"number":15,"title":"6.0 alpha2","description":"","creator":{"login":"congysu","id":7425148,"avatar_url":"https://avatars.githubusercontent.com/u/7425148?v=3","gravatar_id":"","url":"https://api.github.com/users/congysu","html_url":"https://github.com/congysu","followers_url":"https://api.github.com/users/congysu/followers","following_url":"https://api.github.com/users/congysu/following{/other_user}","gists_url":"https://api.github.com/users/congysu/gists{/gist_id}","starred_url":"https://api.github.com/users/congysu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/congysu/subscriptions","organizations_url":"https://api.github.com/users/congysu/orgs","repos_url":"https://api.github.com/users/congysu/repos","events_url":"https://api.github.com/users/congysu/events{/privacy}","received_events_url":"https://api.github.com/users/congysu/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2015-08-12T01:00:47Z","updated_at":"2015-08-14T06:11:54Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/OData/WebApi/pulls/476/commits","review_comments_url":"https://api.github.com/repos/OData/WebApi/pulls/476/comments","review_comment_url":"https://api.github.com/repos/OData/WebApi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OData/WebApi/issues/476/comments","statuses_url":"https://api.github.com/repos/OData/WebApi/statuses/f3448c175e876d270b6e59701e0750e66f0d2813","head":{"label":"gfrappier:method","ref":"method","sha":"f3448c175e876d270b6e59701e0750e66f0d2813","user":{"login":"gfrappier","id":13457522,"avatar_url":"https://avatars.githubusercontent.com/u/13457522?v=3","gravatar_id":"","url":"https://api.github.com/users/gfrappier","html_url":"https://github.com/gfrappier","followers_url":"https://api.github.com/users/gfrappier/followers","following_url":"https://api.github.com/users/gfrappier/following{/other_user}","gists_url":"https://api.github.com/users/gfrappier/gists{/gist_id}","starred_url":"https://api.github.com/users/gfrappier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfrappier/subscriptions","organizations_url":"https://api.github.com/users/gfrappier/orgs","repos_url":"https://api.github.com/users/gfrappier/repos","events_url":"https://api.github.com/users/gfrappier/events{/privacy}","received_events_url":"https://api.github.com/users/gfrappier/received_events","type":"User","site_admin":false},"repo":{"id":40487539,"name":"WebApi","full_name":"gfrappier/WebApi","owner":{"login":"gfrappier","id":13457522,"avatar_url":"https://avatars.githubusercontent.com/u/13457522?v=3","gravatar_id":"","url":"https://api.github.com/users/gfrappier","html_url":"https://github.com/gfrappier","followers_url":"https://api.github.com/users/gfrappier/followers","following_url":"https://api.github.com/users/gfrappier/following{/other_user}","gists_url":"https://api.github.com/users/gfrappier/gists{/gist_id}","starred_url":"https://api.github.com/users/gfrappier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfrappier/subscriptions","organizations_url":"https://api.github.com/users/gfrappier/orgs","repos_url":"https://api.github.com/users/gfrappier/repos","events_url":"https://api.github.com/users/gfrappier/events{/privacy}","received_events_url":"https://api.github.com/users/gfrappier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gfrappier/WebApi","description":"OData Web API: A server library built upon ODataLib and WebApi","fork":true,"url":"https://api.github.com/repos/gfrappier/WebApi","forks_url":"https://api.github.com/repos/gfrappier/WebApi/forks","keys_url":"https://api.github.com/repos/gfrappier/WebApi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gfrappier/WebApi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gfrappier/WebApi/teams","hooks_url":"https://api.github.com/repos/gfrappier/WebApi/hooks","issue_events_url":"https://api.github.com/repos/gfrappier/WebApi/issues/events{/number}","events_url":"https://api.github.com/repos/gfrappier/WebApi/events","assignees_url":"https://api.github.com/repos/gfrappier/WebApi/assignees{/user}","branches_url":"https://api.github.com/repos/gfrappier/WebApi/branches{/branch}","tags_url":"https://api.github.com/repos/gfrappier/WebApi/tags","blobs_url":"https://api.github.com/repos/gfrappier/WebApi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gfrappier/WebApi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gfrappier/WebApi/git/refs{/sha}","trees_url":"https://api.github.com/repos/gfrappier/WebApi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gfrappier/WebApi/statuses/{sha}","languages_url":"https://api.github.com/repos/gfrappier/WebApi/languages","stargazers_url":"https://api.github.com/repos/gfrappier/WebApi/stargazers","contributors_url":"https://api.github.com/repos/gfrappier/WebApi/contributors","subscribers_url":"https://api.github.com/repos/gfrappier/WebApi/subscribers","subscription_url":"https://api.github.com/repos/gfrappier/WebApi/subscription","commits_url":"https://api.github.com/repos/gfrappier/WebApi/commits{/sha}","git_commits_url":"https://api.github.com/repos/gfrappier/WebApi/git/commits{/sha}","comments_url":"https://api.github.com/repos/gfrappier/WebApi/comments{/number}","issue_comment_url":"https://api.github.com/repos/gfrappier/WebApi/issues/comments{/number}","contents_url":"https://api.github.com/repos/gfrappier/WebApi/contents/{+path}","compare_url":"https://api.github.com/repos/gfrappier/WebApi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gfrappier/WebApi/merges","archive_url":"https://api.github.com/repos/gfrappier/WebApi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gfrappier/WebApi/downloads","issues_url":"https://api.github.com/repos/gfrappier/WebApi/issues{/number}","pulls_url":"https://api.github.com/repos/gfrappier/WebApi/pulls{/number}","milestones_url":"https://api.github.com/repos/gfrappier/WebApi/milestones{/number}","notifications_url":"https://api.github.com/repos/gfrappier/WebApi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gfrappier/WebApi/labels{/name}","releases_url":"https://api.github.com/repos/gfrappier/WebApi/releases{/id}","created_at":"2015-08-10T14:38:39Z","updated_at":"2015-08-10T14:38:46Z","pushed_at":"2015-08-13T20:52:54Z","git_url":"git://github.com/gfrappier/WebApi.git","ssh_url":"git@github.com:gfrappier/WebApi.git","clone_url":"https://github.com/gfrappier/WebApi.git","svn_url":"https://github.com/gfrappier/WebApi","homepage":"http://odata.github.io/WebApi","size":13301,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"OData:master","ref":"master","sha":"a9f309886fece9dd7fe7229e7b7bf87f355a8c2c","user":{"login":"OData","id":916520,"avatar_url":"https://avatars.githubusercontent.com/u/916520?v=3","gravatar_id":"","url":"https://api.github.com/users/OData","html_url":"https://github.com/OData","followers_url":"https://api.github.com/users/OData/followers","following_url":"https://api.github.com/users/OData/following{/other_user}","gists_url":"https://api.github.com/users/OData/gists{/gist_id}","starred_url":"https://api.github.com/users/OData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OData/subscriptions","organizations_url":"https://api.github.com/users/OData/orgs","repos_url":"https://api.github.com/users/OData/repos","events_url":"https://api.github.com/users/OData/events{/privacy}","received_events_url":"https://api.github.com/users/OData/received_events","type":"Organization","site_admin":false},"repo":{"id":28804670,"name":"WebApi","full_name":"OData/WebApi","owner":{"login":"OData","id":916520,"avatar_url":"https://avatars.githubusercontent.com/u/916520?v=3","gravatar_id":"","url":"https://api.github.com/users/OData","html_url":"https://github.com/OData","followers_url":"https://api.github.com/users/OData/followers","following_url":"https://api.github.com/users/OData/following{/other_user}","gists_url":"https://api.github.com/users/OData/gists{/gist_id}","starred_url":"https://api.github.com/users/OData/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OData/subscriptions","organizations_url":"https://api.github.com/users/OData/orgs","repos_url":"https://api.github.com/users/OData/repos","events_url":"https://api.github.com/users/OData/events{/privacy}","received_events_url":"https://api.github.com/users/OData/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OData/WebApi","description":"OData Web API: A server library built upon ODataLib and WebApi","fork":false,"url":"https://api.github.com/repos/OData/WebApi","forks_url":"https://api.github.com/repos/OData/WebApi/forks","keys_url":"https://api.github.com/repos/OData/WebApi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OData/WebApi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OData/WebApi/teams","hooks_url":"https://api.github.com/repos/OData/WebApi/hooks","issue_events_url":"https://api.github.com/repos/OData/WebApi/issues/events{/number}","events_url":"https://api.github.com/repos/OData/WebApi/events","assignees_url":"https://api.github.com/repos/OData/WebApi/assignees{/user}","branches_url":"https://api.github.com/repos/OData/WebApi/branches{/branch}","tags_url":"https://api.github.com/repos/OData/WebApi/tags","blobs_url":"https://api.github.com/repos/OData/WebApi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OData/WebApi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OData/WebApi/git/refs{/sha}","trees_url":"https://api.github.com/repos/OData/WebApi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OData/WebApi/statuses/{sha}","languages_url":"https://api.github.com/repos/OData/WebApi/languages","stargazers_url":"https://api.github.com/repos/OData/WebApi/stargazers","contributors_url":"https://api.github.com/repos/OData/WebApi/contributors","subscribers_url":"https://api.github.com/repos/OData/WebApi/subscribers","subscription_url":"https://api.github.com/repos/OData/WebApi/subscription","commits_url":"https://api.github.com/repos/OData/WebApi/commits{/sha}","git_commits_url":"https://api.github.com/repos/OData/WebApi/git/commits{/sha}","comments_url":"https://api.github.com/repos/OData/WebApi/comments{/number}","issue_comment_url":"https://api.github.com/repos/OData/WebApi/issues/comments{/number}","contents_url":"https://api.github.com/repos/OData/WebApi/contents/{+path}","compare_url":"https://api.github.com/repos/OData/WebApi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OData/WebApi/merges","archive_url":"https://api.github.com/repos/OData/WebApi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OData/WebApi/downloads","issues_url":"https://api.github.com/repos/OData/WebApi/issues{/number}","pulls_url":"https://api.github.com/repos/OData/WebApi/pulls{/number}","milestones_url":"https://api.github.com/repos/OData/WebApi/milestones{/number}","notifications_url":"https://api.github.com/repos/OData/WebApi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OData/WebApi/labels{/name}","releases_url":"https://api.github.com/repos/OData/WebApi/releases{/id}","created_at":"2015-01-05T08:50:51Z","updated_at":"2015-08-17T20:23:08Z","pushed_at":"2015-08-18T09:42:27Z","git_url":"git://github.com/OData/WebApi.git","ssh_url":"git@github.com:OData/WebApi.git","clone_url":"https://github.com/OData/WebApi.git","svn_url":"https://github.com/OData/WebApi","homepage":"http://odata.github.io/WebApi","size":26817,"stargazers_count":113,"watchers_count":113,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":69,"mirror_url":null,"open_issues_count":251,"forks":69,"open_issues":251,"watchers":113,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OData/WebApi/pulls/476"},"html":{"href":"https://github.com/OData/WebApi/pull/476"},"issue":{"href":"https://api.github.com/repos/OData/WebApi/issues/476"},"comments":{"href":"https://api.github.com/repos/OData/WebApi/issues/476/comments"},"review_comments":{"href":"https://api.github.com/repos/OData/WebApi/pulls/476/comments"},"review_comment":{"href":"https://api.github.com/repos/OData/WebApi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OData/WebApi/pulls/476/commits"},"statuses":{"href":"https://api.github.com/repos/OData/WebApi/statuses/f3448c175e876d270b6e59701e0750e66f0d2813"}}}}