{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls/comments/171228545","pull_request_review_id":100042946,"id":171228545,"diff_hunk":"@@ -0,0 +1,56 @@\n+package org.opensrp.repository.lucene;\n+\n+import com.github.ldriscoll.ektorplucene.CouchDbRepositorySupportWithLucene;\n+import com.github.ldriscoll.ektorplucene.LuceneQuery;\n+import com.github.ldriscoll.ektorplucene.LuceneResult;\n+import com.github.ldriscoll.ektorplucene.designdocument.annotation.FullText;\n+import com.github.ldriscoll.ektorplucene.designdocument.annotation.Index;\n+import com.mysql.jdbc.StringUtils;\n+import org.opensrp.common.AllConstants;\n+import org.opensrp.domain.Shipment;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.stereotype.Component;\n+\n+import java.io.IOException;\n+import java.util.List;\n+\n+// To fix: later\n+@FullText({\n+        @Index(name = \"by_all_criteria\", analyzer = \"perfield:{receivingFacility.code : \\\"keyword\\\"}\", index = \"function(doc) { if (doc.type !== 'Shipment') return null; var arr1 = ['orderedDate', 'orderCode', 'receivingFacility', 'supplyingFacility', 'lineItems', 'processingPeriod']; var ret = new Document(); ret.add(orderedDate, { 'field': 'orderedDate' }); for (var i in arr1) { ret.add(doc[arr1[i]], { 'field': arr1[i] }); } if (doc.orderCode) { var oc = doc.orderCode; ret.add(rf, { 'field': 'receivingFacility' }); } if (doc.lineItems) { var li = doc.lineItems; ret.add(pp, { 'field': 'processingPeriod' }); } return ret;}\")\n+})\n+@Component\n+public class LuceneShipmentRepository extends CouchDbRepositorySupportWithLucene<Shipment> {\n+\n+    private LuceneDbConnector luceneDbConnector;\n+\n+    @Autowired\n+    protected LuceneShipmentRepository(LuceneDbConnector luceneDbConnector) {\n+        super(Shipment.class, luceneDbConnector);\n+        this.luceneDbConnector = luceneDbConnector;\n+        initStandardDesignDocument();\n+    }\n+\n+    public List<Shipment> getShipmentsByLocationId(String locationId, long serverVersion, String orderBy, String sortOrder, int limit) {\n+        LuceneQuery luceneQuery = new LuceneQuery(\"Shipment\", \"by_all_criteria\");\n+\n+        Query query = new Query(FilterType.AND);\n+\n+        query.eq(AllConstants.Shipment.LOCATION_ID, locationId);\n+        query.between(AllConstants.Shipment.SERVER_VERSION, serverVersion, Long.MAX_VALUE);\n+\n+        luceneQuery.setQuery(query.query());\n+        luceneQuery.setStaleOk(false);\n+        luceneQuery.setLimit(limit);\n+\n+        if (!StringUtils.isEmptyOrWhitespaceOnly(orderBy) && !StringUtils.isEmptyOrWhitespaceOnly(sortOrder)) {\n+            luceneQuery.setSort((sortOrder.contains(\"desc\") ? \"\\\\\" : \"/\") + orderBy);\n+        }\n+\n+        try {\n+            LuceneResult luceneResult = db.queryLucene(luceneQuery);\n+            return luceneDbConnector.asList(luceneResult, Shipment.class);\n+        } catch (IOException e) {\n+            throw new RuntimeException(e);","path":"opensrp-core/src/main/java/org/opensrp/repository/lucene/LuceneShipmentRepository.java","position":53,"original_position":53,"commit_id":"7edd35be3ed2e2f4f04604d1533d013b1db6287f","original_commit_id":"7edd35be3ed2e2f4f04604d1533d013b1db6287f","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Avoid throwing raw exception types.](https://app.codacy.com/app/OpenSRP/opensrp-server/pullRequest?prid=1381692)","created_at":"2018-02-28T12:26:50Z","updated_at":"2018-02-28T12:26:50Z","html_url":"https://github.com/OpenSRP/opensrp-server/pull/394#discussion_r171228545","pull_request_url":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls/394","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls/comments/171228545"},"html":{"href":"https://github.com/OpenSRP/opensrp-server/pull/394#discussion_r171228545"},"pull_request":{"href":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls/394"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls/394","id":171938313,"html_url":"https://github.com/OpenSRP/opensrp-server/pull/394","diff_url":"https://github.com/OpenSRP/opensrp-server/pull/394.diff","patch_url":"https://github.com/OpenSRP/opensrp-server/pull/394.patch","issue_url":"https://api.github.com/repos/OpenSRP/opensrp-server/issues/394","number":394,"state":"open","locked":false,"title":"392 add shipment end point","user":{"login":"vincent-karuri","id":33488286,"avatar_url":"https://avatars2.githubusercontent.com/u/33488286?v=4","gravatar_id":"","url":"https://api.github.com/users/vincent-karuri","html_url":"https://github.com/vincent-karuri","followers_url":"https://api.github.com/users/vincent-karuri/followers","following_url":"https://api.github.com/users/vincent-karuri/following{/other_user}","gists_url":"https://api.github.com/users/vincent-karuri/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent-karuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent-karuri/subscriptions","organizations_url":"https://api.github.com/users/vincent-karuri/orgs","repos_url":"https://api.github.com/users/vincent-karuri/repos","events_url":"https://api.github.com/users/vincent-karuri/events{/privacy}","received_events_url":"https://api.github.com/users/vincent-karuri/received_events","type":"User","site_admin":false},"body":"1. Client sends a POST request to the OpenSRP stockresource/add end-point specifying a Shipment in its JSON format\r\n2. Server responds with a 201 status if shipment is successfully created or a 500 status if failed.\r\n3. A sample Shipment JSON object is in the form: \r\n\r\n```\r\n{\r\n  \"orderedDate\": \"2018-02-23T23:43:27.982Z\",\r\n  \"orderCode\": \"OR\",\r\n  \"shippedDate\": \"2018-02-23T23:47:47.311Z\",\r\n  \"receivingFacility\": {\r\n    \"code\": \"N007\",\r\n    \"name\": \"Lurio, Cuamba\"\r\n  },\r\n  \"supplyingFacility\": {\r\n    \"code\": \"D001\",\r\n    \"name\": \"Dep—sito Distrital Cuamba\"\r\n  },\r\n  \"processingPeriod\": {\r\n    \"name\": \"Jan2017\",\r\n    \"startDate\": \"2017-01-01\",\r\n    \"endDate\": \"2017-01-31\"\r\n  },\r\n  \"lineItems\": [\r\n    {\r\n      \"antigenType\": \"M/MR\",\r\n      \"orderedQuantity\": 10,\r\n      \"shippedQuantity\": 2,\r\n      \"numDoses\": 10\r\n    },\r\n    {\r\n      \"antigenType\": \"BCG\",\r\n      \"orderedQuantity\": 10,\r\n      \"shippedQuantity\": 3,\r\n      \"numDoses\": 20\r\n    },\r\n    {\r\n      \"antigenType\": \"Penta\",\r\n      \"orderedQuantity\": 10,\r\n      \"shippedQuantity\": 2,\r\n      \"numDoses\": 10\r\n    },\r\n    {\r\n      \"antigenType\": \"PCV\",\r\n      \"orderedQuantity\": 10,\r\n      \"shippedQuantity\": 23,\r\n      \"numDoses\": 2\r\n    },\r\n    {\r\n      \"antigenType\": \"Rota\",\r\n      \"orderedQuantity\": 10,\r\n      \"shippedQuantity\": 190,\r\n      \"numDoses\": 1\r\n    }\r\n  ]\r\n}\r\n\r\n```\r\nSee more at #392 ","created_at":"2018-02-28T12:23:06Z","updated_at":"2018-02-28T12:26:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3885eea9580ed0d1496fba8f2ca6986c26ff06e0","assignee":{"login":"vincent-karuri","id":33488286,"avatar_url":"https://avatars2.githubusercontent.com/u/33488286?v=4","gravatar_id":"","url":"https://api.github.com/users/vincent-karuri","html_url":"https://github.com/vincent-karuri","followers_url":"https://api.github.com/users/vincent-karuri/followers","following_url":"https://api.github.com/users/vincent-karuri/following{/other_user}","gists_url":"https://api.github.com/users/vincent-karuri/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent-karuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent-karuri/subscriptions","organizations_url":"https://api.github.com/users/vincent-karuri/orgs","repos_url":"https://api.github.com/users/vincent-karuri/repos","events_url":"https://api.github.com/users/vincent-karuri/events{/privacy}","received_events_url":"https://api.github.com/users/vincent-karuri/received_events","type":"User","site_admin":false},"assignees":[{"login":"vincent-karuri","id":33488286,"avatar_url":"https://avatars2.githubusercontent.com/u/33488286?v=4","gravatar_id":"","url":"https://api.github.com/users/vincent-karuri","html_url":"https://github.com/vincent-karuri","followers_url":"https://api.github.com/users/vincent-karuri/followers","following_url":"https://api.github.com/users/vincent-karuri/following{/other_user}","gists_url":"https://api.github.com/users/vincent-karuri/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent-karuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent-karuri/subscriptions","organizations_url":"https://api.github.com/users/vincent-karuri/orgs","repos_url":"https://api.github.com/users/vincent-karuri/repos","events_url":"https://api.github.com/users/vincent-karuri/events{/privacy}","received_events_url":"https://api.github.com/users/vincent-karuri/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"ekigamba","id":31766075,"avatar_url":"https://avatars0.githubusercontent.com/u/31766075?v=4","gravatar_id":"","url":"https://api.github.com/users/ekigamba","html_url":"https://github.com/ekigamba","followers_url":"https://api.github.com/users/ekigamba/followers","following_url":"https://api.github.com/users/ekigamba/following{/other_user}","gists_url":"https://api.github.com/users/ekigamba/gists{/gist_id}","starred_url":"https://api.github.com/users/ekigamba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekigamba/subscriptions","organizations_url":"https://api.github.com/users/ekigamba/orgs","repos_url":"https://api.github.com/users/ekigamba/repos","events_url":"https://api.github.com/users/ekigamba/events{/privacy}","received_events_url":"https://api.github.com/users/ekigamba/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":185262173,"url":"https://api.github.com/repos/OpenSRP/opensrp-server/labels/High%20Priority","name":"High Priority","color":"000000","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls/394/commits","review_comments_url":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls/394/comments","review_comment_url":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSRP/opensrp-server/issues/394/comments","statuses_url":"https://api.github.com/repos/OpenSRP/opensrp-server/statuses/7edd35be3ed2e2f4f04604d1533d013b1db6287f","head":{"label":"OpenSRP:392-add-shipment-end-point","ref":"392-add-shipment-end-point","sha":"7edd35be3ed2e2f4f04604d1533d013b1db6287f","user":{"login":"OpenSRP","id":7898027,"avatar_url":"https://avatars1.githubusercontent.com/u/7898027?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenSRP","html_url":"https://github.com/OpenSRP","followers_url":"https://api.github.com/users/OpenSRP/followers","following_url":"https://api.github.com/users/OpenSRP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSRP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSRP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSRP/subscriptions","organizations_url":"https://api.github.com/users/OpenSRP/orgs","repos_url":"https://api.github.com/users/OpenSRP/repos","events_url":"https://api.github.com/users/OpenSRP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSRP/received_events","type":"Organization","site_admin":false},"repo":{"id":30627416,"name":"opensrp-server","full_name":"OpenSRP/opensrp-server","owner":{"login":"OpenSRP","id":7898027,"avatar_url":"https://avatars1.githubusercontent.com/u/7898027?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenSRP","html_url":"https://github.com/OpenSRP","followers_url":"https://api.github.com/users/OpenSRP/followers","following_url":"https://api.github.com/users/OpenSRP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSRP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSRP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSRP/subscriptions","organizations_url":"https://api.github.com/users/OpenSRP/orgs","repos_url":"https://api.github.com/users/OpenSRP/repos","events_url":"https://api.github.com/users/OpenSRP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSRP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSRP/opensrp-server","description":"OpenSRP backend","fork":true,"url":"https://api.github.com/repos/OpenSRP/opensrp-server","forks_url":"https://api.github.com/repos/OpenSRP/opensrp-server/forks","keys_url":"https://api.github.com/repos/OpenSRP/opensrp-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSRP/opensrp-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSRP/opensrp-server/teams","hooks_url":"https://api.github.com/repos/OpenSRP/opensrp-server/hooks","issue_events_url":"https://api.github.com/repos/OpenSRP/opensrp-server/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSRP/opensrp-server/events","assignees_url":"https://api.github.com/repos/OpenSRP/opensrp-server/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSRP/opensrp-server/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSRP/opensrp-server/tags","blobs_url":"https://api.github.com/repos/OpenSRP/opensrp-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSRP/opensrp-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSRP/opensrp-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSRP/opensrp-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSRP/opensrp-server/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSRP/opensrp-server/languages","stargazers_url":"https://api.github.com/repos/OpenSRP/opensrp-server/stargazers","contributors_url":"https://api.github.com/repos/OpenSRP/opensrp-server/contributors","subscribers_url":"https://api.github.com/repos/OpenSRP/opensrp-server/subscribers","subscription_url":"https://api.github.com/repos/OpenSRP/opensrp-server/subscription","commits_url":"https://api.github.com/repos/OpenSRP/opensrp-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSRP/opensrp-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSRP/opensrp-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSRP/opensrp-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSRP/opensrp-server/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSRP/opensrp-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSRP/opensrp-server/merges","archive_url":"https://api.github.com/repos/OpenSRP/opensrp-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSRP/opensrp-server/downloads","issues_url":"https://api.github.com/repos/OpenSRP/opensrp-server/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSRP/opensrp-server/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSRP/opensrp-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSRP/opensrp-server/labels{/name}","releases_url":"https://api.github.com/repos/OpenSRP/opensrp-server/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSRP/opensrp-server/deployments","created_at":"2015-02-11T02:59:43Z","updated_at":"2018-02-22T00:59:48Z","pushed_at":"2018-02-28T12:23:07Z","git_url":"git://github.com/OpenSRP/opensrp-server.git","ssh_url":"git@github.com:OpenSRP/opensrp-server.git","clone_url":"https://github.com/OpenSRP/opensrp-server.git","svn_url":"https://github.com/OpenSRP/opensrp-server","homepage":"https://smartregister.atlassian.net/wiki/display/Documentation/OpenSRP+Developer%27s+Guide","size":34228,"stargazers_count":20,"watchers_count":20,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":115,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":34,"open_issues":115,"watchers":20,"default_branch":"master"}},"base":{"label":"OpenSRP:openlmis","ref":"openlmis","sha":"ebf6584f55d010d4453898b62db2cad92ca2bb13","user":{"login":"OpenSRP","id":7898027,"avatar_url":"https://avatars1.githubusercontent.com/u/7898027?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenSRP","html_url":"https://github.com/OpenSRP","followers_url":"https://api.github.com/users/OpenSRP/followers","following_url":"https://api.github.com/users/OpenSRP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSRP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSRP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSRP/subscriptions","organizations_url":"https://api.github.com/users/OpenSRP/orgs","repos_url":"https://api.github.com/users/OpenSRP/repos","events_url":"https://api.github.com/users/OpenSRP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSRP/received_events","type":"Organization","site_admin":false},"repo":{"id":30627416,"name":"opensrp-server","full_name":"OpenSRP/opensrp-server","owner":{"login":"OpenSRP","id":7898027,"avatar_url":"https://avatars1.githubusercontent.com/u/7898027?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenSRP","html_url":"https://github.com/OpenSRP","followers_url":"https://api.github.com/users/OpenSRP/followers","following_url":"https://api.github.com/users/OpenSRP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSRP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSRP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSRP/subscriptions","organizations_url":"https://api.github.com/users/OpenSRP/orgs","repos_url":"https://api.github.com/users/OpenSRP/repos","events_url":"https://api.github.com/users/OpenSRP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSRP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSRP/opensrp-server","description":"OpenSRP backend","fork":true,"url":"https://api.github.com/repos/OpenSRP/opensrp-server","forks_url":"https://api.github.com/repos/OpenSRP/opensrp-server/forks","keys_url":"https://api.github.com/repos/OpenSRP/opensrp-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSRP/opensrp-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSRP/opensrp-server/teams","hooks_url":"https://api.github.com/repos/OpenSRP/opensrp-server/hooks","issue_events_url":"https://api.github.com/repos/OpenSRP/opensrp-server/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSRP/opensrp-server/events","assignees_url":"https://api.github.com/repos/OpenSRP/opensrp-server/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSRP/opensrp-server/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSRP/opensrp-server/tags","blobs_url":"https://api.github.com/repos/OpenSRP/opensrp-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSRP/opensrp-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSRP/opensrp-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSRP/opensrp-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSRP/opensrp-server/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSRP/opensrp-server/languages","stargazers_url":"https://api.github.com/repos/OpenSRP/opensrp-server/stargazers","contributors_url":"https://api.github.com/repos/OpenSRP/opensrp-server/contributors","subscribers_url":"https://api.github.com/repos/OpenSRP/opensrp-server/subscribers","subscription_url":"https://api.github.com/repos/OpenSRP/opensrp-server/subscription","commits_url":"https://api.github.com/repos/OpenSRP/opensrp-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSRP/opensrp-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSRP/opensrp-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSRP/opensrp-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSRP/opensrp-server/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSRP/opensrp-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSRP/opensrp-server/merges","archive_url":"https://api.github.com/repos/OpenSRP/opensrp-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSRP/opensrp-server/downloads","issues_url":"https://api.github.com/repos/OpenSRP/opensrp-server/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSRP/opensrp-server/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSRP/opensrp-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSRP/opensrp-server/labels{/name}","releases_url":"https://api.github.com/repos/OpenSRP/opensrp-server/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSRP/opensrp-server/deployments","created_at":"2015-02-11T02:59:43Z","updated_at":"2018-02-22T00:59:48Z","pushed_at":"2018-02-28T12:23:07Z","git_url":"git://github.com/OpenSRP/opensrp-server.git","ssh_url":"git@github.com:OpenSRP/opensrp-server.git","clone_url":"https://github.com/OpenSRP/opensrp-server.git","svn_url":"https://github.com/OpenSRP/opensrp-server","homepage":"https://smartregister.atlassian.net/wiki/display/Documentation/OpenSRP+Developer%27s+Guide","size":34228,"stargazers_count":20,"watchers_count":20,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":115,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":34,"open_issues":115,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls/394"},"html":{"href":"https://github.com/OpenSRP/opensrp-server/pull/394"},"issue":{"href":"https://api.github.com/repos/OpenSRP/opensrp-server/issues/394"},"comments":{"href":"https://api.github.com/repos/OpenSRP/opensrp-server/issues/394/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls/394/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSRP/opensrp-server/pulls/394/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSRP/opensrp-server/statuses/7edd35be3ed2e2f4f04604d1533d013b1db6287f"}},"author_association":"NONE"}}
{"actor":{"display_login":"codacy-bot"}}