GitHub PullRequestReviewCommentEvent at 2014-09-26 09:47:12
Repository: onlab2014_repo
Actor: imre-szekeres
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/comments/18081282","id":18081282,"diff_hunk":"@@ -53,39 +74,179 @@\n \t// return validator.validateValue(Project.class, \"description\", description).size() == 0;\n \t// }\n \n+\t/**\n+\t * You can not delete projects, only closing is allowed.\n+\t * NOTE: If you call this method, it will not delete the project either!\n+\t */\n+\t@Override\n+\t@Deprecated\n+\tpublic void delete(Project entity) throws EntityNotDeletableException {\n+\t};\n+\n+\t/**\n+\t * Closes the project.\n+\t * \n+\t * @param project\n+\t */\n+\tpublic void close(Project project) {\n+\t\tif (!project.isActive()) {\n+\t\t\treturn;\n+\t\t} else {\n+\t\t\tif (isDetached(project)) {\n+\t\t\t\tproject = attach(project);\n+\t\t\t}\n+\t\t\tproject.setActive(false);\n+\t\t}\n+\t}\n+\n+\t/**\n+\t * Reopens the project. It means it will be active.\n+\t * \n+\t * @param project\n+\t */\n+\tpublic void reopen(Project project) {\n+\t\tif (project.isActive()) {\n+\t\t\treturn;\n+\t\t} else {\n+\t\t\tif (isDetached(project)) {\n+\t\t\t\tproject = attach(project);\n+\t\t\t}\n+\t\t\tproject.setActive(true);\n+\t\t}\n+\t}\n+\n+\t/**\n+\t * Sets the owner on the project.\n+\t * \n+\t * @param project\n+\t * @param newOwner\n+\t */\n+\tpublic void setOwnerOnProject(Project project, User newOwner) {\n+\t\tif (project.getOwner() == newOwner) {\n+\t\t\treturn;\n+\t\t} else {\n+\t\t\tif (isDetached(project)) {\n+\t\t\t\tproject = attach(project);\n+\t\t\t}\n+\t\t\tproject.setOwner(newOwner);\n+\t\t}\n+\t}\n+\n+\t/**\n+\t * Executes the given action on the project. The project will go from the current state into an other.\n+\t * \n+\t * @param project\n+\t * @param action\n+\t *            to execute\n+\t */\n+\tpublic void executeAction(Project project, final ActionType action) {\n+\t\tState currentState = project.getCurrentState();\n+\n+\t\tCollection<Transition> transitions = Collections2.filter(transitionService.selectByParentId(currentState.getId()), new Predicate<Transition>() {\n+\n+\t\t\t@Override\n+\t\t\tpublic boolean apply(Transition transition) {\n+\t\t\t\treturn transition.getActionType() == action;\n+\t\t\t}\n+\t\t});\n+\n+\t\tif (!transitions.isEmpty()) {\n+\t\t\tproject.setCurrentState(transitions.iterator().next().getNextState());\n+\t\t\tsave(project);\n+\t\t} else {\n+\t\t\tthrow new IllegalArgumentException(\"There is no transition with this \" + action + \" from the \" + currentState + \" on \" + project + \".\");\n+\t\t}\n+\t}\n+\n+\t/**\n+\t * Adds a user to the given project.\n+\t * \n+\t * @param projectID\n+\t * @param userID\n+\t */\n+\tpublic void addUser(Long projectID, User user) {\n+\t\tProject project = selectById(projectID);\n+\t\tProjectAssignment projectAssignment = new ProjectAssignment(user, project);\n+\n+\t\tprojectAssignmentService.save(projectAssignment);\n+\t}\n+\n+\t/**\n+\t * Removes a user from the given project.\n+\t * \n+\t * @param projectId\n+\t * @param userID\n+\t * @throws EntityNotDeletableException\n+\t *             if the assignment is not deletable for some reason\n+\t */\n+\tpublic void removeUser(Long projectId, final User user) throws EntityNotDeletableException {\n+\t\tCollection<ProjectAssignment> assignments = Collections2.filter(projectAssignmentService.selectByProjectId(projectId), new Predicate<ProjectAssignment>() {\n+\n+\t\t\t@Override\n+\t\t\tpublic boolean apply(ProjectAssignment projectAssignment) {\n+\t\t\t\treturn projectAssignment.getUser() == user;\n+\t\t\t}\n+\t\t});\n+\n+\t\tif (!assignments.isEmpty()) {\n+\t\t\tprojectAssignmentService.delete(assignments.iterator().next());\n+\t\t}\n+\t}\n+\n+\t/**\n+\t * Creates a comment on the project by the user with the message.\n+\t * \n+\t * @param project\n+\t * @param user\n+\t * @param commentMessage\n+\t */\n+\tpublic void commentOnProject(Project project, User user, String commentMessage) {\n+\t\tComment comment = new Comment(user, project, commentMessage);\n+\t\tcomment.setPostDate(new Date());\n+\n+\t\tcommentService.save(comment);\n+\t\tuserService.save(user);\n+\t\tsave(project);\n+\t}\n+\n+\t/**\n+\t * @param workflowName\n+\t * @return the projects which have the given workflow\n+\t */\n \tpublic List<Project> selectAllByWorkflowName(String workflowName) {\n \t\tList<Entry<String, Object>> parameterList = new ArrayList<Entry<String, Object>>();\n \t\tparameterList.add(new AbstractMap.SimpleEntry<String, Object>(Workflow.PR_NAME, workflowName));\n \t\treturn callNamedQuery(Project.NQ_FIND_BY_WORKFLOW_NAME, parameterList);\n \t}\n \n+\t/**\n+\t * @param workflowName\n+\t * @return the projects which have the given name\n+\t */\n \tpublic List<Project> selectByName(String name) {\n \t\tArrayList<Entry<String, Object>> parameterList = new ArrayList<Entry<String, Object>>();\n \t\tparameterList.add(new AbstractMap.SimpleEntry<String, Object>(Project.PR_NAME, name));\n \t\treturn selectByParameters(parameterList);\n \t}\n \n-\t// TODO it should be in UserService\n \t/**\n-\t * Use findByParameters method instead\n+\t * @param workflowName\n+\t * @return the projects which are in the given state\n \t */\n-\t@Deprecated\n-\tpublic List<User> findUsersFor(Long projectID) {\n-\t\tTypedQuery<User> selectFor = em.createQuery(\"SELECT u FROM User u, ProjectAssignment pa \"\n-\t\t\t\t+ \"WHERE pa.user = u AND pa.project.id = :projectID\", User.class);\n-\t\tselectFor.setParameter(\"projectID\", projectID);\n-\t\treturn selectFor.getResultList();\n+\tpublic List<Project> selectByCurrentState(State state) {\n+\t\tArrayList<Entry<String, Object>> parameterList = new ArrayList<Entry<String, Object>>();\n+\t\tparameterList.add(new AbstractMap.SimpleEntry<String, Object>(Project.PR_CURRENT_STATE, state));","path":"WorkflowManager/src/main/java/hu/bme/aut/wman/service/ProjectService.java","position":220,"original_position":220,"commit_id":"5238ef40e60fa62014e44d54dd3a5a066fdf1318","original_commit_id":"5238ef40e60fa62014e44d54dd3a5a066fdf1318","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":"Ez itt lehet List? Csak haklis vagyok.. oregszem es jonnek elo a nyavajaim :D (tudom, h itt teljesen mind1, h interface v implementacio a ref.. ill joreszt mind1)","created_at":"2014-09-26T09:47:12Z","updated_at":"2014-09-26T09:47:12Z","html_url":"https://github.com/imre-szekeres/onlab2014_repo/pull/13#discussion_r18081282","pull_request_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/comments/18081282"},"html":{"href":"https://github.com/imre-szekeres/onlab2014_repo/pull/13#discussion_r18081282"},"pull_request":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/13","id":21660103,"html_url":"https://github.com/imre-szekeres/onlab2014_repo/pull/13","diff_url":"https://github.com/imre-szekeres/onlab2014_repo/pull/13.diff","patch_url":"https://github.com/imre-szekeres/onlab2014_repo/pull/13.patch","issue_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues/13","number":13,"state":"open","locked":false,"title":"Rewrite services","user":{"login":"GergelyVarkonyi","id":6773494,"avatar_url":"https://avatars.githubusercontent.com/u/6773494?v=2","gravatar_id":"","url":"https://api.github.com/users/GergelyVarkonyi","html_url":"https://github.com/GergelyVarkonyi","followers_url":"https://api.github.com/users/GergelyVarkonyi/followers","following_url":"https://api.github.com/users/GergelyVarkonyi/following{/other_user}","gists_url":"https://api.github.com/users/GergelyVarkonyi/gists{/gist_id}","starred_url":"https://api.github.com/users/GergelyVarkonyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GergelyVarkonyi/subscriptions","organizations_url":"https://api.github.com/users/GergelyVarkonyi/orgs","repos_url":"https://api.github.com/users/GergelyVarkonyi/repos","events_url":"https://api.github.com/users/GergelyVarkonyi/events{/privacy}","received_events_url":"https://api.github.com/users/GergelyVarkonyi/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-09-23T16:57:19Z","updated_at":"2014-09-26T09:47:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8134e41054c1323c711be56c284a78c29a81ed80","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/13/commits","review_comments_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/13/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/13/comments","statuses_url":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/statuses/5238ef40e60fa62014e44d54dd3a5a066fdf1318","head":{"label":"imre-szekeres:rewrite_services","ref":"rewrite_services","sha":"5238ef40e60fa62014e44d54dd3a5a066fdf1318","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-09-25T05:48:46Z","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":2120,"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":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"imre-szekeres:master","ref":"master","sha":"1c762e2c8f93dbd6490226cd980b018a783e6c4d","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-09-25T05:48:46Z","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":2120,"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":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/13"},"html":{"href":"https://github.com/imre-szekeres/onlab2014_repo/pull/13"},"issue":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues/13"},"comments":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/pulls/13/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/13/commits"},"statuses":{"href":"https://api.github.com/repos/imre-szekeres/onlab2014_repo/statuses/5238ef40e60fa62014e44d54dd3a5a066fdf1318"}}}}