{"action":"created","comment":{"url":"https://api.github.com/repos/griddynamics/jagger/pulls/comments/87216229","pull_request_review_id":7836557,"id":87216229,"diff_hunk":"@@ -155,24 +159,45 @@ private static void launchMaster(final URL directory) {\n         LaunchTask masterTask = new LaunchTask() {\n             @Override\n             public void run() {\n-                boolean isStandByMode =\n-                        Boolean.parseBoolean(environmentProperties.getProperty(\"realtime.enable.standby.mode\"));\n+                try {\n+                    boolean isStandByMode = Boolean.parseBoolean(\n+                            environmentProperties.getProperty(\"realtime.enable.standby.mode\", \"false\"));\n+        \n+                    if (isStandByMode) {\n+                        log.info(\"Starting Master in stand by mode...\");\n+            \n+                        MasterToJaasCoordinator masterToJaasCoordinator = new MasterToJaasCoordinator(\n+                                environmentProperties.getProperty(\"realtime.environment.id\"),\n+                                environmentProperties.getProperty(\"realtime.jaas.endpoint\"), Integer.parseInt(\n+                                environmentProperties.getProperty(\"realtime.status.report.interval.seconds\")),\n+                                getAvailableConfigurations(directory)\n+                        );\n+                        masterToJaasCoordinator.register();","path":"chassis/core/src/main/java/com/griddynamics/jagger/JaggerLauncher.java","position":37,"original_position":37,"commit_id":"5e7dfe2923ccd1aaa74f14140e3919104b473732","original_commit_id":"5e7dfe2923ccd1aaa74f14140e3919104b473732","user":{"login":"dlatnikov","id":5081080,"avatar_url":"https://avatars.githubusercontent.com/u/5081080?v=3","gravatar_id":"","url":"https://api.github.com/users/dlatnikov","html_url":"https://github.com/dlatnikov","followers_url":"https://api.github.com/users/dlatnikov/followers","following_url":"https://api.github.com/users/dlatnikov/following{/other_user}","gists_url":"https://api.github.com/users/dlatnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/dlatnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlatnikov/subscriptions","organizations_url":"https://api.github.com/users/dlatnikov/orgs","repos_url":"https://api.github.com/users/dlatnikov/repos","events_url":"https://api.github.com/users/dlatnikov/events{/privacy}","received_events_url":"https://api.github.com/users/dlatnikov/received_events","type":"User","site_admin":false},"body":"please, add INFO log that we have registered to jaas at endpoint","created_at":"2016-11-09T15:41:04Z","updated_at":"2016-11-09T15:41:04Z","html_url":"https://github.com/griddynamics/jagger/pull/673#discussion_r87216229","pull_request_url":"https://api.github.com/repos/griddynamics/jagger/pulls/673","_links":{"self":{"href":"https://api.github.com/repos/griddynamics/jagger/pulls/comments/87216229"},"html":{"href":"https://github.com/griddynamics/jagger/pull/673#discussion_r87216229"},"pull_request":{"href":"https://api.github.com/repos/griddynamics/jagger/pulls/673"}}},"pull_request":{"url":"https://api.github.com/repos/griddynamics/jagger/pulls/673","id":92825412,"html_url":"https://github.com/griddynamics/jagger/pull/673","diff_url":"https://github.com/griddynamics/jagger/pull/673.diff","patch_url":"https://github.com/griddynamics/jagger/pull/673.patch","issue_url":"https://api.github.com/repos/griddynamics/jagger/issues/673","number":673,"state":"open","locked":false,"title":"[JFG-948] Master to JaaS communication","user":{"login":"a-badaev","id":1729467,"avatar_url":"https://avatars.githubusercontent.com/u/1729467?v=3","gravatar_id":"","url":"https://api.github.com/users/a-badaev","html_url":"https://github.com/a-badaev","followers_url":"https://api.github.com/users/a-badaev/followers","following_url":"https://api.github.com/users/a-badaev/following{/other_user}","gists_url":"https://api.github.com/users/a-badaev/gists{/gist_id}","starred_url":"https://api.github.com/users/a-badaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-badaev/subscriptions","organizations_url":"https://api.github.com/users/a-badaev/orgs","repos_url":"https://api.github.com/users/a-badaev/repos","events_url":"https://api.github.com/users/a-badaev/events{/privacy}","received_events_url":"https://api.github.com/users/a-badaev/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-08T17:43:04Z","updated_at":"2016-11-09T15:41:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6381f6e5360f35723e1bb42dd7af43a3d1315e18","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/griddynamics/jagger/pulls/673/commits","review_comments_url":"https://api.github.com/repos/griddynamics/jagger/pulls/673/comments","review_comment_url":"https://api.github.com/repos/griddynamics/jagger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/griddynamics/jagger/issues/673/comments","statuses_url":"https://api.github.com/repos/griddynamics/jagger/statuses/5e7dfe2923ccd1aaa74f14140e3919104b473732","head":{"label":"a-badaev:JFG-948-2","ref":"JFG-948-2","sha":"5e7dfe2923ccd1aaa74f14140e3919104b473732","user":{"login":"a-badaev","id":1729467,"avatar_url":"https://avatars.githubusercontent.com/u/1729467?v=3","gravatar_id":"","url":"https://api.github.com/users/a-badaev","html_url":"https://github.com/a-badaev","followers_url":"https://api.github.com/users/a-badaev/followers","following_url":"https://api.github.com/users/a-badaev/following{/other_user}","gists_url":"https://api.github.com/users/a-badaev/gists{/gist_id}","starred_url":"https://api.github.com/users/a-badaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-badaev/subscriptions","organizations_url":"https://api.github.com/users/a-badaev/orgs","repos_url":"https://api.github.com/users/a-badaev/repos","events_url":"https://api.github.com/users/a-badaev/events{/privacy}","received_events_url":"https://api.github.com/users/a-badaev/received_events","type":"User","site_admin":false},"repo":{"id":64215621,"name":"jagger","full_name":"a-badaev/jagger","owner":{"login":"a-badaev","id":1729467,"avatar_url":"https://avatars.githubusercontent.com/u/1729467?v=3","gravatar_id":"","url":"https://api.github.com/users/a-badaev","html_url":"https://github.com/a-badaev","followers_url":"https://api.github.com/users/a-badaev/followers","following_url":"https://api.github.com/users/a-badaev/following{/other_user}","gists_url":"https://api.github.com/users/a-badaev/gists{/gist_id}","starred_url":"https://api.github.com/users/a-badaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-badaev/subscriptions","organizations_url":"https://api.github.com/users/a-badaev/orgs","repos_url":"https://api.github.com/users/a-badaev/repos","events_url":"https://api.github.com/users/a-badaev/events{/privacy}","received_events_url":"https://api.github.com/users/a-badaev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/a-badaev/jagger","description":"Jagger","fork":true,"url":"https://api.github.com/repos/a-badaev/jagger","forks_url":"https://api.github.com/repos/a-badaev/jagger/forks","keys_url":"https://api.github.com/repos/a-badaev/jagger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/a-badaev/jagger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/a-badaev/jagger/teams","hooks_url":"https://api.github.com/repos/a-badaev/jagger/hooks","issue_events_url":"https://api.github.com/repos/a-badaev/jagger/issues/events{/number}","events_url":"https://api.github.com/repos/a-badaev/jagger/events","assignees_url":"https://api.github.com/repos/a-badaev/jagger/assignees{/user}","branches_url":"https://api.github.com/repos/a-badaev/jagger/branches{/branch}","tags_url":"https://api.github.com/repos/a-badaev/jagger/tags","blobs_url":"https://api.github.com/repos/a-badaev/jagger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/a-badaev/jagger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/a-badaev/jagger/git/refs{/sha}","trees_url":"https://api.github.com/repos/a-badaev/jagger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/a-badaev/jagger/statuses/{sha}","languages_url":"https://api.github.com/repos/a-badaev/jagger/languages","stargazers_url":"https://api.github.com/repos/a-badaev/jagger/stargazers","contributors_url":"https://api.github.com/repos/a-badaev/jagger/contributors","subscribers_url":"https://api.github.com/repos/a-badaev/jagger/subscribers","subscription_url":"https://api.github.com/repos/a-badaev/jagger/subscription","commits_url":"https://api.github.com/repos/a-badaev/jagger/commits{/sha}","git_commits_url":"https://api.github.com/repos/a-badaev/jagger/git/commits{/sha}","comments_url":"https://api.github.com/repos/a-badaev/jagger/comments{/number}","issue_comment_url":"https://api.github.com/repos/a-badaev/jagger/issues/comments{/number}","contents_url":"https://api.github.com/repos/a-badaev/jagger/contents/{+path}","compare_url":"https://api.github.com/repos/a-badaev/jagger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/a-badaev/jagger/merges","archive_url":"https://api.github.com/repos/a-badaev/jagger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/a-badaev/jagger/downloads","issues_url":"https://api.github.com/repos/a-badaev/jagger/issues{/number}","pulls_url":"https://api.github.com/repos/a-badaev/jagger/pulls{/number}","milestones_url":"https://api.github.com/repos/a-badaev/jagger/milestones{/number}","notifications_url":"https://api.github.com/repos/a-badaev/jagger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/a-badaev/jagger/labels{/name}","releases_url":"https://api.github.com/repos/a-badaev/jagger/releases{/id}","deployments_url":"https://api.github.com/repos/a-badaev/jagger/deployments","created_at":"2016-07-26T11:21:57Z","updated_at":"2016-07-26T11:22:00Z","pushed_at":"2016-11-09T13:43:11Z","git_url":"git://github.com/a-badaev/jagger.git","ssh_url":"git@github.com:a-badaev/jagger.git","clone_url":"https://github.com/a-badaev/jagger.git","svn_url":"https://github.com/a-badaev/jagger","homepage":"https://jagger.griddynamics.net","size":33282,"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":"griddynamics:master","ref":"master","sha":"2f1cb27972fcf4e2b9858ae6df273654fa44b8c6","user":{"login":"griddynamics","id":54911,"avatar_url":"https://avatars.githubusercontent.com/u/54911?v=3","gravatar_id":"","url":"https://api.github.com/users/griddynamics","html_url":"https://github.com/griddynamics","followers_url":"https://api.github.com/users/griddynamics/followers","following_url":"https://api.github.com/users/griddynamics/following{/other_user}","gists_url":"https://api.github.com/users/griddynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/griddynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griddynamics/subscriptions","organizations_url":"https://api.github.com/users/griddynamics/orgs","repos_url":"https://api.github.com/users/griddynamics/repos","events_url":"https://api.github.com/users/griddynamics/events{/privacy}","received_events_url":"https://api.github.com/users/griddynamics/received_events","type":"Organization","site_admin":false},"repo":{"id":3430789,"name":"jagger","full_name":"griddynamics/jagger","owner":{"login":"griddynamics","id":54911,"avatar_url":"https://avatars.githubusercontent.com/u/54911?v=3","gravatar_id":"","url":"https://api.github.com/users/griddynamics","html_url":"https://github.com/griddynamics","followers_url":"https://api.github.com/users/griddynamics/followers","following_url":"https://api.github.com/users/griddynamics/following{/other_user}","gists_url":"https://api.github.com/users/griddynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/griddynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griddynamics/subscriptions","organizations_url":"https://api.github.com/users/griddynamics/orgs","repos_url":"https://api.github.com/users/griddynamics/repos","events_url":"https://api.github.com/users/griddynamics/events{/privacy}","received_events_url":"https://api.github.com/users/griddynamics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/griddynamics/jagger","description":"Jagger","fork":false,"url":"https://api.github.com/repos/griddynamics/jagger","forks_url":"https://api.github.com/repos/griddynamics/jagger/forks","keys_url":"https://api.github.com/repos/griddynamics/jagger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/griddynamics/jagger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/griddynamics/jagger/teams","hooks_url":"https://api.github.com/repos/griddynamics/jagger/hooks","issue_events_url":"https://api.github.com/repos/griddynamics/jagger/issues/events{/number}","events_url":"https://api.github.com/repos/griddynamics/jagger/events","assignees_url":"https://api.github.com/repos/griddynamics/jagger/assignees{/user}","branches_url":"https://api.github.com/repos/griddynamics/jagger/branches{/branch}","tags_url":"https://api.github.com/repos/griddynamics/jagger/tags","blobs_url":"https://api.github.com/repos/griddynamics/jagger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/griddynamics/jagger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/griddynamics/jagger/git/refs{/sha}","trees_url":"https://api.github.com/repos/griddynamics/jagger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/griddynamics/jagger/statuses/{sha}","languages_url":"https://api.github.com/repos/griddynamics/jagger/languages","stargazers_url":"https://api.github.com/repos/griddynamics/jagger/stargazers","contributors_url":"https://api.github.com/repos/griddynamics/jagger/contributors","subscribers_url":"https://api.github.com/repos/griddynamics/jagger/subscribers","subscription_url":"https://api.github.com/repos/griddynamics/jagger/subscription","commits_url":"https://api.github.com/repos/griddynamics/jagger/commits{/sha}","git_commits_url":"https://api.github.com/repos/griddynamics/jagger/git/commits{/sha}","comments_url":"https://api.github.com/repos/griddynamics/jagger/comments{/number}","issue_comment_url":"https://api.github.com/repos/griddynamics/jagger/issues/comments{/number}","contents_url":"https://api.github.com/repos/griddynamics/jagger/contents/{+path}","compare_url":"https://api.github.com/repos/griddynamics/jagger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/griddynamics/jagger/merges","archive_url":"https://api.github.com/repos/griddynamics/jagger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/griddynamics/jagger/downloads","issues_url":"https://api.github.com/repos/griddynamics/jagger/issues{/number}","pulls_url":"https://api.github.com/repos/griddynamics/jagger/pulls{/number}","milestones_url":"https://api.github.com/repos/griddynamics/jagger/milestones{/number}","notifications_url":"https://api.github.com/repos/griddynamics/jagger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/griddynamics/jagger/labels{/name}","releases_url":"https://api.github.com/repos/griddynamics/jagger/releases{/id}","deployments_url":"https://api.github.com/repos/griddynamics/jagger/deployments","created_at":"2012-02-13T14:47:01Z","updated_at":"2016-10-29T20:50:28Z","pushed_at":"2016-11-09T15:04:53Z","git_url":"git://github.com/griddynamics/jagger.git","ssh_url":"git@github.com:griddynamics/jagger.git","clone_url":"https://github.com/griddynamics/jagger.git","svn_url":"https://github.com/griddynamics/jagger","homepage":"https://jagger.griddynamics.net","size":37334,"stargazers_count":40,"watchers_count":40,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":38,"mirror_url":null,"open_issues_count":36,"forks":38,"open_issues":36,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/griddynamics/jagger/pulls/673"},"html":{"href":"https://github.com/griddynamics/jagger/pull/673"},"issue":{"href":"https://api.github.com/repos/griddynamics/jagger/issues/673"},"comments":{"href":"https://api.github.com/repos/griddynamics/jagger/issues/673/comments"},"review_comments":{"href":"https://api.github.com/repos/griddynamics/jagger/pulls/673/comments"},"review_comment":{"href":"https://api.github.com/repos/griddynamics/jagger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/griddynamics/jagger/pulls/673/commits"},"statuses":{"href":"https://api.github.com/repos/griddynamics/jagger/statuses/5e7dfe2923ccd1aaa74f14140e3919104b473732"}}}}
{"actor":{"display_login":"dlatnikov"}}