Additional changes for JIRA feature request SGF-226 supporting GemFire's new Cluster-based Configuration Service. Renamed the CacheUsingSharedConfigurationIntegrationTest class to CacheClusterConfigurationIntegrationTest and added an additional test case to assert the default, non-use of cluster configuration behavior. Renamed GemFire System properties references for enabling/disabling Cluster Config based revision r48252 in GemFire 8.
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfirePeerCacheConfigurationSettings" use-bean-factory-locator="false"
|
||||
use-shared-configuration="true" cache-xml-location="/sharedconfig-test-cache.xml" lazy-init="false"/>
|
||||
use-cluster-configuration="true" cache-xml-location="/sharedconfig-test-cache.xml" lazy-init="false"/>
|
||||
|
||||
<gfe:lookup-region id="SharedConfigRegion"/>
|
||||
<gfe:lookup-region id="ClusterConfigRegion"/>
|
||||
|
||||
<gfe:lookup-region id="NativeLocalRegion"/>
|
||||
<gfe:lookup-region id="NativePartitionRegion"/>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:gfe="http://www.springframework.org/schema/gemfire"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
|
||||
">
|
||||
|
||||
<util:properties id="gemfirePeerCacheConfigurationSettings">
|
||||
<prop key="name">CacheNotUsingSharedConfigurationIntegrationTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">config</prop>
|
||||
<prop key="locators">localhost[20668]</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfirePeerCacheConfigurationSettings" use-bean-factory-locator="false"
|
||||
use-cluster-configuration="false" cache-xml-location="/sharedconfig-test-cache.xml" lazy-init="false"/>
|
||||
|
||||
<!-- Should throw an Exception! -->
|
||||
<gfe:lookup-region id="ClusterConfigRegion"/>
|
||||
|
||||
</beans>
|
||||
Binary file not shown.
Reference in New Issue
Block a user