{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/uber/rides-java-sdk/pulls/26","id":92159940,"html_url":"https://github.com/uber/rides-java-sdk/pull/26","diff_url":"https://github.com/uber/rides-java-sdk/pull/26.diff","patch_url":"https://github.com/uber/rides-java-sdk/pull/26.patch","issue_url":"https://api.github.com/repos/uber/rides-java-sdk/issues/26","number":26,"state":"closed","locked":false,"title":"Allow to mock API responses instead of using sandbox","user":{"login":"pjagielski","id":513361,"avatar_url":"https://avatars.githubusercontent.com/u/513361?v=3","gravatar_id":"","url":"https://api.github.com/users/pjagielski","html_url":"https://github.com/pjagielski","followers_url":"https://api.github.com/users/pjagielski/followers","following_url":"https://api.github.com/users/pjagielski/following{/other_user}","gists_url":"https://api.github.com/users/pjagielski/gists{/gist_id}","starred_url":"https://api.github.com/users/pjagielski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjagielski/subscriptions","organizations_url":"https://api.github.com/users/pjagielski/orgs","repos_url":"https://api.github.com/users/pjagielski/repos","events_url":"https://api.github.com/users/pjagielski/events{/privacy}","received_events_url":"https://api.github.com/users/pjagielski/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\n### Motivation\r\nWe extensively use Rides API and have about 30 integration tests with various API interactions. When using sandbox our build took about 8 minutes to finish, so we decided to mock Rides API with WireMock. Now the build takes less than 3 minutes ;)\r\n\r\n### Details\r\nInstead of setting `Environment` we added a `baseUrl` property which is used to build `endpointHost` if present.","created_at":"2016-11-03T14:06:36Z","updated_at":"2016-11-18T16:05:21Z","closed_at":"2016-11-18T16:05:21Z","merged_at":null,"merge_commit_sha":"e702ee8064ec4e05dde519f52f0c0fe85306582e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/uber/rides-java-sdk/pulls/26/commits","review_comments_url":"https://api.github.com/repos/uber/rides-java-sdk/pulls/26/comments","review_comment_url":"https://api.github.com/repos/uber/rides-java-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uber/rides-java-sdk/issues/26/comments","statuses_url":"https://api.github.com/repos/uber/rides-java-sdk/statuses/01646bd4986e84727c61dfd3c237e8feee73b05c","head":{"label":"TouK:base_url","ref":"base_url","sha":"01646bd4986e84727c61dfd3c237e8feee73b05c","user":{"login":"TouK","id":136506,"avatar_url":"https://avatars.githubusercontent.com/u/136506?v=3","gravatar_id":"","url":"https://api.github.com/users/TouK","html_url":"https://github.com/TouK","followers_url":"https://api.github.com/users/TouK/followers","following_url":"https://api.github.com/users/TouK/following{/other_user}","gists_url":"https://api.github.com/users/TouK/gists{/gist_id}","starred_url":"https://api.github.com/users/TouK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TouK/subscriptions","organizations_url":"https://api.github.com/users/TouK/orgs","repos_url":"https://api.github.com/users/TouK/repos","events_url":"https://api.github.com/users/TouK/events{/privacy}","received_events_url":"https://api.github.com/users/TouK/received_events","type":"Organization","site_admin":false},"repo":{"id":72424120,"name":"rides-java-sdk","full_name":"TouK/rides-java-sdk","owner":{"login":"TouK","id":136506,"avatar_url":"https://avatars.githubusercontent.com/u/136506?v=3","gravatar_id":"","url":"https://api.github.com/users/TouK","html_url":"https://github.com/TouK","followers_url":"https://api.github.com/users/TouK/followers","following_url":"https://api.github.com/users/TouK/following{/other_user}","gists_url":"https://api.github.com/users/TouK/gists{/gist_id}","starred_url":"https://api.github.com/users/TouK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TouK/subscriptions","organizations_url":"https://api.github.com/users/TouK/orgs","repos_url":"https://api.github.com/users/TouK/repos","events_url":"https://api.github.com/users/TouK/events{/privacy}","received_events_url":"https://api.github.com/users/TouK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TouK/rides-java-sdk","description":"Uber Rides Java SDK (beta)","fork":true,"url":"https://api.github.com/repos/TouK/rides-java-sdk","forks_url":"https://api.github.com/repos/TouK/rides-java-sdk/forks","keys_url":"https://api.github.com/repos/TouK/rides-java-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TouK/rides-java-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TouK/rides-java-sdk/teams","hooks_url":"https://api.github.com/repos/TouK/rides-java-sdk/hooks","issue_events_url":"https://api.github.com/repos/TouK/rides-java-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/TouK/rides-java-sdk/events","assignees_url":"https://api.github.com/repos/TouK/rides-java-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/TouK/rides-java-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/TouK/rides-java-sdk/tags","blobs_url":"https://api.github.com/repos/TouK/rides-java-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TouK/rides-java-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TouK/rides-java-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/TouK/rides-java-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TouK/rides-java-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/TouK/rides-java-sdk/languages","stargazers_url":"https://api.github.com/repos/TouK/rides-java-sdk/stargazers","contributors_url":"https://api.github.com/repos/TouK/rides-java-sdk/contributors","subscribers_url":"https://api.github.com/repos/TouK/rides-java-sdk/subscribers","subscription_url":"https://api.github.com/repos/TouK/rides-java-sdk/subscription","commits_url":"https://api.github.com/repos/TouK/rides-java-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/TouK/rides-java-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/TouK/rides-java-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/TouK/rides-java-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/TouK/rides-java-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/TouK/rides-java-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TouK/rides-java-sdk/merges","archive_url":"https://api.github.com/repos/TouK/rides-java-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TouK/rides-java-sdk/downloads","issues_url":"https://api.github.com/repos/TouK/rides-java-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/TouK/rides-java-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/TouK/rides-java-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/TouK/rides-java-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TouK/rides-java-sdk/labels{/name}","releases_url":"https://api.github.com/repos/TouK/rides-java-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/TouK/rides-java-sdk/deployments","created_at":"2016-10-31T09:59:25Z","updated_at":"2016-10-31T09:59:26Z","pushed_at":"2016-11-18T15:31:08Z","git_url":"git://github.com/TouK/rides-java-sdk.git","ssh_url":"git@github.com:TouK/rides-java-sdk.git","clone_url":"https://github.com/TouK/rides-java-sdk.git","svn_url":"https://github.com/TouK/rides-java-sdk","homepage":"https://developer.uber.com/docs","size":270,"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":"uber:master","ref":"master","sha":"45b68d046a26cbe13210dc29f2fd353ac15dc1b8","user":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"repo":{"id":42742666,"name":"rides-java-sdk","full_name":"uber/rides-java-sdk","owner":{"login":"uber","id":538264,"avatar_url":"https://avatars.githubusercontent.com/u/538264?v=3","gravatar_id":"","url":"https://api.github.com/users/uber","html_url":"https://github.com/uber","followers_url":"https://api.github.com/users/uber/followers","following_url":"https://api.github.com/users/uber/following{/other_user}","gists_url":"https://api.github.com/users/uber/gists{/gist_id}","starred_url":"https://api.github.com/users/uber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uber/subscriptions","organizations_url":"https://api.github.com/users/uber/orgs","repos_url":"https://api.github.com/users/uber/repos","events_url":"https://api.github.com/users/uber/events{/privacy}","received_events_url":"https://api.github.com/users/uber/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uber/rides-java-sdk","description":"Uber Rides Java SDK (beta)","fork":false,"url":"https://api.github.com/repos/uber/rides-java-sdk","forks_url":"https://api.github.com/repos/uber/rides-java-sdk/forks","keys_url":"https://api.github.com/repos/uber/rides-java-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uber/rides-java-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uber/rides-java-sdk/teams","hooks_url":"https://api.github.com/repos/uber/rides-java-sdk/hooks","issue_events_url":"https://api.github.com/repos/uber/rides-java-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/uber/rides-java-sdk/events","assignees_url":"https://api.github.com/repos/uber/rides-java-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/uber/rides-java-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/uber/rides-java-sdk/tags","blobs_url":"https://api.github.com/repos/uber/rides-java-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uber/rides-java-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uber/rides-java-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/uber/rides-java-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uber/rides-java-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/uber/rides-java-sdk/languages","stargazers_url":"https://api.github.com/repos/uber/rides-java-sdk/stargazers","contributors_url":"https://api.github.com/repos/uber/rides-java-sdk/contributors","subscribers_url":"https://api.github.com/repos/uber/rides-java-sdk/subscribers","subscription_url":"https://api.github.com/repos/uber/rides-java-sdk/subscription","commits_url":"https://api.github.com/repos/uber/rides-java-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/uber/rides-java-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/uber/rides-java-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/uber/rides-java-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/uber/rides-java-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/uber/rides-java-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uber/rides-java-sdk/merges","archive_url":"https://api.github.com/repos/uber/rides-java-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uber/rides-java-sdk/downloads","issues_url":"https://api.github.com/repos/uber/rides-java-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/uber/rides-java-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/uber/rides-java-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/uber/rides-java-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uber/rides-java-sdk/labels{/name}","releases_url":"https://api.github.com/repos/uber/rides-java-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/uber/rides-java-sdk/deployments","created_at":"2015-09-18T19:20:11Z","updated_at":"2016-11-12T03:46:51Z","pushed_at":"2016-11-18T15:32:33Z","git_url":"git://github.com/uber/rides-java-sdk.git","ssh_url":"git@github.com:uber/rides-java-sdk.git","clone_url":"https://github.com/uber/rides-java-sdk.git","svn_url":"https://github.com/uber/rides-java-sdk","homepage":"https://developer.uber.com/docs","size":291,"stargazers_count":54,"watchers_count":54,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":7,"forks":31,"open_issues":7,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uber/rides-java-sdk/pulls/26"},"html":{"href":"https://github.com/uber/rides-java-sdk/pull/26"},"issue":{"href":"https://api.github.com/repos/uber/rides-java-sdk/issues/26"},"comments":{"href":"https://api.github.com/repos/uber/rides-java-sdk/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/uber/rides-java-sdk/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/uber/rides-java-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uber/rides-java-sdk/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/uber/rides-java-sdk/statuses/01646bd4986e84727c61dfd3c237e8feee73b05c"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":31,"deletions":18,"changed_files":3}}
{"actor":{"display_login":"pjagielski"}}