{"action":"closed","number":25,"pull_request":{"url":"https://api.github.com/repos/clouway/pos-print/pulls/25","id":115755415,"html_url":"https://github.com/clouway/pos-print/pull/25","diff_url":"https://github.com/clouway/pos-print/pull/25.diff","patch_url":"https://github.com/clouway/pos-print/pull/25.patch","issue_url":"https://api.github.com/repos/clouway/pos-print/issues/25","number":25,"state":"closed","locked":false,"title":"pos-print: retry database connection on startup","user":{"login":"gadjevb","id":19385077,"avatar_url":"https://avatars2.githubusercontent.com/u/19385077?v=3","gravatar_id":"","url":"https://api.github.com/users/gadjevb","html_url":"https://github.com/gadjevb","followers_url":"https://api.github.com/users/gadjevb/followers","following_url":"https://api.github.com/users/gadjevb/following{/other_user}","gists_url":"https://api.github.com/users/gadjevb/gists{/gist_id}","starred_url":"https://api.github.com/users/gadjevb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadjevb/subscriptions","organizations_url":"https://api.github.com/users/gadjevb/orgs","repos_url":"https://api.github.com/users/gadjevb/repos","events_url":"https://api.github.com/users/gadjevb/events{/privacy}","received_events_url":"https://api.github.com/users/gadjevb/received_events","type":"User","site_admin":false},"body":"PosPrintService will now retry to connect to database multiple times on startup with 2 seconds intervals, if fails to connect process is terminated.\r\n\r\nFixes #17 \r\n\r\nHere a picture of the process:\r\n![unavailable](https://cloud.githubusercontent.com/assets/19385077/25006358/450e728a-2065-11e7-97fd-d65aed3c262b.png)\r\n","created_at":"2017-04-13T13:21:55Z","updated_at":"2017-04-18T07:16:15Z","closed_at":"2017-04-18T07:16:15Z","merged_at":"2017-04-18T07:16:15Z","merge_commit_sha":"36c25f93c62910e9202e8bb1e7b7eb7968b69641","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/clouway/pos-print/pulls/25/commits","review_comments_url":"https://api.github.com/repos/clouway/pos-print/pulls/25/comments","review_comment_url":"https://api.github.com/repos/clouway/pos-print/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clouway/pos-print/issues/25/comments","statuses_url":"https://api.github.com/repos/clouway/pos-print/statuses/c53db226a3d4ac0c28bfbfcd1741f378227150a9","head":{"label":"gadjevb:retryondb","ref":"retryondb","sha":"c53db226a3d4ac0c28bfbfcd1741f378227150a9","user":{"login":"gadjevb","id":19385077,"avatar_url":"https://avatars2.githubusercontent.com/u/19385077?v=3","gravatar_id":"","url":"https://api.github.com/users/gadjevb","html_url":"https://github.com/gadjevb","followers_url":"https://api.github.com/users/gadjevb/followers","following_url":"https://api.github.com/users/gadjevb/following{/other_user}","gists_url":"https://api.github.com/users/gadjevb/gists{/gist_id}","starred_url":"https://api.github.com/users/gadjevb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadjevb/subscriptions","organizations_url":"https://api.github.com/users/gadjevb/orgs","repos_url":"https://api.github.com/users/gadjevb/repos","events_url":"https://api.github.com/users/gadjevb/events{/privacy}","received_events_url":"https://api.github.com/users/gadjevb/received_events","type":"User","site_admin":false},"repo":{"id":87931647,"name":"pos-print","full_name":"gadjevb/pos-print","owner":{"login":"gadjevb","id":19385077,"avatar_url":"https://avatars2.githubusercontent.com/u/19385077?v=3","gravatar_id":"","url":"https://api.github.com/users/gadjevb","html_url":"https://github.com/gadjevb","followers_url":"https://api.github.com/users/gadjevb/followers","following_url":"https://api.github.com/users/gadjevb/following{/other_user}","gists_url":"https://api.github.com/users/gadjevb/gists{/gist_id}","starred_url":"https://api.github.com/users/gadjevb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadjevb/subscriptions","organizations_url":"https://api.github.com/users/gadjevb/orgs","repos_url":"https://api.github.com/users/gadjevb/repos","events_url":"https://api.github.com/users/gadjevb/events{/privacy}","received_events_url":"https://api.github.com/users/gadjevb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gadjevb/pos-print","description":"Point Of Sale Printing Service","fork":true,"url":"https://api.github.com/repos/gadjevb/pos-print","forks_url":"https://api.github.com/repos/gadjevb/pos-print/forks","keys_url":"https://api.github.com/repos/gadjevb/pos-print/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gadjevb/pos-print/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gadjevb/pos-print/teams","hooks_url":"https://api.github.com/repos/gadjevb/pos-print/hooks","issue_events_url":"https://api.github.com/repos/gadjevb/pos-print/issues/events{/number}","events_url":"https://api.github.com/repos/gadjevb/pos-print/events","assignees_url":"https://api.github.com/repos/gadjevb/pos-print/assignees{/user}","branches_url":"https://api.github.com/repos/gadjevb/pos-print/branches{/branch}","tags_url":"https://api.github.com/repos/gadjevb/pos-print/tags","blobs_url":"https://api.github.com/repos/gadjevb/pos-print/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gadjevb/pos-print/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gadjevb/pos-print/git/refs{/sha}","trees_url":"https://api.github.com/repos/gadjevb/pos-print/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gadjevb/pos-print/statuses/{sha}","languages_url":"https://api.github.com/repos/gadjevb/pos-print/languages","stargazers_url":"https://api.github.com/repos/gadjevb/pos-print/stargazers","contributors_url":"https://api.github.com/repos/gadjevb/pos-print/contributors","subscribers_url":"https://api.github.com/repos/gadjevb/pos-print/subscribers","subscription_url":"https://api.github.com/repos/gadjevb/pos-print/subscription","commits_url":"https://api.github.com/repos/gadjevb/pos-print/commits{/sha}","git_commits_url":"https://api.github.com/repos/gadjevb/pos-print/git/commits{/sha}","comments_url":"https://api.github.com/repos/gadjevb/pos-print/comments{/number}","issue_comment_url":"https://api.github.com/repos/gadjevb/pos-print/issues/comments{/number}","contents_url":"https://api.github.com/repos/gadjevb/pos-print/contents/{+path}","compare_url":"https://api.github.com/repos/gadjevb/pos-print/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gadjevb/pos-print/merges","archive_url":"https://api.github.com/repos/gadjevb/pos-print/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gadjevb/pos-print/downloads","issues_url":"https://api.github.com/repos/gadjevb/pos-print/issues{/number}","pulls_url":"https://api.github.com/repos/gadjevb/pos-print/pulls{/number}","milestones_url":"https://api.github.com/repos/gadjevb/pos-print/milestones{/number}","notifications_url":"https://api.github.com/repos/gadjevb/pos-print/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gadjevb/pos-print/labels{/name}","releases_url":"https://api.github.com/repos/gadjevb/pos-print/releases{/id}","deployments_url":"https://api.github.com/repos/gadjevb/pos-print/deployments","created_at":"2017-04-11T12:31:24Z","updated_at":"2017-04-11T12:31:25Z","pushed_at":"2017-04-13T14:41:17Z","git_url":"git://github.com/gadjevb/pos-print.git","ssh_url":"git@github.com:gadjevb/pos-print.git","clone_url":"https://github.com/gadjevb/pos-print.git","svn_url":"https://github.com/gadjevb/pos-print","homepage":null,"size":157,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"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":"clouway:master","ref":"master","sha":"c199c2492fc1c397c0c25e9cb1c036343f2f7fb3","user":{"login":"clouway","id":1746331,"avatar_url":"https://avatars1.githubusercontent.com/u/1746331?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway","html_url":"https://github.com/clouway","followers_url":"https://api.github.com/users/clouway/followers","following_url":"https://api.github.com/users/clouway/following{/other_user}","gists_url":"https://api.github.com/users/clouway/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway/subscriptions","organizations_url":"https://api.github.com/users/clouway/orgs","repos_url":"https://api.github.com/users/clouway/repos","events_url":"https://api.github.com/users/clouway/events{/privacy}","received_events_url":"https://api.github.com/users/clouway/received_events","type":"Organization","site_admin":false},"repo":{"id":83547529,"name":"pos-print","full_name":"clouway/pos-print","owner":{"login":"clouway","id":1746331,"avatar_url":"https://avatars1.githubusercontent.com/u/1746331?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway","html_url":"https://github.com/clouway","followers_url":"https://api.github.com/users/clouway/followers","following_url":"https://api.github.com/users/clouway/following{/other_user}","gists_url":"https://api.github.com/users/clouway/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway/subscriptions","organizations_url":"https://api.github.com/users/clouway/orgs","repos_url":"https://api.github.com/users/clouway/repos","events_url":"https://api.github.com/users/clouway/events{/privacy}","received_events_url":"https://api.github.com/users/clouway/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clouway/pos-print","description":"Point Of Sale Printing Service","fork":false,"url":"https://api.github.com/repos/clouway/pos-print","forks_url":"https://api.github.com/repos/clouway/pos-print/forks","keys_url":"https://api.github.com/repos/clouway/pos-print/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clouway/pos-print/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clouway/pos-print/teams","hooks_url":"https://api.github.com/repos/clouway/pos-print/hooks","issue_events_url":"https://api.github.com/repos/clouway/pos-print/issues/events{/number}","events_url":"https://api.github.com/repos/clouway/pos-print/events","assignees_url":"https://api.github.com/repos/clouway/pos-print/assignees{/user}","branches_url":"https://api.github.com/repos/clouway/pos-print/branches{/branch}","tags_url":"https://api.github.com/repos/clouway/pos-print/tags","blobs_url":"https://api.github.com/repos/clouway/pos-print/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clouway/pos-print/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clouway/pos-print/git/refs{/sha}","trees_url":"https://api.github.com/repos/clouway/pos-print/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clouway/pos-print/statuses/{sha}","languages_url":"https://api.github.com/repos/clouway/pos-print/languages","stargazers_url":"https://api.github.com/repos/clouway/pos-print/stargazers","contributors_url":"https://api.github.com/repos/clouway/pos-print/contributors","subscribers_url":"https://api.github.com/repos/clouway/pos-print/subscribers","subscription_url":"https://api.github.com/repos/clouway/pos-print/subscription","commits_url":"https://api.github.com/repos/clouway/pos-print/commits{/sha}","git_commits_url":"https://api.github.com/repos/clouway/pos-print/git/commits{/sha}","comments_url":"https://api.github.com/repos/clouway/pos-print/comments{/number}","issue_comment_url":"https://api.github.com/repos/clouway/pos-print/issues/comments{/number}","contents_url":"https://api.github.com/repos/clouway/pos-print/contents/{+path}","compare_url":"https://api.github.com/repos/clouway/pos-print/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clouway/pos-print/merges","archive_url":"https://api.github.com/repos/clouway/pos-print/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clouway/pos-print/downloads","issues_url":"https://api.github.com/repos/clouway/pos-print/issues{/number}","pulls_url":"https://api.github.com/repos/clouway/pos-print/pulls{/number}","milestones_url":"https://api.github.com/repos/clouway/pos-print/milestones{/number}","notifications_url":"https://api.github.com/repos/clouway/pos-print/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clouway/pos-print/labels{/name}","releases_url":"https://api.github.com/repos/clouway/pos-print/releases{/id}","deployments_url":"https://api.github.com/repos/clouway/pos-print/deployments","created_at":"2017-03-01T11:33:00Z","updated_at":"2017-04-17T07:13:47Z","pushed_at":"2017-04-18T07:16:15Z","git_url":"git://github.com/clouway/pos-print.git","ssh_url":"git@github.com:clouway/pos-print.git","clone_url":"https://github.com/clouway/pos-print.git","svn_url":"https://github.com/clouway/pos-print","homepage":null,"size":162,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clouway/pos-print/pulls/25"},"html":{"href":"https://github.com/clouway/pos-print/pull/25"},"issue":{"href":"https://api.github.com/repos/clouway/pos-print/issues/25"},"comments":{"href":"https://api.github.com/repos/clouway/pos-print/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/clouway/pos-print/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/clouway/pos-print/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clouway/pos-print/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/clouway/pos-print/statuses/c53db226a3d4ac0c28bfbfcd1741f378227150a9"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mgenov","id":209223,"avatar_url":"https://avatars0.githubusercontent.com/u/209223?v=3","gravatar_id":"","url":"https://api.github.com/users/mgenov","html_url":"https://github.com/mgenov","followers_url":"https://api.github.com/users/mgenov/followers","following_url":"https://api.github.com/users/mgenov/following{/other_user}","gists_url":"https://api.github.com/users/mgenov/gists{/gist_id}","starred_url":"https://api.github.com/users/mgenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgenov/subscriptions","organizations_url":"https://api.github.com/users/mgenov/orgs","repos_url":"https://api.github.com/users/mgenov/repos","events_url":"https://api.github.com/users/mgenov/events{/privacy}","received_events_url":"https://api.github.com/users/mgenov/received_events","type":"User","site_admin":false},"comments":1,"review_comments":1,"maintainer_can_modify":false,"commits":1,"additions":65,"deletions":26,"changed_files":3}}
{"actor":{"display_login":"mgenov"}}