Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve @LocatorApplication to configure the Apache Geode locators property [DATAGEODE-319] #367

Closed
spring-projects-issues opened this issue Mar 30, 2020 · 0 comments
Assignees
Labels
in: api in: configuration type: enhancement

Comments

@spring-projects-issues
Copy link

spring-projects-issues commented Mar 30, 2020

John Blum opened DATAGEODE-319 and commented

As a Spring application developer building Apache Geode Locator applications configured and bootstrapped with Spring (Boot), I'd like an easy way to configure my Spring (Boot), Apache Geode Locator application to join an existing Geode cluster, perhaps configured/started using Gfsh, as a member.

Technically, this means the @LocatorApplication annotation (Javadoc), should maintain a locators attribute and additionally process the spring.data.gemfire.locators property in the same way that a @PeerCacheApplication annotated Spring Boot application can, as seen here.

This entails:

  1. Add in a new locators attribute to the @LocatorsApplication annotation.
  2. And modify the configuration class to configure the Apache Geode locators property from the spring.data.gemfire.locators property, falling back to the locators annotation attribute

Backported to: 2.2.7 (Moore SR7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: api in: configuration type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants