{"action":"created","issue":{"url":"https://api.github.com/repos/opentable/otj-pg-embedded/issues/23","repository_url":"https://api.github.com/repos/opentable/otj-pg-embedded","labels_url":"https://api.github.com/repos/opentable/otj-pg-embedded/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/opentable/otj-pg-embedded/issues/23/comments","events_url":"https://api.github.com/repos/opentable/otj-pg-embedded/issues/23/events","html_url":"https://github.com/opentable/otj-pg-embedded/pull/23","id":185357553,"number":23,"title":"Create DataSource with properties","user":{"login":"gostaj","id":298131,"avatar_url":"https://avatars.githubusercontent.com/u/298131?v=3","gravatar_id":"","url":"https://api.github.com/users/gostaj","html_url":"https://github.com/gostaj","followers_url":"https://api.github.com/users/gostaj/followers","following_url":"https://api.github.com/users/gostaj/following{/other_user}","gists_url":"https://api.github.com/users/gostaj/gists{/gist_id}","starred_url":"https://api.github.com/users/gostaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gostaj/subscriptions","organizations_url":"https://api.github.com/users/gostaj/orgs","repos_url":"https://api.github.com/users/gostaj/repos","events_url":"https://api.github.com/users/gostaj/events{/privacy}","received_events_url":"https://api.github.com/users/gostaj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-26T10:42:26Z","updated_at":"2016-10-26T20:06:17Z","closed_at":"2016-10-26T20:06:13Z","pull_request":{"url":"https://api.github.com/repos/opentable/otj-pg-embedded/pulls/23","html_url":"https://github.com/opentable/otj-pg-embedded/pull/23","diff_url":"https://github.com/opentable/otj-pg-embedded/pull/23.diff","patch_url":"https://github.com/opentable/otj-pg-embedded/pull/23.patch"},"body":"I had an issue where I needed to set the DataSource properties.\r\nSince the javax.sql.DataSource interface doesn't expose the setProperty method you can now optionally supply properties to the getPostgresDatabase, getTemplateDatabase and getDatabase methods.\r\nThis is cleaner than casting the returned DataSource to PGSimpleDataSource (which has a setProperty method)."},"comment":{"url":"https://api.github.com/repos/opentable/otj-pg-embedded/issues/comments/256461574","html_url":"https://github.com/opentable/otj-pg-embedded/pull/23#issuecomment-256461574","issue_url":"https://api.github.com/repos/opentable/otj-pg-embedded/issues/23","id":256461574,"user":{"login":"stevenschlansker","id":129097,"avatar_url":"https://avatars.githubusercontent.com/u/129097?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenschlansker","html_url":"https://github.com/stevenschlansker","followers_url":"https://api.github.com/users/stevenschlansker/followers","following_url":"https://api.github.com/users/stevenschlansker/following{/other_user}","gists_url":"https://api.github.com/users/stevenschlansker/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenschlansker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenschlansker/subscriptions","organizations_url":"https://api.github.com/users/stevenschlansker/orgs","repos_url":"https://api.github.com/users/stevenschlansker/repos","events_url":"https://api.github.com/users/stevenschlansker/events{/privacy}","received_events_url":"https://api.github.com/users/stevenschlansker/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T20:06:17Z","updated_at":"2016-10-26T20:06:17Z","body":"Thanks!"}}
{"actor":{"display_login":"stevenschlansker"}}