[JN-1099] Adding a custom annotation for permissions (#933) #101
100 passed, 0 failed and 0 skipped
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.controller.AdminUserControllerTest.xml
5 tests were completed in 3s with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.controller.AdminUserControllerTest | 5✅ | 3s |
✅ bio.terra.pearl.api.admin.controller.AdminUserControllerTest
✅ testGetAllErrorsIfAuthFails()
✅ testGetReturnsBadRequestWhenIdIsNotUuid()
✅ testGetByPortalErrorsIfAuthFails()
✅ testGetReturnsFoundAdminUser()
✅ testGetReturnsNotFoundWhenAdminUserDoesNotExist()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.controller.EnrolleeSearchControllerTest.xml
4 tests were completed in 207ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.controller.EnrolleeSearchControllerTest | 4✅ | 207ms |
✅ bio.terra.pearl.api.admin.controller.EnrolleeSearchControllerTest
✅ testTaskStatusFacet()
✅ testFacetsFromJsonEmpty()
✅ testSimpleProfileFacet()
✅ testSimpleAgeFacet()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.controller.GlobalExceptionHandlerTest.xml
2 tests were completed in 733ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.controller.GlobalExceptionHandlerTest | 2✅ | 733ms |
✅ bio.terra.pearl.api.admin.controller.GlobalExceptionHandlerTest
✅ testBuildErrorReport()
✅ testStudyCreateThrowsPsqlException()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.controller.PublicApiControllerTest.xml
7 tests were completed in 786ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.controller.PublicApiControllerTest | 7✅ | 786ms |
✅ bio.terra.pearl.api.admin.controller.PublicApiControllerTest
✅ testGetSwagger()
✅ testForwarding()
✅ testVersion()
✅ testResourceGets()
✅ testStatusCheckFails()
✅ testGetConfig()
✅ testStatus()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.admin.AdminTaskExtServiceTests.xml
3 tests were completed in 13ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.admin.AdminTaskExtServiceTests | 3✅ | 13ms |
✅ bio.terra.pearl.api.admin.service.admin.AdminTaskExtServiceTests
✅ testGetByEnrolleeAuthsToEnrollee()
✅ testUpdateAuthsToStudy()
✅ testGetByStudyAuthsToStudy()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.admin.AdminUserExtServiceTests.xml
6 tests were completed in 79ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.admin.AdminUserExtServiceTests | 6✅ | 79ms |
✅ bio.terra.pearl.api.admin.service.admin.AdminUserExtServiceTests
✅ testGetAttachesRolesAndPermissions(TestInfo)
✅ testGetAllRequiresSuperuser()
✅ testCreateSuperuserFailsForRegularUser()
✅ testGetWithNoPortalFailsForNonSuperuser()
✅ testGetWithPortalAuthsPortal(TestInfo)
✅ testGetAllSucceedsWithSuperuser()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.admin.PermissionServiceTests.xml
1 tests were completed in 6ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.admin.PermissionServiceTests | 1✅ | 6ms |
✅ bio.terra.pearl.api.admin.service.admin.PermissionServiceTests
✅ updatePermissionDescription(TestInfo)
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.admin.RoleServiceTests.xml
1 tests were completed in 6ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.admin.RoleServiceTests | 1✅ | 6ms |
✅ bio.terra.pearl.api.admin.service.admin.RoleServiceTests
✅ updateRoleDescription(TestInfo)
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.auth.AuthUtilServiceTests.xml
6 tests were completed in 63ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.auth.AuthUtilServiceTests | 6✅ | 63ms |
✅ bio.terra.pearl.api.admin.service.auth.AuthUtilServiceTests
✅ authUserToPortalRejectsUsersNotInPortal(TestInfo)
✅ authUserToPortalWithPermissionRejects(TestInfo)
✅ authUserToPortalAllowsSuperUser(TestInfo)
✅ authUserToPortalWithPermissionAllows(TestInfo)
✅ authUserToPortalRejectsNotFoundPortal(TestInfo)
✅ testVerifyObjToPortal()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.BaseStatusServiceTest.xml
1 tests were completed in 4ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.BaseStatusServiceTest | 1✅ | 4ms |
✅ bio.terra.pearl.api.admin.service.BaseStatusServiceTest
✅ getCurrentStatus()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.ConfigExtServiceTests.xml
4 tests were completed in 25ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.ConfigExtServiceTests | 4✅ | 25ms |
✅ bio.terra.pearl.api.admin.service.ConfigExtServiceTests
✅ testInternalConfigMap()
✅ testConfigMap()
✅ testInternalConfigRequiresSuperuser()
✅ testSecretMask()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.dashboard.DashboardExtServiceTests.xml
5 tests were completed in 24ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.dashboard.DashboardExtServiceTests | 5✅ | 24ms |
✅ bio.terra.pearl.api.admin.service.dashboard.DashboardExtServiceTests
✅ createPortalEnvAlertRequiresAdmin()
✅ updatePortalEnvAlertRequiresSandbox()
✅ listPortalEnvAlertsRequiresAdmin()
✅ updatePortalEnvAlertRequiresAdmin()
✅ createPortalEnvAlertRequiresSandbox()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.DataRepoExportExtServiceTests.xml
4 tests were completed in 83ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.DataRepoExportExtServiceTests | 4✅ | 83ms |
✅ bio.terra.pearl.api.admin.service.DataRepoExportExtServiceTests
✅ getJobHistoryForDatasetRequiresAuth()
✅ listDatasetsForStudyEnvironmentRequiresAuth()
✅ deleteDatasetRequiresSuperUser()
✅ createDatasetRequiresAuth()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.enrollee.EnrolleeExtServiceTests.xml
1 tests were completed in 120ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.enrollee.EnrolleeExtServiceTests | 1✅ | 120ms |
✅ bio.terra.pearl.api.admin.service.enrollee.EnrolleeExtServiceTests
✅ testFindById(TestInfo)
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.enrollee.ParticipantTaskExtServiceTests.xml
1 tests were completed in 52ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.enrollee.ParticipantTaskExtServiceTests | 1✅ | 52ms |
✅ bio.terra.pearl.api.admin.service.enrollee.ParticipantTaskExtServiceTests
✅ testUpdateTasksForSurvey(TestInfo)
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.forms.SurveyExtServiceAuthTests.xml
8 tests were completed in 44ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.forms.SurveyExtServiceAuthTests | 8✅ | 44ms |
✅ bio.terra.pearl.api.admin.service.forms.SurveyExtServiceAuthTests
✅ createConfiguredOnlyInSandbox()
✅ removeOnlyInSandbox()
✅ removeRequiresPortalAuth()
✅ listVersionsRequiresPortalAuth()
✅ createConfiguredRequiresPortalAuth()
✅ deleteRequiresPortalAuth()
✅ getRequiresPortalAuth()
✅ getRequiresSurveyMatchedToPortal()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.forms.SurveyExtServiceTests.xml
1 tests were completed in 55ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.forms.SurveyExtServiceTests | 1✅ | 55ms |
✅ bio.terra.pearl.api.admin.service.forms.SurveyExtServiceTests
✅ replaceStudyEnvSurvey(TestInfo)
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.kit.KitExtServiceTests.xml
3 tests were completed in 27ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.kit.KitExtServiceTests | 3✅ | 27ms |
✅ bio.terra.pearl.api.admin.service.kit.KitExtServiceTests
✅ testRefreshKitStatusesAuthsStudy()
✅ testGetKitRequestsForStudyEnvironmentRequiresAdmin()
✅ testRequestKitsRequiresAdmin()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.MailingServiceExtServiceTests.xml
3 tests were completed in 222ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.MailingServiceExtServiceTests | 3✅ | 222ms |
✅ bio.terra.pearl.api.admin.service.MailingServiceExtServiceTests
✅ deleteMailingListContact(TestInfo)
✅ bulkCreateMailingListContacts(TestInfo)
✅ mailingListRequiresAuth()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.notifications.NotificationExtServiceAuthTests.xml
3 tests were completed in 34ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.notifications.NotificationExtServiceAuthTests | 3✅ | 34ms |
✅ bio.terra.pearl.api.admin.service.notifications.NotificationExtServiceAuthTests
✅ sendAdHocAuthsToStudy()
✅ sendAdHocChecksEnrolleesInStudy()
✅ sendAdHocAuthsToPortal()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.notifications.NotificationExtServiceTests.xml
1 tests were completed in 95ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.notifications.NotificationExtServiceTests | 1✅ | 95ms |
✅ bio.terra.pearl.api.admin.service.notifications.NotificationExtServiceTests
✅ testSendAdHocNotification(TestInfo)
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.notifications.SendgridEventServiceTests.xml
3 tests were completed in 87ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.notifications.SendgridEventServiceTests | 3✅ | 87ms |
✅ bio.terra.pearl.api.admin.service.notifications.SendgridEventServiceTests
✅ testCorrelationBatchedEvents(TestInfo)
✅ testPagination()
✅ testCorrelationSingleEvent(TestInfo)
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.notifications.TriggerExtAuthServiceTests.xml
2 tests were completed in 6ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.notifications.TriggerExtAuthServiceTests | 2✅ | 6ms |
✅ bio.terra.pearl.api.admin.service.notifications.TriggerExtAuthServiceTests
✅ replaceConfigAuthsToPortal()
✅ findForSutdyAuthsToStudy()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.notifications.TriggerExtServiceTests.xml
4 tests were completed in 83ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.notifications.TriggerExtServiceTests | 4✅ | 83ms |
✅ bio.terra.pearl.api.admin.service.notifications.TriggerExtServiceTests
✅ testNotificationConfigReplace(TestInfo)
✅ testDeleteNotificationConfigNotFound(TestInfo)
✅ testDeleteNotificationConfig(TestInfo)
✅ testDeleteNotificationConfigMustBeAuthenticated(TestInfo)
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.participant.ProfileExtServiceTests.xml
2 tests were completed in 44ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.participant.ProfileExtServiceTests | 2✅ | 44ms |
✅ bio.terra.pearl.api.admin.service.participant.ProfileExtServiceTests
✅ testUpdateProfileForEnrolleeFailsIfNotInPortal(TestInfo)
✅ testUpdateProfileForEnrollee(TestInfo)
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.PopulateExtServiceTests.xml
6 tests were completed in 9ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.PopulateExtServiceTests | 6✅ | 9ms |
✅ bio.terra.pearl.api.admin.service.PopulateExtServiceTests
✅ surveyRequiresAuth()
✅ bulkEnrolleeRequiresAuth()
✅ siteContentRequiresAuth()
✅ portalRequiresAuth()
✅ enrolleeRequiresAuth()
✅ baseSeedRequiresAuth()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.portal.PortalExtServiceTest.xml
3 tests were completed in 10ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.portal.PortalExtServiceTest | 3✅ | 10ms |
✅ bio.terra.pearl.api.admin.service.portal.PortalExtServiceTest
✅ updateConfigHostnameRequiresSuperuser()
✅ removePortalUserRequiresPortalAuth()
✅ updateEnvRequiresSandbox()
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.siteContent.SiteMediaExtServiceTests.xml
2 tests were completed in 16ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.siteContent.SiteMediaExtServiceTests | 2✅ | 16ms |
✅ bio.terra.pearl.api.admin.service.siteContent.SiteMediaExtServiceTests
✅ imageListAuthsToPortal(TestInfo)
✅ uploadAuthsToPortal(TestInfo)
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.study.StudyEnvironmentExtServiceTests.xml
2 tests were completed in 26ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.study.StudyEnvironmentExtServiceTests | 2✅ | 26ms |
✅ bio.terra.pearl.api.admin.service.study.StudyEnvironmentExtServiceTests
✅ updateConfigAuthsToStudy(TestInfo)
✅ updateConfigAllowsSuperuser(TestInfo)
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.study.StudyExtServiceTests.xml
5 tests were completed in 242ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.study.StudyExtServiceTests | 5✅ | 242ms |
✅ bio.terra.pearl.api.admin.service.study.StudyExtServiceTests
✅ testStudyCreationRequiresSuperuser(TestInfo)
✅ testStudyDeletion(TestInfo)
✅ testStudyCreation(TestInfo)
✅ testStudyDeletionNeedsSuperUser(TestInfo)
✅ testCreateWithTemplate(TestInfo)
✅ api-admin/build/test-results/test/TEST-bio.terra.pearl.api.admin.service.workflow.DataChangeRecordServiceTest.xml
1 tests were completed in 27ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
bio.terra.pearl.api.admin.service.workflow.DataChangeRecordServiceTest | 1✅ | 27ms |
✅ bio.terra.pearl.api.admin.service.workflow.DataChangeRecordServiceTest
✅ testFindAllRecordsForEnrollee(TestInfo)