{"action":"created","comment":{"url":"https://api.github.com/repos/curefit/fuse/pulls/comments/170235431","pull_request_review_id":98883516,"id":170235431,"diff_hunk":"@@ -1,102 +1,159 @@\n package com.curefit.service;\n \n-import com.curefit.config.FuseConstants;\n import com.curefit.dto.AtHomeDiagnosticsRequest;\n import com.curefit.dto.InCentreDiagnosticRequest;\n import com.curefit.dto.WrappedDiagnosticOrderRequest;\n import com.curefit.dto.WrappedDiagnosticRescheduleRequest;\n-import com.curefit.exceptions.FuseException;\n import com.curefit.exceptions.DuplicateResourceException;\n+import com.curefit.exceptions.FuseException;\n import com.curefit.models.AtHomeDiagnosticOrder;\n import com.curefit.models.DiagnosticOrder;\n import com.curefit.models.DiagnosticSlot;\n import com.curefit.models.InCentreDiagnosticOrder;\n-import com.curefit.models.constants.ModelContants.DiagnosticOrderStatus;\n-import com.curefit.models.constants.ModelContants.DiagnosticSubOrderStatus;\n+import com.curefit.models.constants.ModelConstants.DiagnosticOrderStatus;\n+import com.curefit.models.constants.ModelConstants.DiagnosticSubOrderStatus;\n import com.curefit.repositories.AtHomeDiagnosticOrderRepository;\n import com.curefit.repositories.InCentreDiagnosticOrderRepository;\n import org.slf4j.Logger;\n import org.slf4j.LoggerFactory;\n import org.springframework.beans.factory.annotation.Autowired;\n import org.springframework.stereotype.Service;\n \n+import java.util.ArrayList;\n+import java.util.List;\n+import java.util.Set;\n+\n /**\n  * Created by swati on 15/02/18.\n  */\n @Service\n public class WrappedDiagnosticOrderService extends DiagnosticOrderService<WrappedDiagnosticOrderRequest> {\n \n-  private static final Logger logger = LoggerFactory.getLogger(WrappedDiagnosticOrderService.class);\n+    private static final Logger logger = LoggerFactory.getLogger(WrappedDiagnosticOrderService.class);\n \n-  @Autowired\n-  PhlebotomistService phlebotomistService;\n+    @Autowired\n+    PhlebotomistService phlebotomistService;\n \n-  @Autowired\n-  DiagnosticSlotService diagnosticSlotService;\n+    @Autowired\n+    DiagnosticSlotService diagnosticSlotService;\n \n-  @Autowired\n-  AtHomeDiagnosticOrderRepository atHomeDiagnosticOrderRepository;\n+    @Autowired\n+    AtHomeDiagnosticOrderRepository atHomeDiagnosticOrderRepository;\n \n-  @Autowired\n-  InCentreDiagnosticOrderRepository inCentreDiagnosticOrderRepository;\n+    @Autowired\n+    InCentreDiagnosticOrderRepository inCentreDiagnosticOrderRepository;\n \n-  @Override\n-  public DiagnosticOrder placeOrder(WrappedDiagnosticOrderRequest wrappedDiagnosticOrderRequest)\n-      throws FuseException, DuplicateResourceException {\n+    @Autowired\n+    LabOrderService labOrderService;\n \n-    DiagnosticOrder order = createOrder(wrappedDiagnosticOrderRequest);\n-    setStatusAndSave(order, DiagnosticOrderStatus.CREATED);\n+    @Override\n+    public DiagnosticOrder placeOrder(WrappedDiagnosticOrderRequest wrappedDiagnosticOrderRequest)\n+            throws FuseException, DuplicateResourceException {\n \n-    InCentreDiagnosticRequest inCentreDiagnosticRequest = wrappedDiagnosticOrderRequest.getInCentreDiagnosticRequest();\n-    AtHomeDiagnosticsRequest atHomeDiagnosticsRequest = wrappedDiagnosticOrderRequest.getAtHomeDiagnosticsRequest();\n+        DiagnosticOrder order = createOrder(wrappedDiagnosticOrderRequest);\n \n-    if (atHomeDiagnosticsRequest != null) {\n-      AtHomeDiagnosticOrder atHomeOrder = phlebotomistService.createBooking(wrappedDiagnosticOrderRequest.getAtHomeDiagnosticsRequest(), order);\n-      order.addAtHomeDiagnosticOrder(atHomeOrder);\n-      setStatusAndSave(order, DiagnosticOrderStatus.PHLEBO_SLOT_BOOKED);\n-      order.addDiagnosticOrderItems(constructAtHomeDiagnosticOrderItems(order, atHomeDiagnosticsRequest));\n-    }\n+//    diagnosticOrderRepository.save(order);\n \n-    if (inCentreDiagnosticRequest != null) {\n-      DiagnosticSlot slot = diagnosticSlotService.bookDiagnosticSlot(wrappedDiagnosticOrderRequest.getInCentreDiagnosticRequest().getSlotId());\n-      order.addInCentreDiagnosticOrder(new InCentreDiagnosticOrder(order, slot, DiagnosticSubOrderStatus.ACTIVE));\n-      setStatusAndSave(order, DiagnosticOrderStatus.IN_CENTRE_SLOT_BOOKED);\n-      order.addDiagnosticOrderItems(constructInCentreDiagnosticOrderItems(order, inCentreDiagnosticRequest));\n-    }\n+        InCentreDiagnosticRequest inCentreDiagnosticRequest = wrappedDiagnosticOrderRequest.getInCentreDiagnosticRequest();\n+        AtHomeDiagnosticsRequest atHomeDiagnosticsRequest = wrappedDiagnosticOrderRequest.getAtHomeDiagnosticsRequest();\n+\n+        if (atHomeDiagnosticsRequest != null) {\n+            AtHomeDiagnosticOrder atHomeOrder = phlebotomistService.createBooking(wrappedDiagnosticOrderRequest.getAtHomeDiagnosticsRequest(), order);\n+            order.addAtHomeDiagnosticOrder(atHomeOrder);\n+            setStatusAndSave(order, DiagnosticOrderStatus.PHLEBO_SLOT_BOOKED);\n+            order.addDiagnosticOrderItems(constructAtHomeDiagnosticOrderItems(order, atHomeDiagnosticsRequest));\n+        }\n \n-    setStatusAndSave(order, DiagnosticOrderStatus.LAB_ORDER_PLACED);\n-    String lisOrderId = \"LISOD000011\"; //@swati fix this\n-    order.setSellerOrderId(lisOrderId);\n-    return setStatusAndSave(order, DiagnosticOrderStatus.ACTIVE);\n-  }\n+        if (inCentreDiagnosticRequest != null) {\n+            DiagnosticSlot slot = diagnosticSlotService.bookDiagnosticSlot(wrappedDiagnosticOrderRequest.getInCentreDiagnosticRequest().getSlotId());\n+            order.addInCentreDiagnosticOrder(new InCentreDiagnosticOrder(order, wrappedDiagnosticOrderRequest.getInCentreDiagnosticRequest().getCenterId().longValue(), slot, DiagnosticSubOrderStatus.ACTIVE));\n+            setStatusAndSave(order, DiagnosticOrderStatus.IN_CENTRE_SLOT_BOOKED);\n+            order.addDiagnosticOrderItems(constructInCentreDiagnosticOrderItems(order, inCentreDiagnosticRequest));\n+            //adding patient information to order need to be clarified\n \n-  @Override\n-  public void cancelOrder(DiagnosticOrder diagnosticOrder) throws IllegalArgumentException {\n-    InCentreDiagnosticOrder inCentreDiagnosticOrder = inCentreDiagnosticOrderRepository.findByDiagnosticOrderIdAndStatus(diagnosticOrder.getId(), DiagnosticSubOrderStatus.ACTIVE);\n-    AtHomeDiagnosticOrder atHomeDiagnosticOrder = atHomeDiagnosticOrderRepository.findByDiagnosticOrderIdAndStatus(diagnosticOrder.getId(), DiagnosticSubOrderStatus.ACTIVE);\n+        }\n+\n+        String patientId = this.labOrderService.createBooking(wrappedDiagnosticOrderRequest);\n+        setStatusAndSave(order, DiagnosticOrderStatus.LAB_ORDER_PLACED);\n+        order.getPatient().setLisPatientId(patientId);\n+        //Need to be taken from response. For the time being carefit order id is set.\n+        order.setSellerOrderId(order.getCarefitOrderId());\n+        return setStatusAndSave(order, DiagnosticOrderStatus.ACTIVE);\n \n-    if (inCentreDiagnosticOrder != null) {\n-      diagnosticSlotService.freeDiagnosticSlot(inCentreDiagnosticOrder.getSlot().getId());\n-      inCentreDiagnosticOrder.setStatus(DiagnosticSubOrderStatus.CANCELLED);\n     }\n \n-    if (atHomeDiagnosticOrder != null) {\n-      phlebotomistService.cancelOrder();\n-      atHomeDiagnosticOrder.setStatus(DiagnosticSubOrderStatus.CANCELLED);\n+    private InCentreDiagnosticOrder getIncentreDiagnosticOrder(DiagnosticOrder diagnosticOrder) {\n+        InCentreDiagnosticOrder inCentreDiagnosticOrder = null;\n+        Set<InCentreDiagnosticOrder> inCenterDiagnosticOrders = diagnosticOrder.getInCentreDiagnosticOrders();\n+        for (InCentreDiagnosticOrder inCenterDiagnosticOrderPart : inCenterDiagnosticOrders) {\n+            if (inCenterDiagnosticOrderPart.getStatus().name().equalsIgnoreCase(DiagnosticOrderStatus.ACTIVE.name())) {\n+                inCentreDiagnosticOrder = inCenterDiagnosticOrderPart;\n+            }\n+        }\n+        return inCentreDiagnosticOrder;\n     }\n \n-    //@swati cancel order on lis\n-    diagnosticOrder.setStatus(DiagnosticOrderStatus.CANCELLED);\n-    diagnosticOrderRepository.save(diagnosticOrder);\n-  }\n+    private AtHomeDiagnosticOrder getAtHomeDiagnosticOrder(DiagnosticOrder diagnosticOrder) {\n+        AtHomeDiagnosticOrder atHomeDiagnosticOrder = null;","path":"fuse-core/src/main/java/com/curefit/service/WrappedDiagnosticOrderService.java","position":148,"original_position":148,"commit_id":"400663877a4eccfda263ddd3599abee6f8c19f55","original_commit_id":"400663877a4eccfda263ddd3599abee6f8c19f55","user":{"login":"swatisinghi","id":1551609,"avatar_url":"https://avatars1.githubusercontent.com/u/1551609?v=4","gravatar_id":"","url":"https://api.github.com/users/swatisinghi","html_url":"https://github.com/swatisinghi","followers_url":"https://api.github.com/users/swatisinghi/followers","following_url":"https://api.github.com/users/swatisinghi/following{/other_user}","gists_url":"https://api.github.com/users/swatisinghi/gists{/gist_id}","starred_url":"https://api.github.com/users/swatisinghi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swatisinghi/subscriptions","organizations_url":"https://api.github.com/users/swatisinghi/orgs","repos_url":"https://api.github.com/users/swatisinghi/repos","events_url":"https://api.github.com/users/swatisinghi/events{/privacy}","received_events_url":"https://api.github.com/users/swatisinghi/received_events","type":"User","site_admin":false},"body":"Let's use `forEach` here","created_at":"2018-02-23T12:05:45Z","updated_at":"2018-02-23T12:30:48Z","html_url":"https://github.com/curefit/fuse/pull/11#discussion_r170235431","pull_request_url":"https://api.github.com/repos/curefit/fuse/pulls/11","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/curefit/fuse/pulls/comments/170235431"},"html":{"href":"https://github.com/curefit/fuse/pull/11#discussion_r170235431"},"pull_request":{"href":"https://api.github.com/repos/curefit/fuse/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/curefit/fuse/pulls/11","id":170745549,"html_url":"https://github.com/curefit/fuse/pull/11","diff_url":"https://github.com/curefit/fuse/pull/11.diff","patch_url":"https://github.com/curefit/fuse/pull/11.patch","issue_url":"https://api.github.com/repos/curefit/fuse/issues/11","number":11,"state":"open","locked":false,"title":"Sujay dev3","user":{"login":"Sujay-Desai","id":35563599,"avatar_url":"https://avatars1.githubusercontent.com/u/35563599?v=4","gravatar_id":"","url":"https://api.github.com/users/Sujay-Desai","html_url":"https://github.com/Sujay-Desai","followers_url":"https://api.github.com/users/Sujay-Desai/followers","following_url":"https://api.github.com/users/Sujay-Desai/following{/other_user}","gists_url":"https://api.github.com/users/Sujay-Desai/gists{/gist_id}","starred_url":"https://api.github.com/users/Sujay-Desai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sujay-Desai/subscriptions","organizations_url":"https://api.github.com/users/Sujay-Desai/orgs","repos_url":"https://api.github.com/users/Sujay-Desai/repos","events_url":"https://api.github.com/users/Sujay-Desai/events{/privacy}","received_events_url":"https://api.github.com/users/Sujay-Desai/received_events","type":"User","site_admin":false},"body":"LIS order service","created_at":"2018-02-22T13:09:32Z","updated_at":"2018-02-23T12:30:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25c931873b21cbd24d86c763b5ebc1e9f28a2aa2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/curefit/fuse/pulls/11/commits","review_comments_url":"https://api.github.com/repos/curefit/fuse/pulls/11/comments","review_comment_url":"https://api.github.com/repos/curefit/fuse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/curefit/fuse/issues/11/comments","statuses_url":"https://api.github.com/repos/curefit/fuse/statuses/400663877a4eccfda263ddd3599abee6f8c19f55","head":{"label":"curefit:sujay_dev3","ref":"sujay_dev3","sha":"400663877a4eccfda263ddd3599abee6f8c19f55","user":{"login":"curefit","id":20183371,"avatar_url":"https://avatars3.githubusercontent.com/u/20183371?v=4","gravatar_id":"","url":"https://api.github.com/users/curefit","html_url":"https://github.com/curefit","followers_url":"https://api.github.com/users/curefit/followers","following_url":"https://api.github.com/users/curefit/following{/other_user}","gists_url":"https://api.github.com/users/curefit/gists{/gist_id}","starred_url":"https://api.github.com/users/curefit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curefit/subscriptions","organizations_url":"https://api.github.com/users/curefit/orgs","repos_url":"https://api.github.com/users/curefit/repos","events_url":"https://api.github.com/users/curefit/events{/privacy}","received_events_url":"https://api.github.com/users/curefit/received_events","type":"Organization","site_admin":false},"repo":{"id":115257654,"name":"fuse","full_name":"curefit/fuse","owner":{"login":"curefit","id":20183371,"avatar_url":"https://avatars3.githubusercontent.com/u/20183371?v=4","gravatar_id":"","url":"https://api.github.com/users/curefit","html_url":"https://github.com/curefit","followers_url":"https://api.github.com/users/curefit/followers","following_url":"https://api.github.com/users/curefit/following{/other_user}","gists_url":"https://api.github.com/users/curefit/gists{/gist_id}","starred_url":"https://api.github.com/users/curefit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curefit/subscriptions","organizations_url":"https://api.github.com/users/curefit/orgs","repos_url":"https://api.github.com/users/curefit/repos","events_url":"https://api.github.com/users/curefit/events{/privacy}","received_events_url":"https://api.github.com/users/curefit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/curefit/fuse","description":null,"fork":false,"url":"https://api.github.com/repos/curefit/fuse","forks_url":"https://api.github.com/repos/curefit/fuse/forks","keys_url":"https://api.github.com/repos/curefit/fuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/curefit/fuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/curefit/fuse/teams","hooks_url":"https://api.github.com/repos/curefit/fuse/hooks","issue_events_url":"https://api.github.com/repos/curefit/fuse/issues/events{/number}","events_url":"https://api.github.com/repos/curefit/fuse/events","assignees_url":"https://api.github.com/repos/curefit/fuse/assignees{/user}","branches_url":"https://api.github.com/repos/curefit/fuse/branches{/branch}","tags_url":"https://api.github.com/repos/curefit/fuse/tags","blobs_url":"https://api.github.com/repos/curefit/fuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/curefit/fuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/curefit/fuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/curefit/fuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/curefit/fuse/statuses/{sha}","languages_url":"https://api.github.com/repos/curefit/fuse/languages","stargazers_url":"https://api.github.com/repos/curefit/fuse/stargazers","contributors_url":"https://api.github.com/repos/curefit/fuse/contributors","subscribers_url":"https://api.github.com/repos/curefit/fuse/subscribers","subscription_url":"https://api.github.com/repos/curefit/fuse/subscription","commits_url":"https://api.github.com/repos/curefit/fuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/curefit/fuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/curefit/fuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/curefit/fuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/curefit/fuse/contents/{+path}","compare_url":"https://api.github.com/repos/curefit/fuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/curefit/fuse/merges","archive_url":"https://api.github.com/repos/curefit/fuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/curefit/fuse/downloads","issues_url":"https://api.github.com/repos/curefit/fuse/issues{/number}","pulls_url":"https://api.github.com/repos/curefit/fuse/pulls{/number}","milestones_url":"https://api.github.com/repos/curefit/fuse/milestones{/number}","notifications_url":"https://api.github.com/repos/curefit/fuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/curefit/fuse/labels{/name}","releases_url":"https://api.github.com/repos/curefit/fuse/releases{/id}","deployments_url":"https://api.github.com/repos/curefit/fuse/deployments","created_at":"2017-12-24T11:09:17Z","updated_at":"2017-12-24T11:10:33Z","pushed_at":"2018-02-23T11:13:47Z","git_url":"git://github.com/curefit/fuse.git","ssh_url":"git@github.com:curefit/fuse.git","clone_url":"https://github.com/curefit/fuse.git","svn_url":"https://github.com/curefit/fuse","homepage":null,"size":638,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"curefit:hcu","ref":"hcu","sha":"e673d631e6cd10412fd7766edabea1f67604a386","user":{"login":"curefit","id":20183371,"avatar_url":"https://avatars3.githubusercontent.com/u/20183371?v=4","gravatar_id":"","url":"https://api.github.com/users/curefit","html_url":"https://github.com/curefit","followers_url":"https://api.github.com/users/curefit/followers","following_url":"https://api.github.com/users/curefit/following{/other_user}","gists_url":"https://api.github.com/users/curefit/gists{/gist_id}","starred_url":"https://api.github.com/users/curefit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curefit/subscriptions","organizations_url":"https://api.github.com/users/curefit/orgs","repos_url":"https://api.github.com/users/curefit/repos","events_url":"https://api.github.com/users/curefit/events{/privacy}","received_events_url":"https://api.github.com/users/curefit/received_events","type":"Organization","site_admin":false},"repo":{"id":115257654,"name":"fuse","full_name":"curefit/fuse","owner":{"login":"curefit","id":20183371,"avatar_url":"https://avatars3.githubusercontent.com/u/20183371?v=4","gravatar_id":"","url":"https://api.github.com/users/curefit","html_url":"https://github.com/curefit","followers_url":"https://api.github.com/users/curefit/followers","following_url":"https://api.github.com/users/curefit/following{/other_user}","gists_url":"https://api.github.com/users/curefit/gists{/gist_id}","starred_url":"https://api.github.com/users/curefit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curefit/subscriptions","organizations_url":"https://api.github.com/users/curefit/orgs","repos_url":"https://api.github.com/users/curefit/repos","events_url":"https://api.github.com/users/curefit/events{/privacy}","received_events_url":"https://api.github.com/users/curefit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/curefit/fuse","description":null,"fork":false,"url":"https://api.github.com/repos/curefit/fuse","forks_url":"https://api.github.com/repos/curefit/fuse/forks","keys_url":"https://api.github.com/repos/curefit/fuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/curefit/fuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/curefit/fuse/teams","hooks_url":"https://api.github.com/repos/curefit/fuse/hooks","issue_events_url":"https://api.github.com/repos/curefit/fuse/issues/events{/number}","events_url":"https://api.github.com/repos/curefit/fuse/events","assignees_url":"https://api.github.com/repos/curefit/fuse/assignees{/user}","branches_url":"https://api.github.com/repos/curefit/fuse/branches{/branch}","tags_url":"https://api.github.com/repos/curefit/fuse/tags","blobs_url":"https://api.github.com/repos/curefit/fuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/curefit/fuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/curefit/fuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/curefit/fuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/curefit/fuse/statuses/{sha}","languages_url":"https://api.github.com/repos/curefit/fuse/languages","stargazers_url":"https://api.github.com/repos/curefit/fuse/stargazers","contributors_url":"https://api.github.com/repos/curefit/fuse/contributors","subscribers_url":"https://api.github.com/repos/curefit/fuse/subscribers","subscription_url":"https://api.github.com/repos/curefit/fuse/subscription","commits_url":"https://api.github.com/repos/curefit/fuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/curefit/fuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/curefit/fuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/curefit/fuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/curefit/fuse/contents/{+path}","compare_url":"https://api.github.com/repos/curefit/fuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/curefit/fuse/merges","archive_url":"https://api.github.com/repos/curefit/fuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/curefit/fuse/downloads","issues_url":"https://api.github.com/repos/curefit/fuse/issues{/number}","pulls_url":"https://api.github.com/repos/curefit/fuse/pulls{/number}","milestones_url":"https://api.github.com/repos/curefit/fuse/milestones{/number}","notifications_url":"https://api.github.com/repos/curefit/fuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/curefit/fuse/labels{/name}","releases_url":"https://api.github.com/repos/curefit/fuse/releases{/id}","deployments_url":"https://api.github.com/repos/curefit/fuse/deployments","created_at":"2017-12-24T11:09:17Z","updated_at":"2017-12-24T11:10:33Z","pushed_at":"2018-02-23T11:13:47Z","git_url":"git://github.com/curefit/fuse.git","ssh_url":"git@github.com:curefit/fuse.git","clone_url":"https://github.com/curefit/fuse.git","svn_url":"https://github.com/curefit/fuse","homepage":null,"size":638,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/curefit/fuse/pulls/11"},"html":{"href":"https://github.com/curefit/fuse/pull/11"},"issue":{"href":"https://api.github.com/repos/curefit/fuse/issues/11"},"comments":{"href":"https://api.github.com/repos/curefit/fuse/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/curefit/fuse/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/curefit/fuse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/curefit/fuse/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/curefit/fuse/statuses/400663877a4eccfda263ddd3599abee6f8c19f55"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"swatisinghi"}}