{"action":"opened","number":189,"pull_request":{"url":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/189","id":88575584,"html_url":"https://github.com/googlemaps/google-maps-services-java/pull/189","diff_url":"https://github.com/googlemaps/google-maps-services-java/pull/189.diff","patch_url":"https://github.com/googlemaps/google-maps-services-java/pull/189.patch","issue_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/189","number":189,"state":"open","locked":false,"title":"Allow specific exception types to be retried or not retried","user":{"login":"amyboyd","id":398210,"avatar_url":"https://avatars.githubusercontent.com/u/398210?v=3","gravatar_id":"","url":"https://api.github.com/users/amyboyd","html_url":"https://github.com/amyboyd","followers_url":"https://api.github.com/users/amyboyd/followers","following_url":"https://api.github.com/users/amyboyd/following{/other_user}","gists_url":"https://api.github.com/users/amyboyd/gists{/gist_id}","starred_url":"https://api.github.com/users/amyboyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amyboyd/subscriptions","organizations_url":"https://api.github.com/users/amyboyd/orgs","repos_url":"https://api.github.com/users/amyboyd/repos","events_url":"https://api.github.com/users/amyboyd/events{/privacy}","received_events_url":"https://api.github.com/users/amyboyd/received_events","type":"User","site_admin":false},"body":"PR #168 hasn't been updated in 2 months so it seems to be abandoned. This PR adds basically the same functionality - but this also allows you to customise which exceptions are retries or not.\r\n\r\nBy default only `OverQueryLimitException` will be retried. If you don't want to retry after a `OverQueryLimitException` (maybe you are in time-sensitive situation where you want to fail fast), you can disable retries with `toggleifExceptionIsAllowedToRetry(OverQueryLimitException.class, false)`. The same goes for other exception types.","created_at":"2016-10-09T09:51:18Z","updated_at":"2016-10-09T09:51:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/189/commits","review_comments_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/189/comments","review_comment_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/189/comments","statuses_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/statuses/842b5c6efa7de1c90e2c203e8435032de3031019","head":{"label":"amyboyd:fail-fast-over-limit","ref":"fail-fast-over-limit","sha":"842b5c6efa7de1c90e2c203e8435032de3031019","user":{"login":"amyboyd","id":398210,"avatar_url":"https://avatars.githubusercontent.com/u/398210?v=3","gravatar_id":"","url":"https://api.github.com/users/amyboyd","html_url":"https://github.com/amyboyd","followers_url":"https://api.github.com/users/amyboyd/followers","following_url":"https://api.github.com/users/amyboyd/following{/other_user}","gists_url":"https://api.github.com/users/amyboyd/gists{/gist_id}","starred_url":"https://api.github.com/users/amyboyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amyboyd/subscriptions","organizations_url":"https://api.github.com/users/amyboyd/orgs","repos_url":"https://api.github.com/users/amyboyd/repos","events_url":"https://api.github.com/users/amyboyd/events{/privacy}","received_events_url":"https://api.github.com/users/amyboyd/received_events","type":"User","site_admin":false},"repo":{"id":67407841,"name":"google-maps-services-java","full_name":"amyboyd/google-maps-services-java","owner":{"login":"amyboyd","id":398210,"avatar_url":"https://avatars.githubusercontent.com/u/398210?v=3","gravatar_id":"","url":"https://api.github.com/users/amyboyd","html_url":"https://github.com/amyboyd","followers_url":"https://api.github.com/users/amyboyd/followers","following_url":"https://api.github.com/users/amyboyd/following{/other_user}","gists_url":"https://api.github.com/users/amyboyd/gists{/gist_id}","starred_url":"https://api.github.com/users/amyboyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amyboyd/subscriptions","organizations_url":"https://api.github.com/users/amyboyd/orgs","repos_url":"https://api.github.com/users/amyboyd/repos","events_url":"https://api.github.com/users/amyboyd/events{/privacy}","received_events_url":"https://api.github.com/users/amyboyd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amyboyd/google-maps-services-java","description":"Java client library for Google Maps API Web Services","fork":true,"url":"https://api.github.com/repos/amyboyd/google-maps-services-java","forks_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/forks","keys_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/teams","hooks_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/hooks","issue_events_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/issues/events{/number}","events_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/events","assignees_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/assignees{/user}","branches_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/branches{/branch}","tags_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/tags","blobs_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/statuses/{sha}","languages_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/languages","stargazers_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/stargazers","contributors_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/contributors","subscribers_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/subscribers","subscription_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/subscription","commits_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/contents/{+path}","compare_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/merges","archive_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/downloads","issues_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/issues{/number}","pulls_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/pulls{/number}","milestones_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/milestones{/number}","notifications_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/labels{/name}","releases_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/releases{/id}","deployments_url":"https://api.github.com/repos/amyboyd/google-maps-services-java/deployments","created_at":"2016-09-05T09:36:58Z","updated_at":"2016-09-05T09:36:59Z","pushed_at":"2016-10-09T09:45:04Z","git_url":"git://github.com/amyboyd/google-maps-services-java.git","ssh_url":"git@github.com:amyboyd/google-maps-services-java.git","clone_url":"https://github.com/amyboyd/google-maps-services-java.git","svn_url":"https://github.com/amyboyd/google-maps-services-java","homepage":"","size":1553,"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":"googlemaps:master","ref":"master","sha":"0ebeecc87ad2cef76637307b6a2ace5ff48dc7ad","user":{"login":"googlemaps","id":3717923,"avatar_url":"https://avatars.githubusercontent.com/u/3717923?v=3","gravatar_id":"","url":"https://api.github.com/users/googlemaps","html_url":"https://github.com/googlemaps","followers_url":"https://api.github.com/users/googlemaps/followers","following_url":"https://api.github.com/users/googlemaps/following{/other_user}","gists_url":"https://api.github.com/users/googlemaps/gists{/gist_id}","starred_url":"https://api.github.com/users/googlemaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlemaps/subscriptions","organizations_url":"https://api.github.com/users/googlemaps/orgs","repos_url":"https://api.github.com/users/googlemaps/repos","events_url":"https://api.github.com/users/googlemaps/events{/privacy}","received_events_url":"https://api.github.com/users/googlemaps/received_events","type":"Organization","site_admin":false},"repo":{"id":22978651,"name":"google-maps-services-java","full_name":"googlemaps/google-maps-services-java","owner":{"login":"googlemaps","id":3717923,"avatar_url":"https://avatars.githubusercontent.com/u/3717923?v=3","gravatar_id":"","url":"https://api.github.com/users/googlemaps","html_url":"https://github.com/googlemaps","followers_url":"https://api.github.com/users/googlemaps/followers","following_url":"https://api.github.com/users/googlemaps/following{/other_user}","gists_url":"https://api.github.com/users/googlemaps/gists{/gist_id}","starred_url":"https://api.github.com/users/googlemaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlemaps/subscriptions","organizations_url":"https://api.github.com/users/googlemaps/orgs","repos_url":"https://api.github.com/users/googlemaps/repos","events_url":"https://api.github.com/users/googlemaps/events{/privacy}","received_events_url":"https://api.github.com/users/googlemaps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googlemaps/google-maps-services-java","description":"Java client library for Google Maps API Web Services","fork":false,"url":"https://api.github.com/repos/googlemaps/google-maps-services-java","forks_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/forks","keys_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/teams","hooks_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/hooks","issue_events_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/events{/number}","events_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/events","assignees_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/assignees{/user}","branches_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/branches{/branch}","tags_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/tags","blobs_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/statuses/{sha}","languages_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/languages","stargazers_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/stargazers","contributors_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/contributors","subscribers_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/subscribers","subscription_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/subscription","commits_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/contents/{+path}","compare_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/merges","archive_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/downloads","issues_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues{/number}","pulls_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls{/number}","milestones_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/milestones{/number}","notifications_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/labels{/name}","releases_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/releases{/id}","deployments_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/deployments","created_at":"2014-08-15T04:35:21Z","updated_at":"2016-10-08T14:37:46Z","pushed_at":"2016-10-09T09:51:18Z","git_url":"git://github.com/googlemaps/google-maps-services-java.git","ssh_url":"git@github.com:googlemaps/google-maps-services-java.git","clone_url":"https://github.com/googlemaps/google-maps-services-java.git","svn_url":"https://github.com/googlemaps/google-maps-services-java","homepage":"","size":1888,"stargazers_count":455,"watchers_count":455,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":355,"mirror_url":null,"open_issues_count":21,"forks":355,"open_issues":21,"watchers":455,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/189"},"html":{"href":"https://github.com/googlemaps/google-maps-services-java/pull/189"},"issue":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/189"},"comments":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/189/comments"},"review_comments":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/189/comments"},"review_comment":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/189/commits"},"statuses":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/statuses/842b5c6efa7de1c90e2c203e8435032de3031019"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":128,"deletions":32,"changed_files":12}}
{"actor":{"display_login":"amyboyd"}}