{"action":"created","comment":{"url":"https://api.github.com/repos/saros-project/saros/pulls/comments/232486476","pull_request_review_id":173696437,"id":232486476,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjQ4NjQ3Ng==","diff_hunk":"@@ -0,0 +1,78 @@\n+package de.fu_berlin.inf.dpp.server;\n+\n+import java.util.ArrayList;\n+import java.util.Collection;\n+import java.util.HashMap;\n+import java.util.List;\n+\n+import org.apache.log4j.Logger;\n+\n+import de.fu_berlin.inf.dpp.account.XMPPAccount;\n+import de.fu_berlin.inf.dpp.account.XMPPAccountStore;\n+import de.fu_berlin.inf.dpp.communication.connection.ConnectionHandler;\n+import de.fu_berlin.inf.dpp.context.AbstractContextLifecycle;\n+import de.fu_berlin.inf.dpp.context.ContainerContext;\n+import de.fu_berlin.inf.dpp.context.IContextFactory;\n+import de.fu_berlin.inf.dpp.filesystem.IProject;\n+import de.fu_berlin.inf.dpp.filesystem.IResource;\n+import de.fu_berlin.inf.dpp.net.xmpp.JID;\n+import de.fu_berlin.inf.dpp.session.ISarosSessionManager;\n+import de.fu_berlin.inf.dpp.session.SessionEndReason;\n+\n+public class ServerLifecycle extends AbstractContextLifecycle {\n+\n+    private static final Logger log = Logger.getLogger(ServerLifecycle.class);\n+    \n+    @Override\n+    protected Collection<IContextFactory> additionalContextFactories() {\n+        List<IContextFactory> factories = new ArrayList<IContextFactory>();","path":"de.fu_berlin.inf.dpp.server/src/de/fu_berlin/inf/dpp/server/ServerLifecycle.java","position":28,"original_position":28,"commit_id":"0e247818922e4a144f52dd752281a6c4192a2bbe","original_commit_id":"0e247818922e4a144f52dd752281a6c4192a2bbe","user":{"login":"saros-infrastructure","id":39915837,"node_id":"MDQ6VXNlcjM5OTE1ODM3","avatar_url":"https://avatars1.githubusercontent.com/u/39915837?v=4","gravatar_id":"","url":"https://api.github.com/users/saros-infrastructure","html_url":"https://github.com/saros-infrastructure","followers_url":"https://api.github.com/users/saros-infrastructure/followers","following_url":"https://api.github.com/users/saros-infrastructure/following{/other_user}","gists_url":"https://api.github.com/users/saros-infrastructure/gists{/gist_id}","starred_url":"https://api.github.com/users/saros-infrastructure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saros-infrastructure/subscriptions","organizations_url":"https://api.github.com/users/saros-infrastructure/orgs","repos_url":"https://api.github.com/users/saros-infrastructure/repos","events_url":"https://api.github.com/users/saros-infrastructure/events{/privacy}","received_events_url":"https://api.github.com/users/saros-infrastructure/received_events","type":"User","site_admin":false},"body":"![Code Smell](https://sonarsource.github.io/sonar-github/code_smell.png 'Code Smell') Code Smell: Replace the type specification in this constructor call with the diamond operator (\"<>\"). ([squid:S2293](https://sonarcloud.io/organizations/saros/rules#rule_key=squid%3AS2293))\n\n[See it in SonarCloud](https://sonarcloud.io/project/issues?id=saros_complete&pullRequest=281&issues=AWb__iXssSodgw_KF5fR&open=AWb__iXssSodgw_KF5fR)\n\n[ISSUE_KEY]: AWb__iXssSodgw_KF5fR","created_at":"2018-11-11T12:43:48Z","updated_at":"2018-11-11T12:43:48Z","html_url":"https://github.com/saros-project/saros/pull/281#discussion_r232486476","pull_request_url":"https://api.github.com/repos/saros-project/saros/pulls/281","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/saros-project/saros/pulls/comments/232486476"},"html":{"href":"https://github.com/saros-project/saros/pull/281#discussion_r232486476"},"pull_request":{"href":"https://api.github.com/repos/saros-project/saros/pulls/281"}}},"pull_request":{"url":"https://api.github.com/repos/saros-project/saros/pulls/281","id":225354518,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MzU0NTE4","html_url":"https://github.com/saros-project/saros/pull/281","diff_url":"https://github.com/saros-project/saros/pull/281.diff","patch_url":"https://github.com/saros-project/saros/pull/281.patch","issue_url":"https://api.github.com/repos/saros-project/saros/issues/281","number":281,"state":"open","locked":false,"title":"[FEATURE][SERVER] Start session","user":{"login":"Drakulix","id":4404502,"node_id":"MDQ6VXNlcjQ0MDQ1MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/4404502?v=4","gravatar_id":"","url":"https://api.github.com/users/Drakulix","html_url":"https://github.com/Drakulix","followers_url":"https://api.github.com/users/Drakulix/followers","following_url":"https://api.github.com/users/Drakulix/following{/other_user}","gists_url":"https://api.github.com/users/Drakulix/gists{/gist_id}","starred_url":"https://api.github.com/users/Drakulix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drakulix/subscriptions","organizations_url":"https://api.github.com/users/Drakulix/orgs","repos_url":"https://api.github.com/users/Drakulix/repos","events_url":"https://api.github.com/users/Drakulix/events{/privacy}","received_events_url":"https://api.github.com/users/Drakulix/received_events","type":"User","site_admin":false},"body":"Now that the server is able to do something meaningful (at least once #144 is merged), actually start a session.","created_at":"2018-10-24T10:49:42Z","updated_at":"2018-11-11T12:43:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"61f084780f169eb4644724f80e46781cf0092681","assignee":null,"assignees":[],"requested_reviewers":[{"login":"m273d15","id":7346610,"node_id":"MDQ6VXNlcjczNDY2MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/7346610?v=4","gravatar_id":"","url":"https://api.github.com/users/m273d15","html_url":"https://github.com/m273d15","followers_url":"https://api.github.com/users/m273d15/followers","following_url":"https://api.github.com/users/m273d15/following{/other_user}","gists_url":"https://api.github.com/users/m273d15/gists{/gist_id}","starred_url":"https://api.github.com/users/m273d15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m273d15/subscriptions","organizations_url":"https://api.github.com/users/m273d15/orgs","repos_url":"https://api.github.com/users/m273d15/repos","events_url":"https://api.github.com/users/m273d15/events{/privacy}","received_events_url":"https://api.github.com/users/m273d15/received_events","type":"User","site_admin":false},{"login":"tobous","id":12495415,"node_id":"MDQ6VXNlcjEyNDk1NDE1","avatar_url":"https://avatars1.githubusercontent.com/u/12495415?v=4","gravatar_id":"","url":"https://api.github.com/users/tobous","html_url":"https://github.com/tobous","followers_url":"https://api.github.com/users/tobous/followers","following_url":"https://api.github.com/users/tobous/following{/other_user}","gists_url":"https://api.github.com/users/tobous/gists{/gist_id}","starred_url":"https://api.github.com/users/tobous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobous/subscriptions","organizations_url":"https://api.github.com/users/tobous/orgs","repos_url":"https://api.github.com/users/tobous/repos","events_url":"https://api.github.com/users/tobous/events{/privacy}","received_events_url":"https://api.github.com/users/tobous/received_events","type":"User","site_admin":false},{"login":"stefaus","id":12998930,"node_id":"MDQ6VXNlcjEyOTk4OTMw","avatar_url":"https://avatars3.githubusercontent.com/u/12998930?v=4","gravatar_id":"","url":"https://api.github.com/users/stefaus","html_url":"https://github.com/stefaus","followers_url":"https://api.github.com/users/stefaus/followers","following_url":"https://api.github.com/users/stefaus/following{/other_user}","gists_url":"https://api.github.com/users/stefaus/gists{/gist_id}","starred_url":"https://api.github.com/users/stefaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefaus/subscriptions","organizations_url":"https://api.github.com/users/stefaus/orgs","repos_url":"https://api.github.com/users/stefaus/repos","events_url":"https://api.github.com/users/stefaus/events{/privacy}","received_events_url":"https://api.github.com/users/stefaus/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/saros-project/saros/pulls/281/commits","review_comments_url":"https://api.github.com/repos/saros-project/saros/pulls/281/comments","review_comment_url":"https://api.github.com/repos/saros-project/saros/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saros-project/saros/issues/281/comments","statuses_url":"https://api.github.com/repos/saros-project/saros/statuses/0e247818922e4a144f52dd752281a6c4192a2bbe","head":{"label":"saros-project:pr/server/start_session","ref":"pr/server/start_session","sha":"0e247818922e4a144f52dd752281a6c4192a2bbe","user":{"login":"saros-project","id":1419284,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTkyODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1419284?v=4","gravatar_id":"","url":"https://api.github.com/users/saros-project","html_url":"https://github.com/saros-project","followers_url":"https://api.github.com/users/saros-project/followers","following_url":"https://api.github.com/users/saros-project/following{/other_user}","gists_url":"https://api.github.com/users/saros-project/gists{/gist_id}","starred_url":"https://api.github.com/users/saros-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saros-project/subscriptions","organizations_url":"https://api.github.com/users/saros-project/orgs","repos_url":"https://api.github.com/users/saros-project/repos","events_url":"https://api.github.com/users/saros-project/events{/privacy}","received_events_url":"https://api.github.com/users/saros-project/received_events","type":"Organization","site_admin":false},"repo":{"id":11182907,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE4MjkwNw==","name":"saros","full_name":"saros-project/saros","private":false,"owner":{"login":"saros-project","id":1419284,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTkyODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1419284?v=4","gravatar_id":"","url":"https://api.github.com/users/saros-project","html_url":"https://github.com/saros-project","followers_url":"https://api.github.com/users/saros-project/followers","following_url":"https://api.github.com/users/saros-project/following{/other_user}","gists_url":"https://api.github.com/users/saros-project/gists{/gist_id}","starred_url":"https://api.github.com/users/saros-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saros-project/subscriptions","organizations_url":"https://api.github.com/users/saros-project/orgs","repos_url":"https://api.github.com/users/saros-project/repos","events_url":"https://api.github.com/users/saros-project/events{/privacy}","received_events_url":"https://api.github.com/users/saros-project/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/saros-project/saros","description":"Saros Plugin","fork":false,"url":"https://api.github.com/repos/saros-project/saros","forks_url":"https://api.github.com/repos/saros-project/saros/forks","keys_url":"https://api.github.com/repos/saros-project/saros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saros-project/saros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saros-project/saros/teams","hooks_url":"https://api.github.com/repos/saros-project/saros/hooks","issue_events_url":"https://api.github.com/repos/saros-project/saros/issues/events{/number}","events_url":"https://api.github.com/repos/saros-project/saros/events","assignees_url":"https://api.github.com/repos/saros-project/saros/assignees{/user}","branches_url":"https://api.github.com/repos/saros-project/saros/branches{/branch}","tags_url":"https://api.github.com/repos/saros-project/saros/tags","blobs_url":"https://api.github.com/repos/saros-project/saros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saros-project/saros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saros-project/saros/git/refs{/sha}","trees_url":"https://api.github.com/repos/saros-project/saros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saros-project/saros/statuses/{sha}","languages_url":"https://api.github.com/repos/saros-project/saros/languages","stargazers_url":"https://api.github.com/repos/saros-project/saros/stargazers","contributors_url":"https://api.github.com/repos/saros-project/saros/contributors","subscribers_url":"https://api.github.com/repos/saros-project/saros/subscribers","subscription_url":"https://api.github.com/repos/saros-project/saros/subscription","commits_url":"https://api.github.com/repos/saros-project/saros/commits{/sha}","git_commits_url":"https://api.github.com/repos/saros-project/saros/git/commits{/sha}","comments_url":"https://api.github.com/repos/saros-project/saros/comments{/number}","issue_comment_url":"https://api.github.com/repos/saros-project/saros/issues/comments{/number}","contents_url":"https://api.github.com/repos/saros-project/saros/contents/{+path}","compare_url":"https://api.github.com/repos/saros-project/saros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saros-project/saros/merges","archive_url":"https://api.github.com/repos/saros-project/saros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saros-project/saros/downloads","issues_url":"https://api.github.com/repos/saros-project/saros/issues{/number}","pulls_url":"https://api.github.com/repos/saros-project/saros/pulls{/number}","milestones_url":"https://api.github.com/repos/saros-project/saros/milestones{/number}","notifications_url":"https://api.github.com/repos/saros-project/saros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saros-project/saros/labels{/name}","releases_url":"https://api.github.com/repos/saros-project/saros/releases{/id}","deployments_url":"https://api.github.com/repos/saros-project/saros/deployments","created_at":"2013-07-04T17:14:07Z","updated_at":"2018-11-08T22:41:03Z","pushed_at":"2018-11-11T12:34:41Z","git_url":"git://github.com/saros-project/saros.git","ssh_url":"git@github.com:saros-project/saros.git","clone_url":"https://github.com/saros-project/saros.git","svn_url":"https://github.com/saros-project/saros","homepage":"http://www.saros-project.org","size":143965,"stargazers_count":59,"watchers_count":59,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":177,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":27,"open_issues":177,"watchers":59,"default_branch":"master"}},"base":{"label":"saros-project:master","ref":"master","sha":"73ffc6afc0133c2883db8117a6cd1337df258f18","user":{"login":"saros-project","id":1419284,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTkyODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1419284?v=4","gravatar_id":"","url":"https://api.github.com/users/saros-project","html_url":"https://github.com/saros-project","followers_url":"https://api.github.com/users/saros-project/followers","following_url":"https://api.github.com/users/saros-project/following{/other_user}","gists_url":"https://api.github.com/users/saros-project/gists{/gist_id}","starred_url":"https://api.github.com/users/saros-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saros-project/subscriptions","organizations_url":"https://api.github.com/users/saros-project/orgs","repos_url":"https://api.github.com/users/saros-project/repos","events_url":"https://api.github.com/users/saros-project/events{/privacy}","received_events_url":"https://api.github.com/users/saros-project/received_events","type":"Organization","site_admin":false},"repo":{"id":11182907,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE4MjkwNw==","name":"saros","full_name":"saros-project/saros","private":false,"owner":{"login":"saros-project","id":1419284,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTkyODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1419284?v=4","gravatar_id":"","url":"https://api.github.com/users/saros-project","html_url":"https://github.com/saros-project","followers_url":"https://api.github.com/users/saros-project/followers","following_url":"https://api.github.com/users/saros-project/following{/other_user}","gists_url":"https://api.github.com/users/saros-project/gists{/gist_id}","starred_url":"https://api.github.com/users/saros-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saros-project/subscriptions","organizations_url":"https://api.github.com/users/saros-project/orgs","repos_url":"https://api.github.com/users/saros-project/repos","events_url":"https://api.github.com/users/saros-project/events{/privacy}","received_events_url":"https://api.github.com/users/saros-project/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/saros-project/saros","description":"Saros Plugin","fork":false,"url":"https://api.github.com/repos/saros-project/saros","forks_url":"https://api.github.com/repos/saros-project/saros/forks","keys_url":"https://api.github.com/repos/saros-project/saros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saros-project/saros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saros-project/saros/teams","hooks_url":"https://api.github.com/repos/saros-project/saros/hooks","issue_events_url":"https://api.github.com/repos/saros-project/saros/issues/events{/number}","events_url":"https://api.github.com/repos/saros-project/saros/events","assignees_url":"https://api.github.com/repos/saros-project/saros/assignees{/user}","branches_url":"https://api.github.com/repos/saros-project/saros/branches{/branch}","tags_url":"https://api.github.com/repos/saros-project/saros/tags","blobs_url":"https://api.github.com/repos/saros-project/saros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saros-project/saros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saros-project/saros/git/refs{/sha}","trees_url":"https://api.github.com/repos/saros-project/saros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saros-project/saros/statuses/{sha}","languages_url":"https://api.github.com/repos/saros-project/saros/languages","stargazers_url":"https://api.github.com/repos/saros-project/saros/stargazers","contributors_url":"https://api.github.com/repos/saros-project/saros/contributors","subscribers_url":"https://api.github.com/repos/saros-project/saros/subscribers","subscription_url":"https://api.github.com/repos/saros-project/saros/subscription","commits_url":"https://api.github.com/repos/saros-project/saros/commits{/sha}","git_commits_url":"https://api.github.com/repos/saros-project/saros/git/commits{/sha}","comments_url":"https://api.github.com/repos/saros-project/saros/comments{/number}","issue_comment_url":"https://api.github.com/repos/saros-project/saros/issues/comments{/number}","contents_url":"https://api.github.com/repos/saros-project/saros/contents/{+path}","compare_url":"https://api.github.com/repos/saros-project/saros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saros-project/saros/merges","archive_url":"https://api.github.com/repos/saros-project/saros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saros-project/saros/downloads","issues_url":"https://api.github.com/repos/saros-project/saros/issues{/number}","pulls_url":"https://api.github.com/repos/saros-project/saros/pulls{/number}","milestones_url":"https://api.github.com/repos/saros-project/saros/milestones{/number}","notifications_url":"https://api.github.com/repos/saros-project/saros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saros-project/saros/labels{/name}","releases_url":"https://api.github.com/repos/saros-project/saros/releases{/id}","deployments_url":"https://api.github.com/repos/saros-project/saros/deployments","created_at":"2013-07-04T17:14:07Z","updated_at":"2018-11-08T22:41:03Z","pushed_at":"2018-11-11T12:34:41Z","git_url":"git://github.com/saros-project/saros.git","ssh_url":"git@github.com:saros-project/saros.git","clone_url":"https://github.com/saros-project/saros.git","svn_url":"https://github.com/saros-project/saros","homepage":"http://www.saros-project.org","size":143965,"stargazers_count":59,"watchers_count":59,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":177,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":27,"open_issues":177,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/saros-project/saros/pulls/281"},"html":{"href":"https://github.com/saros-project/saros/pull/281"},"issue":{"href":"https://api.github.com/repos/saros-project/saros/issues/281"},"comments":{"href":"https://api.github.com/repos/saros-project/saros/issues/281/comments"},"review_comments":{"href":"https://api.github.com/repos/saros-project/saros/pulls/281/comments"},"review_comment":{"href":"https://api.github.com/repos/saros-project/saros/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saros-project/saros/pulls/281/commits"},"statuses":{"href":"https://api.github.com/repos/saros-project/saros/statuses/0e247818922e4a144f52dd752281a6c4192a2bbe"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"saros-infrastructure"}}