{"action":"opened","number":33,"pull_request":{"url":"https://api.github.com/repos/login-box/dropwizard-heroku/pulls/33","id":41644008,"html_url":"https://github.com/login-box/dropwizard-heroku/pull/33","diff_url":"https://github.com/login-box/dropwizard-heroku/pull/33.diff","patch_url":"https://github.com/login-box/dropwizard-heroku/pull/33.patch","issue_url":"https://api.github.com/repos/login-box/dropwizard-heroku/issues/33","number":33,"state":"open","locked":false,"title":"Pass URL parameters from `DATABASE_URL` through to JDBC.","user":{"login":"ojacobson","id":160985,"avatar_url":"https://avatars.githubusercontent.com/u/160985?v=3","gravatar_id":"","url":"https://api.github.com/users/ojacobson","html_url":"https://github.com/ojacobson","followers_url":"https://api.github.com/users/ojacobson/followers","following_url":"https://api.github.com/users/ojacobson/following{/other_user}","gists_url":"https://api.github.com/users/ojacobson/gists{/gist_id}","starred_url":"https://api.github.com/users/ojacobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojacobson/subscriptions","organizations_url":"https://api.github.com/users/ojacobson/orgs","repos_url":"https://api.github.com/users/ojacobson/repos","events_url":"https://api.github.com/users/ojacobson/events{/privacy}","received_events_url":"https://api.github.com/users/ojacobson/received_events","type":"User","site_admin":false},"body":"This was motivated by ticket #32, wherein someone asked for support for\naccessing Heroku databases from outside of Heroku. That's a reasonable need,\nbut because of the way Heroku manages ephemeral-ish hosts like database\nservers, there's no good default way to use SSL: it always needs to be told to\ndisregard cert validation, which I refuse to ship as the default configuration,\nand writing a custom `SSLSocketFactory` which recognizes Heroku's specific\nsetup is an unending maintenance effort.\n\nThis implementation makes it the user's problem, and documents it. It's got\nsome ugly wrinkles around URL parameters with escapable characters in them, but\nI think those will be rare-to-nonexistant in practice.","created_at":"2015-08-05T05:18:31Z","updated_at":"2015-08-05T05:18:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/login-box/dropwizard-heroku/pulls/33/commits","review_comments_url":"https://api.github.com/repos/login-box/dropwizard-heroku/pulls/33/comments","review_comment_url":"https://api.github.com/repos/login-box/dropwizard-heroku/pulls/comments{/number}","comments_url":"https://api.github.com/repos/login-box/dropwizard-heroku/issues/33/comments","statuses_url":"https://api.github.com/repos/login-box/dropwizard-heroku/statuses/3753bff627728019073f3334c9c5a80f943e7a48","head":{"label":"ojacobson:pass-database-url-params","ref":"pass-database-url-params","sha":"3753bff627728019073f3334c9c5a80f943e7a48","user":{"login":"ojacobson","id":160985,"avatar_url":"https://avatars.githubusercontent.com/u/160985?v=3","gravatar_id":"","url":"https://api.github.com/users/ojacobson","html_url":"https://github.com/ojacobson","followers_url":"https://api.github.com/users/ojacobson/followers","following_url":"https://api.github.com/users/ojacobson/following{/other_user}","gists_url":"https://api.github.com/users/ojacobson/gists{/gist_id}","starred_url":"https://api.github.com/users/ojacobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojacobson/subscriptions","organizations_url":"https://api.github.com/users/ojacobson/orgs","repos_url":"https://api.github.com/users/ojacobson/repos","events_url":"https://api.github.com/users/ojacobson/events{/privacy}","received_events_url":"https://api.github.com/users/ojacobson/received_events","type":"User","site_admin":false},"repo":{"id":32487111,"name":"dropwizard-heroku","full_name":"ojacobson/dropwizard-heroku","owner":{"login":"ojacobson","id":160985,"avatar_url":"https://avatars.githubusercontent.com/u/160985?v=3","gravatar_id":"","url":"https://api.github.com/users/ojacobson","html_url":"https://github.com/ojacobson","followers_url":"https://api.github.com/users/ojacobson/followers","following_url":"https://api.github.com/users/ojacobson/following{/other_user}","gists_url":"https://api.github.com/users/ojacobson/gists{/gist_id}","starred_url":"https://api.github.com/users/ojacobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojacobson/subscriptions","organizations_url":"https://api.github.com/users/ojacobson/orgs","repos_url":"https://api.github.com/users/ojacobson/repos","events_url":"https://api.github.com/users/ojacobson/events{/privacy}","received_events_url":"https://api.github.com/users/ojacobson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ojacobson/dropwizard-heroku","description":null,"fork":true,"url":"https://api.github.com/repos/ojacobson/dropwizard-heroku","forks_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/forks","keys_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/teams","hooks_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/hooks","issue_events_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/issues/events{/number}","events_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/events","assignees_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/assignees{/user}","branches_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/branches{/branch}","tags_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/tags","blobs_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/git/refs{/sha}","trees_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/statuses/{sha}","languages_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/languages","stargazers_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/stargazers","contributors_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/contributors","subscribers_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/subscribers","subscription_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/subscription","commits_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/commits{/sha}","git_commits_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/git/commits{/sha}","comments_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/comments{/number}","issue_comment_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/issues/comments{/number}","contents_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/contents/{+path}","compare_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/merges","archive_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/downloads","issues_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/issues{/number}","pulls_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/pulls{/number}","milestones_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/milestones{/number}","notifications_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/labels{/name}","releases_url":"https://api.github.com/repos/ojacobson/dropwizard-heroku/releases{/id}","created_at":"2015-03-18T22:12:33Z","updated_at":"2015-03-18T21:55:15Z","pushed_at":"2015-08-05T05:18:25Z","git_url":"git://github.com/ojacobson/dropwizard-heroku.git","ssh_url":"git@github.com:ojacobson/dropwizard-heroku.git","clone_url":"https://github.com/ojacobson/dropwizard-heroku.git","svn_url":"https://github.com/ojacobson/dropwizard-heroku","homepage":null,"size":335,"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":"login-box:master","ref":"master","sha":"851d7193019ffd16eed23c837f44ca8b5aa83d9a","user":{"login":"login-box","id":11323826,"avatar_url":"https://avatars.githubusercontent.com/u/11323826?v=3","gravatar_id":"","url":"https://api.github.com/users/login-box","html_url":"https://github.com/login-box","followers_url":"https://api.github.com/users/login-box/followers","following_url":"https://api.github.com/users/login-box/following{/other_user}","gists_url":"https://api.github.com/users/login-box/gists{/gist_id}","starred_url":"https://api.github.com/users/login-box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/login-box/subscriptions","organizations_url":"https://api.github.com/users/login-box/orgs","repos_url":"https://api.github.com/users/login-box/repos","events_url":"https://api.github.com/users/login-box/events{/privacy}","received_events_url":"https://api.github.com/users/login-box/received_events","type":"Organization","site_admin":false},"repo":{"id":32486474,"name":"dropwizard-heroku","full_name":"login-box/dropwizard-heroku","owner":{"login":"login-box","id":11323826,"avatar_url":"https://avatars.githubusercontent.com/u/11323826?v=3","gravatar_id":"","url":"https://api.github.com/users/login-box","html_url":"https://github.com/login-box","followers_url":"https://api.github.com/users/login-box/followers","following_url":"https://api.github.com/users/login-box/following{/other_user}","gists_url":"https://api.github.com/users/login-box/gists{/gist_id}","starred_url":"https://api.github.com/users/login-box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/login-box/subscriptions","organizations_url":"https://api.github.com/users/login-box/orgs","repos_url":"https://api.github.com/users/login-box/repos","events_url":"https://api.github.com/users/login-box/events{/privacy}","received_events_url":"https://api.github.com/users/login-box/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/login-box/dropwizard-heroku","description":"Dropwizard support for Heroku's conventions.","fork":false,"url":"https://api.github.com/repos/login-box/dropwizard-heroku","forks_url":"https://api.github.com/repos/login-box/dropwizard-heroku/forks","keys_url":"https://api.github.com/repos/login-box/dropwizard-heroku/keys{/key_id}","collaborators_url":"https://api.github.com/repos/login-box/dropwizard-heroku/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/login-box/dropwizard-heroku/teams","hooks_url":"https://api.github.com/repos/login-box/dropwizard-heroku/hooks","issue_events_url":"https://api.github.com/repos/login-box/dropwizard-heroku/issues/events{/number}","events_url":"https://api.github.com/repos/login-box/dropwizard-heroku/events","assignees_url":"https://api.github.com/repos/login-box/dropwizard-heroku/assignees{/user}","branches_url":"https://api.github.com/repos/login-box/dropwizard-heroku/branches{/branch}","tags_url":"https://api.github.com/repos/login-box/dropwizard-heroku/tags","blobs_url":"https://api.github.com/repos/login-box/dropwizard-heroku/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/login-box/dropwizard-heroku/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/login-box/dropwizard-heroku/git/refs{/sha}","trees_url":"https://api.github.com/repos/login-box/dropwizard-heroku/git/trees{/sha}","statuses_url":"https://api.github.com/repos/login-box/dropwizard-heroku/statuses/{sha}","languages_url":"https://api.github.com/repos/login-box/dropwizard-heroku/languages","stargazers_url":"https://api.github.com/repos/login-box/dropwizard-heroku/stargazers","contributors_url":"https://api.github.com/repos/login-box/dropwizard-heroku/contributors","subscribers_url":"https://api.github.com/repos/login-box/dropwizard-heroku/subscribers","subscription_url":"https://api.github.com/repos/login-box/dropwizard-heroku/subscription","commits_url":"https://api.github.com/repos/login-box/dropwizard-heroku/commits{/sha}","git_commits_url":"https://api.github.com/repos/login-box/dropwizard-heroku/git/commits{/sha}","comments_url":"https://api.github.com/repos/login-box/dropwizard-heroku/comments{/number}","issue_comment_url":"https://api.github.com/repos/login-box/dropwizard-heroku/issues/comments{/number}","contents_url":"https://api.github.com/repos/login-box/dropwizard-heroku/contents/{+path}","compare_url":"https://api.github.com/repos/login-box/dropwizard-heroku/compare/{base}...{head}","merges_url":"https://api.github.com/repos/login-box/dropwizard-heroku/merges","archive_url":"https://api.github.com/repos/login-box/dropwizard-heroku/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/login-box/dropwizard-heroku/downloads","issues_url":"https://api.github.com/repos/login-box/dropwizard-heroku/issues{/number}","pulls_url":"https://api.github.com/repos/login-box/dropwizard-heroku/pulls{/number}","milestones_url":"https://api.github.com/repos/login-box/dropwizard-heroku/milestones{/number}","notifications_url":"https://api.github.com/repos/login-box/dropwizard-heroku/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/login-box/dropwizard-heroku/labels{/name}","releases_url":"https://api.github.com/repos/login-box/dropwizard-heroku/releases{/id}","created_at":"2015-03-18T21:55:15Z","updated_at":"2015-08-04T20:08:17Z","pushed_at":"2015-03-23T23:25:14Z","git_url":"git://github.com/login-box/dropwizard-heroku.git","ssh_url":"git@github.com:login-box/dropwizard-heroku.git","clone_url":"https://github.com/login-box/dropwizard-heroku.git","svn_url":"https://github.com/login-box/dropwizard-heroku","homepage":"","size":510,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/login-box/dropwizard-heroku/pulls/33"},"html":{"href":"https://github.com/login-box/dropwizard-heroku/pull/33"},"issue":{"href":"https://api.github.com/repos/login-box/dropwizard-heroku/issues/33"},"comments":{"href":"https://api.github.com/repos/login-box/dropwizard-heroku/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/login-box/dropwizard-heroku/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/login-box/dropwizard-heroku/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/login-box/dropwizard-heroku/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/login-box/dropwizard-heroku/statuses/3753bff627728019073f3334c9c5a80f943e7a48"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":37,"deletions":3,"changed_files":3}}