fixing properties
This commit is contained in:
parent
275ce34ce4
commit
f866810dfd
|
@ -10,15 +10,7 @@ import java.io.IOException;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ImportResource("classpath*:/gr/uoa/di/driver/app/springContext-commons.xml")
|
@ImportResource("classpath*:/gr/uoa/di/driver/app/springContext-commons.xml")
|
||||||
|
@PropertySource("application-compat.properties")
|
||||||
public class Config {
|
public class Config {
|
||||||
|
|
||||||
@Bean
|
|
||||||
public PropertySourcesPlaceholderConfigurer getPropertySourcesPlaceholderConfigurer() throws IOException {
|
|
||||||
PropertySourcesPlaceholderConfigurer ppc = new PropertySourcesPlaceholderConfigurer();
|
|
||||||
|
|
||||||
ppc.setLocations((new PathMatchingResourcePatternResolver().getResources("classpath*:/**/springContext-*.properties")));
|
|
||||||
ppc.setIgnoreResourceNotFound(true);
|
|
||||||
|
|
||||||
return ppc;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
subscription.manager.threads = 2
|
||||||
|
subscription.manager.timeToLive = 3600
|
||||||
|
notification.manager.threads = 2
|
||||||
|
|
||||||
|
is.registry.creatorId = ${transport.soap.baseAddress}
|
||||||
|
|
||||||
|
openaire.db.driverClassName = org.postgresql.Driver
|
||||||
|
openaire.db.url = jdbc:postgresql://node1.d.openaire.research-infrastructures.eu:5432/dnet_openaire
|
||||||
|
openaire.db.username = dnet
|
||||||
|
openaire.db.password = dnetPwd
|
Loading…
Reference in New Issue