From 251090b1e5c2311c0188c4085081aef2c577f45c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edd=C3=BA=20Mel=C3=A9ndez?= Date: Thu, 9 Mar 2017 23:59:42 -0500 Subject: [PATCH] Add missing spring-data-cassandra metadata This commit adds the missing `spring.data.cassandra.repositories.enabled` in the metadata and the documentation. Closes gh-8562 --- .../META-INF/additional-spring-configuration-metadata.json | 6 ++++++ .../src/main/asciidoc/appendix-application-properties.adoc | 1 + 2 files changed, 7 insertions(+) diff --git a/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 933f160f29..bbbedccfbe 100644 --- a/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -60,6 +60,12 @@ "description": "Enable JMX support (if provided by the underlying pool).", "defaultValue": false }, + { + "name": "spring.data.cassandra.repositories.enabled", + "type": "java.lang.Boolean", + "description": "Enable Cassandra repositories.", + "defaultValue": true + }, { "name": "spring.data.couchbase.repositories.enabled", "type": "java.lang.Boolean", diff --git a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc index f48deb4d73..848dc77924 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc @@ -556,6 +556,7 @@ content into your application; rather pick only the properties that you need. spring.data.cassandra.password= # Login password of the server. spring.data.cassandra.read-timeout-millis= # Socket option: read time out. spring.data.cassandra.reconnection-policy= # Reconnection policy class. + spring.data.cassandra.repositories.enabled= # Enable Cassandra repositories. spring.data.cassandra.retry-policy= # Class name of the retry policy. spring.data.cassandra.serial-consistency-level= # Queries serial consistency level. spring.data.cassandra.schema-action=none # Schema action to take at startup.