Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0 GA (Kay)
-
Fix Version/s: 2.0.1 (Kay SR1), 2.1 M1 (Lovelace)
-
Environment:Spring Data GemFire + Pivotal GemFire
-
Sprint:Kay GA, Kay SR1
Description
All @EnableClusterConfiguration annotation attributes are ignored by SDG when configured by the user and their settings have no effect on the application.
This is easy enough to workaround by setting the corresponding configuration property.
For example, if a user wanted to push the Cluster Configuration from his/her Spring Boot, Apache Geode client cache application to a Geode cluster using HTTP, the user would do the following:
@SpringBootApplication @ClientCacheApplication @EnableClusterConfiguration(useHttp = true) class MySpringBootGeodeCacheClientApplication { ... }
NOTE: the default value for the useHttp attribute is false.
However, the value of useHttp when set using the annotation attribute is ignored by SDG. So the user must set the corresponding configuration property instead, in the Spring Boot application.properties file as so...
spring.data.gemfire.management.use-http=true
Using the corresponding configuration property works around the bug.