Skip to content
Snippets Groups Projects
Commit 4ddee9d2 authored by Manish Jangid's avatar Manish Jangid
Browse files

Partition Service as a TenantInfo provider

parent 1ae899b6
No related branches found
No related tags found
4 merge requests!438Draft: CG Vulnerability for Woodstox - CVE-2022-40151,!430Upgraded Version of spring-security-config due to Component Governance CVE-2023-34034,!388Fix FOSSA notice,!383AWS integration merge
......@@ -40,7 +40,7 @@
<dependency>
<groupId>org.opengroup.osdu.core.aws</groupId>
<artifactId>os-core-lib-aws</artifactId>
<version>0.20.0-SNAPSHOT</version>
<version>0.21.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opengroup.osdu</groupId>
......
......@@ -10,6 +10,7 @@ import org.opengroup.osdu.legal.aws.jobs.LegalTagPublisherImpl;
import org.opengroup.osdu.legal.aws.tags.dataaccess.mongodb.config.MultiClusteredConfigReaderLegal;
import org.springframework.boot.test.context.TestConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;
import org.springframework.data.mongodb.core.MongoTemplate;
import static org.mockito.ArgumentMatchers.any;
......@@ -39,6 +40,7 @@ public class LegalTestConfig {
}
@Bean
@Primary
public ITenantFactory tenantFactory() {
return Mockito.mock(ITenantFactory.class);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment