Adapt to Properties configuration changes in Spring Boot 2.4.0-SNAPSHOT.

See Spring Boot Issues related to Spring Profiles: https://github.com/spring-projects/spring-boot/labels/theme%3A%20profiles

And: https://github.com/spring-projects/spring-boot/labels/theme%3A%20config-data
This commit is contained in:
John Blum
2020-07-27 14:55:39 -07:00
parent c47e218334
commit b40975c2c1
3 changed files with 6 additions and 2 deletions

View File

@@ -2,6 +2,6 @@ gemfire.distributed-system-id=10
gemfire.remote-locators=localhost[12480]
geode.distributed-system.remote.id=20
spring.application.name=BootGeodeMultiSiteCachingServerApplication-Site1
spring.profiles.include=locator-manager,gateway-receiver,gateway-sender
#spring.profiles.include=locator-manager,gateway-receiver,gateway-sender
spring.data.gemfire.locator.port=11235
spring.data.gemfire.manager.port=1199

View File

@@ -2,6 +2,6 @@ gemfire.distributed-system-id=20
gemfire.remote-locators=localhost[11235]
geode.distributed-system.remote.id=10
spring.application.name=BootGeodeMultiSiteCachingServerApplication-Site2
spring.profiles.include=locator-manager,gateway-receiver,gateway-sender
#spring.profiles.include=locator-manager,gateway-receiver,gateway-sender
spring.data.gemfire.locator.port=12480
spring.data.gemfire.manager.port=2299

View File

@@ -0,0 +1,4 @@
# Spring Boot main application.properties for Multi-Site (WAN) Caching Example
spring.profiles.group.server-site1=locator-manager,gateway-receiver,gateway-sender
spring.profiles.group.server-site2=locator-manager,gateway-receiver,gateway-sender