repo
stringclasses
1k values
file_url
stringlengths
96
373
file_path
stringlengths
11
294
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
6 values
commit_sha
stringclasses
1k values
retrieved_at
stringdate
2026-01-04 14:45:56
2026-01-04 18:30:23
truncated
bool
2 classes
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/util/DataSourceDTOParserTest.java
src/test/java/org/ohdsi/webapi/util/DataSourceDTOParserTest.java
package org.ohdsi.webapi.util; import com.odysseusinc.arachne.commons.types.DBMSType; import com.odysseusinc.arachne.execution_engine_common.api.v1.dto.DataSourceUnsecuredDTO; import org.junit.Test; import org.ohdsi.webapi.source.Source; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.null...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/util/JsonMappingTest.java
src/test/java/org/ohdsi/webapi/util/JsonMappingTest.java
package org.ohdsi.webapi.util; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.PrintWriter; import java.io.StringWriter; import java.util.Date; import org.aspectj.lang.JoinPoint; import org.junit.Test; public class JsonMappingTest { @Tes...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/service/VocabularyServiceTest.java
src/test/java/org/ohdsi/webapi/service/VocabularyServiceTest.java
package org.ohdsi.webapi.service; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.source.Source; import org.ohdsi.webapi.source.SourceDaimon;...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/service/EvidenceServiceTest.java
src/test/java/org/ohdsi/webapi/service/EvidenceServiceTest.java
package org.ohdsi.webapi.service; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.IOException; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.evidence.EvidenceSearch; import org.ohdsi.webapi.util.PreparedStatementRenderer; import org.spri...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/service/TherapyPathResultsServiceTest.java
src/test/java/org/ohdsi/webapi/service/TherapyPathResultsServiceTest.java
package org.ohdsi.webapi.service; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.io.IOException; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.util.PreparedStatementRenderer; import org.springframework.beans.factory.annotation.Autowired...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/service/CohortResultsServiceTest.java
src/test/java/org/ohdsi/webapi/service/CohortResultsServiceTest.java
package org.ohdsi.webapi.service; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.util.regex.Pattern; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.cohortresults.ExposureCohortSearch; import org.ohdsi.webapi.util...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/service/SqlRenderServiceTest.java
src/test/java/org/ohdsi/webapi/service/SqlRenderServiceTest.java
package org.ohdsi.webapi.service; import static org.junit.Assert.*; import static org.mockito.Mockito.verify; import static org.ohdsi.webapi.Constants.SqlSchemaPlaceholders.TEMP_DATABASE_SCHEMA_PLACEHOLDER; import java.util.Collections; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/service/AbstractSpringBootServiceTest.java
src/test/java/org/ohdsi/webapi/service/AbstractSpringBootServiceTest.java
package org.ohdsi.webapi.service; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.TestPropertySource; import org.springframework.test.context.junit4.SpringRunner; @SpringBootTest @RunWith(SpringRunner.class) @TestPropertySource(loca...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/service/AbstractServiceTest.java
src/test/java/org/ohdsi/webapi/service/AbstractServiceTest.java
package org.ohdsi.webapi.service; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; import org.junit.Before; import org.ohdsi.circe.helper.ResourceHelper; import org.ohdsi.webapi.source.Source; import org.ohdsi.weba...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/service/CohortDefinitionServiceTest.java
src/test/java/org/ohdsi/webapi/service/CohortDefinitionServiceTest.java
package org.ohdsi.webapi.service; import java.util.Arrays; import java.util.List; import javax.cache.Cache; import javax.cache.CacheManager; import javax.cache.management.CacheStatisticsMXBean; import org.apache.shiro.subject.SimplePrincipalCollection; import org.apache.shiro.subject.Subject; import org.apache.shiro.u...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/service/PersonServiceTest.java
src/test/java/org/ohdsi/webapi/service/PersonServiceTest.java
package org.ohdsi.webapi.service; import java.io.IOException; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.util.PreparedStatementRenderer; import org.springframework.beans.factory.annotation.Autowired; public class PersonServiceTest extends AbstractServiceTest { ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/service/CDMResultsServiceTest.java
src/test/java/org/ohdsi/webapi/service/CDMResultsServiceTest.java
package org.ohdsi.webapi.service; import static org.junit.Assert.assertEquals; import java.io.IOException; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.util.PreparedStatementRenderer; import org.springframework.beans.factory.annotation.Autowired; public class CDMResultsServiceTest extends ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/service/annotations/SearchDataTransformerTest.java
src/test/java/org/ohdsi/webapi/service/annotations/SearchDataTransformerTest.java
package org.ohdsi.webapi.service.annotations; import org.json.JSONObject; import org.junit.Before; import org.junit.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.isEmptyString; public class SearchDataTransformerTest { priva...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/shiny/CohortPathwaysShinyPackagingServiceTest.java
src/test/java/org/ohdsi/webapi/shiny/CohortPathwaysShinyPackagingServiceTest.java
package org.ohdsi.webapi.shiny; import com.odysseusinc.arachne.commons.api.v1.dto.CommonAnalysisType; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Answers; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.Spy; import org.mockito.runne...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/shiny/IncidenceRatesShinyPackagingServiceTest.java
src/test/java/org/ohdsi/webapi/shiny/IncidenceRatesShinyPackagingServiceTest.java
package org.ohdsi.webapi.shiny; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.odysseusinc.arachne.commons.api.v1.dto.CommonAnalysisType; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Answers; import org.mockito.In...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/generationcache/GenerationCacheTest.java
src/test/java/org/ohdsi/webapi/generationcache/GenerationCacheTest.java
package org.ohdsi.webapi.generationcache; import com.odysseusinc.arachne.commons.types.DBMSType; import com.odysseusinc.arachne.execution_engine_common.api.v1.dto.KerberosAuthMechanism; import net.lingala.zip4j.ZipFile; import net.lingala.zip4j.exception.ZipException; import org.junit.Assert; import org.junit.Before; ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/pathway/PathwayAnalysisTest.java
src/test/java/org/ohdsi/webapi/pathway/PathwayAnalysisTest.java
/* * Copyright 2020 cknoll1. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/pathway/PathwayServiceTest.java
src/test/java/org/ohdsi/webapi/pathway/PathwayServiceTest.java
package org.ohdsi.webapi.pathway; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Answers; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; import org.ohdsi.webapi.pathway.domain.PathwayAnalysisEntity; import org.ohdsi.webapi.pathway.dom...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/versioning/ConceptSetVersioningTest.java
src/test/java/org/ohdsi/webapi/versioning/ConceptSetVersioningTest.java
package org.ohdsi.webapi.versioning; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.ohdsi.circe.vocabulary.ConceptSetExpression; import org.ohdsi.webapi.conceptset.ConceptSetItem; import org.ohdsi.webapi.conceptset.ConceptSetRepository; import ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/versioning/ReusableVersioningTest.java
src/test/java/org/ohdsi/webapi/versioning/ReusableVersioningTest.java
package org.ohdsi.webapi.versioning; import org.ohdsi.webapi.reusable.ReusableService; import org.ohdsi.webapi.reusable.dto.ReusableDTO; import org.ohdsi.webapi.reusable.dto.ReusableVersionFullDTO; import org.ohdsi.webapi.reusable.repository.ReusableRepository; import org.ohdsi.webapi.versioning.dto.VersionDTO; import...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/versioning/BaseVersioningTest.java
src/test/java/org/ohdsi/webapi/versioning/BaseVersioningTest.java
package org.ohdsi.webapi.versioning; import org.apache.commons.io.FileUtils; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.AbstractDatabaseTest; import org.ohdsi.webapi.service.dto.CommonEntityExtDTO; import org.ohdsi.webapi.shiro.Entities.UserEntity; import org.ohdsi....
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/versioning/CohortVersioningTest.java
src/test/java/org/ohdsi/webapi/versioning/CohortVersioningTest.java
package org.ohdsi.webapi.versioning; import org.ohdsi.webapi.cohortdefinition.CohortDefinition; import org.ohdsi.webapi.cohortdefinition.CohortDefinitionRepository; import org.ohdsi.webapi.cohortdefinition.dto.CohortDTO; import org.ohdsi.webapi.cohortdefinition.dto.CohortMetadataDTO; import org.ohdsi.webapi.cohortdefi...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/versioning/CcVersioningTest.java
src/test/java/org/ohdsi/webapi/versioning/CcVersioningTest.java
package org.ohdsi.webapi.versioning; import org.ohdsi.analysis.Utils; import org.ohdsi.webapi.cohortcharacterization.CcController; import org.ohdsi.webapi.cohortcharacterization.domain.CohortCharacterizationEntity; import org.ohdsi.webapi.cohortcharacterization.dto.CcExportDTO; import org.ohdsi.webapi.cohortcharacteri...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/versioning/IRVersioningTest.java
src/test/java/org/ohdsi/webapi/versioning/IRVersioningTest.java
package org.ohdsi.webapi.versioning; import org.ohdsi.analysis.Utils; import org.ohdsi.webapi.cohortdefinition.CohortDefinitionRepository; import org.ohdsi.webapi.ircalc.IncidenceRateAnalysisRepository; import org.ohdsi.webapi.ircalc.dto.IRVersionFullDTO; import org.ohdsi.webapi.service.IRAnalysisService; import org.o...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/versioning/PathwayVersioningTest.java
src/test/java/org/ohdsi/webapi/versioning/PathwayVersioningTest.java
package org.ohdsi.webapi.versioning; import org.ohdsi.analysis.Utils; import org.ohdsi.webapi.cohortdefinition.CohortDefinitionRepository; import org.ohdsi.webapi.pathway.PathwayController; import org.ohdsi.webapi.pathway.dto.PathwayAnalysisDTO; import org.ohdsi.webapi.pathway.dto.PathwayAnalysisExportDTO; import org....
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/test/SecurityIT.java
src/test/java/org/ohdsi/webapi/test/SecurityIT.java
package org.ohdsi.webapi.test; import com.github.springtestdbunit.DbUnitTestExecutionListener; import com.github.springtestdbunit.annotation.DatabaseOperation; import com.github.springtestdbunit.annotation.DatabaseTearDown; import com.github.springtestdbunit.annotation.DbUnitConfiguration; import com.google.common.co...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/test/TestConstants.java
src/test/java/org/ohdsi/webapi/test/TestConstants.java
package org.ohdsi.webapi.test; public class TestConstants { public final static String COPY_PREFIX = "COPY OF "; public final static String NEW_TEST_ENTITY = "New test entity"; public final static String SOME_UNIQUE_TEST_NAME = "Some unique test name"; }
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/test/WebApiIT.java
src/test/java/org/ohdsi/webapi/test/WebApiIT.java
package org.ohdsi.webapi.test; import static org.junit.Assert.assertEquals; import static org.springframework.test.context.TestExecutionListeners.MergeMode.MERGE_WITH_DEFAULTS; import com.github.springtestdbunit.DbUnitTestExecutionListener; import com.github.springtestdbunit.annotation.DbUnitConfiguration; import jav...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/test/AbstractShiro.java
src/test/java/org/ohdsi/webapi/test/AbstractShiro.java
package org.ohdsi.webapi.test; import org.apache.shiro.SecurityUtils; import org.apache.shiro.UnavailableSecurityManagerException; import org.apache.shiro.subject.Subject; import org.apache.shiro.subject.support.SubjectThreadState; import org.apache.shiro.util.LifecycleUtils; import org.apache.shiro.util.ThreadState; ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/test/JobServiceIT.java
src/test/java/org/ohdsi/webapi/test/JobServiceIT.java
package org.ohdsi.webapi.test; import static org.junit.Assert.assertEquals; import com.github.springtestdbunit.annotation.DatabaseOperation; import com.github.springtestdbunit.annotation.DatabaseSetup; import com.github.springtestdbunit.annotation.DatabaseTearDown; import java.util.HashMap; import java.util.Map; imp...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/test/CDMResultsServiceIT.java
src/test/java/org/ohdsi/webapi/test/CDMResultsServiceIT.java
package org.ohdsi.webapi.test; import com.odysseusinc.arachne.commons.types.DBMSType; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import ja...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/test/VocabularyServiceIT.java
src/test/java/org/ohdsi/webapi/test/VocabularyServiceIT.java
package org.ohdsi.webapi.test; import com.odysseusinc.arachne.commons.types.DBMSType; import org.junit.Before; import org.junit.Test; import org.ohdsi.circe.helper.ResourceHelper; import org.ohdsi.sql.SqlRender; import org.ohdsi.sql.SqlTranslate; import org.ohdsi.webapi.source.SourceRepository; import org.springframew...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/test/ITStarter.java
src/test/java/org/ohdsi/webapi/test/ITStarter.java
package org.ohdsi.webapi.test; import io.zonky.test.db.postgres.embedded.EmbeddedPostgres; import org.apache.shiro.subject.SimplePrincipalCollection; import org.apache.shiro.subject.Subject; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.runner.RunWith; import org.junit.runners.Suite; impo...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/test/CohortAnalysisServiceIT.java
src/test/java/org/ohdsi/webapi/test/CohortAnalysisServiceIT.java
/* * The contents of this file are subject to the Regenstrief Public License * Version 1.0 (the "License"); you may not use this file except in compliance with the License. * Please contact Regenstrief Institute if you would like to obtain a copy of the license. * <p> * Software distributed under the License is di...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/test/feasibility/StudyInfoTest.java
src/test/java/org/ohdsi/webapi/test/feasibility/StudyInfoTest.java
/* * Copyright 2015 Observational Health Data Sciences and Informatics [OHDSI.org]. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/test/feasibility/FeasibilityTests.java
src/test/java/org/ohdsi/webapi/test/feasibility/FeasibilityTests.java
/* * Copyright 2015 Observational Health Data Sciences and Informatics [OHDSI.org]. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/executionengine/service/ScriptExecutionServiceImplTest.java
src/test/java/org/ohdsi/webapi/executionengine/service/ScriptExecutionServiceImplTest.java
package org.ohdsi.webapi.executionengine.service; import static org.mockito.Matchers.*; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.spy; import java.io.File; import java.io.IOException; import java.util.Arrays; import java.util.List; impor...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/executionengine/service/AnalysisZipRepackServiceTest.java
src/test/java/org/ohdsi/webapi/executionengine/service/AnalysisZipRepackServiceTest.java
package org.ohdsi.webapi.executionengine.service; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import org.apache.commons.compress.utils....
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/check/checker/EstimationCheckerTest.java
src/test/java/org/ohdsi/webapi/check/checker/EstimationCheckerTest.java
package org.ohdsi.webapi.check.checker; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.ohdsi.analysis.Utils; import org.ohdsi.webapi.check.CheckResult; import org.ohdsi.webapi.check.Checker; import org.ohdsi.webapi.check.checker.characterization.CharacterizationChecker; import org....
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/check/checker/CharacterizationCheckerTest.java
src/test/java/org/ohdsi/webapi/check/checker/CharacterizationCheckerTest.java
package org.ohdsi.webapi.check.checker; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.ohdsi.analysis.Utils; import org.ohdsi.webapi.check.CheckResult; import org.ohdsi.webapi.check.Checker; import org.ohdsi.webapi.check.checker.characterization.CharacterizationChecker; import org....
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/check/checker/IRCheckerTest.java
src/test/java/org/ohdsi/webapi/check/checker/IRCheckerTest.java
package org.ohdsi.webapi.check.checker; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.ohdsi.analysis.Utils; import org.ohdsi.webapi.check.CheckResult; import org.ohdsi.webapi.check.Checker; import org.ohdsi.webapi.check.checker.ir.IRChecker; import org.ohdsi.webapi.check.checker.t...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/check/checker/PredictionCheckerTest.java
src/test/java/org/ohdsi/webapi/check/checker/PredictionCheckerTest.java
package org.ohdsi.webapi.check.checker; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.ohdsi.analysis.Utils; import org.ohdsi.webapi.check.CheckResult; import org.ohdsi.webapi.check.Checker; import org.ohdsi.webapi.check.checker.characterization.CharacterizationChecker; import org....
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/check/checker/PathwayCheckerTest.java
src/test/java/org/ohdsi/webapi/check/checker/PathwayCheckerTest.java
package org.ohdsi.webapi.check.checker; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.ohdsi.analysis.Utils; import org.ohdsi.webapi.check.CheckResult; import org.ohdsi.webapi.check.Checker; import org.ohdsi.webapi.check.checker.pathway.PathwayChecker; import org.ohdsi.webapi.check...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/check/checker/BaseCheckerTest.java
src/test/java/org/ohdsi/webapi/check/checker/BaseCheckerTest.java
package org.ohdsi.webapi.check.checker; import java.util.List; import java.util.stream.Collectors; import org.apache.commons.io.FileUtils; import org.hamcrest.Matchers; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.ohdsi.analysis.Utils; import org.ohdsi.webapi.AbstractData...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/entity/PathwayEntityTest.java
src/test/java/org/ohdsi/webapi/entity/PathwayEntityTest.java
package org.ohdsi.webapi.entity; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.AbstractDatabaseTest; import org.ohdsi.webapi.model.CommonEntity; import org.ohdsi.webapi.pathway.PathwayController; import org.ohdsi.webapi.pathway.PathwayService; import org.ohdsi.webapi.p...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/entity/EntityMethods.java
src/test/java/org/ohdsi/webapi/entity/EntityMethods.java
package org.ohdsi.webapi.entity; import org.ohdsi.webapi.CommonDTO; import org.springframework.test.context.TestContextManager; public interface EntityMethods<T extends CommonDTO> { void initFirstDTO() throws Exception; T createEntity(String name) throws Exception; default void init() throws Exception ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/entity/ConceptSetEntityTest.java
src/test/java/org/ohdsi/webapi/entity/ConceptSetEntityTest.java
package org.ohdsi.webapi.entity; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.AbstractDatabaseTest; import org.ohdsi.webapi.conceptset.ConceptSetRepository; import org.ohdsi.webapi.service.ConceptSetService; import org.ohdsi.webapi.service.dto.ConceptSetDTO; import or...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/entity/CohortDefinitionEntityTest.java
src/test/java/org/ohdsi/webapi/entity/CohortDefinitionEntityTest.java
package org.ohdsi.webapi.entity; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.AbstractDatabaseTest; import org.ohdsi.webapi.cohortdefinition.CohortDefinitionRepository; import org.ohdsi.webapi.cohortdefinition.dto.CohortDTO; import org.ohdsi.webapi.service.CohortDefin...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/entity/TestImport.java
src/test/java/org/ohdsi/webapi/entity/TestImport.java
package org.ohdsi.webapi.entity; import org.ohdsi.webapi.CommonDTO; import org.ohdsi.webapi.model.CommonEntity; import static org.junit.Assert.assertEquals; import static org.ohdsi.webapi.test.TestConstants.NEW_TEST_ENTITY; import static org.ohdsi.webapi.test.TestConstants.SOME_UNIQUE_TEST_NAME; public interface Tes...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/entity/EstimationEntityTest.java
src/test/java/org/ohdsi/webapi/entity/EstimationEntityTest.java
package org.ohdsi.webapi.entity; import com.odysseusinc.arachne.commons.types.DBMSType; import com.odysseusinc.arachne.execution_engine_common.api.v1.dto.KerberosAuthMechanism; import org.apache.commons.io.FileUtils; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/entity/CCEntityTest.java
src/test/java/org/ohdsi/webapi/entity/CCEntityTest.java
package org.ohdsi.webapi.entity; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.AbstractDatabaseTest; import org.ohdsi.webapi.cohortcharacterization.CcController; import org.ohdsi.webapi.cohortcharacterization.CcService; import org.ohdsi.webapi.cohortcharacterization.do...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/entity/IREntityTest.java
src/test/java/org/ohdsi/webapi/entity/IREntityTest.java
package org.ohdsi.webapi.entity; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.AbstractDatabaseTest; import org.ohdsi.webapi.ircalc.IncidenceRateAnalysisRepository; import org.ohdsi.webapi.service.IRAnalysisResource; import org.ohdsi.webapi.service.dto.IRAnalysisDTO; i...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/entity/TestCopy.java
src/test/java/org/ohdsi/webapi/entity/TestCopy.java
package org.ohdsi.webapi.entity; import org.ohdsi.webapi.CommonDTO; import static org.junit.Assert.assertEquals; import static org.ohdsi.webapi.test.TestConstants.COPY_PREFIX; import static org.ohdsi.webapi.test.TestConstants.NEW_TEST_ENTITY; public interface TestCopy<T extends CommonDTO> extends EntityMethods { ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/entity/PredictionEntityTest.java
src/test/java/org/ohdsi/webapi/entity/PredictionEntityTest.java
package org.ohdsi.webapi.entity; import com.odysseusinc.arachne.commons.types.DBMSType; import com.odysseusinc.arachne.execution_engine_common.api.v1.dto.KerberosAuthMechanism; import org.apache.commons.io.FileUtils; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/entity/TestCreate.java
src/test/java/org/ohdsi/webapi/entity/TestCreate.java
package org.ohdsi.webapi.entity; import org.apache.commons.lang3.exception.ExceptionUtils; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import static org.ohdsi.webapi.test.TestConstants.NEW_TEST_ENTITY; public interface TestCreate extends EntityMethods { String getConstraintNa...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/tagging/CohortTaggingTest.java
src/test/java/org/ohdsi/webapi/tagging/CohortTaggingTest.java
package org.ohdsi.webapi.tagging; import org.ohdsi.webapi.cohortdefinition.CohortDefinitionRepository; import org.ohdsi.webapi.cohortdefinition.dto.CohortDTO; import org.ohdsi.webapi.cohortdefinition.dto.CohortRawDTO; import org.ohdsi.webapi.service.CohortDefinitionService; import org.ohdsi.webapi.tag.domain.Tag; impo...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/tagging/IRTaggingTest.java
src/test/java/org/ohdsi/webapi/tagging/IRTaggingTest.java
package org.ohdsi.webapi.tagging; import org.ohdsi.analysis.Utils; import org.ohdsi.webapi.cohortdefinition.CohortDefinitionRepository; import org.ohdsi.webapi.ircalc.IncidenceRateAnalysisRepository; import org.ohdsi.webapi.service.IRAnalysisService; import org.ohdsi.webapi.service.dto.IRAnalysisDTO; import org.ohdsi....
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/tagging/ReusableTaggingTest.java
src/test/java/org/ohdsi/webapi/tagging/ReusableTaggingTest.java
package org.ohdsi.webapi.tagging; import org.ohdsi.webapi.reusable.ReusableController; import org.ohdsi.webapi.reusable.dto.ReusableDTO; import org.ohdsi.webapi.reusable.repository.ReusableRepository; import org.ohdsi.webapi.tag.domain.Tag; import org.ohdsi.webapi.tag.dto.TagNameListRequestDTO; import org.springframew...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/tagging/PathwayTaggingTest.java
src/test/java/org/ohdsi/webapi/tagging/PathwayTaggingTest.java
package org.ohdsi.webapi.tagging; import org.ohdsi.analysis.Utils; import org.ohdsi.webapi.cohortdefinition.CohortDefinitionRepository; import org.ohdsi.webapi.pathway.PathwayController; import org.ohdsi.webapi.pathway.dto.PathwayAnalysisDTO; import org.ohdsi.webapi.pathway.dto.PathwayAnalysisExportDTO; import org.ohd...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/tagging/ConceptSetTaggingTest.java
src/test/java/org/ohdsi/webapi/tagging/ConceptSetTaggingTest.java
package org.ohdsi.webapi.tagging; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import org.ohdsi.circe.vocabulary.ConceptSetExpression; import org.ohdsi.webapi.conceptset.ConceptSetItem; import org.ohdsi.webapi.conceptset.ConceptSetRepository; import org...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/tagging/CcTaggingTest.java
src/test/java/org/ohdsi/webapi/tagging/CcTaggingTest.java
package org.ohdsi.webapi.tagging; import org.ohdsi.analysis.Utils; import org.ohdsi.webapi.cohortcharacterization.CcController; import org.ohdsi.webapi.cohortcharacterization.domain.CohortCharacterizationEntity; import org.ohdsi.webapi.cohortcharacterization.dto.CcExportDTO; import org.ohdsi.webapi.cohortcharacterizat...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/tagging/BaseTaggingTest.java
src/test/java/org/ohdsi/webapi/tagging/BaseTaggingTest.java
package org.ohdsi.webapi.tagging; import org.apache.commons.io.FileUtils; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.ohdsi.webapi.AbstractDatabaseTest; import org.ohdsi.webapi.service.dto.CommonEntityExtDTO; import org.ohdsi.webapi.shiro.Entities.UserEntity; import org.ohdsi.web...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/security/PermissionTest.java
src/test/java/org/ohdsi/webapi/security/PermissionTest.java
/* * Copyright 2024 cknoll1. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/cohortcharacterization/CohortCharacterizationServiceTest.java
src/test/java/org/ohdsi/webapi/cohortcharacterization/CohortCharacterizationServiceTest.java
package org.ohdsi.webapi.cohortcharacterization; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; import com.odysseusinc.arachne.commons.types.DBMSType; import com.odysseusinc.arachne.execution_engine_common.api.v1.dto.KerberosAuthMechanism; import net.lingala...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/cohortcharacterization/SkeletonCohortCharacterizationTest.java
src/test/java/org/ohdsi/webapi/cohortcharacterization/SkeletonCohortCharacterizationTest.java
/* * Copyright 2020 cknoll1. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/cohortresults/CohortResultsAnalysisRunnerTest.java
src/test/java/org/ohdsi/webapi/cohortresults/CohortResultsAnalysisRunnerTest.java
package org.ohdsi.webapi.cohortresults; import org.junit.Test; public class CohortResultsAnalysisRunnerTest { @Test(expected = Exception.class) public void testSaveIsFalseScenarios() { CohortResultsAnalysisRunner r = new CohortResultsAnalysisRunner(null, null, null); r.getCohortConditionDrilldown(null, ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/vocabulary/test/ConceptSetExpressionTests.java
src/test/java/org/ohdsi/webapi/vocabulary/test/ConceptSetExpressionTests.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribu...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/test/java/org/ohdsi/webapi/cdmresults/cache/CDMResultsCacheTest.java
src/test/java/org/ohdsi/webapi/cdmresults/cache/CDMResultsCacheTest.java
package org.ohdsi.webapi.cdmresults.cache; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.mockito.Matchers.any; import static o...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/JdbcExceptionMapper.java
src/main/java/org/ohdsi/webapi/JdbcExceptionMapper.java
package org.ohdsi.webapi; import com.odysseusinc.logging.event.FailedDbConnectEvent; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationEventPublisher; import org.springframework.jdbc.CannotGetJdbcConnectionException; import javax.ws.rs.core.Response; import j...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/ConverterConfiguration.java
src/main/java/org/ohdsi/webapi/ConverterConfiguration.java
package org.ohdsi.webapi; import com.odysseusinc.arachne.commons.utils.ConverterUtils; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.convert.support.DefaultConversionService; import org.springframework.core.convert.suppo...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/IExecutionInfo.java
src/main/java/org/ohdsi/webapi/IExecutionInfo.java
package org.ohdsi.webapi; import java.util.Date; public interface IExecutionInfo<T extends IExecutionInfo> { Date getStartTime(); Integer getExecutionDuration(); GenerationStatus getStatus(); boolean getIsValid(); boolean getIsCanceled(); String getMessage(); T setStartTime(Date startTime)...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/LogConfiguration.java
src/main/java/org/ohdsi/webapi/LogConfiguration.java
package org.ohdsi.webapi; import com.odysseusinc.logging.LoggingEventMessageFactory; import com.odysseusinc.logging.LoggingService; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class LogConfiguration { @Bean public Logg...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/Pagination.java
src/main/java/org/ohdsi/webapi/Pagination.java
package org.ohdsi.webapi; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.PARAMETER) @Retention(RetentionPolicy.RUNTIME) public @interface Pagination { }
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/CacheConfig.java
src/main/java/org/ohdsi/webapi/CacheConfig.java
package org.ohdsi.webapi; import org.springframework.cache.annotation.EnableCaching; import org.springframework.context.annotation.Configuration; @Configuration @EnableCaching public class CacheConfig { }
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/JerseyConfig.java
src/main/java/org/ohdsi/webapi/JerseyConfig.java
package org.ohdsi.webapi; import org.glassfish.hk2.utilities.binding.AbstractBinder; import org.glassfish.jersey.media.multipart.MultiPartFeature; import org.glassfish.jersey.message.GZipEncoder; import org.glassfish.jersey.server.ResourceConfig; import org.glassfish.jersey.server.filter.EncodingFilter; import org.gla...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/SchedulerConfiguration.java
src/main/java/org/ohdsi/webapi/SchedulerConfiguration.java
package org.ohdsi.webapi; import com.cronutils.model.definition.CronDefinition; import com.cronutils.model.definition.CronDefinitionBuilder; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.TaskScheduler; import org.s...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/WebApi.java
src/main/java/org/ohdsi/webapi/WebApi.java
package org.ohdsi.webapi; import org.apache.catalina.webresources.TomcatURLStreamHandlerFactory; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration; import org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfig...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/AuthDataSource.java
src/main/java/org/ohdsi/webapi/AuthDataSource.java
/* * * Copyright 2017 Observational Health Data Sciences and Informatics * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/JMXConfiguration.java
src/main/java/org/ohdsi/webapi/JMXConfiguration.java
package org.ohdsi.webapi; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.EnableMBeanExport; import org.springframework.jmx.support.RegistrationPolicy; @Configuration @EnableMBeanExport(registration = RegistrationPolicy.IGNORE_EXISTING) public class JMXConfig...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/OidcConfCreator.java
src/main/java/org/ohdsi/webapi/OidcConfCreator.java
/* * * Copyright 2017 Observational Health Data Sciences and Informatics * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/JobInvalidator.java
src/main/java/org/ohdsi/webapi/JobInvalidator.java
package org.ohdsi.webapi; import org.ohdsi.webapi.executionengine.entity.ExecutionEngineAnalysisStatus; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.batch.admin.service.SearchableJobExecutionDao; import org.springframework.batch.core.BatchStatus; import org.springframework.batch....
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/ShiroConfiguration.java
src/main/java/org/ohdsi/webapi/ShiroConfiguration.java
package org.ohdsi.webapi; import java.util.Collection; import java.util.Set; import org.apache.shiro.realm.Realm; import org.apache.shiro.spring.web.ShiroFilterFactoryBean; import org.apache.shiro.web.mgt.DefaultWebSecurityManager; import org.ohdsi.webapi.shiro.AtlasWebSecurityManager; import org.ohdsi.webapi.shiro.lo...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/GenerationStatus.java
src/main/java/org/ohdsi/webapi/GenerationStatus.java
/* * Copyright 2015 Observational Health Data Sciences and Informatics [OHDSI.org]. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/DataAccessConfig.java
src/main/java/org/ohdsi/webapi/DataAccessConfig.java
package org.ohdsi.webapi; import com.cosium.spring.data.jpa.entity.graph.repository.support.EntityGraphJpaRepositoryFactoryBean; import com.odysseusinc.datasourcemanager.encryption.EncryptorUtils; import com.odysseusinc.datasourcemanager.encryption.NotEncrypted; import org.jasypt.encryption.pbe.PBEStringEncryptor; imp...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/GenerationStatusConverter.java
src/main/java/org/ohdsi/webapi/GenerationStatusConverter.java
/* * Copyright 2015 Observational Health Data Sciences and Informatics [OHDSI.org]. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/FlywayConfig.java
src/main/java/org/ohdsi/webapi/FlywayConfig.java
package org.ohdsi.webapi; import com.odysseusinc.arachne.commons.config.flyway.ApplicationContextAwareSpringJdbcMigrationResolver; import javax.sql.DataSource; import org.flywaydb.core.Flyway; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure....
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/RLangClassImpl.java
src/main/java/org/ohdsi/webapi/RLangClassImpl.java
package org.ohdsi.webapi; import com.fasterxml.jackson.annotation.JsonProperty; import org.ohdsi.analysis.RLangClass; /** * * @author asena5 */ public abstract class RLangClassImpl implements RLangClass { /** * */ protected String attrClass = "args"; /** * Get attrClass * @return attrCl...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/KrbConfiguration.java
src/main/java/org/ohdsi/webapi/KrbConfiguration.java
package org.ohdsi.webapi; import com.odysseusinc.datasourcemanager.krblogin.KerberosService; import com.odysseusinc.datasourcemanager.krblogin.KerberosServiceImpl; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotatio...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/PageableValueFactoryProvider.java
src/main/java/org/ohdsi/webapi/PageableValueFactoryProvider.java
/* * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distr...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/CommonDTO.java
src/main/java/org/ohdsi/webapi/CommonDTO.java
package org.ohdsi.webapi; public interface CommonDTO { String getName(); void setName(String name); Number getId(); }
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/I18nConfig.java
src/main/java/org/ohdsi/webapi/I18nConfig.java
package org.ohdsi.webapi; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.LocaleResolver; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.a...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/KerberosUtils.java
src/main/java/org/ohdsi/webapi/KerberosUtils.java
package org.ohdsi.webapi; import com.odysseusinc.arachne.execution_engine_common.api.v1.dto.DataSourceUnsecuredDTO; import com.odysseusinc.arachne.execution_engine_common.util.ConnectionParams; import org.ohdsi.webapi.source.Source; public final class KerberosUtils { private KerberosUtils(){} public static ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/Constants.java
src/main/java/org/ohdsi/webapi/Constants.java
package org.ohdsi.webapi; import com.google.common.collect.ImmutableList; import org.springframework.batch.core.ExitStatus; public interface Constants { String DEFAULT_DIALECT = "sql server"; String GENERATE_COHORT = "generateCohort"; String GENERATE_COHORT_CHARACTERIZATION = "generateCohortCharacterization"; ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/TerminateJobStepExceptionHandler.java
src/main/java/org/ohdsi/webapi/TerminateJobStepExceptionHandler.java
/* * Copyright 2015 Observational Health Data Sciences and Informatics [OHDSI.org]. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/JobConfig.java
src/main/java/org/ohdsi/webapi/JobConfig.java
package org.ohdsi.webapi; import javax.annotation.PostConstruct; import javax.sql.DataSource; import org.apache.commons.lang3.StringUtils; import org.ohdsi.webapi.audittrail.listeners.AuditTrailJobListener; import org.ohdsi.webapi.common.generation.AutoremoveJobListener; import org.ohdsi.webapi.common.generation.Canc...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/TokenManager.java
src/main/java/org/ohdsi/webapi/shiro/TokenManager.java
package org.ohdsi.webapi.shiro; import io.jsonwebtoken.Claims; import io.jsonwebtoken.JwtException; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; import io.jsonwebtoken.SignatureException; import io.jsonwebtoken.UnsupportedJwtException; import io.jsonwebtoken.impl.crypto.MacProvider; import j...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/AtlasWebSecurityManager.java
src/main/java/org/ohdsi/webapi/shiro/AtlasWebSecurityManager.java
package org.ohdsi.webapi.shiro; import java.util.Collection; import org.apache.commons.collections.CollectionUtils; import org.apache.shiro.authc.pam.ModularRealmAuthenticator; import org.apache.shiro.authz.ModularRealmAuthorizer; import org.apache.shiro.realm.Realm; import org.ohdsi.webapi.shiro.lockout.LockoutPolicy...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/PermissionManager.java
src/main/java/org/ohdsi/webapi/shiro/PermissionManager.java
package org.ohdsi.webapi.shiro; import com.fasterxml.jackson.databind.ObjectMapper; import com.odysseusinc.logging.event.AddUserEvent; import com.odysseusinc.logging.event.DeleteRoleEvent; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.UnknownAccountException; import org.apache.shiro.subject.Subj...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/FilterTemplates.java
src/main/java/org/ohdsi/webapi/shiro/management/FilterTemplates.java
package org.ohdsi.webapi.shiro.management; public enum FilterTemplates { SEND_TOKEN_IN_URL("sendTokenInUrl"), SEND_TOKEN_IN_HEADER("sendTokenInHeader"), SEND_TOKEN_IN_REDIRECT("sendTokenInRedirect"), JWT_AUTHC("jwtAuthc"), ACCESS_AUTHC("accessAuthc"), NEGOTIATE_AUTHC("negotiateAuthc"), GO...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false
OHDSI/WebAPI
https://github.com/OHDSI/WebAPI/blob/b22d7bf02d98c0cf78c46801877368d6ecad2245/src/main/java/org/ohdsi/webapi/shiro/management/AtlasRegularSecurity.java
src/main/java/org/ohdsi/webapi/shiro/management/AtlasRegularSecurity.java
package org.ohdsi.webapi.shiro.management; import com.fasterxml.jackson.databind.ObjectMapper; import io.buji.pac4j.filter.CallbackFilter; import io.buji.pac4j.filter.SecurityFilter; import io.buji.pac4j.realm.Pac4jRealm; import org.apache.commons.lang3.StringUtils; import org.apache.shiro.realm.Realm; import org.apac...
java
Apache-2.0
b22d7bf02d98c0cf78c46801877368d6ecad2245
2026-01-05T02:37:20.475642Z
false