{"action":"created","comment":{"url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls/comments/85123300","pull_request_review_id":5854957,"id":85123300,"diff_hunk":"@@ -0,0 +1,245 @@\n+/**\n+ * This Source Code Form is subject to the terms of the Mozilla Public License,\n+ * v. 2.0. If a copy of the MPL was not distributed with this file, You can\n+ * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under\n+ * the terms of the Healthcare Disclaimer located at http://openmrs.org/license.\n+ *\n+ * Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS\n+ * graphic logo is a trademark of OpenMRS Inc.\n+ */\n+package org.openmrs.module.webservices.rest.web.v1_0.resource.openmrs1_8;\n+\n+import org.openmrs.module.Module;\n+import org.openmrs.module.ModuleException;\n+import org.openmrs.module.webservices.helper.ModuleAction;\n+import org.openmrs.module.webservices.helper.ModuleFactoryWrapper;\n+import org.openmrs.module.webservices.rest.SimpleObject;\n+import org.openmrs.module.webservices.rest.web.ConversionUtil;\n+import org.openmrs.module.webservices.rest.web.RequestContext;\n+import org.openmrs.module.webservices.rest.web.RestConstants;\n+import org.openmrs.module.webservices.rest.web.annotation.Resource;\n+import org.openmrs.module.webservices.rest.web.representation.Representation;\n+import org.openmrs.module.webservices.rest.web.resource.api.Creatable;\n+import org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResource;\n+import org.openmrs.module.webservices.rest.web.resource.impl.DelegatingResourceDescription;\n+import org.openmrs.module.webservices.rest.web.response.ResourceDoesNotSupportOperationException;\n+import org.openmrs.module.webservices.rest.web.response.ResponseException;\n+\n+import javax.servlet.ServletContext;\n+import java.util.ArrayList;\n+import java.util.Collection;\n+import java.util.List;\n+\n+@Resource(name = RestConstants.VERSION_1 + \"/moduleaction\", supportedClass = ModuleAction.class, supportedOpenmrsVersions = {\n+        \"1.8.*\", \"1.9.*\", \"1.10.*\", \"1.11.*\", \"1.12.*\", \"2.0.*\", \"2.1.*\" })\n+public class ModuleActionResource1_8 extends BaseDelegatingResource<ModuleAction> implements Creatable {\n+\t\n+\tprivate ModuleFactoryWrapper moduleFactoryWrapper = new ModuleFactoryWrapper();\n+\t\n+\tpublic void setModuleFactoryWrapper(ModuleFactoryWrapper moduleFactoryWrapper) {\n+\t\tthis.moduleFactoryWrapper = moduleFactoryWrapper;\n+\t}\n+\t\n+\t/**\n+\t * Overriding create directly, because ModuleFactory requires ServletContext to execute any\n+\t * action\n+\t */\n+\t@Override\n+\tpublic Object create(SimpleObject post, RequestContext context) throws ResponseException {\n+\t\tmoduleFactoryWrapper.checkPrivilege();\n+\t\tModuleAction action = parseAction(post, context);\n+\t\tCollection<Module> modules = action.isAllModules() ? moduleFactoryWrapper.getLoadedModules() : action.getModules();\n+\t\t\n+\t\tServletContext servletContext = getServletContext(context);\n+\t\t\n+\t\tif (modules.isEmpty()) {\n+\t\t\tthrow new IllegalArgumentException(\"Cannot execute action \" + action.getType() + \" on empty set of modules.\");\n+\t\t} else {\n+\t\t\tswitch (action.getType()) {\n+\t\t\t\tcase START:\n+\t\t\t\t\tstartModules(modules, servletContext);\n+\t\t\t\t\tbreak;\n+\t\t\t\tcase STOP:\n+\t\t\t\t\tstopModules(modules, servletContext);\n+\t\t\t\t\tbreak;\n+\t\t\t\tcase RESTART:\n+\t\t\t\t\trestartModules(modules, servletContext);\n+\t\t\t\t\tbreak;\n+\t\t\t\tcase UNLOAD:\n+\t\t\t\t\tunloadModules(modules, servletContext);\n+\t\t\t\t\tbreak;\n+\t\t\t}\n+\t\t}\n+\t\t\n+\t\treturn ConversionUtil.convertToRepresentation(action, Representation.DEFAULT);\n+\t}\n+\t\n+\tprivate ModuleAction parseAction(SimpleObject post, RequestContext context) {\n+\t\t\n+\t\t//parse action\n+\t\tString actionTypeName = post.get(\"action\");\n+\t\tModuleAction.Type actionType;\n+\t\ttry {\n+\t\t\tif (actionTypeName == null) {\n+\t\t\t\tthrow new IllegalArgumentException(\"Please specify action type\");\n+\t\t\t}\n+\t\t\tactionType = ModuleAction.Type.valueOf(actionTypeName.toUpperCase().trim());\n+\t\t}\n+\t\tcatch (Exception e) {\n+\t\t\tthrow new IllegalArgumentException(\"Invalid modules action\", e);","path":"omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ModuleActionResource1_8.java","position":89,"original_position":89,"commit_id":"ea347638a616708ed816bf204e323e07f3f9e7e1","original_commit_id":"ea347638a616708ed816bf204e323e07f3f9e7e1","user":{"login":"rkorytkowski","id":1163157,"avatar_url":"https://avatars.githubusercontent.com/u/1163157?v=3","gravatar_id":"","url":"https://api.github.com/users/rkorytkowski","html_url":"https://github.com/rkorytkowski","followers_url":"https://api.github.com/users/rkorytkowski/followers","following_url":"https://api.github.com/users/rkorytkowski/following{/other_user}","gists_url":"https://api.github.com/users/rkorytkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/rkorytkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkorytkowski/subscriptions","organizations_url":"https://api.github.com/users/rkorytkowski/orgs","repos_url":"https://api.github.com/users/rkorytkowski/repos","events_url":"https://api.github.com/users/rkorytkowski/events{/privacy}","received_events_url":"https://api.github.com/users/rkorytkowski/received_events","type":"User","site_admin":false},"body":"Throw IllegalRequestException. No need to rethrow \"Please specify action type\", make the try block smaller.","created_at":"2016-10-26T13:37:47Z","updated_at":"2016-10-26T13:37:47Z","html_url":"https://github.com/openmrs/openmrs-module-webservices.rest/pull/255#discussion_r85123300","pull_request_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls/255","_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls/comments/85123300"},"html":{"href":"https://github.com/openmrs/openmrs-module-webservices.rest/pull/255#discussion_r85123300"},"pull_request":{"href":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls/255"}}},"pull_request":{"url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls/255","id":90945407,"html_url":"https://github.com/openmrs/openmrs-module-webservices.rest/pull/255","diff_url":"https://github.com/openmrs/openmrs-module-webservices.rest/pull/255.diff","patch_url":"https://github.com/openmrs/openmrs-module-webservices.rest/pull/255.patch","issue_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/issues/255","number":255,"state":"open","locked":false,"title":"RESTWS-627 Improve module resource","user":{"login":"PawelGutkowski","id":17570261,"avatar_url":"https://avatars.githubusercontent.com/u/17570261?v=3","gravatar_id":"","url":"https://api.github.com/users/PawelGutkowski","html_url":"https://github.com/PawelGutkowski","followers_url":"https://api.github.com/users/PawelGutkowski/followers","following_url":"https://api.github.com/users/PawelGutkowski/following{/other_user}","gists_url":"https://api.github.com/users/PawelGutkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/PawelGutkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PawelGutkowski/subscriptions","organizations_url":"https://api.github.com/users/PawelGutkowski/orgs","repos_url":"https://api.github.com/users/PawelGutkowski/repos","events_url":"https://api.github.com/users/PawelGutkowski/events{/privacy}","received_events_url":"https://api.github.com/users/PawelGutkowski/received_events","type":"User","site_admin":false},"body":"https://issues.openmrs.org/browse/RESTWS-627","created_at":"2016-10-26T06:49:04Z","updated_at":"2016-10-26T13:59:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1906e6b18584a6f9697a31a1667dfb23342fe06f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls/255/commits","review_comments_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls/255/comments","review_comment_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/issues/255/comments","statuses_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/statuses/ea347638a616708ed816bf204e323e07f3f9e7e1","head":{"label":"PawelGutkowski:RESTWS-627","ref":"RESTWS-627","sha":"ea347638a616708ed816bf204e323e07f3f9e7e1","user":{"login":"PawelGutkowski","id":17570261,"avatar_url":"https://avatars.githubusercontent.com/u/17570261?v=3","gravatar_id":"","url":"https://api.github.com/users/PawelGutkowski","html_url":"https://github.com/PawelGutkowski","followers_url":"https://api.github.com/users/PawelGutkowski/followers","following_url":"https://api.github.com/users/PawelGutkowski/following{/other_user}","gists_url":"https://api.github.com/users/PawelGutkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/PawelGutkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PawelGutkowski/subscriptions","organizations_url":"https://api.github.com/users/PawelGutkowski/orgs","repos_url":"https://api.github.com/users/PawelGutkowski/repos","events_url":"https://api.github.com/users/PawelGutkowski/events{/privacy}","received_events_url":"https://api.github.com/users/PawelGutkowski/received_events","type":"User","site_admin":false},"repo":{"id":54971308,"name":"openmrs-module-webservices.rest","full_name":"PawelGutkowski/openmrs-module-webservices.rest","owner":{"login":"PawelGutkowski","id":17570261,"avatar_url":"https://avatars.githubusercontent.com/u/17570261?v=3","gravatar_id":"","url":"https://api.github.com/users/PawelGutkowski","html_url":"https://github.com/PawelGutkowski","followers_url":"https://api.github.com/users/PawelGutkowski/followers","following_url":"https://api.github.com/users/PawelGutkowski/following{/other_user}","gists_url":"https://api.github.com/users/PawelGutkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/PawelGutkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PawelGutkowski/subscriptions","organizations_url":"https://api.github.com/users/PawelGutkowski/orgs","repos_url":"https://api.github.com/users/PawelGutkowski/repos","events_url":"https://api.github.com/users/PawelGutkowski/events{/privacy}","received_events_url":"https://api.github.com/users/PawelGutkowski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PawelGutkowski/openmrs-module-webservices.rest","description":"Provides RESTful web services for OpenMRS","fork":true,"url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest","forks_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/forks","keys_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/teams","hooks_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/hooks","issue_events_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/issues/events{/number}","events_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/events","assignees_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/assignees{/user}","branches_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/branches{/branch}","tags_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/tags","blobs_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/git/refs{/sha}","trees_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/statuses/{sha}","languages_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/languages","stargazers_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/stargazers","contributors_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/contributors","subscribers_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/subscribers","subscription_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/subscription","commits_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/commits{/sha}","git_commits_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/git/commits{/sha}","comments_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/comments{/number}","issue_comment_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/issues/comments{/number}","contents_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/contents/{+path}","compare_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/merges","archive_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/downloads","issues_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/issues{/number}","pulls_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/pulls{/number}","milestones_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/milestones{/number}","notifications_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/labels{/name}","releases_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/releases{/id}","deployments_url":"https://api.github.com/repos/PawelGutkowski/openmrs-module-webservices.rest/deployments","created_at":"2016-03-29T11:47:22Z","updated_at":"2016-03-29T11:47:25Z","pushed_at":"2016-10-26T07:49:01Z","git_url":"git://github.com/PawelGutkowski/openmrs-module-webservices.rest.git","ssh_url":"git@github.com:PawelGutkowski/openmrs-module-webservices.rest.git","clone_url":"https://github.com/PawelGutkowski/openmrs-module-webservices.rest.git","svn_url":"https://github.com/PawelGutkowski/openmrs-module-webservices.rest","homepage":null,"size":5505,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openmrs:master","ref":"master","sha":"af10974dba8f1443ca2000a20b11eb14785800a7","user":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"repo":{"id":6951233,"name":"openmrs-module-webservices.rest","full_name":"openmrs/openmrs-module-webservices.rest","owner":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmrs/openmrs-module-webservices.rest","description":"Provides RESTful web services for OpenMRS","fork":false,"url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest","forks_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/forks","keys_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/teams","hooks_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/hooks","issue_events_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/issues/events{/number}","events_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/events","assignees_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/assignees{/user}","branches_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/branches{/branch}","tags_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/tags","blobs_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/statuses/{sha}","languages_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/languages","stargazers_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/stargazers","contributors_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/contributors","subscribers_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/subscribers","subscription_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/subscription","commits_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/contents/{+path}","compare_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/merges","archive_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/downloads","issues_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/issues{/number}","pulls_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls{/number}","milestones_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/milestones{/number}","notifications_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/labels{/name}","releases_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/releases{/id}","deployments_url":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/deployments","created_at":"2012-12-01T06:50:25Z","updated_at":"2016-10-24T08:03:38Z","pushed_at":"2016-10-26T07:49:01Z","git_url":"git://github.com/openmrs/openmrs-module-webservices.rest.git","ssh_url":"git@github.com:openmrs/openmrs-module-webservices.rest.git","clone_url":"https://github.com/openmrs/openmrs-module-webservices.rest.git","svn_url":"https://github.com/openmrs/openmrs-module-webservices.rest","homepage":null,"size":6798,"stargazers_count":18,"watchers_count":18,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":147,"mirror_url":null,"open_issues_count":1,"forks":147,"open_issues":1,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls/255"},"html":{"href":"https://github.com/openmrs/openmrs-module-webservices.rest/pull/255"},"issue":{"href":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/issues/255"},"comments":{"href":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/issues/255/comments"},"review_comments":{"href":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls/255/comments"},"review_comment":{"href":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/pulls/255/commits"},"statuses":{"href":"https://api.github.com/repos/openmrs/openmrs-module-webservices.rest/statuses/ea347638a616708ed816bf204e323e07f3f9e7e1"}}}}
{"actor":{"display_login":"rkorytkowski"}}