{"action":"created","comment":{"url":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls/comments/50700889","id":50700889,"diff_hunk":"@@ -397,4 +422,33 @@ else if (txCM.getTransactionIntegration().isConnectableResource(mc))\n     * @return The instance\n     */\n    protected abstract ManagedConnectionPool createManagedConnectionPool(Credential credential);\n+\n+   /**\n+    * Prefill the connection pool\n+    *\n+    * @param credential the pool credential\n+    */\n+   @Override\n+   public void prefill(Credential credential)\n+   {\n+\n+      this.prefillCredential = credential;\n+      if (shouldPrefill)\n+      {\n+         ManagedConnectionPool mcp = getManagedConnectionPool(credential);\n+\n+         mcp.prefill();\n+\n+      }\n+   }\n+\n+   /**\n+    * Get prefill credential\n+    * @return credential used to prefill\n+    */\n+   public Credential getPrefillCredential()\n+   {\n+      return this.prefillCredential;","path":"core/src/main/java/org/ironjacamar/core/connectionmanager/pool/AbstractPool.java","position":152,"original_position":152,"commit_id":"08bb20097d0b6687e3c7d27e03e17a3ed40d9ae1","original_commit_id":"08bb20097d0b6687e3c7d27e03e17a3ed40d9ae1","user":{"login":"jesperpedersen","id":229465,"avatar_url":"https://avatars.githubusercontent.com/u/229465?v=3","gravatar_id":"","url":"https://api.github.com/users/jesperpedersen","html_url":"https://github.com/jesperpedersen","followers_url":"https://api.github.com/users/jesperpedersen/followers","following_url":"https://api.github.com/users/jesperpedersen/following{/other_user}","gists_url":"https://api.github.com/users/jesperpedersen/gists{/gist_id}","starred_url":"https://api.github.com/users/jesperpedersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesperpedersen/subscriptions","organizations_url":"https://api.github.com/users/jesperpedersen/orgs","repos_url":"https://api.github.com/users/jesperpedersen/repos","events_url":"https://api.github.com/users/jesperpedersen/events{/privacy}","received_events_url":"https://api.github.com/users/jesperpedersen/received_events","type":"User","site_admin":false},"body":"Construct prefillCredential if null","created_at":"2016-01-25T14:43:54Z","updated_at":"2016-01-25T14:43:54Z","html_url":"https://github.com/ironjacamar/ironjacamar/pull/451#discussion_r50700889","pull_request_url":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls/451","_links":{"self":{"href":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls/comments/50700889"},"html":{"href":"https://github.com/ironjacamar/ironjacamar/pull/451#discussion_r50700889"},"pull_request":{"href":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls/451"}}},"pull_request":{"url":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls/451","id":57065148,"html_url":"https://github.com/ironjacamar/ironjacamar/pull/451","diff_url":"https://github.com/ironjacamar/ironjacamar/pull/451.diff","patch_url":"https://github.com/ironjacamar/ironjacamar/pull/451.patch","issue_url":"https://api.github.com/repos/ironjacamar/ironjacamar/issues/451","number":451,"state":"open","locked":false,"title":"[#418] Propagate prefill information from deployment chain to pool co…","user":{"login":"maeste","id":74194,"avatar_url":"https://avatars.githubusercontent.com/u/74194?v=3","gravatar_id":"","url":"https://api.github.com/users/maeste","html_url":"https://github.com/maeste","followers_url":"https://api.github.com/users/maeste/followers","following_url":"https://api.github.com/users/maeste/following{/other_user}","gists_url":"https://api.github.com/users/maeste/gists{/gist_id}","starred_url":"https://api.github.com/users/maeste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maeste/subscriptions","organizations_url":"https://api.github.com/users/maeste/orgs","repos_url":"https://api.github.com/users/maeste/repos","events_url":"https://api.github.com/users/maeste/events{/privacy}","received_events_url":"https://api.github.com/users/maeste/received_events","type":"User","site_admin":false},"body":"…re deployers major task and add test cases","created_at":"2016-01-25T12:32:08Z","updated_at":"2016-01-25T14:43:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c25a9a0f7d98d3fc0928305d708fca25fcfb098","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls/451/commits","review_comments_url":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls/451/comments","review_comment_url":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ironjacamar/ironjacamar/issues/451/comments","statuses_url":"https://api.github.com/repos/ironjacamar/ironjacamar/statuses/08bb20097d0b6687e3c7d27e03e17a3ed40d9ae1","head":{"label":"maeste:prefill","ref":"prefill","sha":"08bb20097d0b6687e3c7d27e03e17a3ed40d9ae1","user":{"login":"maeste","id":74194,"avatar_url":"https://avatars.githubusercontent.com/u/74194?v=3","gravatar_id":"","url":"https://api.github.com/users/maeste","html_url":"https://github.com/maeste","followers_url":"https://api.github.com/users/maeste/followers","following_url":"https://api.github.com/users/maeste/following{/other_user}","gists_url":"https://api.github.com/users/maeste/gists{/gist_id}","starred_url":"https://api.github.com/users/maeste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maeste/subscriptions","organizations_url":"https://api.github.com/users/maeste/orgs","repos_url":"https://api.github.com/users/maeste/repos","events_url":"https://api.github.com/users/maeste/events{/privacy}","received_events_url":"https://api.github.com/users/maeste/received_events","type":"User","site_admin":false},"repo":{"id":10340664,"name":"ironjacamar","full_name":"maeste/ironjacamar","owner":{"login":"maeste","id":74194,"avatar_url":"https://avatars.githubusercontent.com/u/74194?v=3","gravatar_id":"","url":"https://api.github.com/users/maeste","html_url":"https://github.com/maeste","followers_url":"https://api.github.com/users/maeste/followers","following_url":"https://api.github.com/users/maeste/following{/other_user}","gists_url":"https://api.github.com/users/maeste/gists{/gist_id}","starred_url":"https://api.github.com/users/maeste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maeste/subscriptions","organizations_url":"https://api.github.com/users/maeste/orgs","repos_url":"https://api.github.com/users/maeste/repos","events_url":"https://api.github.com/users/maeste/events{/privacy}","received_events_url":"https://api.github.com/users/maeste/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maeste/ironjacamar","description":"The IronJacamar project","fork":true,"url":"https://api.github.com/repos/maeste/ironjacamar","forks_url":"https://api.github.com/repos/maeste/ironjacamar/forks","keys_url":"https://api.github.com/repos/maeste/ironjacamar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maeste/ironjacamar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maeste/ironjacamar/teams","hooks_url":"https://api.github.com/repos/maeste/ironjacamar/hooks","issue_events_url":"https://api.github.com/repos/maeste/ironjacamar/issues/events{/number}","events_url":"https://api.github.com/repos/maeste/ironjacamar/events","assignees_url":"https://api.github.com/repos/maeste/ironjacamar/assignees{/user}","branches_url":"https://api.github.com/repos/maeste/ironjacamar/branches{/branch}","tags_url":"https://api.github.com/repos/maeste/ironjacamar/tags","blobs_url":"https://api.github.com/repos/maeste/ironjacamar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maeste/ironjacamar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maeste/ironjacamar/git/refs{/sha}","trees_url":"https://api.github.com/repos/maeste/ironjacamar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maeste/ironjacamar/statuses/{sha}","languages_url":"https://api.github.com/repos/maeste/ironjacamar/languages","stargazers_url":"https://api.github.com/repos/maeste/ironjacamar/stargazers","contributors_url":"https://api.github.com/repos/maeste/ironjacamar/contributors","subscribers_url":"https://api.github.com/repos/maeste/ironjacamar/subscribers","subscription_url":"https://api.github.com/repos/maeste/ironjacamar/subscription","commits_url":"https://api.github.com/repos/maeste/ironjacamar/commits{/sha}","git_commits_url":"https://api.github.com/repos/maeste/ironjacamar/git/commits{/sha}","comments_url":"https://api.github.com/repos/maeste/ironjacamar/comments{/number}","issue_comment_url":"https://api.github.com/repos/maeste/ironjacamar/issues/comments{/number}","contents_url":"https://api.github.com/repos/maeste/ironjacamar/contents/{+path}","compare_url":"https://api.github.com/repos/maeste/ironjacamar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maeste/ironjacamar/merges","archive_url":"https://api.github.com/repos/maeste/ironjacamar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maeste/ironjacamar/downloads","issues_url":"https://api.github.com/repos/maeste/ironjacamar/issues{/number}","pulls_url":"https://api.github.com/repos/maeste/ironjacamar/pulls{/number}","milestones_url":"https://api.github.com/repos/maeste/ironjacamar/milestones{/number}","notifications_url":"https://api.github.com/repos/maeste/ironjacamar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maeste/ironjacamar/labels{/name}","releases_url":"https://api.github.com/repos/maeste/ironjacamar/releases{/id}","deployments_url":"https://api.github.com/repos/maeste/ironjacamar/deployments","created_at":"2013-05-28T17:01:18Z","updated_at":"2013-09-17T11:20:51Z","pushed_at":"2016-01-25T12:32:00Z","git_url":"git://github.com/maeste/ironjacamar.git","ssh_url":"git@github.com:maeste/ironjacamar.git","clone_url":"https://github.com/maeste/ironjacamar.git","svn_url":"https://github.com/maeste/ironjacamar","homepage":null,"size":100173,"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":"ironjacamar:master","ref":"master","sha":"4ebea151fb83002426aea5d68276d18c431381fe","user":{"login":"ironjacamar","id":4104144,"avatar_url":"https://avatars.githubusercontent.com/u/4104144?v=3","gravatar_id":"","url":"https://api.github.com/users/ironjacamar","html_url":"https://github.com/ironjacamar","followers_url":"https://api.github.com/users/ironjacamar/followers","following_url":"https://api.github.com/users/ironjacamar/following{/other_user}","gists_url":"https://api.github.com/users/ironjacamar/gists{/gist_id}","starred_url":"https://api.github.com/users/ironjacamar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironjacamar/subscriptions","organizations_url":"https://api.github.com/users/ironjacamar/orgs","repos_url":"https://api.github.com/users/ironjacamar/repos","events_url":"https://api.github.com/users/ironjacamar/events{/privacy}","received_events_url":"https://api.github.com/users/ironjacamar/received_events","type":"Organization","site_admin":false},"repo":{"id":10339590,"name":"ironjacamar","full_name":"ironjacamar/ironjacamar","owner":{"login":"ironjacamar","id":4104144,"avatar_url":"https://avatars.githubusercontent.com/u/4104144?v=3","gravatar_id":"","url":"https://api.github.com/users/ironjacamar","html_url":"https://github.com/ironjacamar","followers_url":"https://api.github.com/users/ironjacamar/followers","following_url":"https://api.github.com/users/ironjacamar/following{/other_user}","gists_url":"https://api.github.com/users/ironjacamar/gists{/gist_id}","starred_url":"https://api.github.com/users/ironjacamar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironjacamar/subscriptions","organizations_url":"https://api.github.com/users/ironjacamar/orgs","repos_url":"https://api.github.com/users/ironjacamar/repos","events_url":"https://api.github.com/users/ironjacamar/events{/privacy}","received_events_url":"https://api.github.com/users/ironjacamar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ironjacamar/ironjacamar","description":"The IronJacamar project","fork":false,"url":"https://api.github.com/repos/ironjacamar/ironjacamar","forks_url":"https://api.github.com/repos/ironjacamar/ironjacamar/forks","keys_url":"https://api.github.com/repos/ironjacamar/ironjacamar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ironjacamar/ironjacamar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ironjacamar/ironjacamar/teams","hooks_url":"https://api.github.com/repos/ironjacamar/ironjacamar/hooks","issue_events_url":"https://api.github.com/repos/ironjacamar/ironjacamar/issues/events{/number}","events_url":"https://api.github.com/repos/ironjacamar/ironjacamar/events","assignees_url":"https://api.github.com/repos/ironjacamar/ironjacamar/assignees{/user}","branches_url":"https://api.github.com/repos/ironjacamar/ironjacamar/branches{/branch}","tags_url":"https://api.github.com/repos/ironjacamar/ironjacamar/tags","blobs_url":"https://api.github.com/repos/ironjacamar/ironjacamar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ironjacamar/ironjacamar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ironjacamar/ironjacamar/git/refs{/sha}","trees_url":"https://api.github.com/repos/ironjacamar/ironjacamar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ironjacamar/ironjacamar/statuses/{sha}","languages_url":"https://api.github.com/repos/ironjacamar/ironjacamar/languages","stargazers_url":"https://api.github.com/repos/ironjacamar/ironjacamar/stargazers","contributors_url":"https://api.github.com/repos/ironjacamar/ironjacamar/contributors","subscribers_url":"https://api.github.com/repos/ironjacamar/ironjacamar/subscribers","subscription_url":"https://api.github.com/repos/ironjacamar/ironjacamar/subscription","commits_url":"https://api.github.com/repos/ironjacamar/ironjacamar/commits{/sha}","git_commits_url":"https://api.github.com/repos/ironjacamar/ironjacamar/git/commits{/sha}","comments_url":"https://api.github.com/repos/ironjacamar/ironjacamar/comments{/number}","issue_comment_url":"https://api.github.com/repos/ironjacamar/ironjacamar/issues/comments{/number}","contents_url":"https://api.github.com/repos/ironjacamar/ironjacamar/contents/{+path}","compare_url":"https://api.github.com/repos/ironjacamar/ironjacamar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ironjacamar/ironjacamar/merges","archive_url":"https://api.github.com/repos/ironjacamar/ironjacamar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ironjacamar/ironjacamar/downloads","issues_url":"https://api.github.com/repos/ironjacamar/ironjacamar/issues{/number}","pulls_url":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls{/number}","milestones_url":"https://api.github.com/repos/ironjacamar/ironjacamar/milestones{/number}","notifications_url":"https://api.github.com/repos/ironjacamar/ironjacamar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ironjacamar/ironjacamar/labels{/name}","releases_url":"https://api.github.com/repos/ironjacamar/ironjacamar/releases{/id}","deployments_url":"https://api.github.com/repos/ironjacamar/ironjacamar/deployments","created_at":"2013-05-28T16:08:58Z","updated_at":"2016-01-11T16:49:02Z","pushed_at":"2016-01-25T12:32:09Z","git_url":"git://github.com/ironjacamar/ironjacamar.git","ssh_url":"git@github.com:ironjacamar/ironjacamar.git","clone_url":"https://github.com/ironjacamar/ironjacamar.git","svn_url":"https://github.com/ironjacamar/ironjacamar","homepage":"www.ironjacamar.org","size":103709,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"open_issues_count":14,"forks":60,"open_issues":14,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls/451"},"html":{"href":"https://github.com/ironjacamar/ironjacamar/pull/451"},"issue":{"href":"https://api.github.com/repos/ironjacamar/ironjacamar/issues/451"},"comments":{"href":"https://api.github.com/repos/ironjacamar/ironjacamar/issues/451/comments"},"review_comments":{"href":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls/451/comments"},"review_comment":{"href":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ironjacamar/ironjacamar/pulls/451/commits"},"statuses":{"href":"https://api.github.com/repos/ironjacamar/ironjacamar/statuses/08bb20097d0b6687e3c7d27e03e17a3ed40d9ae1"}}}}