{"action":"created","comment":{"url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls/comments/154215638","pull_request_review_id":80345312,"id":154215638,"diff_hunk":"@@ -20,63 +20,133 @@\n \n public class ImageAttachmentHandlerIT extends BaseModuleContextSensitiveTest {\n \n-\t@Autowired\n-\tprotected TestHelper testHelper;\n-\n-\t@Test\n-\tpublic void saveComplexData_shouldSaveThumbnailToDiskAndRename() throws IOException {\n-\n-\t\t// Replay\n-\t\tObs obs = testHelper.saveImageAttachment();\n-\t\tValueComplex vc = new ValueComplex(obs.getValueComplex());\n-\n-\t\t// Verif\n-\t\tFile file = new File(testHelper.getComplexObsDir() + \"/\" + vc.getFileName());\n-\t\tAssert.assertTrue(file.exists());\n-\t\tFile thumbnail = new File(testHelper.getComplexObsDir() + \"/\" + ImageAttachmentHandler.buildThumbnailFileName(vc.getFileName()));\n-\t\tAssert.assertTrue(thumbnail.exists());\n-\t\t\n-\t\tAssert.assertThat(thumbnail.length(), lessThan(file.length()));\n-\t\tBufferedImage img = ImageIO.read(thumbnail);\n-\t\tAssert.assertEquals(ImageAttachmentHandler.THUMBNAIL_MAX_HEIGHT, Math.max(img.getHeight(), img.getWidth()));\n-\n-\t\t// Now check rename the file by appending NO_THUMBNAIL_SUFFIX to the file\n-\t    String fileName = ImageAttachmentHandler.saveThumbnailOrRename(file, img.getHeight(), img.getWidth());\n-\t    Assert.assertTrue(StringUtils.endsWith(FilenameUtils.removeExtension(fileName), ImageAttachmentHandler.NO_THUMBNAIL_SUFFIX));\n-\t}\n-\n-\t@Test\n-\tpublic void deleteComplexData_shouldDeleteThumbnailFromDisk() throws IOException {\n-\n-\t\t// Setup\n-\t\tObs obs = testHelper.saveImageAttachment();\n-\t\tValueComplex vc = new ValueComplex(obs.getValueComplex());\n-\n-\t\t// Replay\n-\t\tobs = Context.getObsService().getComplexObs(obs.getId(), AttachmentsConstants.ATT_VIEW_CRUD);\n-\t\tContext.getObsService().purgeObs(obs);\n-\n-\t\t// Verif\n-\t\tFile file = new File(testHelper.getComplexObsDir() + \"/\" + vc.getFileName());\n-\t\tAssert.assertFalse(file.exists());\n-\t\tFile thumbnail = new File(testHelper.getComplexObsDir() + \"/\" + ImageAttachmentHandler.buildThumbnailFileName(vc.getFileName()));\n-\t\tAssert.assertFalse(thumbnail.exists());\n-\t}\n-\n-\t@Test\n-\tpublic void readComplexData_shouldFetchThumbnail() throws IOException {\n-\n-\t\t// Setup\n-\t\tObs obs = testHelper.saveImageAttachment();\n-\t\tValueComplex vc = new ValueComplex(obs.getValueComplex());\n-\t\tFile thumbnail = new File(testHelper.getComplexObsDir() + \"/\" + ImageAttachmentHandler.buildThumbnailFileName(vc.getFileName()));\n-\t\tAssert.assertTrue(thumbnail.exists());\n-\t\tbyte[] expectedBytes = new BaseComplexData(thumbnail.getName(), ImageIO.read(thumbnail)).asByteArray();\n-\t\t\n-\t\t// Replay\n-\t\tobs = Context.getObsService().getComplexObs(obs.getId(), AttachmentsConstants.ATT_VIEW_THUMBNAIL);\n-\t\t\n-\t\t// Verif\n-\t\tAssert.assertArrayEquals(expectedBytes, BaseComplexData.getByteArray(obs.getComplexData()));\n-\t}\n-}\n\\ No newline at end of file\n+    @Autowired\n+    protected TestHelper testHelper;\n+\n+    @Test\n+    public void saveComplexData_shouldSaveThumbnailToDiskAndRename() throws IOException {\n+\n+        // Replay\n+        Obs obs = testHelper.saveImageAttachment();\n+        ValueComplex vc = new ValueComplex(obs.getValueComplex());\n+\n+        // Verif\n+        File file = new File(testHelper.getComplexObsDir() + \"/\" + vc.getFileName());\n+        Assert.assertTrue(file.exists());\n+        File thumbnail = new File(testHelper.getComplexObsDir() + \"/\" + ImageAttachmentHandler.buildThumbnailFileName(vc.getFileName()));\n+        Assert.assertTrue(thumbnail.exists());\n+\n+        Assert.assertThat(thumbnail.length(), lessThan(file.length()));\n+        BufferedImage img = ImageIO.read(thumbnail);\n+        Assert.assertEquals(ImageAttachmentHandler.THUMBNAIL_MAX_HEIGHT, Math.max(img.getHeight(), img.getWidth()));\n+    }\n+\n+    @Test\n+    public void deleteComplexData_shouldDeleteThumbnailFromDisk() throws IOException {\n+\n+        // Setup\n+        Obs obs = testHelper.saveImageAttachment();\n+        ValueComplex vc = new ValueComplex(obs.getValueComplex());\n+\n+        // Replay\n+        obs = Context.getObsService().getComplexObs(obs.getId(), AttachmentsConstants.ATT_VIEW_CRUD);\n+        Context.getObsService().purgeObs(obs);\n+\n+        // Verif\n+        File file = new File(testHelper.getComplexObsDir() + \"/\" + vc.getFileName());\n+        Assert.assertFalse(file.exists());\n+        File thumbnail = new File(testHelper.getComplexObsDir() + \"/\" + ImageAttachmentHandler.buildThumbnailFileName(vc.getFileName()));\n+        Assert.assertFalse(thumbnail.exists());\n+    }\n+\n+    @Test\n+    public void readComplexData_shouldFetchThumbnail() throws IOException {\n+\n+        // Setup\n+        Obs obs = testHelper.saveImageAttachment();\n+        ValueComplex vc = new ValueComplex(obs.getValueComplex());\n+        File thumbnail = new File(testHelper.getComplexObsDir() + \"/\" + ImageAttachmentHandler.buildThumbnailFileName(vc.getFileName()));\n+        Assert.assertTrue(thumbnail.exists());\n+        byte[] expectedBytes = new BaseComplexData(thumbnail.getName(), ImageIO.read(thumbnail)).asByteArray();\n+\n+        // Replay\n+        obs = Context.getObsService().getComplexObs(obs.getId(), AttachmentsConstants.ATT_VIEW_THUMBNAIL);\n+\n+        // Verif\n+        Assert.assertArrayEquals(expectedBytes, BaseComplexData.getByteArray(obs.getComplexData()));\n+    }\n+    \n+    @Test\n+    public void saveComplexData_shouldNotSaveThumbnailWhenSmallImage() throws IOException {\n+\n+        // Replay\n+        Obs obs = testHelper.saveImageAttachment(\"smallSize\");\n+        ValueComplex vc = new ValueComplex(obs.getValueComplex());\n+        \n+        // Get original file name\n+        String originalFileName = StringUtils.strip(\n+                FilenameUtils.removeExtension(vc.getFileName()), ImageAttachmentHandler.NO_THUMBNAIL_SUFFIX) + \n+                \".\" + FilenameUtils.getExtension(vc.getFileName());        \n+\n+        // Verif the buildNotThumbnailFileFileName()\n+        File nothumbnail = new File(testHelper.getComplexObsDir() + \"/\" + ImageAttachmentHandler.buildNoThumbnailFileFileName(originalFileName));\n+        Assert.assertTrue(nothumbnail.exists());\n+        // Not create newe file name since it contained NO_THUMBNAIL_SUFFIX\n+        nothumbnail = new File(testHelper.getComplexObsDir() + \"/\" + ImageAttachmentHandler.buildNoThumbnailFileFileName(vc.getFileName()));\n+        Assert.assertTrue(nothumbnail.exists());        \n+        \n+        // Verif to thumbnail file was NOT created","path":"api/src/test/java/org/openmrs/module/attachments/obs/ImageAttachmentHandlerIT.java","position":98,"original_position":140,"commit_id":"db560b68aaf06822d05b7c0f6de66b395ce96308","original_commit_id":"db560b68aaf06822d05b7c0f6de66b395ce96308","user":{"login":"mks-d","id":12812196,"avatar_url":"https://avatars0.githubusercontent.com/u/12812196?v=4","gravatar_id":"","url":"https://api.github.com/users/mks-d","html_url":"https://github.com/mks-d","followers_url":"https://api.github.com/users/mks-d/followers","following_url":"https://api.github.com/users/mks-d/following{/other_user}","gists_url":"https://api.github.com/users/mks-d/gists{/gist_id}","starred_url":"https://api.github.com/users/mks-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mks-d/subscriptions","organizations_url":"https://api.github.com/users/mks-d/orgs","repos_url":"https://api.github.com/users/mks-d/repos","events_url":"https://api.github.com/users/mks-d/events{/privacy}","received_events_url":"https://api.github.com/users/mks-d/received_events","type":"User","site_admin":false},"body":"`to` -> `the`","created_at":"2017-11-30T22:06:26Z","updated_at":"2017-11-30T22:16:37Z","html_url":"https://github.com/openmrs/openmrs-module-attachments/pull/5#discussion_r154215638","pull_request_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls/5","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls/comments/154215638"},"html":{"href":"https://github.com/openmrs/openmrs-module-attachments/pull/5#discussion_r154215638"},"pull_request":{"href":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls/5","id":154793388,"html_url":"https://github.com/openmrs/openmrs-module-attachments/pull/5","diff_url":"https://github.com/openmrs/openmrs-module-attachments/pull/5.diff","patch_url":"https://github.com/openmrs/openmrs-module-attachments/pull/5.patch","issue_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/issues/5","number":5,"state":"open","locked":false,"title":"ATT-6: Thumbnails should not be generated for (already) small images","user":{"login":"oslynn","id":20068283,"avatar_url":"https://avatars0.githubusercontent.com/u/20068283?v=4","gravatar_id":"","url":"https://api.github.com/users/oslynn","html_url":"https://github.com/oslynn","followers_url":"https://api.github.com/users/oslynn/followers","following_url":"https://api.github.com/users/oslynn/following{/other_user}","gists_url":"https://api.github.com/users/oslynn/gists{/gist_id}","starred_url":"https://api.github.com/users/oslynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oslynn/subscriptions","organizations_url":"https://api.github.com/users/oslynn/orgs","repos_url":"https://api.github.com/users/oslynn/repos","events_url":"https://api.github.com/users/oslynn/events{/privacy}","received_events_url":"https://api.github.com/users/oslynn/received_events","type":"User","site_admin":false},"body":"   Checks original image dimensions. If the with and hight are within\r\n   the THUMBNAIL range, we just append \"_smallfile\" to the original file\r\n   name and NOT generate addition thumbnail file.","created_at":"2017-11-27T12:09:24Z","updated_at":"2017-11-30T22:16:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2cd1463a4f5b7a2a5960350a2be94daa99ee13eb","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls/5/commits","review_comments_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls/5/comments","review_comment_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/issues/5/comments","statuses_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/statuses/db560b68aaf06822d05b7c0f6de66b395ce96308","head":{"label":"oslynn:ATT-6","ref":"ATT-6","sha":"db560b68aaf06822d05b7c0f6de66b395ce96308","user":{"login":"oslynn","id":20068283,"avatar_url":"https://avatars0.githubusercontent.com/u/20068283?v=4","gravatar_id":"","url":"https://api.github.com/users/oslynn","html_url":"https://github.com/oslynn","followers_url":"https://api.github.com/users/oslynn/followers","following_url":"https://api.github.com/users/oslynn/following{/other_user}","gists_url":"https://api.github.com/users/oslynn/gists{/gist_id}","starred_url":"https://api.github.com/users/oslynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oslynn/subscriptions","organizations_url":"https://api.github.com/users/oslynn/orgs","repos_url":"https://api.github.com/users/oslynn/repos","events_url":"https://api.github.com/users/oslynn/events{/privacy}","received_events_url":"https://api.github.com/users/oslynn/received_events","type":"User","site_admin":false},"repo":{"id":109573938,"name":"openmrs-module-attachments","full_name":"oslynn/openmrs-module-attachments","owner":{"login":"oslynn","id":20068283,"avatar_url":"https://avatars0.githubusercontent.com/u/20068283?v=4","gravatar_id":"","url":"https://api.github.com/users/oslynn","html_url":"https://github.com/oslynn","followers_url":"https://api.github.com/users/oslynn/followers","following_url":"https://api.github.com/users/oslynn/following{/other_user}","gists_url":"https://api.github.com/users/oslynn/gists{/gist_id}","starred_url":"https://api.github.com/users/oslynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oslynn/subscriptions","organizations_url":"https://api.github.com/users/oslynn/orgs","repos_url":"https://api.github.com/users/oslynn/repos","events_url":"https://api.github.com/users/oslynn/events{/privacy}","received_events_url":"https://api.github.com/users/oslynn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oslynn/openmrs-module-attachments","description":"UI components and backend web services to upload, view and manage attachments within OpenMRS.","fork":true,"url":"https://api.github.com/repos/oslynn/openmrs-module-attachments","forks_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/forks","keys_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/teams","hooks_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/hooks","issue_events_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/issues/events{/number}","events_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/events","assignees_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/assignees{/user}","branches_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/branches{/branch}","tags_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/tags","blobs_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/git/refs{/sha}","trees_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/statuses/{sha}","languages_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/languages","stargazers_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/stargazers","contributors_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/contributors","subscribers_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/subscribers","subscription_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/subscription","commits_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/commits{/sha}","git_commits_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/git/commits{/sha}","comments_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/comments{/number}","issue_comment_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/issues/comments{/number}","contents_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/contents/{+path}","compare_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/merges","archive_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/downloads","issues_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/issues{/number}","pulls_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/pulls{/number}","milestones_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/milestones{/number}","notifications_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/labels{/name}","releases_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/releases{/id}","deployments_url":"https://api.github.com/repos/oslynn/openmrs-module-attachments/deployments","created_at":"2017-11-05T11:36:22Z","updated_at":"2017-11-05T11:36:24Z","pushed_at":"2017-11-30T18:49:18Z","git_url":"git://github.com/oslynn/openmrs-module-attachments.git","ssh_url":"git@github.com:oslynn/openmrs-module-attachments.git","clone_url":"https://github.com/oslynn/openmrs-module-attachments.git","svn_url":"https://github.com/oslynn/openmrs-module-attachments","homepage":"","size":1145,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openmrs:master","ref":"master","sha":"26975d6772dbf05304e97a40d5b71d914e28ad8d","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":55615630,"name":"openmrs-module-attachments","full_name":"openmrs/openmrs-module-attachments","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-attachments","description":"UI components and backend web services to upload, view and manage attachments within OpenMRS.","fork":false,"url":"https://api.github.com/repos/openmrs/openmrs-module-attachments","forks_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/forks","keys_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/teams","hooks_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/hooks","issue_events_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/issues/events{/number}","events_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/events","assignees_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/assignees{/user}","branches_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/branches{/branch}","tags_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/tags","blobs_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/statuses/{sha}","languages_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/languages","stargazers_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/stargazers","contributors_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/contributors","subscribers_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/subscribers","subscription_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/subscription","commits_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/contents/{+path}","compare_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/merges","archive_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/downloads","issues_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/issues{/number}","pulls_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls{/number}","milestones_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/milestones{/number}","notifications_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/labels{/name}","releases_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/releases{/id}","deployments_url":"https://api.github.com/repos/openmrs/openmrs-module-attachments/deployments","created_at":"2016-04-06T15:03:00Z","updated_at":"2017-11-02T15:06:18Z","pushed_at":"2017-11-30T18:49:19Z","git_url":"git://github.com/openmrs/openmrs-module-attachments.git","ssh_url":"git@github.com:openmrs/openmrs-module-attachments.git","clone_url":"https://github.com/openmrs/openmrs-module-attachments.git","svn_url":"https://github.com/openmrs/openmrs-module-attachments","homepage":"","size":1136,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":13,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls/5"},"html":{"href":"https://github.com/openmrs/openmrs-module-attachments/pull/5"},"issue":{"href":"https://api.github.com/repos/openmrs/openmrs-module-attachments/issues/5"},"comments":{"href":"https://api.github.com/repos/openmrs/openmrs-module-attachments/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmrs/openmrs-module-attachments/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/openmrs/openmrs-module-attachments/statuses/db560b68aaf06822d05b7c0f6de66b395ce96308"}},"author_association":"NONE"}}
{"actor":{"display_login":"mks-d"}}