diff --git a/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verifier/ws/config/WsCloudBaseConfig.java b/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verifier/ws/config/WsCloudBaseConfig.java index e2131bd1..3262945a 100644 --- a/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verifier/ws/config/WsCloudBaseConfig.java +++ b/ch-covidcertificate-backend-verifier/ch-covidcertificate-backend-verifier-ws/src/main/java/ch/admin/bag/covidcertificate/backend/verifier/ws/config/WsCloudBaseConfig.java @@ -19,32 +19,6 @@ @Configuration public abstract class WsCloudBaseConfig extends WsBaseConfig { - - @Value("${datasource.maximumPoolSize:5}") - int dataSourceMaximumPoolSize; - - @Value("${datasource.connectionTimeout:30000}") - int dataSourceConnectionTimeout; - - @Value("${datasource.leakDetectionThreshold:0}") - int dataSourceLeakDetectionThreshold; - - /*@Bean - @Override - public DataSource dataSource() { - /* PoolConfig poolConfig = - new PoolConfig(dataSourceMaximumPoolSize, dataSourceConnectionTimeout); - DataSourceConfig dbConfig = - new DataSourceConfig( - poolConfig, - null, - null, - Map.of("leakDetectionThreshold", dataSourceLeakDetectionThreshold)); - CloudFactory factory = new CloudFactory(); - return factory.getCloud().getSingletonServiceConnector(DataSource.class, dbConfig); - - }*/ - @Bean @Override public Flyway flyway(DataSource dataSource) {