Changes transaction management in development environment
This commit is contained in:
parent
9d11adbcbd
commit
b7f010393c
|
@ -69,9 +69,6 @@ public class DevelDatabaseConfiguration {
|
|||
properties.setProperty("hibernate.dialect", "org.hibernate.dialect.PostgreSQL92Dialect");
|
||||
properties.setProperty("hibernate.show_sql", "true");
|
||||
properties.setProperty("hibernate.temp.use_jdbc_metadata_defaults", "false");
|
||||
properties.setProperty("hibernate.c3p0.maxPoolSize", "70");
|
||||
properties.setProperty("hibernate.c3p0.timeout", "5000");
|
||||
properties.setProperty("hibernate.connection.release_mode", "after_transaction");
|
||||
return properties;
|
||||
}
|
||||
}
|
|
@ -4,9 +4,6 @@ dmp.domain = http://localhost:4200
|
|||
database.url=jdbc:postgresql://dbserver02.local.cite.gr:5432/dmptool
|
||||
database.username=dmtadm
|
||||
database.password=t00L4DM@18!
|
||||
spring.datasource.maxIdle: 2
|
||||
spring.datasource.max-active: 4
|
||||
spring.datasource.max-wait: 10000
|
||||
####################ELASTIIC SEARCH TAGS OVERRIDES CONFIGURATIONS##########
|
||||
elasticsearch.host = localhost
|
||||
elasticsearch.port = 9200
|
||||
|
@ -15,9 +12,9 @@ elasticsearch.port = 9200
|
|||
http-logger.server-address = http://localhost:31311
|
||||
|
||||
####################PDF OVERRIDES CONFIGURATIONS##########
|
||||
pdf.converter.url=http://localhost/
|
||||
pdf.converter.url=http://localhost:88/
|
||||
|
||||
####################CONFIGURATION FILES OVERRIDES CONFIGURATIONS##########
|
||||
configuration.externalUrls=/tmp/ExternalUrls.xml
|
||||
configuration.dynamicProjectUrl=/tmp/ProjectConfiguration.xml
|
||||
configuration.h2020template=/tmp/h2020.docx
|
||||
configuration.h2020template=C:\\Users\\ikalyvas\\Documents\\OpenAIRE-EUDAT-DMP-service-pilot\\dmp-backend\\web\\src\\main\\resources\\documents\\h2020.docx
|
|
@ -53,5 +53,16 @@ twitter.login.redirect_uri=https://opendmp.eu/login/twitter
|
|||
b2access.externallogin.user_info_url=https://b2access-integration.fz-juelich.de:443/oauth2/userinfo
|
||||
b2access.externallogin.access_token_url=https://b2access-integration.fz-juelich.de:443/oauth2/token
|
||||
b2access.externallogin.redirect_uri=https://opendmp.eu/api/oauth/authorized/b2access
|
||||
b2access.externallogin.clientid=eudatdmptool
|
||||
b2access.externallogin.clientSecret=A3b*1*92
|
||||
b2access.externallogin.clientid=
|
||||
b2access.externallogin.clientSecret=
|
||||
#############SPRING DATASOURCE CONFIGURATIONS#########
|
||||
spring.datasource.maxIdle: 10
|
||||
spring.datasource.max-active: 70
|
||||
spring.datasource.max-wait: 10000
|
||||
spring.datasource.validationQuery: select 1
|
||||
spring.datasource.removeAbandoned: true
|
||||
spring.datasource.removeAbandonedTimeout: 1
|
||||
spring.datasource.logAbandoned: true
|
||||
spring.datasource.testOnBorrow: true
|
||||
spring.datasource.testOnConnect: false
|
||||
spring.datasource.testWhileIdle: false
|
||||
|
|
|
@ -68,14 +68,3 @@ http-logger.delay = 10
|
|||
##########################PERISTENCE##########################################
|
||||
#############GENERIC DATASOURCE CONFIGURATIONS#########
|
||||
database.driver-class-name=org.postgresql.Driver
|
||||
#############SPRING DATASOURCE CONFIGURATIONS#########
|
||||
spring.datasource.maxIdle: 10
|
||||
spring.datasource.max-active: 70
|
||||
spring.datasource.max-wait: 10000
|
||||
spring.datasource.validationQuery: select 1
|
||||
spring.datasource.removeAbandoned: true
|
||||
spring.datasource.removeAbandonedTimeout: 1
|
||||
spring.datasource.logAbandoned: true
|
||||
spring.datasource.testOnBorrow: true
|
||||
spring.datasource.testOnConnect: false
|
||||
spring.datasource.testWhileIdle: false
|
Loading…
Reference in New Issue