GitHub PullRequestReviewCommentEvent at 2014-10-22 11:19:24
Repository: netapp_e-cookbook
Actor: muktaa
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls/comments/19206813","id":19206813,"diff_hunk":"@@ -0,0 +1,333 @@\n+require 'json'\n+require 'excon'\n+\n+class NetApp\n+  class ESeries\n+    class Api\n+      def initialize(user, password, url, basic_auth, connect_timeout = nil)\n+        @user = user\n+        @password = password\n+        @url = url\n+        @basic_auth = basic_auth\n+        @connect_timeout = connect_timeout\n+      end\n+\n+      def login\n+        body = { userId: @user, password: @password }.to_json\n+        response = request(:post, '/devmgr/utils/login', body)\n+        fail \"Login failed. HTTP error- #{response.status}\" if response.status != 200\n+        @cookie = response.headers['Set-Cookie'].split(';').first\n+      end\n+\n+      def logout\n+        response = request(:delete, '/devmgr/utils/login')\n+        fail \"Logout failed. HTTP error- #{response.status}\" if response.status != 204\n+        @cookie = nil\n+      end\n+\n+      def create_storage_system(request_body)\n+        return false unless storage_system_id(request_body[:controllerAddresses][0]).nil?\n+\n+        response = request(:post, '/devmgr/v2/storage-systems', request_body.to_json)\n+        status(response, 201, [201, 200], 'Storage Creation Failed')\n+      end\n+\n+      def delete_storage_system(storage_system_ip)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        response = request(:delete, \"/devmgr/v2/storage-systems/#{sys_id}\")\n+        status(response, 200, [200], 'Storage Deletion Failed')\n+      end\n+\n+      def change_password(storage_system_ip, request_body)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        response = request(:post, \"/devmgr/v2/storage-systems/#{sys_id}/passwords\", request_body.to_json)\n+        status(response, 200, [200], 'Password Update Failed')\n+      end\n+\n+      def create_host(storage_system_ip, request_body)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        host = host_id(sys_id, request_body[:name])\n+        return false unless host.nil?\n+\n+        response = request(:post, \"/devmgr/v2/storage-systems/#{sys_id}/hosts\", request_body.to_json)\n+        status(response, 201, [201], 'Failed to create host')\n+      end\n+\n+      def delete_host(storage_system_ip, name)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        host = host_id(sys_id, name)\n+        return false if host.nil?\n+\n+        response = request(:delete, \"/devmgr/v2/storage-systems/#{sys_id}/hosts/#{host}\")\n+        status(response, 200, [200], 'Failed to delete host')\n+      end\n+\n+      def create_host_group(storage_system_ip, request_body)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        host_grp_id = host_group_id(sys_id, request_body[:name])\n+        return false unless host_grp_id.nil?\n+\n+        response = request(:post, \"/devmgr/v2/storage-systems/#{sys_id}/host-groups\", request_body.to_json)\n+        status(response, 201, [201], 'Failed to create host group')\n+      end\n+\n+      def delete_host_group(storage_system_ip, name)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        host_grp_id = host_group_id(sys_id, name)\n+        return false if host_grp_id.nil?\n+\n+        response = request(:delete, \"/devmgr/v2/storage-systems/#{sys_id}/host-groups/#{host_grp_id}\")\n+        status(response, 200, [200], 'Failed to delete host group')\n+      end\n+\n+      def create_storage_pool(storage_system_ip, request_body)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        pool_id = storage_pool_id(sys_id, request_body[:name])\n+        return false unless pool_id.nil?\n+\n+        response = request(:post, \"/devmgr/v2/storage-systems/#{sys_id}/storage-pools\", request_body.to_json)\n+        status(response, 201, [201], 'Failed to create storage pool')\n+      end\n+\n+      def delete_storage_pool(storage_system_ip, name)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        pool_id = storage_pool_id(sys_id, name)\n+        return false if pool_id.nil?\n+\n+        response = request(:delete, \"/devmgr/v2/storage-systems/#{sys_id}/storage-pools/#{pool_id}\")\n+        status(response, 200, [200], 'Failed to delete storage pool')\n+      end\n+\n+      def create_volume(storage_system_ip, request_body)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        vol_id = volume_id(sys_id, request_body[:name])\n+        return false unless vol_id.nil?\n+\n+        response = request(:post, \"/devmgr/v2/storage-systems/#{sys_id}/volumes\", request_body.to_json)\n+        status(response, 201, [201], 'Failed to create volume')\n+      end\n+\n+      def update_volume(storage_system_ip, old_name, new_name)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        vol_id = volume_id(sys_id, old_name)\n+        return false if vol_id.nil?\n+\n+        body = { name: new_name }.to_json\n+        response = request(:post, \"/devmgr/v2/storage-systems/#{sys_id}/volumes/#{vol_id}\", body)\n+        status(response, 200, [200], 'Failed to update volume')\n+      end\n+\n+      def delete_volume(storage_system_ip, name)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        vol_id = volume_id(sys_id, name)\n+        return false if vol_id.nil?\n+\n+        response = request(:delete, \"/devmgr/v2/storage-systems/#{sys_id}/volumes/#{vol_id}\")\n+        status(response, 200, [200], 'Failed to delete volume')\n+      end\n+\n+      def create_group_snapshot(storage_system_ip, request_body)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        snapshot_id = group_snapshot_id(sys_id, request_body[:name])\n+        return false unless snapshot_id.nil?\n+\n+        response = request(:post, \"/devmgr/v2/storage-systems/#{sys_id}/snapshot-groups\", request_body.to_json)\n+        status(response, 201, [201], 'Failed to create group snapshot')\n+      end\n+\n+      def delete_group_snapshot(storage_system_ip, name)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        snapshot_id = group_snapshot_id(sys_id, name)\n+        return false if snapshot_id.nil?\n+\n+        response = request(:delete, \"/devmgr/v2/storage-systems/#{sys_id}/snapshot-groups/#{snapshot_id}\")\n+        status(response, 200, [200], 'Failed to delete group snapshot')\n+      end\n+\n+      def create_volume_snapshot(storage_system_ip, request_body)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        snapshot_id = volume_snapshot_id(sys_id, request_body[:name])\n+        return false unless snapshot_id.nil?\n+\n+        response = request(:post, \"/devmgr/v2/storage-systems/#{sys_id}/snapshot-volumes\", request_body.to_json)\n+        status(response, 201, [201], 'Failed to create volume snapshot')\n+      end\n+\n+      def delete_volume_snapshot(storage_system_ip, name)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        snapshot_id = volume_snapshot_id(sys_id, name)\n+        return false if snapshot_id.nil?\n+\n+        response = request(:delete, \"/devmgr/v2/storage-systems/#{sys_id}/snapshot-volumes/#{snapshot_id}\")\n+        status(response, 200, [200], 'Failed to delete volume snapshot')\n+      end\n+\n+      def update_iscsi(storage_system_ip, request_body)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        response = request(:post, \"/devmgr/v2/storage-systems/#{sys_id}/iscsi/target-settings\", request_body.to_json)\n+        status(response, 200, [200], 'Failed to update iscsi target settings')\n+      end\n+\n+      def create_thin_volume(storage_system_ip, request_body)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        volume_id = thin_volume_id(sys_id, request_body[:name])\n+        return false unless volume_id.nil?\n+\n+        response = request(:post, \"/devmgr/v2/storage-systems/#{sys_id}/thin-volumes\", request_body.to_json)\n+        status(response, 201, [201], 'Failed to create thin volume')\n+      end\n+\n+      def delete_thin_volume(storage_system_ip, name)\n+        sys_id = storage_system_id(storage_system_ip)\n+        return false if sys_id.nil?\n+\n+        volume_id = thin_volume_id(sys_id, name)\n+        return false if volume_id.nil?\n+\n+        response = request(:delete, \"/devmgr/v2/storage-systems/#{sys_id}/thin-volumes/#{volume_id}\")\n+        status(response, 200, [200], 'Failed to delete thin volume')\n+      end\n+\n+      private\n+\n+      def storage_system_id(storage_system_ip)\n+        response = request(:get, '/devmgr/v2/storage-systems')\n+        storage_systems = JSON.parse(response.body)\n+        storage_systems.each do |system|\n+          return system['id'] if system['ip1'] == storage_system_ip || system['ip2'] == storage_system_ip\n+        end\n+        nil\n+      end\n+\n+      def host_id(storage_sys_id, name)\n+        response = request(:get, \"/devmgr/v2/storage-systems/#{storage_sys_id}/hosts\")\n+        hosts = JSON.parse(response.body)\n+        hosts.each do |host|\n+          return host['id'] if host['label'] == name\n+        end\n+        nil\n+      end\n+\n+      def host_group_id(storage_sys_id, name)\n+        response = request(:get, \"/devmgr/v2/storage-systems/#{storage_sys_id}/host-groups\")\n+        host_groups = JSON.parse(response.body)\n+        host_groups.each do |host_group|\n+          return host_group['id'] if host_group['label'] == name\n+        end\n+        nil\n+      end\n+\n+      def storage_pool_id(storage_sys_id, name)\n+        response = request(:get, \"/devmgr/v2/storage-systems/#{storage_sys_id}/storage-pools\")\n+        storage_pools = JSON.parse(response.body)\n+        storage_pools.each do |pool|\n+          return pool['id'] if pool['label'] == name\n+        end\n+        nil\n+      end\n+\n+      def volume_id(storage_sys_id, name)\n+        response = request(:get, \"/devmgr/v2/storage-systems/#{storage_sys_id}/volumes\")\n+        volumes = JSON.parse(response.body)\n+        volumes.each do |volume|\n+          return volume['id'] if volume['name'] == name\n+        end\n+        nil\n+      end\n+\n+      def group_snapshot_id(storage_sys_id, name)\n+        response = request(:get, \"/devmgr/v2/storage-systems/#{storage_sys_id}/snapshot-groups\")\n+        snapshots = JSON.parse(response.body)\n+        snapshots.each do |snapshot|\n+          return snapshot['id'] if snapshot['label'] == name\n+        end\n+        nil\n+      end\n+\n+      def volume_snapshot_id(storage_sys_id, name)\n+        response = request(:get, \"/devmgr/v2/storage-systems/#{storage_sys_id}/snapshot-volumes\")\n+        snapshots = JSON.parse(response.body)\n+        snapshots.each do |snapshot|\n+          return snapshot['id'] if snapshot['label'] == name\n+        end\n+        nil\n+      end\n+\n+      def thin_volume_id(storage_sys_id, name)","path":"libraries/netapp_e_series_api.rb","position":290,"original_position":290,"commit_id":"9880a7d536dc324ed747e31b0007af724924f61c","original_commit_id":"9880a7d536dc324ed747e31b0007af724924f61c","user":{"login":"muktaa","id":3928036,"avatar_url":"https://avatars.githubusercontent.com/u/3928036?v=2","gravatar_id":"","url":"https://api.github.com/users/muktaa","html_url":"https://github.com/muktaa","followers_url":"https://api.github.com/users/muktaa/followers","following_url":"https://api.github.com/users/muktaa/following{/other_user}","gists_url":"https://api.github.com/users/muktaa/gists{/gist_id}","starred_url":"https://api.github.com/users/muktaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muktaa/subscriptions","organizations_url":"https://api.github.com/users/muktaa/orgs","repos_url":"https://api.github.com/users/muktaa/repos","events_url":"https://api.github.com/users/muktaa/events{/privacy}","received_events_url":"https://api.github.com/users/muktaa/received_events","type":"User","site_admin":false},"body":"get_","created_at":"2014-10-22T11:19:24Z","updated_at":"2014-10-22T11:19:24Z","html_url":"https://github.com/chef-partners/netapp_e-cookbook/pull/2#discussion_r19206813","pull_request_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls/comments/19206813"},"html":{"href":"https://github.com/chef-partners/netapp_e-cookbook/pull/2#discussion_r19206813"},"pull_request":{"href":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls/2","id":22967133,"html_url":"https://github.com/chef-partners/netapp_e-cookbook/pull/2","diff_url":"https://github.com/chef-partners/netapp_e-cookbook/pull/2.diff","patch_url":"https://github.com/chef-partners/netapp_e-cookbook/pull/2.patch","issue_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/issues/2","number":2,"state":"open","locked":false,"title":"Arjun/netapp e series spec","user":{"login":"ArjunHariharan","id":5410365,"avatar_url":"https://avatars.githubusercontent.com/u/5410365?v=2","gravatar_id":"","url":"https://api.github.com/users/ArjunHariharan","html_url":"https://github.com/ArjunHariharan","followers_url":"https://api.github.com/users/ArjunHariharan/followers","following_url":"https://api.github.com/users/ArjunHariharan/following{/other_user}","gists_url":"https://api.github.com/users/ArjunHariharan/gists{/gist_id}","starred_url":"https://api.github.com/users/ArjunHariharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArjunHariharan/subscriptions","organizations_url":"https://api.github.com/users/ArjunHariharan/orgs","repos_url":"https://api.github.com/users/ArjunHariharan/repos","events_url":"https://api.github.com/users/ArjunHariharan/events{/privacy}","received_events_url":"https://api.github.com/users/ArjunHariharan/received_events","type":"User","site_admin":false},"body":"unit test for netapp_e cookbook","created_at":"2014-10-18T12:00:19Z","updated_at":"2014-10-22T11:19:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96577dfcd118976006486c8f5ccbfd5612e25f1c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls/2/commits","review_comments_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls/2/comments","review_comment_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls/comments/{number}","comments_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/issues/2/comments","statuses_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/statuses/9880a7d536dc324ed747e31b0007af724924f61c","head":{"label":"ClogenyTechnologies:arjun/netapp_e_series_spec","ref":"arjun/netapp_e_series_spec","sha":"9880a7d536dc324ed747e31b0007af724924f61c","user":{"login":"ClogenyTechnologies","id":2493241,"avatar_url":"https://avatars.githubusercontent.com/u/2493241?v=2","gravatar_id":"","url":"https://api.github.com/users/ClogenyTechnologies","html_url":"https://github.com/ClogenyTechnologies","followers_url":"https://api.github.com/users/ClogenyTechnologies/followers","following_url":"https://api.github.com/users/ClogenyTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/ClogenyTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/ClogenyTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClogenyTechnologies/subscriptions","organizations_url":"https://api.github.com/users/ClogenyTechnologies/orgs","repos_url":"https://api.github.com/users/ClogenyTechnologies/repos","events_url":"https://api.github.com/users/ClogenyTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/ClogenyTechnologies/received_events","type":"Organization","site_admin":false},"repo":{"id":24402846,"name":"netapp_e-cookbook","full_name":"ClogenyTechnologies/netapp_e-cookbook","owner":{"login":"ClogenyTechnologies","id":2493241,"avatar_url":"https://avatars.githubusercontent.com/u/2493241?v=2","gravatar_id":"","url":"https://api.github.com/users/ClogenyTechnologies","html_url":"https://github.com/ClogenyTechnologies","followers_url":"https://api.github.com/users/ClogenyTechnologies/followers","following_url":"https://api.github.com/users/ClogenyTechnologies/following{/other_user}","gists_url":"https://api.github.com/users/ClogenyTechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/ClogenyTechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClogenyTechnologies/subscriptions","organizations_url":"https://api.github.com/users/ClogenyTechnologies/orgs","repos_url":"https://api.github.com/users/ClogenyTechnologies/repos","events_url":"https://api.github.com/users/ClogenyTechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/ClogenyTechnologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ClogenyTechnologies/netapp_e-cookbook","description":"Chef cookbook for managing NetApp E-Series storage systems","fork":true,"url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook","forks_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/forks","keys_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/teams","hooks_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/hooks","issue_events_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/events","assignees_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/tags","blobs_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/languages","stargazers_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/stargazers","contributors_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/contributors","subscribers_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/subscribers","subscription_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/subscription","commits_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/issues/comments/{number}","contents_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/merges","archive_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/downloads","issues_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/ClogenyTechnologies/netapp_e-cookbook/releases{/id}","created_at":"2014-09-24T06:09:20Z","updated_at":"2014-10-15T08:11:11Z","pushed_at":"2014-10-21T11:58:33Z","git_url":"git://github.com/ClogenyTechnologies/netapp_e-cookbook.git","ssh_url":"git@github.com:ClogenyTechnologies/netapp_e-cookbook.git","clone_url":"https://github.com/ClogenyTechnologies/netapp_e-cookbook.git","svn_url":"https://github.com/ClogenyTechnologies/netapp_e-cookbook","homepage":null,"size":370,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chef-partners:master","ref":"master","sha":"5c43ca2a557be71905703352b686039732639976","user":{"login":"chef-partners","id":6988876,"avatar_url":"https://avatars.githubusercontent.com/u/6988876?v=2","gravatar_id":"","url":"https://api.github.com/users/chef-partners","html_url":"https://github.com/chef-partners","followers_url":"https://api.github.com/users/chef-partners/followers","following_url":"https://api.github.com/users/chef-partners/following{/other_user}","gists_url":"https://api.github.com/users/chef-partners/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-partners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-partners/subscriptions","organizations_url":"https://api.github.com/users/chef-partners/orgs","repos_url":"https://api.github.com/users/chef-partners/repos","events_url":"https://api.github.com/users/chef-partners/events{/privacy}","received_events_url":"https://api.github.com/users/chef-partners/received_events","type":"Organization","site_admin":false},"repo":{"id":24376495,"name":"netapp_e-cookbook","full_name":"chef-partners/netapp_e-cookbook","owner":{"login":"chef-partners","id":6988876,"avatar_url":"https://avatars.githubusercontent.com/u/6988876?v=2","gravatar_id":"","url":"https://api.github.com/users/chef-partners","html_url":"https://github.com/chef-partners","followers_url":"https://api.github.com/users/chef-partners/followers","following_url":"https://api.github.com/users/chef-partners/following{/other_user}","gists_url":"https://api.github.com/users/chef-partners/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-partners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-partners/subscriptions","organizations_url":"https://api.github.com/users/chef-partners/orgs","repos_url":"https://api.github.com/users/chef-partners/repos","events_url":"https://api.github.com/users/chef-partners/events{/privacy}","received_events_url":"https://api.github.com/users/chef-partners/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef-partners/netapp_e-cookbook","description":"Chef cookbook for managing NetApp E-Series storage systems","fork":false,"url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook","forks_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/forks","keys_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/teams","hooks_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/hooks","issue_events_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/events","assignees_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/tags","blobs_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/languages","stargazers_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/stargazers","contributors_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/contributors","subscribers_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/subscribers","subscription_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/subscription","commits_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/issues/comments/{number}","contents_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/merges","archive_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/downloads","issues_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/releases{/id}","created_at":"2014-09-23T15:11:35Z","updated_at":"2014-10-09T15:45:52Z","pushed_at":"2014-09-23T19:25:12Z","git_url":"git://github.com/chef-partners/netapp_e-cookbook.git","ssh_url":"git@github.com:chef-partners/netapp_e-cookbook.git","clone_url":"https://github.com/chef-partners/netapp_e-cookbook.git","svn_url":"https://github.com/chef-partners/netapp_e-cookbook","homepage":null,"size":87,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls/2"},"html":{"href":"https://github.com/chef-partners/netapp_e-cookbook/pull/2"},"issue":{"href":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/issues/2"},"comments":{"href":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/chef-partners/netapp_e-cookbook/statuses/9880a7d536dc324ed747e31b0007af724924f61c"}}}}