{"action":"created","comment":{"url":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls/comments/240799846","pull_request_review_id":183914969,"id":240799846,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDc5OTg0Ng==","diff_hunk":"@@ -0,0 +1,35 @@\n+#!/usr/bin/env bash\n+\n+echo \"+----------------------------+\"\n+echo \"| Testing staged application |\"\n+echo \"+----------------------------+\"\n+# Stage the application\n+sbt stage\n+\n+# Ensure the generated script can run\n+if [[ -s target/universal/stage/bin/play-java-jpa-example ]]; then\n+    chmod +x target/universal/stage/bin/play-java-jpa-example\n+else\n+    echo \"Could not find the script for staged application\"\n+    exit 1\n+fi\n+\n+# Have a valid application secret\n+app_secret=`openssl rand -base64 32`\n+\n+# Start the application in background\n+./target/universal/stage/bin/play-java-jpa-example -Dplay.http.secret.key=\"${app_secret}\" &\n+\n+success=true","path":"scripts/test-stage","position":23,"original_position":23,"commit_id":"b1f1ba48431a85a30747b437e28f2a6daaa1fc9e","original_commit_id":"b1f1ba48431a85a30747b437e28f2a6daaa1fc9e","user":{"login":"mkurz","id":644927,"node_id":"MDQ6VXNlcjY0NDkyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/644927?v=4","gravatar_id":"","url":"https://api.github.com/users/mkurz","html_url":"https://github.com/mkurz","followers_url":"https://api.github.com/users/mkurz/followers","following_url":"https://api.github.com/users/mkurz/following{/other_user}","gists_url":"https://api.github.com/users/mkurz/gists{/gist_id}","starred_url":"https://api.github.com/users/mkurz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkurz/subscriptions","organizations_url":"https://api.github.com/users/mkurz/orgs","repos_url":"https://api.github.com/users/mkurz/repos","events_url":"https://api.github.com/users/mkurz/events{/privacy}","received_events_url":"https://api.github.com/users/mkurz/received_events","type":"User","site_admin":false},"body":"What about this line? What does it do?","created_at":"2018-12-11T21:35:58Z","updated_at":"2018-12-11T21:35:58Z","html_url":"https://github.com/playframework/play-java-jpa-example/pull/74#discussion_r240799846","pull_request_url":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls/74","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls/comments/240799846"},"html":{"href":"https://github.com/playframework/play-java-jpa-example/pull/74#discussion_r240799846"},"pull_request":{"href":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls/74","id":237831728,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3ODMxNzI4","html_url":"https://github.com/playframework/play-java-jpa-example/pull/74","diff_url":"https://github.com/playframework/play-java-jpa-example/pull/74.diff","patch_url":"https://github.com/playframework/play-java-jpa-example/pull/74.patch","issue_url":"https://api.github.com/repos/playframework/play-java-jpa-example/issues/74","number":74,"state":"open","locked":false,"title":"Test staged application","user":{"login":"marcospereira","id":4576,"node_id":"MDQ6VXNlcjQ1NzY=","avatar_url":"https://avatars0.githubusercontent.com/u/4576?v=4","gravatar_id":"","url":"https://api.github.com/users/marcospereira","html_url":"https://github.com/marcospereira","followers_url":"https://api.github.com/users/marcospereira/followers","following_url":"https://api.github.com/users/marcospereira/following{/other_user}","gists_url":"https://api.github.com/users/marcospereira/gists{/gist_id}","starred_url":"https://api.github.com/users/marcospereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcospereira/subscriptions","organizations_url":"https://api.github.com/users/marcospereira/orgs","repos_url":"https://api.github.com/users/marcospereira/repos","events_url":"https://api.github.com/users/marcospereira/events{/privacy}","received_events_url":"https://api.github.com/users/marcospereira/received_events","type":"User","site_admin":false},"body":"Follow up to #73.","created_at":"2018-12-11T21:23:26Z","updated_at":"2018-12-11T21:35:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d0e37a5477e0f1a099903986eeb14a3efd434b6a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls/74/commits","review_comments_url":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls/74/comments","review_comment_url":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls/comments{/number}","comments_url":"https://api.github.com/repos/playframework/play-java-jpa-example/issues/74/comments","statuses_url":"https://api.github.com/repos/playframework/play-java-jpa-example/statuses/b1f1ba48431a85a30747b437e28f2a6daaa1fc9e","head":{"label":"marcospereira:test-stage","ref":"test-stage","sha":"b1f1ba48431a85a30747b437e28f2a6daaa1fc9e","user":{"login":"marcospereira","id":4576,"node_id":"MDQ6VXNlcjQ1NzY=","avatar_url":"https://avatars0.githubusercontent.com/u/4576?v=4","gravatar_id":"","url":"https://api.github.com/users/marcospereira","html_url":"https://github.com/marcospereira","followers_url":"https://api.github.com/users/marcospereira/followers","following_url":"https://api.github.com/users/marcospereira/following{/other_user}","gists_url":"https://api.github.com/users/marcospereira/gists{/gist_id}","starred_url":"https://api.github.com/users/marcospereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcospereira/subscriptions","organizations_url":"https://api.github.com/users/marcospereira/orgs","repos_url":"https://api.github.com/users/marcospereira/repos","events_url":"https://api.github.com/users/marcospereira/events{/privacy}","received_events_url":"https://api.github.com/users/marcospereira/received_events","type":"User","site_admin":false},"repo":{"id":97770742,"node_id":"MDEwOlJlcG9zaXRvcnk5Nzc3MDc0Mg==","name":"play-java-jpa-example","full_name":"marcospereira/play-java-jpa-example","private":false,"owner":{"login":"marcospereira","id":4576,"node_id":"MDQ6VXNlcjQ1NzY=","avatar_url":"https://avatars0.githubusercontent.com/u/4576?v=4","gravatar_id":"","url":"https://api.github.com/users/marcospereira","html_url":"https://github.com/marcospereira","followers_url":"https://api.github.com/users/marcospereira/followers","following_url":"https://api.github.com/users/marcospereira/following{/other_user}","gists_url":"https://api.github.com/users/marcospereira/gists{/gist_id}","starred_url":"https://api.github.com/users/marcospereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcospereira/subscriptions","organizations_url":"https://api.github.com/users/marcospereira/orgs","repos_url":"https://api.github.com/users/marcospereira/repos","events_url":"https://api.github.com/users/marcospereira/events{/privacy}","received_events_url":"https://api.github.com/users/marcospereira/received_events","type":"User","site_admin":false},"html_url":"https://github.com/marcospereira/play-java-jpa-example","description":"Example Play Java project with JPA database integration","fork":true,"url":"https://api.github.com/repos/marcospereira/play-java-jpa-example","forks_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/forks","keys_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/teams","hooks_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/hooks","issue_events_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/issues/events{/number}","events_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/events","assignees_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/assignees{/user}","branches_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/branches{/branch}","tags_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/tags","blobs_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/statuses/{sha}","languages_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/languages","stargazers_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/stargazers","contributors_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/contributors","subscribers_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/subscribers","subscription_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/subscription","commits_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/contents/{+path}","compare_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/merges","archive_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/downloads","issues_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/issues{/number}","pulls_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/pulls{/number}","milestones_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/milestones{/number}","notifications_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/labels{/name}","releases_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/releases{/id}","deployments_url":"https://api.github.com/repos/marcospereira/play-java-jpa-example/deployments","created_at":"2017-07-19T23:45:57Z","updated_at":"2018-06-08T21:48:23Z","pushed_at":"2018-12-11T21:32:24Z","git_url":"git://github.com/marcospereira/play-java-jpa-example.git","ssh_url":"git@github.com:marcospereira/play-java-jpa-example.git","clone_url":"https://github.com/marcospereira/play-java-jpa-example.git","svn_url":"https://github.com/marcospereira/play-java-jpa-example","homepage":"https://www.playframework.com/documentation/latest/JavaJPA","size":133,"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,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"2.6.x"}},"base":{"label":"playframework:2.7.x","ref":"2.7.x","sha":"567a013884c5e8fedba26b3ba771034498df555e","user":{"login":"playframework","id":319107,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTEwNw==","avatar_url":"https://avatars0.githubusercontent.com/u/319107?v=4","gravatar_id":"","url":"https://api.github.com/users/playframework","html_url":"https://github.com/playframework","followers_url":"https://api.github.com/users/playframework/followers","following_url":"https://api.github.com/users/playframework/following{/other_user}","gists_url":"https://api.github.com/users/playframework/gists{/gist_id}","starred_url":"https://api.github.com/users/playframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/playframework/subscriptions","organizations_url":"https://api.github.com/users/playframework/orgs","repos_url":"https://api.github.com/users/playframework/repos","events_url":"https://api.github.com/users/playframework/events{/privacy}","received_events_url":"https://api.github.com/users/playframework/received_events","type":"Organization","site_admin":false},"repo":{"id":70013384,"node_id":"MDEwOlJlcG9zaXRvcnk3MDAxMzM4NA==","name":"play-java-jpa-example","full_name":"playframework/play-java-jpa-example","private":false,"owner":{"login":"playframework","id":319107,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTEwNw==","avatar_url":"https://avatars0.githubusercontent.com/u/319107?v=4","gravatar_id":"","url":"https://api.github.com/users/playframework","html_url":"https://github.com/playframework","followers_url":"https://api.github.com/users/playframework/followers","following_url":"https://api.github.com/users/playframework/following{/other_user}","gists_url":"https://api.github.com/users/playframework/gists{/gist_id}","starred_url":"https://api.github.com/users/playframework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/playframework/subscriptions","organizations_url":"https://api.github.com/users/playframework/orgs","repos_url":"https://api.github.com/users/playframework/repos","events_url":"https://api.github.com/users/playframework/events{/privacy}","received_events_url":"https://api.github.com/users/playframework/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/playframework/play-java-jpa-example","description":"Example Play Java project with JPA database integration","fork":false,"url":"https://api.github.com/repos/playframework/play-java-jpa-example","forks_url":"https://api.github.com/repos/playframework/play-java-jpa-example/forks","keys_url":"https://api.github.com/repos/playframework/play-java-jpa-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/playframework/play-java-jpa-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/playframework/play-java-jpa-example/teams","hooks_url":"https://api.github.com/repos/playframework/play-java-jpa-example/hooks","issue_events_url":"https://api.github.com/repos/playframework/play-java-jpa-example/issues/events{/number}","events_url":"https://api.github.com/repos/playframework/play-java-jpa-example/events","assignees_url":"https://api.github.com/repos/playframework/play-java-jpa-example/assignees{/user}","branches_url":"https://api.github.com/repos/playframework/play-java-jpa-example/branches{/branch}","tags_url":"https://api.github.com/repos/playframework/play-java-jpa-example/tags","blobs_url":"https://api.github.com/repos/playframework/play-java-jpa-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/playframework/play-java-jpa-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/playframework/play-java-jpa-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/playframework/play-java-jpa-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/playframework/play-java-jpa-example/statuses/{sha}","languages_url":"https://api.github.com/repos/playframework/play-java-jpa-example/languages","stargazers_url":"https://api.github.com/repos/playframework/play-java-jpa-example/stargazers","contributors_url":"https://api.github.com/repos/playframework/play-java-jpa-example/contributors","subscribers_url":"https://api.github.com/repos/playframework/play-java-jpa-example/subscribers","subscription_url":"https://api.github.com/repos/playframework/play-java-jpa-example/subscription","commits_url":"https://api.github.com/repos/playframework/play-java-jpa-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/playframework/play-java-jpa-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/playframework/play-java-jpa-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/playframework/play-java-jpa-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/playframework/play-java-jpa-example/contents/{+path}","compare_url":"https://api.github.com/repos/playframework/play-java-jpa-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/playframework/play-java-jpa-example/merges","archive_url":"https://api.github.com/repos/playframework/play-java-jpa-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/playframework/play-java-jpa-example/downloads","issues_url":"https://api.github.com/repos/playframework/play-java-jpa-example/issues{/number}","pulls_url":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls{/number}","milestones_url":"https://api.github.com/repos/playframework/play-java-jpa-example/milestones{/number}","notifications_url":"https://api.github.com/repos/playframework/play-java-jpa-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/playframework/play-java-jpa-example/labels{/name}","releases_url":"https://api.github.com/repos/playframework/play-java-jpa-example/releases{/id}","deployments_url":"https://api.github.com/repos/playframework/play-java-jpa-example/deployments","created_at":"2016-10-04T23:01:12Z","updated_at":"2018-11-29T19:45:43Z","pushed_at":"2018-12-11T21:32:25Z","git_url":"git://github.com/playframework/play-java-jpa-example.git","ssh_url":"git@github.com:playframework/play-java-jpa-example.git","clone_url":"https://github.com/playframework/play-java-jpa-example.git","svn_url":"https://github.com/playframework/play-java-jpa-example","homepage":"https://www.playframework.com/documentation/latest/JavaJPA","size":148,"stargazers_count":30,"watchers_count":30,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":33,"open_issues":2,"watchers":30,"default_branch":"2.6.x"}},"_links":{"self":{"href":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls/74"},"html":{"href":"https://github.com/playframework/play-java-jpa-example/pull/74"},"issue":{"href":"https://api.github.com/repos/playframework/play-java-jpa-example/issues/74"},"comments":{"href":"https://api.github.com/repos/playframework/play-java-jpa-example/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/playframework/play-java-jpa-example/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/playframework/play-java-jpa-example/statuses/b1f1ba48431a85a30747b437e28f2a6daaa1fc9e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"mkurz"}}