{"action":"closed","number":1023,"pull_request":{"url":"https://api.github.com/repos/jclouds/jclouds/pulls/1023","id":90027311,"html_url":"https://github.com/jclouds/jclouds/pull/1023","diff_url":"https://github.com/jclouds/jclouds/pull/1023.diff","patch_url":"https://github.com/jclouds/jclouds/pull/1023.patch","issue_url":"https://api.github.com/repos/jclouds/jclouds/issues/1023","number":1023,"state":"closed","locked":false,"title":"Move Digital Ocean rate limit handler to core to make it reusable","user":{"login":"nacx","id":446705,"avatar_url":"https://avatars.githubusercontent.com/u/446705?v=3","gravatar_id":"","url":"https://api.github.com/users/nacx","html_url":"https://github.com/nacx","followers_url":"https://api.github.com/users/nacx/followers","following_url":"https://api.github.com/users/nacx/following{/other_user}","gists_url":"https://api.github.com/users/nacx/gists{/gist_id}","starred_url":"https://api.github.com/users/nacx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nacx/subscriptions","organizations_url":"https://api.github.com/users/nacx/orgs","repos_url":"https://api.github.com/users/nacx/repos","events_url":"https://api.github.com/users/nacx/events{/privacy}","received_events_url":"https://api.github.com/users/nacx/received_events","type":"User","site_admin":false},"body":"The way to deal with rate limits is very similar in every provider. One just needs to read from the response how much to wait until new requests can be made, and wait accordingly.\r\n\r\nThis change generalises the digitalocean2 rate limit handler so it can be reused and configured by all providers. Once this is merged, a PR with an implementation for Azure ARM will be opened to the jclouds-labs repo.\r\n\r\n/cc @andreaturli ","created_at":"2016-10-19T14:59:06Z","updated_at":"2016-10-20T10:16:41Z","closed_at":"2016-10-20T10:16:41Z","merged_at":"2016-10-20T10:16:41Z","merge_commit_sha":"8030e53f3236a1a09c76b60a0694e10b0456575e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jclouds/jclouds/pulls/1023/commits","review_comments_url":"https://api.github.com/repos/jclouds/jclouds/pulls/1023/comments","review_comment_url":"https://api.github.com/repos/jclouds/jclouds/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jclouds/jclouds/issues/1023/comments","statuses_url":"https://api.github.com/repos/jclouds/jclouds/statuses/8030e53f3236a1a09c76b60a0694e10b0456575e","head":{"label":"nacx:ratelimit","ref":"ratelimit","sha":"8030e53f3236a1a09c76b60a0694e10b0456575e","user":{"login":"nacx","id":446705,"avatar_url":"https://avatars.githubusercontent.com/u/446705?v=3","gravatar_id":"","url":"https://api.github.com/users/nacx","html_url":"https://github.com/nacx","followers_url":"https://api.github.com/users/nacx/followers","following_url":"https://api.github.com/users/nacx/following{/other_user}","gists_url":"https://api.github.com/users/nacx/gists{/gist_id}","starred_url":"https://api.github.com/users/nacx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nacx/subscriptions","organizations_url":"https://api.github.com/users/nacx/orgs","repos_url":"https://api.github.com/users/nacx/repos","events_url":"https://api.github.com/users/nacx/events{/privacy}","received_events_url":"https://api.github.com/users/nacx/received_events","type":"User","site_admin":false},"repo":{"id":10056922,"name":"jclouds","full_name":"nacx/jclouds","owner":{"login":"nacx","id":446705,"avatar_url":"https://avatars.githubusercontent.com/u/446705?v=3","gravatar_id":"","url":"https://api.github.com/users/nacx","html_url":"https://github.com/nacx","followers_url":"https://api.github.com/users/nacx/followers","following_url":"https://api.github.com/users/nacx/following{/other_user}","gists_url":"https://api.github.com/users/nacx/gists{/gist_id}","starred_url":"https://api.github.com/users/nacx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nacx/subscriptions","organizations_url":"https://api.github.com/users/nacx/orgs","repos_url":"https://api.github.com/users/nacx/repos","events_url":"https://api.github.com/users/nacx/events{/privacy}","received_events_url":"https://api.github.com/users/nacx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nacx/jclouds","description":"Read-only mirror of ASF Git Repo for jclouds","fork":true,"url":"https://api.github.com/repos/nacx/jclouds","forks_url":"https://api.github.com/repos/nacx/jclouds/forks","keys_url":"https://api.github.com/repos/nacx/jclouds/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nacx/jclouds/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nacx/jclouds/teams","hooks_url":"https://api.github.com/repos/nacx/jclouds/hooks","issue_events_url":"https://api.github.com/repos/nacx/jclouds/issues/events{/number}","events_url":"https://api.github.com/repos/nacx/jclouds/events","assignees_url":"https://api.github.com/repos/nacx/jclouds/assignees{/user}","branches_url":"https://api.github.com/repos/nacx/jclouds/branches{/branch}","tags_url":"https://api.github.com/repos/nacx/jclouds/tags","blobs_url":"https://api.github.com/repos/nacx/jclouds/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nacx/jclouds/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nacx/jclouds/git/refs{/sha}","trees_url":"https://api.github.com/repos/nacx/jclouds/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nacx/jclouds/statuses/{sha}","languages_url":"https://api.github.com/repos/nacx/jclouds/languages","stargazers_url":"https://api.github.com/repos/nacx/jclouds/stargazers","contributors_url":"https://api.github.com/repos/nacx/jclouds/contributors","subscribers_url":"https://api.github.com/repos/nacx/jclouds/subscribers","subscription_url":"https://api.github.com/repos/nacx/jclouds/subscription","commits_url":"https://api.github.com/repos/nacx/jclouds/commits{/sha}","git_commits_url":"https://api.github.com/repos/nacx/jclouds/git/commits{/sha}","comments_url":"https://api.github.com/repos/nacx/jclouds/comments{/number}","issue_comment_url":"https://api.github.com/repos/nacx/jclouds/issues/comments{/number}","contents_url":"https://api.github.com/repos/nacx/jclouds/contents/{+path}","compare_url":"https://api.github.com/repos/nacx/jclouds/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nacx/jclouds/merges","archive_url":"https://api.github.com/repos/nacx/jclouds/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nacx/jclouds/downloads","issues_url":"https://api.github.com/repos/nacx/jclouds/issues{/number}","pulls_url":"https://api.github.com/repos/nacx/jclouds/pulls{/number}","milestones_url":"https://api.github.com/repos/nacx/jclouds/milestones{/number}","notifications_url":"https://api.github.com/repos/nacx/jclouds/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nacx/jclouds/labels{/name}","releases_url":"https://api.github.com/repos/nacx/jclouds/releases{/id}","deployments_url":"https://api.github.com/repos/nacx/jclouds/deployments","created_at":"2013-05-14T14:25:11Z","updated_at":"2015-04-15T19:39:39Z","pushed_at":"2016-10-19T14:57:19Z","git_url":"git://github.com/nacx/jclouds.git","ssh_url":"git@github.com:nacx/jclouds.git","clone_url":"https://github.com/nacx/jclouds.git","svn_url":"https://github.com/nacx/jclouds","homepage":null,"size":80640,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"jclouds:master","ref":"master","sha":"edbb2c0e6f4a6c644e333b247175773572077602","user":{"login":"jclouds","id":108982,"avatar_url":"https://avatars.githubusercontent.com/u/108982?v=3","gravatar_id":"","url":"https://api.github.com/users/jclouds","html_url":"https://github.com/jclouds","followers_url":"https://api.github.com/users/jclouds/followers","following_url":"https://api.github.com/users/jclouds/following{/other_user}","gists_url":"https://api.github.com/users/jclouds/gists{/gist_id}","starred_url":"https://api.github.com/users/jclouds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jclouds/subscriptions","organizations_url":"https://api.github.com/users/jclouds/orgs","repos_url":"https://api.github.com/users/jclouds/repos","events_url":"https://api.github.com/users/jclouds/events{/privacy}","received_events_url":"https://api.github.com/users/jclouds/received_events","type":"Organization","site_admin":false},"repo":{"id":10040960,"name":"jclouds","full_name":"jclouds/jclouds","owner":{"login":"jclouds","id":108982,"avatar_url":"https://avatars.githubusercontent.com/u/108982?v=3","gravatar_id":"","url":"https://api.github.com/users/jclouds","html_url":"https://github.com/jclouds","followers_url":"https://api.github.com/users/jclouds/followers","following_url":"https://api.github.com/users/jclouds/following{/other_user}","gists_url":"https://api.github.com/users/jclouds/gists{/gist_id}","starred_url":"https://api.github.com/users/jclouds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jclouds/subscriptions","organizations_url":"https://api.github.com/users/jclouds/orgs","repos_url":"https://api.github.com/users/jclouds/repos","events_url":"https://api.github.com/users/jclouds/events{/privacy}","received_events_url":"https://api.github.com/users/jclouds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jclouds/jclouds","description":"Read-only mirror of ASF Git Repo for jclouds","fork":false,"url":"https://api.github.com/repos/jclouds/jclouds","forks_url":"https://api.github.com/repos/jclouds/jclouds/forks","keys_url":"https://api.github.com/repos/jclouds/jclouds/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jclouds/jclouds/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jclouds/jclouds/teams","hooks_url":"https://api.github.com/repos/jclouds/jclouds/hooks","issue_events_url":"https://api.github.com/repos/jclouds/jclouds/issues/events{/number}","events_url":"https://api.github.com/repos/jclouds/jclouds/events","assignees_url":"https://api.github.com/repos/jclouds/jclouds/assignees{/user}","branches_url":"https://api.github.com/repos/jclouds/jclouds/branches{/branch}","tags_url":"https://api.github.com/repos/jclouds/jclouds/tags","blobs_url":"https://api.github.com/repos/jclouds/jclouds/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jclouds/jclouds/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jclouds/jclouds/git/refs{/sha}","trees_url":"https://api.github.com/repos/jclouds/jclouds/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jclouds/jclouds/statuses/{sha}","languages_url":"https://api.github.com/repos/jclouds/jclouds/languages","stargazers_url":"https://api.github.com/repos/jclouds/jclouds/stargazers","contributors_url":"https://api.github.com/repos/jclouds/jclouds/contributors","subscribers_url":"https://api.github.com/repos/jclouds/jclouds/subscribers","subscription_url":"https://api.github.com/repos/jclouds/jclouds/subscription","commits_url":"https://api.github.com/repos/jclouds/jclouds/commits{/sha}","git_commits_url":"https://api.github.com/repos/jclouds/jclouds/git/commits{/sha}","comments_url":"https://api.github.com/repos/jclouds/jclouds/comments{/number}","issue_comment_url":"https://api.github.com/repos/jclouds/jclouds/issues/comments{/number}","contents_url":"https://api.github.com/repos/jclouds/jclouds/contents/{+path}","compare_url":"https://api.github.com/repos/jclouds/jclouds/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jclouds/jclouds/merges","archive_url":"https://api.github.com/repos/jclouds/jclouds/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jclouds/jclouds/downloads","issues_url":"https://api.github.com/repos/jclouds/jclouds/issues{/number}","pulls_url":"https://api.github.com/repos/jclouds/jclouds/pulls{/number}","milestones_url":"https://api.github.com/repos/jclouds/jclouds/milestones{/number}","notifications_url":"https://api.github.com/repos/jclouds/jclouds/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jclouds/jclouds/labels{/name}","releases_url":"https://api.github.com/repos/jclouds/jclouds/releases{/id}","deployments_url":"https://api.github.com/repos/jclouds/jclouds/deployments","created_at":"2013-05-13T20:47:29Z","updated_at":"2016-10-20T02:08:34Z","pushed_at":"2016-10-20T10:16:38Z","git_url":"git://github.com/jclouds/jclouds.git","ssh_url":"git@github.com:jclouds/jclouds.git","clone_url":"https://github.com/jclouds/jclouds.git","svn_url":"https://github.com/jclouds/jclouds","homepage":"http://jclouds.apache.org/","size":100346,"stargazers_count":275,"watchers_count":275,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":401,"mirror_url":null,"open_issues_count":18,"forks":401,"open_issues":18,"watchers":275,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jclouds/jclouds/pulls/1023"},"html":{"href":"https://github.com/jclouds/jclouds/pull/1023"},"issue":{"href":"https://api.github.com/repos/jclouds/jclouds/issues/1023"},"comments":{"href":"https://api.github.com/repos/jclouds/jclouds/issues/1023/comments"},"review_comments":{"href":"https://api.github.com/repos/jclouds/jclouds/pulls/1023/comments"},"review_comment":{"href":"https://api.github.com/repos/jclouds/jclouds/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jclouds/jclouds/pulls/1023/commits"},"statuses":{"href":"https://api.github.com/repos/jclouds/jclouds/statuses/8030e53f3236a1a09c76b60a0694e10b0456575e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jclouds-mirror","id":4421370,"avatar_url":"https://avatars.githubusercontent.com/u/4421370?v=3","gravatar_id":"","url":"https://api.github.com/users/jclouds-mirror","html_url":"https://github.com/jclouds-mirror","followers_url":"https://api.github.com/users/jclouds-mirror/followers","following_url":"https://api.github.com/users/jclouds-mirror/following{/other_user}","gists_url":"https://api.github.com/users/jclouds-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/jclouds-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jclouds-mirror/subscriptions","organizations_url":"https://api.github.com/users/jclouds-mirror/orgs","repos_url":"https://api.github.com/users/jclouds-mirror/repos","events_url":"https://api.github.com/users/jclouds-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/jclouds-mirror/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":114,"deletions":76,"changed_files":8}}
{"actor":{"display_login":"jclouds-mirror"}}