Add missing authorization properties in Application. Add hibernate dialect for postgres12

This commit is contained in:
Konstantinos Triantafyllou 2024-10-31 14:12:33 +02:00
parent 524aecc002
commit 5965836486
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import org.springframework.context.annotation.PropertySources;
@SpringBootApplication(scanBasePackages = {"eu.dnetlib.developers"})
@PropertySources({
@PropertySource("classpath:authentication.properties"),
@PropertySource("classpath:authorization.properties"),
@PropertySource("classpath:developers.properties"),
@PropertySource(value = "classpath:dnet-override.properties", ignoreResourceNotFound = true)
})

View File

@ -1,4 +1,5 @@
developers.datasource.driver=org.postgresql.Driver
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
## API Documentation Properties
api.title = Developers API