Uploaded image for project: 'Spring Data Geode'
  1. Spring Data Geode
  2. DATAGEODE-319

Improve @LocatorApplication to configure the Apache Geode locators property

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            jblum John Blum
            Reporter:
            jblum John Blum
            Last updater:
            Mark Paluch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: