{"action":"created","comment":{"url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls/comments/47935090","id":47935090,"diff_hunk":"@@ -179,162 +188,194 @@ public void cannotConsentIfTooYoung() {\n         // This will work\n         ConsentSignature sig = new ConsentSignature.Builder().withName(\"Test User\")\n                 .withBirthdate(DateUtils.getCalendarDateString(today18YearsAgo)).build();\n-        consentService.consentToResearch(study, testUser.getUser(), sig, sharingScope, false);\n-        \n-        consentService.withdrawConsent(study, testUser.getUser(), WITHDRAWAL, UNIX_TIMESTAMP);\n+        consentService.consentToResearch(study, subpopulation.getGuid(), testUser.getUser(), sig, sharingScope, false);\n+\n+        consentService.withdrawConsent(study, subpopulation.getGuid(), testUser.getUser(), WITHDRAWAL, UNIX_TIMESTAMP);\n \n         // Also okay\n         sig = new ConsentSignature.Builder().withName(\"Test User\")\n                 .withBirthdate(DateUtils.getCalendarDateString(yesterday18YearsAgo)).build();\n-        consentService.consentToResearch(study, testUser.getUser(), sig, sharingScope, false);\n-        consentService.withdrawConsent(study, testUser.getUser(), WITHDRAWAL, UNIX_TIMESTAMP);\n+        consentService.consentToResearch(study, subpopulation.getGuid(), testUser.getUser(), sig, sharingScope, false);\n+        consentService.withdrawConsent(study, subpopulation.getGuid(), testUser.getUser(), WITHDRAWAL, UNIX_TIMESTAMP);\n \n         // But this is not, one day to go\n         try {\n             sig = new ConsentSignature.Builder().withName(\"Test User\")\n                     .withBirthdate(DateUtils.getCalendarDateString(tomorrow18YearsAgo)).build();\n-            consentService.consentToResearch(study, testUser.getUser(), sig, sharingScope, false);\n+            consentService.consentToResearch(study, subpopulation.getGuid(), testUser.getUser(), sig, sharingScope, false);\n             fail(\"This should throw an exception\");\n         } catch (InvalidEntityException e) {\n             assertTrue(e.getMessage().contains(\"years of age or older\"));\n         }\n     }\n-    \n-    @Test\n-    public void enforcesStudyEnrollmentLimit() {\n-        String key = RedisKey.NUM_OF_PARTICIPANTS.getRedisKey(\"test\");\n-        try {\n-            jedisOps.del(key);\n-            \n-            Study study = TestUtils.getValidStudy(ConsentServiceImplTest.class);\n-            study.setMaxNumOfParticipants(2);\n-\n-            // Set the cache so we avoid going to DynamoDB. We're testing the caching layer\n-            // in the service test, we'll test the DAO in the DAO test.\n-            jedisOps.del(key);\n-\n-            boolean limit = consentService.isStudyAtEnrollmentLimit(study);\n-            assertFalse(\"No limit reached\", limit);\n-\n-            consentService.incrementStudyEnrollment(study);\n-            consentService.incrementStudyEnrollment(study);\n-            limit = consentService.isStudyAtEnrollmentLimit(study);\n-            assertTrue(\"Limit reached\", limit);\n-            try {\n-                consentService.incrementStudyEnrollment(study);\n-                fail(\"Should have thrown an exception\");\n-            } catch (StudyLimitExceededException e) {\n-                assertEquals(\"This is a 473 error\", 473, e.getStatusCode());\n-            }\n-        } finally {\n-            jedisOps.del(key);\n-        }\n-    }\n \n     @Test\n     public void checkConsentUpToDate() {\n+        // Working here with a consent stream in a different population than the default population for the \n+        // study. \n         ConsentSignature consent = new ConsentSignature.Builder().withName(\"John Smith\")\n                 .withBirthdate(\"1990-11-11\").build();\n \n-        consentService.consentToResearch(testUser.getStudy(), testUser.getUser(), consent,\n+        consentService.consentToResearch(testUser.getStudy(), subpopulation.getGuid(), testUser.getUser(), consent,\n                 SharingScope.SPONSORS_AND_PARTNERS, false);\n \n-        assertTrue(\"Should be consented\",\n-                consentService.hasUserConsentedToResearch(testUser.getStudy(), testUser.getUser()));\n-        assertTrue(\"Should have signed most recent consent.\",\n-                consentService.hasUserSignedActiveConsent(testUser.getStudy(), testUser.getUser()));\n+        ConsentStatus status = ConsentStatus.forSubpopulation(consentService.getConsentStatuses(context), subpopulation.getGuid());\n+        assertTrue(\"Should be consented\", status.isConsented());\n+        assertTrue(\"Should have signed most recent consent.\", status.getSignedMostRecentConsent());\n \n         // Create new study consent, but do not activate it. User is consented and has still signed most recent consent.\n-        StudyConsent newStudyConsent = studyConsentService.addConsent(testUser.getStudyIdentifier(), defaultConsentDocument).getStudyConsent();\n+        StudyConsent newStudyConsent = studyConsentService.addConsent(subpopulation.getGuid(), defaultConsentDocument)\n+                .getStudyConsent();\n \n-        assertTrue(\"Should be consented.\",\n-                consentService.hasUserConsentedToResearch(testUser.getStudy(), testUser.getUser()));\n-        assertTrue(\"Should have signed most recent consent, even though new consent is added.\",\n-                consentService.hasUserSignedActiveConsent(testUser.getStudy(), testUser.getUser()));\n+        status = ConsentStatus.forSubpopulation(consentService.getConsentStatuses(context), subpopulation.getGuid());\n+        assertTrue(\"Should be consented\", status.isConsented());\n+        assertTrue(\"Still most recent consent\", status.getSignedMostRecentConsent());\n \n-        // Activate new study consent. User is consented and but has not signed most recent consent.\n-        newStudyConsent = studyConsentService.publishConsent(study, newStudyConsent.getCreatedOn()).getStudyConsent();\n+        // Public the new study consent. User is consented and but has no longer signed the most recent consent.\n+        newStudyConsent = studyConsentService\n+                .publishConsent(study, subpopulation.getGuid(), newStudyConsent.getCreatedOn()).getStudyConsent();\n \n-        assertTrue(\"Should still be consented.\",\n-                consentService.hasUserConsentedToResearch(testUser.getStudy(), testUser.getUser()));\n-        assertFalse(\"New consent activated. Should no longer have signed most recent consent. \",\n-                consentService.hasUserSignedActiveConsent(testUser.getStudy(), testUser.getUser()));\n+        status = ConsentStatus.forSubpopulation(consentService.getConsentStatuses(context), subpopulation.getGuid());\n+        assertTrue(\"Should be consented\", status.isConsented());\n+        assertFalse(\"New consent activated. Should no longer have signed most recent consent. \", status.getSignedMostRecentConsent());\n \n         // To consent again, first need to withdraw. User is consented and has now signed most recent consent.\n-        consentService.withdrawConsent(testUser.getStudy(), testUser.getUser(), WITHDRAWAL, UNIX_TIMESTAMP);\n-        consentService.consentToResearch(testUser.getStudy(), testUser.getUser(),\n+        consentService.withdrawConsent(testUser.getStudy(), subpopulation.getGuid(), testUser.getUser(), WITHDRAWAL, UNIX_TIMESTAMP);\n+        \n+        consentService.consentToResearch(testUser.getStudy(), subpopulation.getGuid(), testUser.getUser(),\n             new ConsentSignature.Builder().withConsentSignature(consent).withSignedOn(DateTime.now().getMillis()).build(),\n             SharingScope.SPONSORS_AND_PARTNERS, false);\n \n-        assertTrue(\"Should still be consented.\",\n-                consentService.hasUserConsentedToResearch(testUser.getStudy(), testUser.getUser()));\n-        assertTrue(\"Should again have signed most recent consent.\",\n-                consentService.hasUserSignedActiveConsent(testUser.getStudy(), testUser.getUser()));\n+        status = ConsentStatus.forSubpopulation(consentService.getConsentStatuses(context), subpopulation.getGuid());\n+        assertTrue(\"Should still be consented.\", status.isConsented());\n+        assertTrue(\"Should again have signed most recent consent.\", status.getSignedMostRecentConsent());\n     }\n     \n     @Test\n     public void withdrawConsent() {\n         long originalSignedOn = DateTime.now().getMillis();\n-        ConsentSignature consent = new ConsentSignature.Builder().withName(\"John Smith\")\n-                .withImageData(\"data\").withImageMimeType(\"image/png\").withBirthdate(\"1990-11-11\")\n-                .withSignedOn(originalSignedOn).build();\n+        ConsentSignature consent = makeSignature(originalSignedOn);\n \n-        consentService.consentToResearch(testUser.getStudy(), testUser.getUser(), consent,\n+        consentService.consentToResearch(testUser.getStudy(), subpopulation.getGuid(), testUser.getUser(), consent,\n                 SharingScope.SPONSORS_AND_PARTNERS, false);\n \n         // Consent exists, user is consented\n-        assertTrue(consentService.hasUserConsentedToResearch(testUser.getStudy(), testUser.getUser()));\n-        assertTrue(testUser.getUser().doesConsent());\n-        assertNotNull(consentService.getConsentSignature(testUser.getStudy(), testUser.getUser()));\n+        ConsentStatus status = consentService.getConsentStatuses(context).get(0);\n+        assertTrue(status.isConsented());\n+        assertNotNull(consentService.getConsentSignature(testUser.getStudy(), subpopulation.getGuid(), testUser.getUser()));","path":"test/org/sagebionetworks/bridge/services/ConsentServiceImplTest.java","position":328,"original_position":328,"commit_id":"e12bbb1a0dd20043b63f646918e5cc1bf3ec85db","original_commit_id":"efd0d34b7fa317920f50a558e7044208f55ea09d","user":{"login":"alxdarksage","id":5589085,"avatar_url":"https://avatars.githubusercontent.com/u/5589085?v=3","gravatar_id":"","url":"https://api.github.com/users/alxdarksage","html_url":"https://github.com/alxdarksage","followers_url":"https://api.github.com/users/alxdarksage/followers","following_url":"https://api.github.com/users/alxdarksage/following{/other_user}","gists_url":"https://api.github.com/users/alxdarksage/gists{/gist_id}","starred_url":"https://api.github.com/users/alxdarksage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxdarksage/subscriptions","organizations_url":"https://api.github.com/users/alxdarksage/orgs","repos_url":"https://api.github.com/users/alxdarksage/repos","events_url":"https://api.github.com/users/alxdarksage/events{/privacy}","received_events_url":"https://api.github.com/users/alxdarksage/received_events","type":"User","site_admin":false},"body":"Added back","created_at":"2015-12-17T17:33:57Z","updated_at":"2015-12-17T17:33:57Z","html_url":"https://github.com/Sage-Bionetworks/BridgePF/pull/950#discussion_r47935090","pull_request_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls/950","_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls/comments/47935090"},"html":{"href":"https://github.com/Sage-Bionetworks/BridgePF/pull/950#discussion_r47935090"},"pull_request":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls/950"}}},"pull_request":{"url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls/950","id":52704420,"html_url":"https://github.com/Sage-Bionetworks/BridgePF/pull/950","diff_url":"https://github.com/Sage-Bionetworks/BridgePF/pull/950.diff","patch_url":"https://github.com/Sage-Bionetworks/BridgePF/pull/950.patch","issue_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/issues/950","number":950,"state":"open","locked":false,"title":"Studies have multiple subpopulations which each have their own consent stream.","user":{"login":"alxdarksage","id":5589085,"avatar_url":"https://avatars.githubusercontent.com/u/5589085?v=3","gravatar_id":"","url":"https://api.github.com/users/alxdarksage","html_url":"https://github.com/alxdarksage","followers_url":"https://api.github.com/users/alxdarksage/followers","following_url":"https://api.github.com/users/alxdarksage/following{/other_user}","gists_url":"https://api.github.com/users/alxdarksage/gists{/gist_id}","starred_url":"https://api.github.com/users/alxdarksage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxdarksage/subscriptions","organizations_url":"https://api.github.com/users/alxdarksage/orgs","repos_url":"https://api.github.com/users/alxdarksage/repos","events_url":"https://api.github.com/users/alxdarksage/events{/privacy}","received_events_url":"https://api.github.com/users/alxdarksage/received_events","type":"User","site_admin":false},"body":"Consents are now associated to subpopulations, which are associated to studies. Studies can end up having multiple consents.\r\n\r\n- study will have a default subpopulation created if none exists, and this subpopulation's guid will be the study identifier. This associates the default subpopulation with the existing consents created and associated initially with a study. Subsequent subpopulations have a normal GUID\r\n- user's enrollment date is still the first enrollment date to be submitted to the server\r\n- user is consented if all required subpopulation consents have been signed\r\n- user is up-to-date on consents if all required subpopulation consents were signed with the most recent versions of the consents\r\n- we no longer send an email when the user updates their sharing status, because sharing isn't scoped to any specific consent\r\n\r\nTODO: All tests are passing but I've made notes for additional tests (security around manipulating a subpopulation that's not in your test, for example, criteria filtering as applied to consents).\r\n","created_at":"2015-12-04T18:32:56Z","updated_at":"2015-12-17T17:33:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"744e6083cc06963c241ffb951da3666ad46145fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls/950/commits","review_comments_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls/950/comments","review_comment_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/issues/950/comments","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/statuses/e12bbb1a0dd20043b63f646918e5cc1bf3ec85db","head":{"label":"alxdarksage:cohorts","ref":"cohorts","sha":"e12bbb1a0dd20043b63f646918e5cc1bf3ec85db","user":{"login":"alxdarksage","id":5589085,"avatar_url":"https://avatars.githubusercontent.com/u/5589085?v=3","gravatar_id":"","url":"https://api.github.com/users/alxdarksage","html_url":"https://github.com/alxdarksage","followers_url":"https://api.github.com/users/alxdarksage/followers","following_url":"https://api.github.com/users/alxdarksage/following{/other_user}","gists_url":"https://api.github.com/users/alxdarksage/gists{/gist_id}","starred_url":"https://api.github.com/users/alxdarksage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxdarksage/subscriptions","organizations_url":"https://api.github.com/users/alxdarksage/orgs","repos_url":"https://api.github.com/users/alxdarksage/repos","events_url":"https://api.github.com/users/alxdarksage/events{/privacy}","received_events_url":"https://api.github.com/users/alxdarksage/received_events","type":"User","site_admin":false},"repo":{"id":45479946,"name":"BridgePF","full_name":"alxdarksage/BridgePF","owner":{"login":"alxdarksage","id":5589085,"avatar_url":"https://avatars.githubusercontent.com/u/5589085?v=3","gravatar_id":"","url":"https://api.github.com/users/alxdarksage","html_url":"https://github.com/alxdarksage","followers_url":"https://api.github.com/users/alxdarksage/followers","following_url":"https://api.github.com/users/alxdarksage/following{/other_user}","gists_url":"https://api.github.com/users/alxdarksage/gists{/gist_id}","starred_url":"https://api.github.com/users/alxdarksage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxdarksage/subscriptions","organizations_url":"https://api.github.com/users/alxdarksage/orgs","repos_url":"https://api.github.com/users/alxdarksage/repos","events_url":"https://api.github.com/users/alxdarksage/events{/privacy}","received_events_url":"https://api.github.com/users/alxdarksage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alxdarksage/BridgePF","description":"Server software for Bridge-based mobile applications","fork":true,"url":"https://api.github.com/repos/alxdarksage/BridgePF","forks_url":"https://api.github.com/repos/alxdarksage/BridgePF/forks","keys_url":"https://api.github.com/repos/alxdarksage/BridgePF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alxdarksage/BridgePF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alxdarksage/BridgePF/teams","hooks_url":"https://api.github.com/repos/alxdarksage/BridgePF/hooks","issue_events_url":"https://api.github.com/repos/alxdarksage/BridgePF/issues/events{/number}","events_url":"https://api.github.com/repos/alxdarksage/BridgePF/events","assignees_url":"https://api.github.com/repos/alxdarksage/BridgePF/assignees{/user}","branches_url":"https://api.github.com/repos/alxdarksage/BridgePF/branches{/branch}","tags_url":"https://api.github.com/repos/alxdarksage/BridgePF/tags","blobs_url":"https://api.github.com/repos/alxdarksage/BridgePF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alxdarksage/BridgePF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alxdarksage/BridgePF/git/refs{/sha}","trees_url":"https://api.github.com/repos/alxdarksage/BridgePF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alxdarksage/BridgePF/statuses/{sha}","languages_url":"https://api.github.com/repos/alxdarksage/BridgePF/languages","stargazers_url":"https://api.github.com/repos/alxdarksage/BridgePF/stargazers","contributors_url":"https://api.github.com/repos/alxdarksage/BridgePF/contributors","subscribers_url":"https://api.github.com/repos/alxdarksage/BridgePF/subscribers","subscription_url":"https://api.github.com/repos/alxdarksage/BridgePF/subscription","commits_url":"https://api.github.com/repos/alxdarksage/BridgePF/commits{/sha}","git_commits_url":"https://api.github.com/repos/alxdarksage/BridgePF/git/commits{/sha}","comments_url":"https://api.github.com/repos/alxdarksage/BridgePF/comments{/number}","issue_comment_url":"https://api.github.com/repos/alxdarksage/BridgePF/issues/comments{/number}","contents_url":"https://api.github.com/repos/alxdarksage/BridgePF/contents/{+path}","compare_url":"https://api.github.com/repos/alxdarksage/BridgePF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alxdarksage/BridgePF/merges","archive_url":"https://api.github.com/repos/alxdarksage/BridgePF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alxdarksage/BridgePF/downloads","issues_url":"https://api.github.com/repos/alxdarksage/BridgePF/issues{/number}","pulls_url":"https://api.github.com/repos/alxdarksage/BridgePF/pulls{/number}","milestones_url":"https://api.github.com/repos/alxdarksage/BridgePF/milestones{/number}","notifications_url":"https://api.github.com/repos/alxdarksage/BridgePF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alxdarksage/BridgePF/labels{/name}","releases_url":"https://api.github.com/repos/alxdarksage/BridgePF/releases{/id}","created_at":"2015-11-03T16:35:11Z","updated_at":"2015-11-03T16:35:16Z","pushed_at":"2015-12-17T17:22:54Z","git_url":"git://github.com/alxdarksage/BridgePF.git","ssh_url":"git@github.com:alxdarksage/BridgePF.git","clone_url":"https://github.com/alxdarksage/BridgePF.git","svn_url":"https://github.com/alxdarksage/BridgePF","homepage":"","size":72628,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Sage-Bionetworks:develop","ref":"develop","sha":"a1caa6bccc005d132340abb5ecbc2037b120966e","user":{"login":"Sage-Bionetworks","id":1250897,"avatar_url":"https://avatars.githubusercontent.com/u/1250897?v=3","gravatar_id":"","url":"https://api.github.com/users/Sage-Bionetworks","html_url":"https://github.com/Sage-Bionetworks","followers_url":"https://api.github.com/users/Sage-Bionetworks/followers","following_url":"https://api.github.com/users/Sage-Bionetworks/following{/other_user}","gists_url":"https://api.github.com/users/Sage-Bionetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage-Bionetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage-Bionetworks/subscriptions","organizations_url":"https://api.github.com/users/Sage-Bionetworks/orgs","repos_url":"https://api.github.com/users/Sage-Bionetworks/repos","events_url":"https://api.github.com/users/Sage-Bionetworks/events{/privacy}","received_events_url":"https://api.github.com/users/Sage-Bionetworks/received_events","type":"Organization","site_admin":false},"repo":{"id":18604783,"name":"BridgePF","full_name":"Sage-Bionetworks/BridgePF","owner":{"login":"Sage-Bionetworks","id":1250897,"avatar_url":"https://avatars.githubusercontent.com/u/1250897?v=3","gravatar_id":"","url":"https://api.github.com/users/Sage-Bionetworks","html_url":"https://github.com/Sage-Bionetworks","followers_url":"https://api.github.com/users/Sage-Bionetworks/followers","following_url":"https://api.github.com/users/Sage-Bionetworks/following{/other_user}","gists_url":"https://api.github.com/users/Sage-Bionetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage-Bionetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage-Bionetworks/subscriptions","organizations_url":"https://api.github.com/users/Sage-Bionetworks/orgs","repos_url":"https://api.github.com/users/Sage-Bionetworks/repos","events_url":"https://api.github.com/users/Sage-Bionetworks/events{/privacy}","received_events_url":"https://api.github.com/users/Sage-Bionetworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sage-Bionetworks/BridgePF","description":"Server software for Bridge-based mobile applications","fork":false,"url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF","forks_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/forks","keys_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/teams","hooks_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/hooks","issue_events_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/issues/events{/number}","events_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/events","assignees_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/assignees{/user}","branches_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/branches{/branch}","tags_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/tags","blobs_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/statuses/{sha}","languages_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/languages","stargazers_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/stargazers","contributors_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/contributors","subscribers_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/subscribers","subscription_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/subscription","commits_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/contents/{+path}","compare_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/merges","archive_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/downloads","issues_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/issues{/number}","pulls_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls{/number}","milestones_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/milestones{/number}","notifications_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/labels{/name}","releases_url":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/releases{/id}","created_at":"2014-04-09T16:38:46Z","updated_at":"2015-08-30T22:35:59Z","pushed_at":"2015-12-17T17:22:54Z","git_url":"git://github.com/Sage-Bionetworks/BridgePF.git","ssh_url":"git@github.com:Sage-Bionetworks/BridgePF.git","clone_url":"https://github.com/Sage-Bionetworks/BridgePF.git","svn_url":"https://github.com/Sage-Bionetworks/BridgePF","homepage":"","size":73490,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":3,"forks":18,"open_issues":3,"watchers":4,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls/950"},"html":{"href":"https://github.com/Sage-Bionetworks/BridgePF/pull/950"},"issue":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/issues/950"},"comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/issues/950/comments"},"review_comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls/950/comments"},"review_comment":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/pulls/950/commits"},"statuses":{"href":"https://api.github.com/repos/Sage-Bionetworks/BridgePF/statuses/e12bbb1a0dd20043b63f646918e5cc1bf3ec85db"}}}}