{"action":"created","comment":{"url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/comments/57555858","id":57555858,"diff_hunk":"@@ -0,0 +1,204 @@\n+#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n+#    not use this file except in compliance with the License. You may obtain\n+#    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, WITHOUT\n+#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n+#    License for the specific language governing permissions and limitations\n+#    under the License.\n+\n+import gbpservice.nfp.configurator.lib.schema as schema\n+import gbpservice.nfp.configurator.lib.schema_validator as sv\n+import unittest\n+\n+\n+\"\"\"SchemaResources is a helper class which contains all the dummy resources\n+   needed for TestSchemaValidator class\n+\"\"\"\n+\n+\n+class SchemaResources():\n+    resource_healthmonitor = 'healthmonitor'\n+    resource_interfaces = 'interfaces'\n+    resource_routes = 'routes'\n+\n+    request_data = {'info': {'version': 'v1'},\n+                    'config': [{'resource': resource_healthmonitor,\n+                                'kwargs': {}\n+                                }]\n+                    }\n+\n+    request_data_info = {'version': 'v1'}\n+\n+    request_data_config = {'resource': resource_healthmonitor,\n+                           'kwargs': {}\n+                           }\n+\n+    interfaces = {'context': {},\n+                  'request_info': {},\n+                  'vm_mgmt_ip': '127.0.0.1',\n+                  'service_vendor': 'vyos',\n+                  'provider_ip': '11.0.0.4',\n+                  'provider_cidr': '11.0.0.0/24',\n+                  'provider_interface_position': '2',\n+                  'stitching_ip': '33.0.0.4',\n+                  'stitching_cidr': '33.0.0.0/24',\n+                  'stitching_interface_position': '3',\n+                  'provider_mac': 'e1:6d:af:23:b8:91',\n+                  'stitching_mac': 'e1:6d:af:23:b8:11',\n+                  'rule_info': {'active_provider_mac': 'e1:6d:af:23:b8:91',\n+                                'active_stitching_mac': 'e1:6d:af:23:b8:11',\n+                                'active_fip': '192.168.100.141',\n+                                'service_id':\n+                                    '6350c0fd-07f8-46ff-b797-62acd2371234',\n+                                'tenant_id':\n+                                    '9950c088-07f8-46ff-b797-62acd2371234'\n+                                },\n+                  'service_type': 'firewall'\n+                  }\n+\n+    interfaces_rule_info = {'active_provider_mac': 'e1:6d:af:23:b8:91',\n+                            'active_stitching_mac': 'e1:6d:af:23:b8:11',\n+                            'active_fip': '192.168.100.141',\n+                            'service_id':\n+                                '6350c0fd-07f8-46ff-b797-62acd2371234',\n+                            'tenant_id': '9950c088-07f8-46ff-b797-62acd2371234'\n+                            }\n+\n+    routes = {'context': {},\n+              'request_info': {},\n+              'vm_mgmt_ip': '127.0.0.1',\n+              'service_vendor': 'vyos',\n+              'source_cidrs': '11.0.0.0/24',\n+              'destination_cidr': '22.0.0.0/24',\n+              'gateway_ip': '11.0.0.1',\n+              'provider_interface_position': '2',\n+              'service_type': 'firewall',\n+              }\n+\n+    healthmonitor = {'context': {},\n+                     'request_info': {},\n+                     'service_type': 'loadbalancer',\n+                     'vmid': '6350c0fd-07f8-46ff-b797-62acd2371234',\n+                     'mgmt_ip': '127.0.0.1',\n+                     'periodicity': 'initial'\n+                     }\n+\n+\"\"\"TestSchemaValidator is a test class to test schema_validator.py using\n+   unittest framework\n+\"\"\"\n+\n+\n+class TestSchemaValidator(unittest.TestCase):\n+\n+    def __init__(self, *args, **kwargs):\n+        super(TestSchemaValidator, self).__init__(*args, **kwargs)\n+        self.sv = sv.SchemaValidator()\n+        self.sr = SchemaResources()\n+\n+    def make_request_data(self, resource, kwargs):\n+        \"\"\"Prepares request data\n+\n+        :param resource - resource_name\n+        :param kwargs - kwargs\n+\n+        Returns: request_data\n+\n+        \"\"\"\n+\n+        request_data = {'info': {'version': 'v1'},\n+                        'config': [{'resource': resource,\n+                                    'kwargs': kwargs\n+                                    }]\n+                        }\n+        return request_data\n+\n+    def test_validate_schema_for_request_data(self):\n+        \"\"\"Test case to test validate_schema() of schema_validator.py for\n+           'request_data' schema\n+        \"\"\"\n+        result = self.sv.validate_schema(self.sr.request_data,\n+                                         schema.request_data)\n+        self.assertTrue(result)\n+\n+    def test_validate_schema_for_request_data_info(self):\n+        \"\"\"Test case to test validate_schema() of schema_validator.py for\n+           'request_data_info' schema\n+        \"\"\"\n+        result = self.sv.validate_schema(self.sr.request_data_info,\n+                                         schema.request_data_info)\n+        self.assertTrue(result)\n+\n+    def test_validate_schema_for_request_data_config(self):\n+        \"\"\"Test case to test validate_schema() of schema_validator.py for\n+           'request_data_config' schema\n+        \"\"\"\n+        result = self.sv.validate_schema(self.sr.request_data_config,\n+                                         schema.request_data_config)\n+        self.assertTrue(result)\n+\n+    def test_validate_schema_for_interfaces(self):\n+        \"\"\"Test case to test validate_schema() of schema_validator.py for\n+           'interfaces' schema\n+        \"\"\"\n+        result = self.sv.validate_schema(self.sr.interfaces,\n+                                         schema.interfaces)\n+        self.assertTrue(result)\n+\n+    def test_validate_schema_for_interfaces_rule_info(self):\n+        \"\"\"Test case to test validate_schema() of schema_validator.py for\n+           'interfaces_rule_info' schema\n+        \"\"\"\n+        result = self.sv.validate_schema(self.sr.interfaces_rule_info,\n+                                         schema.interfaces_rule_info)\n+        self.assertTrue(result)\n+\n+    def test_validate_schema_for_routes(self):\n+        \"\"\"Test case to test validate_schema() of schema_validator.py for\n+           'routes' schema\n+        \"\"\"\n+        result = self.sv.validate_schema(self.sr.routes,\n+                                         schema.routes)\n+        self.assertTrue(result)\n+\n+    def test_validate_schema_for_healthmonitor(self):\n+        \"\"\"Test case to test validate_schema() of schema_validator.py for\n+           'healthmonitor' schema\n+        \"\"\"\n+        result = self.sv.validate_schema(self.sr.healthmonitor,\n+                                         schema.healthmonitor)\n+        self.assertTrue(result)\n+\n+    def test_decode_for_interfaces(self):\n+        \"\"\"Test case to test decode() of schema_validator.py for request_data\n+           with resource 'interfaces'\n+        \"\"\"\n+        request_data = self.make_request_data(self.sr.resource_interfaces,\n+                                              self.sr.interfaces)\n+        result = self.sv.decode(request_data)\n+        self.assertTrue(result)\n+\n+    def test_decode_for_routes(self):\n+        \"\"\"Test case to test decode() of schema_validator.py for request_data\n+           with resource 'routes'\n+        \"\"\"\n+        request_data = self.make_request_data(self.sr.resource_routes,\n+                                              self.sr.routes)\n+        result = self.sv.decode(request_data)\n+        self.assertTrue(result)\n+","path":"gbpservice/neutron/tests/unit/nfp/configurator/lib/test_schema_validator.py","position":192,"original_position":192,"commit_id":"a42405dd454a2960d39e325d57d6c440f812b7d0","original_commit_id":"a42405dd454a2960d39e325d57d6c440f812b7d0","user":{"login":"pkharat","id":8308775,"avatar_url":"https://avatars.githubusercontent.com/u/8308775?v=3","gravatar_id":"","url":"https://api.github.com/users/pkharat","html_url":"https://github.com/pkharat","followers_url":"https://api.github.com/users/pkharat/followers","following_url":"https://api.github.com/users/pkharat/following{/other_user}","gists_url":"https://api.github.com/users/pkharat/gists{/gist_id}","starred_url":"https://api.github.com/users/pkharat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkharat/subscriptions","organizations_url":"https://api.github.com/users/pkharat/orgs","repos_url":"https://api.github.com/users/pkharat/repos","events_url":"https://api.github.com/users/pkharat/events{/privacy}","received_events_url":"https://api.github.com/users/pkharat/received_events","type":"User","site_admin":false},"body":"Not needed. decode() is not invoked for interface_rule_info","created_at":"2016-03-28T08:57:46Z","updated_at":"2016-03-28T08:57:46Z","html_url":"https://github.com/oneconvergence/group-based-policy/pull/150#discussion_r57555858","pull_request_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/150","_links":{"self":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/comments/57555858"},"html":{"href":"https://github.com/oneconvergence/group-based-policy/pull/150#discussion_r57555858"},"pull_request":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/150"}}},"pull_request":{"url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/150","id":64298238,"html_url":"https://github.com/oneconvergence/group-based-policy/pull/150","diff_url":"https://github.com/oneconvergence/group-based-policy/pull/150.diff","patch_url":"https://github.com/oneconvergence/group-based-policy/pull/150.patch","issue_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/150","number":150,"state":"open","locked":false,"title":"Unit test file for schema_validator.py","user":{"login":"pkharat","id":8308775,"avatar_url":"https://avatars.githubusercontent.com/u/8308775?v=3","gravatar_id":"","url":"https://api.github.com/users/pkharat","html_url":"https://github.com/pkharat","followers_url":"https://api.github.com/users/pkharat/followers","following_url":"https://api.github.com/users/pkharat/following{/other_user}","gists_url":"https://api.github.com/users/pkharat/gists{/gist_id}","starred_url":"https://api.github.com/users/pkharat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkharat/subscriptions","organizations_url":"https://api.github.com/users/pkharat/orgs","repos_url":"https://api.github.com/users/pkharat/repos","events_url":"https://api.github.com/users/pkharat/events{/privacy}","received_events_url":"https://api.github.com/users/pkharat/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-28T07:47:03Z","updated_at":"2016-03-28T08:57:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9477262d375bdd038cf10046070310bf714293ca","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/150/commits","review_comments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/150/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/150/comments","statuses_url":"https://api.github.com/repos/oneconvergence/group-based-policy/statuses/a42405dd454a2960d39e325d57d6c440f812b7d0","head":{"label":"oneconvergence:mitaka-schema-validator-unit-tests","ref":"mitaka-schema-validator-unit-tests","sha":"a42405dd454a2960d39e325d57d6c440f812b7d0","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-03-09T19:50:22Z","pushed_at":"2016-03-28T08:42:00Z","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":6039,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":13,"forks":4,"open_issues":13,"watchers":1,"default_branch":"oneconvergence_service_node_driver"}},"base":{"label":"oneconvergence:mitaka-base-mode-patch-submission","ref":"mitaka-base-mode-patch-submission","sha":"4109d93e23a1e8bd536632b269e1eab628fb2054","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-03-09T19:50:22Z","pushed_at":"2016-03-28T08:42:00Z","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":6039,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":13,"forks":4,"open_issues":13,"watchers":1,"default_branch":"oneconvergence_service_node_driver"}},"_links":{"self":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/150"},"html":{"href":"https://github.com/oneconvergence/group-based-policy/pull/150"},"issue":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/150"},"comments":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/150/comments"},"review_comments":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/150/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/150/commits"},"statuses":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/statuses/a42405dd454a2960d39e325d57d6c440f812b7d0"}}}}