mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-10 11:33:11 +00:00
Disable Solr autoconfiguration in Spring Boot. Minor config cleanup
This commit is contained in:

committed by
Mark H. Wood

parent
ece64480a0
commit
5e78f408f3
@@ -86,26 +86,23 @@ server.context-parameters.dspace.dir=${dspace.dir}
|
|||||||
|
|
||||||
# Error handling settings
|
# Error handling settings
|
||||||
# Always include the fullstacktrace in error pages
|
# Always include the fullstacktrace in error pages
|
||||||
# (Our Error page hides this stacktrace so it only is visible in HTML source)
|
|
||||||
# Can be set to "never" if you don't want it.
|
# Can be set to "never" if you don't want it.
|
||||||
server.error.include-stacktrace = always
|
server.error.include-stacktrace = always
|
||||||
|
|
||||||
######################
|
######################
|
||||||
# Spring Boot Autoconfigure
|
# Spring Boot Autoconfigure
|
||||||
#
|
#
|
||||||
# DISABLE a few autoconfiguration scripts, as DSpace configures these already
|
# DISABLE a few autoconfiguration scripts, as DSpace initializes/configures these already
|
||||||
# * DataSourceAutoConfiguration (DB connection / datasource)
|
# * DataSourceAutoConfiguration (DB connection / datasource)
|
||||||
# * FlywayAutoConfiguration (Flyway migrations)
|
# * FlywayAutoConfiguration (Flyway migrations)
|
||||||
|
# * HibernateJpaAutoConfiguration (Hibernate)
|
||||||
|
# * SolrAutoConfiguration (Solr)
|
||||||
#
|
#
|
||||||
# TODO: If we go with Spring boot, we should investigate whether it's worth
|
# TODO: At some point we may want to investigate whether we can re-enable these and remove the custom DSpace init code
|
||||||
# re-enabling these and removing the custom DSpace initialization code
|
|
||||||
#spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, \
|
|
||||||
# org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, \
|
|
||||||
# org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
|
||||||
|
|
||||||
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, \
|
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration, \
|
||||||
org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, \
|
org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration, \
|
||||||
org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
|
org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration, \
|
||||||
|
org.springframework.boot.autoconfigure.solr.SolrAutoConfiguration
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# Spring Boot Logging levels
|
# Spring Boot Logging levels
|
||||||
|
Reference in New Issue
Block a user