GitHub PullRequestReviewCommentEvent at 2014-10-08 19:09:02
Repository: onlab2014_repo
Actor: imre-szekeres
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/comments/18605054","id":18605054,"diff_hunk":"@@ -0,0 +1,34 @@\n+/**\n+ * ProfileController.java\n+ */\n+package hu.bme.aut.wman.controllers;\n+\n+import hu.bme.aut.wman.security.SecurityToken;\n+import hu.bme.aut.wman.service.UserService;\n+\n+import javax.ejb.EJB;\n+import javax.servlet.http.HttpServletRequest;\n+\n+import org.springframework.stereotype.Controller;\n+import org.springframework.ui.Model;\n+import org.springframework.web.bind.annotation.RequestMapping;\n+import org.springframework.web.bind.annotation.RequestMethod;\n+import org.springframework.web.bind.annotation.RequestParam;\n+\n+/**\n+ * @author Imre Szekeres\n+ * @version \"%I%, %G%\"\n+ */\n+@Controller\n+public class ProfileController extends AbstractController {\n+\n+\t@EJB(mappedName=\"java:module/UserService\")\n+\tprivate UserService userService;\n+\t\n+\t@RequestMapping(value = \"/users/profile\", method = RequestMethod.GET)\n+\tpublic String getProfile(HttpServletRequest request, Model model, @RequestParam(value = \"id\", defaultValue = \"-1\") long id) {\n+\t\tlong userID = (id == -1) ? ((SecurityToken) request.getSession().getAttribute(\"securityToken\")).getUserID() : id;","path":"WorkflowManager/src/main/java/hu/bme/aut/wman/controllers/ProfileController.java","position":30,"original_position":30,"commit_id":"0f3e49421e2c9f7c111d830d48b3d207c5f1a0fe","original_commit_id":"0f3e49421e2c9f7c111d830d48b3d207c5f1a0fe","user":{"login":"imre-szekeres","id":6772505,"avatar_url":"https://avatars.githubusercontent.com/u/6772505?v=2","gravatar_id":"","url":"https://api.github.com/users/imre-szekeres","html_url":"https://github.com/imre-szekeres","followers_url":"https://api.github.com/users/imre-szekeres/followers","following_url":"https://api.github.com/users/imre-szekeres/following{/other_user}","gists_url":"https://api.github.com/users/imre-szekeres/gists{/gist_id}","starred_url":"https://api.github.com/users/imre-szekeres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imre-szekeres/subscriptions","organizations_url":"https://api.github.com/users/imre-szekeres/orgs","repos_url":"https://api.github.com/users/imre-szekeres/repos","events_url":"https://api.github.com/users/imre-szekeres/events{/privacy}","received_events_url":"https://api.github.com/users/imre-szekeres/received_events","type":"User","site_admin":false},"body":"oh, 'cmon :D ","created_at":"2014-10-08T19:09:02Z","updated_at":"2014-10-08T19:09:02Z","html_url":"https://github.com/imre-szekeres/onlab2014_repo/pull/30#discussion_r18605054","pull_request_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/comments/18605054"},"html":{"href":"https://github.com/imre-szekeres/onlab2014_repo/pull/30#discussion_r18605054"},"pull_request":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/30","id":22307242,"html_url":"https://github.com/imre-szekeres/onlab2014_repo/pull/30","diff_url":"https://github.com/imre-szekeres/onlab2014_repo/pull/30.diff","patch_url":"https://github.com/imre-szekeres/onlab2014_repo/pull/30.patch","issue_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues/30","number":30,"state":"open","locked":false,"title":"Introducing the Domain System..","user":{"login":"imre-szekeres","id":6772505,"avatar_url":"https://avatars.githubusercontent.com/u/6772505?v=2","gravatar_id":"","url":"https://api.github.com/users/imre-szekeres","html_url":"https://github.com/imre-szekeres","followers_url":"https://api.github.com/users/imre-szekeres/followers","following_url":"https://api.github.com/users/imre-szekeres/following{/other_user}","gists_url":"https://api.github.com/users/imre-szekeres/gists{/gist_id}","starred_url":"https://api.github.com/users/imre-szekeres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imre-szekeres/subscriptions","organizations_url":"https://api.github.com/users/imre-szekeres/orgs","repos_url":"https://api.github.com/users/imre-szekeres/repos","events_url":"https://api.github.com/users/imre-szekeres/events{/privacy}","received_events_url":"https://api.github.com/users/imre-szekeres/received_events","type":"User","site_admin":false},"body":"Ebben az update -ben bekerult a Domain es annak minden kapcsolata, osszekoto tablaja, s megjelent a Handler layer elofutara, a UserHandlerLocal es UserHandlerImpl.","created_at":"2014-10-06T19:22:01Z","updated_at":"2014-10-08T19:09:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a8a75d9bbc79f21fd60877c34f56ab881922fad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/30/commits","review_comments_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/30/comments","review_comment_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/comments/{number}","comments_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues/30/comments","statuses_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/statuses/0f3e49421e2c9f7c111d830d48b3d207c5f1a0fe","head":{"label":"imre-szekeres:secure-spring","ref":"secure-spring","sha":"0f3e49421e2c9f7c111d830d48b3d207c5f1a0fe","user":{"login":"imre-szekeres","id":6772505,"avatar_url":"https://avatars.githubusercontent.com/u/6772505?v=2","gravatar_id":"","url":"https://api.github.com/users/imre-szekeres","html_url":"https://github.com/imre-szekeres","followers_url":"https://api.github.com/users/imre-szekeres/followers","following_url":"https://api.github.com/users/imre-szekeres/following{/other_user}","gists_url":"https://api.github.com/users/imre-szekeres/gists{/gist_id}","starred_url":"https://api.github.com/users/imre-szekeres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imre-szekeres/subscriptions","organizations_url":"https://api.github.com/users/imre-szekeres/orgs","repos_url":"https://api.github.com/users/imre-szekeres/repos","events_url":"https://api.github.com/users/imre-szekeres/events{/privacy}","received_events_url":"https://api.github.com/users/imre-szekeres/received_events","type":"User","site_admin":false},"repo":{"id":17139752,"name":"onlab2014_repo","full_name":"imre-szekeres/onlab2014_repo","owner":{"login":"imre-szekeres","id":6772505,"avatar_url":"https://avatars.githubusercontent.com/u/6772505?v=2","gravatar_id":"","url":"https://api.github.com/users/imre-szekeres","html_url":"https://github.com/imre-szekeres","followers_url":"https://api.github.com/users/imre-szekeres/followers","following_url":"https://api.github.com/users/imre-szekeres/following{/other_user}","gists_url":"https://api.github.com/users/imre-szekeres/gists{/gist_id}","starred_url":"https://api.github.com/users/imre-szekeres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imre-szekeres/subscriptions","organizations_url":"https://api.github.com/users/imre-szekeres/orgs","repos_url":"https://api.github.com/users/imre-szekeres/repos","events_url":"https://api.github.com/users/imre-szekeres/events{/privacy}","received_events_url":"https://api.github.com/users/imre-szekeres/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/imre-szekeres/onlab2014_repo","description":"","fork":false,"url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo","forks_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/forks","keys_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/teams","hooks_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/hooks","issue_events_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues/events{/number}","events_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/events","assignees_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/assignees{/user}","branches_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/branches{/branch}","tags_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/tags","blobs_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/git/refs{/sha}","trees_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/statuses/{sha}","languages_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/languages","stargazers_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/stargazers","contributors_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/contributors","subscribers_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/subscribers","subscription_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/subscription","commits_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/commits{/sha}","git_commits_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/git/commits{/sha}","comments_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/comments{/number}","issue_comment_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues/comments/{number}","contents_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/contents/{+path}","compare_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/merges","archive_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/downloads","issues_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues{/number}","pulls_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls{/number}","milestones_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/milestones{/number}","notifications_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/labels{/name}","releases_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/releases{/id}","created_at":"2014-02-24T15:02:26Z","updated_at":"2014-09-13T16:42:17Z","pushed_at":"2014-10-06T23:28:28Z","git_url":"git://github.com/imre-szekeres/onlab2014_repo.git","ssh_url":"git@github.com:imre-szekeres/onlab2014_repo.git","clone_url":"https://github.com/imre-szekeres/onlab2014_repo.git","svn_url":"https://github.com/imre-szekeres/onlab2014_repo","homepage":null,"size":2848,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"imre-szekeres:master","ref":"master","sha":"11e3e2b10b16e5e8c1fa4c708068ea22fc79e9fe","user":{"login":"imre-szekeres","id":6772505,"avatar_url":"https://avatars.githubusercontent.com/u/6772505?v=2","gravatar_id":"","url":"https://api.github.com/users/imre-szekeres","html_url":"https://github.com/imre-szekeres","followers_url":"https://api.github.com/users/imre-szekeres/followers","following_url":"https://api.github.com/users/imre-szekeres/following{/other_user}","gists_url":"https://api.github.com/users/imre-szekeres/gists{/gist_id}","starred_url":"https://api.github.com/users/imre-szekeres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imre-szekeres/subscriptions","organizations_url":"https://api.github.com/users/imre-szekeres/orgs","repos_url":"https://api.github.com/users/imre-szekeres/repos","events_url":"https://api.github.com/users/imre-szekeres/events{/privacy}","received_events_url":"https://api.github.com/users/imre-szekeres/received_events","type":"User","site_admin":false},"repo":{"id":17139752,"name":"onlab2014_repo","full_name":"imre-szekeres/onlab2014_repo","owner":{"login":"imre-szekeres","id":6772505,"avatar_url":"https://avatars.githubusercontent.com/u/6772505?v=2","gravatar_id":"","url":"https://api.github.com/users/imre-szekeres","html_url":"https://github.com/imre-szekeres","followers_url":"https://api.github.com/users/imre-szekeres/followers","following_url":"https://api.github.com/users/imre-szekeres/following{/other_user}","gists_url":"https://api.github.com/users/imre-szekeres/gists{/gist_id}","starred_url":"https://api.github.com/users/imre-szekeres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imre-szekeres/subscriptions","organizations_url":"https://api.github.com/users/imre-szekeres/orgs","repos_url":"https://api.github.com/users/imre-szekeres/repos","events_url":"https://api.github.com/users/imre-szekeres/events{/privacy}","received_events_url":"https://api.github.com/users/imre-szekeres/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/imre-szekeres/onlab2014_repo","description":"","fork":false,"url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo","forks_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/forks","keys_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/teams","hooks_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/hooks","issue_events_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues/events{/number}","events_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/events","assignees_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/assignees{/user}","branches_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/branches{/branch}","tags_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/tags","blobs_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/git/refs{/sha}","trees_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/statuses/{sha}","languages_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/languages","stargazers_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/stargazers","contributors_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/contributors","subscribers_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/subscribers","subscription_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/subscription","commits_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/commits{/sha}","git_commits_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/git/commits{/sha}","comments_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/comments{/number}","issue_comment_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues/comments/{number}","contents_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/contents/{+path}","compare_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/merges","archive_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/downloads","issues_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues{/number}","pulls_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls{/number}","milestones_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/milestones{/number}","notifications_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/labels{/name}","releases_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/releases{/id}","created_at":"2014-02-24T15:02:26Z","updated_at":"2014-09-13T16:42:17Z","pushed_at":"2014-10-06T23:28:28Z","git_url":"git://github.com/imre-szekeres/onlab2014_repo.git","ssh_url":"git@github.com:imre-szekeres/onlab2014_repo.git","clone_url":"https://github.com/imre-szekeres/onlab2014_repo.git","svn_url":"https://github.com/imre-szekeres/onlab2014_repo","homepage":null,"size":2848,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/30"},"html":{"href":"https://github.com/imre-szekeres/onlab2014_repo/pull/30"},"issue":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues/30"},"comments":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/statuses/0f3e49421e2c9f7c111d830d48b3d207c5f1a0fe"}}}}