{"action":"created","comment":{"url":"https://api.github.com/repos/ansible/ansible/pulls/comments/120188835","pull_request_review_id":42095611,"id":120188835,"diff_hunk":"@@ -0,0 +1,322 @@\n+# -*- coding: utf-8 -*-\n+\n+#  Copyright (c) 2017 Citrix Systems\n+#\n+# This code is part of Ansible, but is an independent component.\n+# This particular file snippet, and this file snippet only, is BSD licensed.\n+# Modules you write using this snippet, which is embedded dynamically by Ansible\n+# still belong to the author of the module, and may assign their own license\n+# to the complete work.\n+#\n+# Redistribution and use in source and binary forms, with or without modification,\n+# are permitted provided that the following conditions are met:\n+#\n+#    * Redistributions of source code must retain the above copyright\n+#      notice, this list of conditions and the following disclaimer.\n+#    * Redistributions in binary form must reproduce the above copyright notice,\n+#      this list of conditions and the following disclaimer in the documentation\n+#      and/or other materials provided with the distribution.\n+#\n+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n+# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n+# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\n+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE\n+# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+#\n+\n+import json\n+import re\n+\n+from ansible.module_utils.basic import env_fallback\n+\n+\n+class ConfigProxy(object):\n+\n+    def __init__(self, actual, client, attribute_values_dict, readwrite_attrs, transforms={}, readonly_attrs=[], immutable_attrs=[], json_encodes=[]):\n+\n+        # Actual config object from nitro sdk\n+        self.actual = actual\n+\n+        # nitro client\n+        self.client = client\n+\n+        # ansible attribute_values_dict\n+        self.attribute_values_dict = attribute_values_dict\n+\n+        self.readwrite_attrs = readwrite_attrs\n+        self.readonly_attrs = readonly_attrs\n+        self.immutable_attrs = immutable_attrs\n+        self.json_encodes = json_encodes\n+        self.transforms = transforms\n+\n+        self.attribute_values_processed = {}\n+        for attribute, value in self.attribute_values_dict.items():\n+            if attribute in transforms:\n+                for transform in self.transforms[attribute]:\n+                    if transform == 'bool_yes_no':\n+                        value = 'YES' if value is True else 'NO'\n+                    elif transform == 'bool_on_off':\n+                        value = 'ON' if value is True else 'OFF'\n+                    elif callable(transform):\n+                        value = transform(value)\n+                    else:\n+                        raise Exception('Invalid transform %s' % transform)\n+            self.attribute_values_processed[attribute] = value\n+\n+        self._copy_attributes_to_actual()\n+\n+    def _copy_attributes_to_actual(self):\n+        for attribute in self.readwrite_attrs:\n+            if attribute in self.attribute_values_processed:\n+                attribute_value = self.attribute_values_processed[attribute]\n+\n+                if attribute_value is None:\n+                    continue\n+\n+                # Fallthrough\n+                if attribute in self.json_encodes:\n+                    attribute_value = json.JSONEncoder().encode(attribute_value).strip('\"')\n+                setattr(self.actual, attribute, attribute_value)\n+\n+    def __getattr__(self, name):\n+        if name in self.attribute_values_dict:\n+            return self.attribute_values_dict[name]\n+        else:\n+            raise AttributeError('No attribute %s found' % name)\n+\n+    def add(self):\n+        self.actual.__class__.add(self.client, self.actual)\n+\n+    def update(self):\n+        return self.actual.__class__.update(self.client, self.actual)\n+\n+    def delete(self):\n+        self.actual.__class__.delete(self.client, self.actual)\n+\n+    def get(self, *args, **kwargs):\n+        result = self.actual.__class__.get(self.client, *args, **kwargs)\n+\n+        return result\n+\n+    def has_equal_attributes(self, other):\n+        if self.diff_object(other) == {}:\n+            return True\n+        else:\n+            return False\n+\n+    def diff_object(self, other):\n+        diff_dict = {}\n+        for attribute in self.attribute_values_processed:\n+            # Skip readonly attributes\n+            if attribute not in self.readwrite_attrs:\n+                continue\n+\n+            # Skip attributes not present in module arguments\n+            if self.attribute_values_processed[attribute] is None:\n+                continue\n+\n+            # Check existence\n+            if hasattr(other, attribute):\n+                attribute_value = getattr(other, attribute)\n+            else:\n+                diff_dict[attribute] = 'missing from other'\n+                continue\n+\n+            # Compare values\n+            param_type = self.attribute_values_processed[attribute].__class__\n+            if param_type(attribute_value) != self.attribute_values_processed[attribute]:\n+                str_tuple = (\n+                    type(self.attribute_values_processed[attribute]),\n+                    self.attribute_values_processed[attribute],\n+                    type(attribute_value),\n+                    attribute_value,\n+                )\n+                diff_dict[attribute] = 'difference. ours: (%s) %s other: (%s) %s' % str_tuple\n+        return diff_dict\n+\n+    def get_actual_rw_attributes(self, filter='name'):\n+        if self.actual.__class__.count_filtered(self.client, '%s:%s' % (filter, self.attribute_values_dict[filter])) == 0:\n+            return {}\n+        server_list = self.actual.__class__.get_filtered(self.client, '%s:%s' % (filter, self.attribute_values_dict[filter]))\n+        actual_instance = server_list[0]\n+        print('actual_instance %s' % actual_instance)\n+        ret_val = {}\n+        for attribute in self.readwrite_attrs:\n+            if not hasattr(actual_instance, attribute):\n+                continue\n+            ret_val[attribute] = getattr(actual_instance, attribute)\n+        return ret_val\n+\n+    def get_actual_ro_attributes(self, filter='name'):\n+        if self.actual.__class__.count_filtered(self.client, '%s:%s' % (filter, self.attribute_values_dict[filter])) == 0:\n+            return {}\n+        server_list = self.actual.__class__.get_filtered(self.client, '%s:%s' % (filter, self.attribute_values_dict[filter]))\n+        actual_instance = server_list[0]\n+        print('actual_instance %s' % actual_instance)\n+        ret_val = {}\n+        for attribute in self.readonly_attrs:\n+            if not hasattr(actual_instance, attribute):\n+                continue\n+            ret_val[attribute] = getattr(actual_instance, attribute)\n+        return ret_val\n+\n+    def get_missing_rw_attributes(self):\n+        return list(set(self.readwrite_attrs) - set(self.get_actual_rw_attributes().keys()))\n+\n+    def get_missing_ro_attributes(self):\n+        return list(set(self.readonly_attrs) - set(self.get_actual_ro_attributes().keys()))\n+\n+\n+def get_immutables_intersection(config_proxy, keys):\n+    immutables_set = set(config_proxy.immutable_attrs)\n+    keys_set = set(keys)\n+    # Return list of sets' intersection\n+    return list(immutables_set & keys_set)\n+\n+\n+def ensure_feature_is_enabled(client, feature_str):\n+    enabled_features = client.get_enabled_features()\n+    if feature_str not in enabled_features:\n+        client.enable_features(feature_str)\n+        client.save_config()\n+\n+\n+def get_nitro_client(module):\n+    from nssrc.com.citrix.netscaler.nitro.service.nitro_service import nitro_service\n+\n+    client = nitro_service(module.params['nsip'], module.params['nitro_protocol'])\n+    client.set_credential(module.params['nitro_user'], module.params['nitro_pass'])\n+    client.timeout = float(module.params['nitro_timeout'])\n+    client.certvalidation = module.params['validate_certs']\n+    return client\n+\n+\n+netscaler_common_arguments = dict(\n+    nsip=dict(\n+        required=True,\n+        fallback=(env_fallback, ['NETSCALER_NSIP']),\n+    ),\n+    nitro_user=dict(\n+        required=True,\n+        fallback=(env_fallback, ['NETSCALER_NITRO_USER']),\n+        no_log=True\n+    ),\n+    nitro_pass=dict(\n+        required=True,\n+        fallback=(env_fallback, ['NETSCALER_NITRO_PASS']),\n+        no_log=True\n+    ),\n+    nitro_protocol=dict(\n+        choices=['http', 'https'],\n+        fallback=(env_fallback, ['NETSCALER_NITRO_PROTOCOL']),\n+        default='http'\n+    ),\n+    validate_certs=dict(\n+        default=True,\n+        type='bool'\n+    ),\n+    nitro_timeout=dict(default=310, type='float'),\n+    operation=dict(","path":"lib/ansible/module_utils/netscaler.py","position":223,"original_position":223,"commit_id":"2f6bda964178884885002316028d182d3230fb70","original_commit_id":"2f6bda964178884885002316028d182d3230fb70","user":{"login":"resmo","id":23809,"avatar_url":"https://avatars2.githubusercontent.com/u/23809?v=3","gravatar_id":"","url":"https://api.github.com/users/resmo","html_url":"https://github.com/resmo","followers_url":"https://api.github.com/users/resmo/followers","following_url":"https://api.github.com/users/resmo/following{/other_user}","gists_url":"https://api.github.com/users/resmo/gists{/gist_id}","starred_url":"https://api.github.com/users/resmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resmo/subscriptions","organizations_url":"https://api.github.com/users/resmo/orgs","repos_url":"https://api.github.com/users/resmo/repos","events_url":"https://api.github.com/users/resmo/events{/privacy}","received_events_url":"https://api.github.com/users/resmo/received_events","type":"User","site_admin":false},"body":"suggest to call this `state` and make set the `default=present`","created_at":"2017-06-05T19:30:38Z","updated_at":"2017-06-05T19:41:02Z","html_url":"https://github.com/ansible/ansible/pull/25129#discussion_r120188835","pull_request_url":"https://api.github.com/repos/ansible/ansible/pulls/25129","_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments/120188835"},"html":{"href":"https://github.com/ansible/ansible/pull/25129#discussion_r120188835"},"pull_request":{"href":"https://api.github.com/repos/ansible/ansible/pulls/25129"}}},"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/25129","id":122896273,"html_url":"https://github.com/ansible/ansible/pull/25129","diff_url":"https://github.com/ansible/ansible/pull/25129.diff","patch_url":"https://github.com/ansible/ansible/pull/25129.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/25129","number":25129,"state":"open","locked":false,"title":"New module: manage Citrix Netscaler service configuration (network/netscaler/netscaler_service) ","user":{"login":"giorgos-nikolopoulos","id":28013937,"avatar_url":"https://avatars0.githubusercontent.com/u/28013937?v=3","gravatar_id":"","url":"https://api.github.com/users/giorgos-nikolopoulos","html_url":"https://github.com/giorgos-nikolopoulos","followers_url":"https://api.github.com/users/giorgos-nikolopoulos/followers","following_url":"https://api.github.com/users/giorgos-nikolopoulos/following{/other_user}","gists_url":"https://api.github.com/users/giorgos-nikolopoulos/gists{/gist_id}","starred_url":"https://api.github.com/users/giorgos-nikolopoulos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giorgos-nikolopoulos/subscriptions","organizations_url":"https://api.github.com/users/giorgos-nikolopoulos/orgs","repos_url":"https://api.github.com/users/giorgos-nikolopoulos/repos","events_url":"https://api.github.com/users/giorgos-nikolopoulos/events{/privacy}","received_events_url":"https://api.github.com/users/giorgos-nikolopoulos/received_events","type":"User","site_admin":false},"body":"##### SUMMARY\r\n<!--- Describe the change, including rationale and design decisions -->\r\n\r\nThis PR adds a new module for Netscaler.\r\n\r\nIt is intended to be the first of a series of pull requests that will include additional modules for Netscaler.\r\n\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n\r\n - New Module Pull Request\r\n\r\n##### COMPONENT NAME\r\nlib/ansible/modules/network/netscaler/netscaler_service.py\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\nansible 2.4.0 (netscaler_initial_commit 7f4d9883c3) last updated 2017/05/29 16:22:28 (GMT +300)\r\n  config file = \r\n  configured module search path = [u'/home/georgen/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /home/georgen/repos/ansible_fork/lib/ansible\r\n  executable location = /home/georgen/repos/ansible_fork/bin/ansible\r\n  python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]\r\n\r\n\r\n```\r\n\r\n\r\n##### ADDITIONAL INFORMATION\r\n<!---\r\nInclude additional information to help people understand the change here.\r\nFor bugs that don't have a linked bug report, a step-by-step reproduction\r\nof the problem is helpful.\r\n  -->\r\n\r\nUnit tests are provided.\r\n\r\nIntegration tests are provided.\r\n\r\n<!--- Paste verbatim command output below, e.g. before and after your change -->\r\n```\r\n\r\n```\r\n","created_at":"2017-05-29T13:34:25Z","updated_at":"2017-06-05T19:41:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f09793621c53c301c6be76cfcf65ae1780a7d75","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/25129/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/25129/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/25129/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/2f6bda964178884885002316028d182d3230fb70","head":{"label":"citrix:netscaler_initial_commit","ref":"netscaler_initial_commit","sha":"2f6bda964178884885002316028d182d3230fb70","user":{"login":"citrix","id":1635391,"avatar_url":"https://avatars3.githubusercontent.com/u/1635391?v=3","gravatar_id":"","url":"https://api.github.com/users/citrix","html_url":"https://github.com/citrix","followers_url":"https://api.github.com/users/citrix/followers","following_url":"https://api.github.com/users/citrix/following{/other_user}","gists_url":"https://api.github.com/users/citrix/gists{/gist_id}","starred_url":"https://api.github.com/users/citrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citrix/subscriptions","organizations_url":"https://api.github.com/users/citrix/orgs","repos_url":"https://api.github.com/users/citrix/repos","events_url":"https://api.github.com/users/citrix/events{/privacy}","received_events_url":"https://api.github.com/users/citrix/received_events","type":"Organization","site_admin":false},"repo":{"id":91477223,"name":"ansible","full_name":"citrix/ansible","owner":{"login":"citrix","id":1635391,"avatar_url":"https://avatars3.githubusercontent.com/u/1635391?v=3","gravatar_id":"","url":"https://api.github.com/users/citrix","html_url":"https://github.com/citrix","followers_url":"https://api.github.com/users/citrix/followers","following_url":"https://api.github.com/users/citrix/following{/other_user}","gists_url":"https://api.github.com/users/citrix/gists{/gist_id}","starred_url":"https://api.github.com/users/citrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citrix/subscriptions","organizations_url":"https://api.github.com/users/citrix/orgs","repos_url":"https://api.github.com/users/citrix/repos","events_url":"https://api.github.com/users/citrix/events{/privacy}","received_events_url":"https://api.github.com/users/citrix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/citrix/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":true,"url":"https://api.github.com/repos/citrix/ansible","forks_url":"https://api.github.com/repos/citrix/ansible/forks","keys_url":"https://api.github.com/repos/citrix/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citrix/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citrix/ansible/teams","hooks_url":"https://api.github.com/repos/citrix/ansible/hooks","issue_events_url":"https://api.github.com/repos/citrix/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/citrix/ansible/events","assignees_url":"https://api.github.com/repos/citrix/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/citrix/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/citrix/ansible/tags","blobs_url":"https://api.github.com/repos/citrix/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citrix/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citrix/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/citrix/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citrix/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/citrix/ansible/languages","stargazers_url":"https://api.github.com/repos/citrix/ansible/stargazers","contributors_url":"https://api.github.com/repos/citrix/ansible/contributors","subscribers_url":"https://api.github.com/repos/citrix/ansible/subscribers","subscription_url":"https://api.github.com/repos/citrix/ansible/subscription","commits_url":"https://api.github.com/repos/citrix/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/citrix/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/citrix/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/citrix/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/citrix/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/citrix/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citrix/ansible/merges","archive_url":"https://api.github.com/repos/citrix/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citrix/ansible/downloads","issues_url":"https://api.github.com/repos/citrix/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/citrix/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/citrix/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/citrix/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citrix/ansible/labels{/name}","releases_url":"https://api.github.com/repos/citrix/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/citrix/ansible/deployments","created_at":"2017-05-16T15:56:43Z","updated_at":"2017-05-16T15:57:04Z","pushed_at":"2017-06-02T10:54:28Z","git_url":"git://github.com/citrix/ansible.git","ssh_url":"git@github.com:citrix/ansible.git","clone_url":"https://github.com/citrix/ansible.git","svn_url":"https://github.com/citrix/ansible","homepage":"http://ansible.com/","size":77366,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"2f33c1a1a1d0c74d31445984fd85d877f0d8ab59","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars1.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":3638964,"name":"ansible","full_name":"ansible/ansible","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars1.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":false,"url":"https://api.github.com/repos/ansible/ansible","forks_url":"https://api.github.com/repos/ansible/ansible/forks","keys_url":"https://api.github.com/repos/ansible/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible/teams","hooks_url":"https://api.github.com/repos/ansible/ansible/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible/events","assignees_url":"https://api.github.com/repos/ansible/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible/tags","blobs_url":"https://api.github.com/repos/ansible/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible/subscription","commits_url":"https://api.github.com/repos/ansible/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible/merges","archive_url":"https://api.github.com/repos/ansible/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible/downloads","issues_url":"https://api.github.com/repos/ansible/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/ansible/deployments","created_at":"2012-03-06T14:58:02Z","updated_at":"2017-06-05T18:58:29Z","pushed_at":"2017-06-05T19:19:31Z","git_url":"git://github.com/ansible/ansible.git","ssh_url":"git@github.com:ansible/ansible.git","clone_url":"https://github.com/ansible/ansible.git","svn_url":"https://github.com/ansible/ansible","homepage":"http://ansible.com/","size":78667,"stargazers_count":23526,"watchers_count":23526,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7902,"mirror_url":null,"open_issues_count":3250,"forks":7902,"open_issues":3250,"watchers":23526,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/25129"},"html":{"href":"https://github.com/ansible/ansible/pull/25129"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/25129"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/25129/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/25129/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/25129/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/2f6bda964178884885002316028d182d3230fb70"}}}}
{"actor":{"display_login":"resmo"}}