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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user