{"action":"created","comment":{"url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls/comments/142645687","pull_request_review_id":67034092,"id":142645687,"diff_hunk":"@@ -0,0 +1,253 @@\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.idgen.web.controller;\n+\n+import org.apache.commons.beanutils.PropertyUtils;\n+import org.codehaus.jackson.map.ObjectMapper;\n+import org.junit.Before;\n+import org.junit.Test;\n+import org.openmrs.api.context.Context;\n+import org.openmrs.module.idgen.IdentifierPool;\n+import org.openmrs.module.idgen.RemoteIdentifierSource;\n+import org.openmrs.module.idgen.SequentialIdentifierGenerator;\n+import org.openmrs.module.idgen.service.IdentifierSourceService;\n+import org.openmrs.module.webservices.rest.SimpleObject;\n+import org.openmrs.module.webservices.rest.web.response.ResourceDoesNotSupportOperationException;\n+import org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceControllerTest;\n+import org.springframework.mock.web.MockHttpServletRequest;\n+import org.springframework.web.bind.annotation.RequestMethod;\n+\n+import static org.junit.Assert.assertEquals;\n+import static org.junit.Assert.assertNotNull;\n+import static org.junit.Assert.assertNull;\n+import static org.junit.Assert.assertTrue;\n+import static org.junit.Assert.assertFalse;\n+\n+public class IdentifierSourceRestControllerTest extends MainResourceControllerTest {\n+\t\n+\tpublic static final String SEQUENTIAL_IDENTIFIER_SOURCE_UUID = \"0d47284f-9e9b-4a81-a88b-8bb42bc0a901\";\n+\tpublic static final String REMOTE_IDENTIFIER_SOURCE_UUID = \"0d47284f-9e9b-4a81-a88b-8bb42bc0a902\";\n+\tpublic static final String POOL_SOURCE_UUID = \"0d47284f-9e9b-4a81-a88b-8bb42bc0a903\";\n+\tpublic static final String IDENTIFIER_TYPE_UUID = \"2f470aa8-1d73-43b7-81b5-01f0c0dfa53c\";\n+\tpublic static final String IDENTIFIER_SOURCE_TO_PURGE_UUID = \"0d47284f-9e9b-4a81-a88b-8bb42bc0a999\";\n+\tpublic static final String SEQUENTIAL_IDENTIFIER_SOURCE_TYPE = \"SequentialIdentifierGenerator\";\n+\tpublic static final String REMOTE_IDENTIFIER_SOURCE_TYPE = \"RemoteIdentifierSource\";\n+\tpublic static final String IDENTIFIER_POOL_SOURCE_TYPE = \"IdentifierPool\";\n+\t\n+\tprivate IdentifierSourceService service;\n+\n+\t@Before\n+\tpublic void setUp() throws Exception {\n+\t\texecuteDataSet(\"org/openmrs/module/idgen/include/TestData.xml\");\n+\t\tthis.service = Context.getService(IdentifierSourceService.class);\n+\t}\n+\n+\t@Override\n+\tpublic String getURI() {\n+\t\treturn \"idgen/identifiersource\";\n+\t}\n+\n+\t@Override\n+\tpublic String getUuid() {\n+\t\treturn SEQUENTIAL_IDENTIFIER_SOURCE_UUID;\n+\t}\n+\n+\t@Override\n+\tpublic long getAllCount()  {\n+\t\treturn service.getAllIdentifierSources(false).size();\n+\t}\n+\t\n+\t@Override\n+\t@Test(expected = ResourceDoesNotSupportOperationException.class)\n+\tpublic void shouldGetAll() throws Exception {\n+\t    super.shouldGetAll();\n+\t}\n+\n+\t@Test\n+\tpublic void shouldGetAnIdentifierSourceByUuid() throws Exception {\n+\t\t\n+\t\tSimpleObject result = deserialize(handle(newGetRequest(getURI() + \"/\" + getUuid())));\n+\t\t\t\t\n+\t\tassertNotNull(result);\n+\t\tassertEquals(getUuid(), PropertyUtils.getProperty(result, \"uuid\"));\n+\t\n+\t}\n+\t\n+\t@Test\n+\tpublic void shouldEditASequentialIdentifierSource() throws Exception {\n+\t\t\n+\t\tString name = \"{\\\"name\\\":\\\"Updated Sequential Identifier Name\\\"}\";\n+\t\t\n+\t\tassertEquals(\"Test Sequential Generator\", service.getIdentifierSourceByUuid(getUuid()).getName());\n+\t\t\n+\t\thandle(newPostRequest(getURI() + \"/\" + getUuid(), name));\n+\t\t\n+\t\tassertEquals(\"Updated Sequential Identifier Name\", service.getIdentifierSourceByUuid(getUuid()).getName());\n+\t\t\n+\t}\n+\t\n+\t@Test\n+\tpublic void shouldEditARemoteIdentifierSource() throws Exception {\n+\t\t\n+\t\tString name = \"{\\\"name\\\":\\\"Updated Remote Identifier Name\\\"}\";\n+\t\t\n+\t\tassertEquals(\"Test Remote Source\", service.getIdentifierSourceByUuid(REMOTE_IDENTIFIER_SOURCE_UUID).getName());\n+\t\t\n+\t\thandle(newPostRequest(getURI() + \"/\" + getUuid(), name));\n+\t\t\n+\t\tassertEquals(\"Updated Remote Identifier Name\", service.getIdentifierSourceByUuid(getUuid()).getName());\n+\t\t\n+\t}\n+\t\n+\t@Test\n+\tpublic void shouldEditAnIdentifierPoolSource() throws Exception {\n+\t\t\n+\t\tString name = \"{\\\"name\\\":\\\"Updated Identifier Pool Description\\\"}\";\n+\t\t\n+\t\tassertEquals(\"Test Identifier Pool\", service.getIdentifierSourceByUuid(POOL_SOURCE_UUID).getName());\n+\t\t\n+\t\thandle(newPostRequest(getURI() + \"/\" + getUuid(), name));\n+\t\t\n+\t\tassertEquals(\"Updated Identifier Pool Description\", service.getIdentifierSourceByUuid(getUuid()).getName());\n+\t\t\n+\t}\n+\n+\t@Test\n+\tpublic void shouldSaveASequentialIdentifierGenerator() throws Exception {\n+\t\t\n+\t\tlong initialIdentifierSourceCount = getAllCount();\n+\t\t\n+\t\tSimpleObject identifierSource = new SimpleObject();\n+\t\tidentifierSource.add(\"name\", \"test sequential identifier\");\n+\t\tidentifierSource.add(\"description\", \"test sequential identifier\");\n+\t\tidentifierSource.add(\"identifierType\", IDENTIFIER_TYPE_UUID);\n+\t\tidentifierSource.add(\"firstIdentifierBase\", \"1\");\n+\t\tidentifierSource.add(\"prefix\", \"ABC\");\n+\t\tidentifierSource.add(\"suffix\", \"XYZ\");\n+\t\tidentifierSource.add(\"minLength\", \"36\");\n+\t\tidentifierSource.add(\"maxLength\", \"38\");\n+\t\tidentifierSource.add(\"baseCharacterSet\", \"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\");\n+\t\tidentifierSource.add(\"sourceType\", SEQUENTIAL_IDENTIFIER_SOURCE_TYPE);\n+\t\t\n+\t\tString jsonIdentifierSource = new ObjectMapper().writeValueAsString(identifierSource);\n+\t\t\t\t\n+\t\tMockHttpServletRequest req = newPostRequest(getURI(), jsonIdentifierSource);\n+\t\t\t\t\n+\t\thandle(req);\n+\t\t\n+\t\tSequentialIdentifierGenerator generatedIdentifierSource = (SequentialIdentifierGenerator) service.getAllIdentifierSources(false).get(7);","path":"omod/src/test/java/org/openmrs/module/idgen/web/controller/IdentifierSourceRestControllerTest.java","position":144,"original_position":144,"commit_id":"7ecea6af6c1490ceffe774071daa627cb67c70b7","original_commit_id":"14d592038d1289876b74b0c35cb7c268398c139f","user":{"login":"adamsdenniskariuki","id":25571987,"avatar_url":"https://avatars0.githubusercontent.com/u/25571987?v=4","gravatar_id":"","url":"https://api.github.com/users/adamsdenniskariuki","html_url":"https://github.com/adamsdenniskariuki","followers_url":"https://api.github.com/users/adamsdenniskariuki/followers","following_url":"https://api.github.com/users/adamsdenniskariuki/following{/other_user}","gists_url":"https://api.github.com/users/adamsdenniskariuki/gists{/gist_id}","starred_url":"https://api.github.com/users/adamsdenniskariuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamsdenniskariuki/subscriptions","organizations_url":"https://api.github.com/users/adamsdenniskariuki/orgs","repos_url":"https://api.github.com/users/adamsdenniskariuki/repos","events_url":"https://api.github.com/users/adamsdenniskariuki/events{/privacy}","received_events_url":"https://api.github.com/users/adamsdenniskariuki/received_events","type":"User","site_admin":false},"body":"@dkayiwa im getting an error when I deserialize(): `JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\r\n at [Source: java.io.StringReader@60a386b1; line: 1, column: 2]` it seems the data is being received as xml","created_at":"2017-10-04T11:34:47Z","updated_at":"2017-10-04T11:34:47Z","html_url":"https://github.com/openmrs/openmrs-module-idgen/pull/37#discussion_r142645687","pull_request_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls/37","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls/comments/142645687"},"html":{"href":"https://github.com/openmrs/openmrs-module-idgen/pull/37#discussion_r142645687"},"pull_request":{"href":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls/37"}},"in_reply_to_id":142604783},"pull_request":{"url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls/37","id":143251469,"html_url":"https://github.com/openmrs/openmrs-module-idgen/pull/37","diff_url":"https://github.com/openmrs/openmrs-module-idgen/pull/37.diff","patch_url":"https://github.com/openmrs/openmrs-module-idgen/pull/37.patch","issue_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/issues/37","number":37,"state":"open","locked":false,"title":"IDGEN-65 Create Manage Patient Identifier Sources RESTFUL API endpoints","user":{"login":"adamsdenniskariuki","id":25571987,"avatar_url":"https://avatars0.githubusercontent.com/u/25571987?v=4","gravatar_id":"","url":"https://api.github.com/users/adamsdenniskariuki","html_url":"https://github.com/adamsdenniskariuki","followers_url":"https://api.github.com/users/adamsdenniskariuki/followers","following_url":"https://api.github.com/users/adamsdenniskariuki/following{/other_user}","gists_url":"https://api.github.com/users/adamsdenniskariuki/gists{/gist_id}","starred_url":"https://api.github.com/users/adamsdenniskariuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamsdenniskariuki/subscriptions","organizations_url":"https://api.github.com/users/adamsdenniskariuki/orgs","repos_url":"https://api.github.com/users/adamsdenniskariuki/repos","events_url":"https://api.github.com/users/adamsdenniskariuki/events{/privacy}","received_events_url":"https://api.github.com/users/adamsdenniskariuki/received_events","type":"User","site_admin":false},"body":"## JIRA TICKET NAME:\r\n\r\n[IDGEN-65 Create Manage Patient Identifier Sources RESTFUL API endpoints](https://issues.openmrs.org/browse/IDGEN-65)\r\n\r\n## SUMMARY:\r\n\r\nCreates REST end points that will get, save, and delete patient identifier sources.","created_at":"2017-09-26T21:48:15Z","updated_at":"2017-10-04T11:34:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5850a59f314aa4950670b7bf183aac159c5a54b3","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls/37/commits","review_comments_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls/37/comments","review_comment_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/issues/37/comments","statuses_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/statuses/7ecea6af6c1490ceffe774071daa627cb67c70b7","head":{"label":"adamsdenniskariuki:IDGEN-65","ref":"IDGEN-65","sha":"7ecea6af6c1490ceffe774071daa627cb67c70b7","user":{"login":"adamsdenniskariuki","id":25571987,"avatar_url":"https://avatars0.githubusercontent.com/u/25571987?v=4","gravatar_id":"","url":"https://api.github.com/users/adamsdenniskariuki","html_url":"https://github.com/adamsdenniskariuki","followers_url":"https://api.github.com/users/adamsdenniskariuki/followers","following_url":"https://api.github.com/users/adamsdenniskariuki/following{/other_user}","gists_url":"https://api.github.com/users/adamsdenniskariuki/gists{/gist_id}","starred_url":"https://api.github.com/users/adamsdenniskariuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamsdenniskariuki/subscriptions","organizations_url":"https://api.github.com/users/adamsdenniskariuki/orgs","repos_url":"https://api.github.com/users/adamsdenniskariuki/repos","events_url":"https://api.github.com/users/adamsdenniskariuki/events{/privacy}","received_events_url":"https://api.github.com/users/adamsdenniskariuki/received_events","type":"User","site_admin":false},"repo":{"id":104917572,"name":"openmrs-module-idgen","full_name":"adamsdenniskariuki/openmrs-module-idgen","owner":{"login":"adamsdenniskariuki","id":25571987,"avatar_url":"https://avatars0.githubusercontent.com/u/25571987?v=4","gravatar_id":"","url":"https://api.github.com/users/adamsdenniskariuki","html_url":"https://github.com/adamsdenniskariuki","followers_url":"https://api.github.com/users/adamsdenniskariuki/followers","following_url":"https://api.github.com/users/adamsdenniskariuki/following{/other_user}","gists_url":"https://api.github.com/users/adamsdenniskariuki/gists{/gist_id}","starred_url":"https://api.github.com/users/adamsdenniskariuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamsdenniskariuki/subscriptions","organizations_url":"https://api.github.com/users/adamsdenniskariuki/orgs","repos_url":"https://api.github.com/users/adamsdenniskariuki/repos","events_url":"https://api.github.com/users/adamsdenniskariuki/events{/privacy}","received_events_url":"https://api.github.com/users/adamsdenniskariuki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamsdenniskariuki/openmrs-module-idgen","description":"Provides patient identifier generation for other OpenMRS modules","fork":true,"url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen","forks_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/forks","keys_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/teams","hooks_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/hooks","issue_events_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/issues/events{/number}","events_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/events","assignees_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/assignees{/user}","branches_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/branches{/branch}","tags_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/tags","blobs_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/statuses/{sha}","languages_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/languages","stargazers_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/stargazers","contributors_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/contributors","subscribers_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/subscribers","subscription_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/subscription","commits_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/contents/{+path}","compare_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/merges","archive_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/downloads","issues_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/issues{/number}","pulls_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/pulls{/number}","milestones_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/milestones{/number}","notifications_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/labels{/name}","releases_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/releases{/id}","deployments_url":"https://api.github.com/repos/adamsdenniskariuki/openmrs-module-idgen/deployments","created_at":"2017-09-26T17:34:47Z","updated_at":"2017-09-26T17:34:48Z","pushed_at":"2017-10-04T10:46:27Z","git_url":"git://github.com/adamsdenniskariuki/openmrs-module-idgen.git","ssh_url":"git@github.com:adamsdenniskariuki/openmrs-module-idgen.git","clone_url":"https://github.com/adamsdenniskariuki/openmrs-module-idgen.git","svn_url":"https://github.com/adamsdenniskariuki/openmrs-module-idgen","homepage":null,"size":15326,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"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":"0420a1642e2ddb131b24939de5955fa47dd950b4","user":{"login":"openmrs","id":860776,"avatar_url":"https://avatars3.githubusercontent.com/u/860776?v=4","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":6946743,"name":"openmrs-module-idgen","full_name":"openmrs/openmrs-module-idgen","owner":{"login":"openmrs","id":860776,"avatar_url":"https://avatars3.githubusercontent.com/u/860776?v=4","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-idgen","description":"Provides patient identifier generation for other OpenMRS modules","fork":false,"url":"https://api.github.com/repos/openmrs/openmrs-module-idgen","forks_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/forks","keys_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/teams","hooks_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/hooks","issue_events_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/issues/events{/number}","events_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/events","assignees_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/assignees{/user}","branches_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/branches{/branch}","tags_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/tags","blobs_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/statuses/{sha}","languages_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/languages","stargazers_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/stargazers","contributors_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/contributors","subscribers_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/subscribers","subscription_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/subscription","commits_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/contents/{+path}","compare_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/merges","archive_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/downloads","issues_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/issues{/number}","pulls_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls{/number}","milestones_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/milestones{/number}","notifications_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/labels{/name}","releases_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/releases{/id}","deployments_url":"https://api.github.com/repos/openmrs/openmrs-module-idgen/deployments","created_at":"2012-11-30T22:18:05Z","updated_at":"2016-03-16T12:01:37Z","pushed_at":"2017-10-04T10:46:39Z","git_url":"git://github.com/openmrs/openmrs-module-idgen.git","ssh_url":"git@github.com:openmrs/openmrs-module-idgen.git","clone_url":"https://github.com/openmrs/openmrs-module-idgen.git","svn_url":"https://github.com/openmrs/openmrs-module-idgen","homepage":null,"size":15315,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":3,"forks":36,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls/37"},"html":{"href":"https://github.com/openmrs/openmrs-module-idgen/pull/37"},"issue":{"href":"https://api.github.com/repos/openmrs/openmrs-module-idgen/issues/37"},"comments":{"href":"https://api.github.com/repos/openmrs/openmrs-module-idgen/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmrs/openmrs-module-idgen/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/openmrs/openmrs-module-idgen/statuses/7ecea6af6c1490ceffe774071daa627cb67c70b7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"adamsdenniskariuki"}}