{"action":"created","comment":{"url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/comments/53801295","id":53801295,"diff_hunk":"@@ -0,0 +1,37 @@\n+from pecan import expose\n+from pecan import rest\n+from wsmeext import pecan as wsme_pecan\n+from wsme import types as wtypes\n+\n+import controller\n+\n+\n+class ControllerResolver(object):\n+    \"\"\"this class send parameter to controller class\n+    according to query string\"\"\"\n+    create_network_device_config = controller.Controller(\n+        \"create_network_device_config\")\n+    delete_network_device_config = controller.Controller(\n+        \"delete_network_device_config\")\n+    update_network_device_config = controller.Controller(\n+        \"update_network_device_config\")\n+    create_network_service_config = controller.Controller(\n+        \"create_network_service_config\")\n+    delete_network_service_config = controller.Controller(\n+        \"delete_network_service_config\")\n+    update_network_service_config = controller.Controller(\n+        \"update_network_service_config\")\n+    get_notifications = controller.Controller(\"get_notifications\")\n+\n+\n+class V1Controller(object):\n+\n+    \"\"\" all request with nsf in query land here\"\"\"\n+    nfp = ControllerResolver()","path":"gbpservice/neutron/nsf/configurator/api/v1/controllers/__init__.py","position":30,"original_position":30,"commit_id":"4708faf5f708f39048998471b50ed9513e2f38e7","original_commit_id":"4708faf5f708f39048998471b50ed9513e2f38e7","user":{"login":"njagadish","id":13430691,"avatar_url":"https://avatars.githubusercontent.com/u/13430691?v=3","gravatar_id":"","url":"https://api.github.com/users/njagadish","html_url":"https://github.com/njagadish","followers_url":"https://api.github.com/users/njagadish/followers","following_url":"https://api.github.com/users/njagadish/following{/other_user}","gists_url":"https://api.github.com/users/njagadish/gists{/gist_id}","starred_url":"https://api.github.com/users/njagadish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njagadish/subscriptions","organizations_url":"https://api.github.com/users/njagadish/orgs","repos_url":"https://api.github.com/users/njagadish/repos","events_url":"https://api.github.com/users/njagadish/events{/privacy}","received_events_url":"https://api.github.com/users/njagadish/received_events","type":"User","site_admin":false},"body":"Why is the class name ControllerResolver?","created_at":"2016-02-23T16:03:21Z","updated_at":"2016-02-23T16:03:21Z","html_url":"https://github.com/oneconvergence/group-based-policy/pull/57#discussion_r53801295","pull_request_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/comments/53801295"},"html":{"href":"https://github.com/oneconvergence/group-based-policy/pull/57#discussion_r53801295"},"pull_request":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/57","id":59138422,"html_url":"https://github.com/oneconvergence/group-based-policy/pull/57","diff_url":"https://github.com/oneconvergence/group-based-policy/pull/57.diff","patch_url":"https://github.com/oneconvergence/group-based-policy/pull/57.patch","issue_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/57","number":57,"state":"open","locked":false,"title":"Configurator rest","user":{"login":"hiteshhapani","id":14544582,"avatar_url":"https://avatars.githubusercontent.com/u/14544582?v=3","gravatar_id":"","url":"https://api.github.com/users/hiteshhapani","html_url":"https://github.com/hiteshhapani","followers_url":"https://api.github.com/users/hiteshhapani/followers","following_url":"https://api.github.com/users/hiteshhapani/following{/other_user}","gists_url":"https://api.github.com/users/hiteshhapani/gists{/gist_id}","starred_url":"https://api.github.com/users/hiteshhapani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiteshhapani/subscriptions","organizations_url":"https://api.github.com/users/hiteshhapani/orgs","repos_url":"https://api.github.com/users/hiteshhapani/repos","events_url":"https://api.github.com/users/hiteshhapani/events{/privacy}","received_events_url":"https://api.github.com/users/hiteshhapani/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-12T06:38:27Z","updated_at":"2016-02-23T16:03:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9cfdd9ef71985c8d3fa90035d1e6b308ae2fa668","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/57/commits","review_comments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/57/comments","review_comment_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/57/comments","statuses_url":"https://api.github.com/repos/oneconvergence/group-based-policy/statuses/4708faf5f708f39048998471b50ed9513e2f38e7","head":{"label":"oneconvergence:configurator-rest","ref":"configurator-rest","sha":"4708faf5f708f39048998471b50ed9513e2f38e7","user":{"login":"oneconvergence","id":8160602,"avatar_url":"https://avatars.githubusercontent.com/u/8160602?v=3","gravatar_id":"","url":"https://api.github.com/users/oneconvergence","html_url":"https://github.com/oneconvergence","followers_url":"https://api.github.com/users/oneconvergence/followers","following_url":"https://api.github.com/users/oneconvergence/following{/other_user}","gists_url":"https://api.github.com/users/oneconvergence/gists{/gist_id}","starred_url":"https://api.github.com/users/oneconvergence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oneconvergence/subscriptions","organizations_url":"https://api.github.com/users/oneconvergence/orgs","repos_url":"https://api.github.com/users/oneconvergence/repos","events_url":"https://api.github.com/users/oneconvergence/events{/privacy}","received_events_url":"https://api.github.com/users/oneconvergence/received_events","type":"Organization","site_admin":false},"repo":{"id":34099604,"name":"group-based-policy","full_name":"oneconvergence/group-based-policy","owner":{"login":"oneconvergence","id":8160602,"avatar_url":"https://avatars.githubusercontent.com/u/8160602?v=3","gravatar_id":"","url":"https://api.github.com/users/oneconvergence","html_url":"https://github.com/oneconvergence","followers_url":"https://api.github.com/users/oneconvergence/followers","following_url":"https://api.github.com/users/oneconvergence/following{/other_user}","gists_url":"https://api.github.com/users/oneconvergence/gists{/gist_id}","starred_url":"https://api.github.com/users/oneconvergence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oneconvergence/subscriptions","organizations_url":"https://api.github.com/users/oneconvergence/orgs","repos_url":"https://api.github.com/users/oneconvergence/repos","events_url":"https://api.github.com/users/oneconvergence/events{/privacy}","received_events_url":"https://api.github.com/users/oneconvergence/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oneconvergence/group-based-policy","description":"Group Based Policy","fork":true,"url":"https://api.github.com/repos/oneconvergence/group-based-policy","forks_url":"https://api.github.com/repos/oneconvergence/group-based-policy/forks","keys_url":"https://api.github.com/repos/oneconvergence/group-based-policy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oneconvergence/group-based-policy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oneconvergence/group-based-policy/teams","hooks_url":"https://api.github.com/repos/oneconvergence/group-based-policy/hooks","issue_events_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/events{/number}","events_url":"https://api.github.com/repos/oneconvergence/group-based-policy/events","assignees_url":"https://api.github.com/repos/oneconvergence/group-based-policy/assignees{/user}","branches_url":"https://api.github.com/repos/oneconvergence/group-based-policy/branches{/branch}","tags_url":"https://api.github.com/repos/oneconvergence/group-based-policy/tags","blobs_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/refs{/sha}","trees_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oneconvergence/group-based-policy/statuses/{sha}","languages_url":"https://api.github.com/repos/oneconvergence/group-based-policy/languages","stargazers_url":"https://api.github.com/repos/oneconvergence/group-based-policy/stargazers","contributors_url":"https://api.github.com/repos/oneconvergence/group-based-policy/contributors","subscribers_url":"https://api.github.com/repos/oneconvergence/group-based-policy/subscribers","subscription_url":"https://api.github.com/repos/oneconvergence/group-based-policy/subscription","commits_url":"https://api.github.com/repos/oneconvergence/group-based-policy/commits{/sha}","git_commits_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/commits{/sha}","comments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/comments{/number}","issue_comment_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/comments{/number}","contents_url":"https://api.github.com/repos/oneconvergence/group-based-policy/contents/{+path}","compare_url":"https://api.github.com/repos/oneconvergence/group-based-policy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oneconvergence/group-based-policy/merges","archive_url":"https://api.github.com/repos/oneconvergence/group-based-policy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oneconvergence/group-based-policy/downloads","issues_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues{/number}","pulls_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls{/number}","milestones_url":"https://api.github.com/repos/oneconvergence/group-based-policy/milestones{/number}","notifications_url":"https://api.github.com/repos/oneconvergence/group-based-policy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oneconvergence/group-based-policy/labels{/name}","releases_url":"https://api.github.com/repos/oneconvergence/group-based-policy/releases{/id}","deployments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/deployments","created_at":"2015-04-17T06:06:34Z","updated_at":"2016-02-19T14:46:42Z","pushed_at":"2016-02-23T13:43:44Z","git_url":"git://github.com/oneconvergence/group-based-policy.git","ssh_url":"git@github.com:oneconvergence/group-based-policy.git","clone_url":"https://github.com/oneconvergence/group-based-policy.git","svn_url":"https://github.com/oneconvergence/group-based-policy","homepage":"http://openstack.org","size":4870,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":10,"forks":3,"open_issues":10,"watchers":0,"default_branch":"oneconvergence_service_node_driver"}},"base":{"label":"oneconvergence:configurator","ref":"configurator","sha":"66acc36320179d5688fdadb33b9fe1d28bc528ac","user":{"login":"oneconvergence","id":8160602,"avatar_url":"https://avatars.githubusercontent.com/u/8160602?v=3","gravatar_id":"","url":"https://api.github.com/users/oneconvergence","html_url":"https://github.com/oneconvergence","followers_url":"https://api.github.com/users/oneconvergence/followers","following_url":"https://api.github.com/users/oneconvergence/following{/other_user}","gists_url":"https://api.github.com/users/oneconvergence/gists{/gist_id}","starred_url":"https://api.github.com/users/oneconvergence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oneconvergence/subscriptions","organizations_url":"https://api.github.com/users/oneconvergence/orgs","repos_url":"https://api.github.com/users/oneconvergence/repos","events_url":"https://api.github.com/users/oneconvergence/events{/privacy}","received_events_url":"https://api.github.com/users/oneconvergence/received_events","type":"Organization","site_admin":false},"repo":{"id":34099604,"name":"group-based-policy","full_name":"oneconvergence/group-based-policy","owner":{"login":"oneconvergence","id":8160602,"avatar_url":"https://avatars.githubusercontent.com/u/8160602?v=3","gravatar_id":"","url":"https://api.github.com/users/oneconvergence","html_url":"https://github.com/oneconvergence","followers_url":"https://api.github.com/users/oneconvergence/followers","following_url":"https://api.github.com/users/oneconvergence/following{/other_user}","gists_url":"https://api.github.com/users/oneconvergence/gists{/gist_id}","starred_url":"https://api.github.com/users/oneconvergence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oneconvergence/subscriptions","organizations_url":"https://api.github.com/users/oneconvergence/orgs","repos_url":"https://api.github.com/users/oneconvergence/repos","events_url":"https://api.github.com/users/oneconvergence/events{/privacy}","received_events_url":"https://api.github.com/users/oneconvergence/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oneconvergence/group-based-policy","description":"Group Based Policy","fork":true,"url":"https://api.github.com/repos/oneconvergence/group-based-policy","forks_url":"https://api.github.com/repos/oneconvergence/group-based-policy/forks","keys_url":"https://api.github.com/repos/oneconvergence/group-based-policy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oneconvergence/group-based-policy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oneconvergence/group-based-policy/teams","hooks_url":"https://api.github.com/repos/oneconvergence/group-based-policy/hooks","issue_events_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/events{/number}","events_url":"https://api.github.com/repos/oneconvergence/group-based-policy/events","assignees_url":"https://api.github.com/repos/oneconvergence/group-based-policy/assignees{/user}","branches_url":"https://api.github.com/repos/oneconvergence/group-based-policy/branches{/branch}","tags_url":"https://api.github.com/repos/oneconvergence/group-based-policy/tags","blobs_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/refs{/sha}","trees_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oneconvergence/group-based-policy/statuses/{sha}","languages_url":"https://api.github.com/repos/oneconvergence/group-based-policy/languages","stargazers_url":"https://api.github.com/repos/oneconvergence/group-based-policy/stargazers","contributors_url":"https://api.github.com/repos/oneconvergence/group-based-policy/contributors","subscribers_url":"https://api.github.com/repos/oneconvergence/group-based-policy/subscribers","subscription_url":"https://api.github.com/repos/oneconvergence/group-based-policy/subscription","commits_url":"https://api.github.com/repos/oneconvergence/group-based-policy/commits{/sha}","git_commits_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/commits{/sha}","comments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/comments{/number}","issue_comment_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/comments{/number}","contents_url":"https://api.github.com/repos/oneconvergence/group-based-policy/contents/{+path}","compare_url":"https://api.github.com/repos/oneconvergence/group-based-policy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oneconvergence/group-based-policy/merges","archive_url":"https://api.github.com/repos/oneconvergence/group-based-policy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oneconvergence/group-based-policy/downloads","issues_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues{/number}","pulls_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls{/number}","milestones_url":"https://api.github.com/repos/oneconvergence/group-based-policy/milestones{/number}","notifications_url":"https://api.github.com/repos/oneconvergence/group-based-policy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oneconvergence/group-based-policy/labels{/name}","releases_url":"https://api.github.com/repos/oneconvergence/group-based-policy/releases{/id}","deployments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/deployments","created_at":"2015-04-17T06:06:34Z","updated_at":"2016-02-19T14:46:42Z","pushed_at":"2016-02-23T13:43:44Z","git_url":"git://github.com/oneconvergence/group-based-policy.git","ssh_url":"git@github.com:oneconvergence/group-based-policy.git","clone_url":"https://github.com/oneconvergence/group-based-policy.git","svn_url":"https://github.com/oneconvergence/group-based-policy","homepage":"http://openstack.org","size":4870,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":10,"forks":3,"open_issues":10,"watchers":0,"default_branch":"oneconvergence_service_node_driver"}},"_links":{"self":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/57"},"html":{"href":"https://github.com/oneconvergence/group-based-policy/pull/57"},"issue":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/57"},"comments":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/statuses/4708faf5f708f39048998471b50ed9513e2f38e7"}}}}