Improve RepositoryRestConfiguration customization
This commit binds RepositoryRestConfiguration to the spring.data.rest prefix so that any of its property can be customized through the environment. If a RepositoryRestMvcConfiguration is defined in the context, those customization do not apply, as it was the case before. Fixes gh-1171
This commit is contained in:
@@ -220,6 +220,9 @@ content into your application; rather pick only the properties that you need.
|
||||
spring.data.elasticsearch.local=true # if local mode should be used with client nodes
|
||||
spring.data.elasticsearch.repositories.enabled=true # if spring data repository support is enabled
|
||||
|
||||
# DATA RESET ({spring-data-rest-javadoc}/core/config/RepositoryRestConfiguration.{dc-ext}[RepositoryRestConfiguration}])
|
||||
spring.data.rest.baseUri=foo # base URI against which the exporter should calculate its links
|
||||
|
||||
# FLYWAY ({sc-spring-boot-autoconfigure}/flyway/FlywayProperties.{sc-ext}[FlywayProperties])
|
||||
flyway.locations=classpath:db/migrations # locations of migrations scripts
|
||||
flyway.schemas= # schemas to update
|
||||
|
||||
@@ -33,6 +33,7 @@ Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson;
|
||||
:spring-data-javadoc: http://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa
|
||||
:spring-data-commons-javadoc: http://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data
|
||||
:spring-data-mongo-javadoc: http://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb
|
||||
:spring-data-rest-javadoc: http://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest
|
||||
:gradle-userguide: http://www.gradle.org/docs/current/userguide
|
||||
// ======================================================================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user