Skip to content
Snippets Groups Projects
Commit acd9850d authored by Aleh Shubko [EPAM]'s avatar Aleh Shubko [EPAM]
Browse files

Update MongoDB settings

parent ce7d5483
No related branches found
No related tags found
3 merge requests!438Draft: CG Vulnerability for Woodstox - CVE-2022-40151,!430Upgraded Version of spring-security-config due to Component Governance CVE-2023-34034,!376Update MongoDB settings
Pipeline #172901 passed with warnings
......@@ -40,7 +40,7 @@
<dependency>
<groupId>org.opengroup.osdu.core.aws</groupId>
<artifactId>os-core-lib-aws</artifactId>
<version>0.19.0-rc3</version>
<version>0.20.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.opengroup.osdu</groupId>
......
......@@ -9,7 +9,6 @@ import org.springframework.stereotype.Component;
@Component
@Lazy
public class MultiClusteredConfigReaderLegal extends AbstractMultiClusteredConfigReader {
String serviceName = "legal";
@Autowired
public MultiClusteredConfigReaderLegal(SSMManagerUtil ssmManagerUtil) {
......@@ -17,7 +16,7 @@ public class MultiClusteredConfigReaderLegal extends AbstractMultiClusteredConfi
}
@Override
protected String applyServiceName(String originalName) {
return originalName.replace(serviceNamePlaceHolder, serviceName);
protected String getDatabaseName(String environment) {
return environment + "_osdu_legal";
}
}
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