From bb9072bed15217b584bc1dbe599623b91ed83f57 Mon Sep 17 00:00:00 2001 From: David Turanski Date: Tue, 12 Mar 2013 17:19:45 -0400 Subject: [PATCH] fixed xsd problems --- .../gemfire/config/spring-gemfire-1.3.xsd | 125 +++--------------- .../gemfire/config/CacheSubscriptionTest.java | 4 +- .../data/gemfire/config/subscription-ns.xml | 14 +- 3 files changed, 24 insertions(+), 119 deletions(-) diff --git a/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-1.3.xsd b/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-1.3.xsd index ae9ae4a9..9f5f4037 100755 --- a/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-1.3.xsd +++ b/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-1.3.xsd @@ -947,39 +947,24 @@ up to date copy of the data. - - - + - + ]]> + - - - - - - - - - + - - + - @@ -995,8 +980,7 @@ The action to take when performing eviction. - - + @@ -1074,29 +1058,6 @@ Defines a GemFire local region instance. Each local region is scoped only to the - - - - - - - - - - - - - - - - - - - + @@ -1217,7 +1178,7 @@ is created or any bucket in a partitioned region becomes primary @@ -1226,7 +1187,7 @@ is created or any bucket in a partitioned region becomes primary @@ -1235,7 +1196,7 @@ Specifies the fixed partition name @@ -1243,7 +1204,7 @@ Specifies if this member is primary for this partition @@ -1252,22 +1213,11 @@ Specifies the number of buckets to allocate to the fixed partition - +Subscription policy for the partitioned region. + ]]> + - - - - - - - - - + @@ -1291,27 +1241,6 @@ The action to take when performing eviction. - - - - - - - - - - - - - - - - @@ -1561,30 +1490,6 @@ reclaim memory. - - - - - - - - - - - - - - - - - - - - diff --git a/src/test/java/org/springframework/data/gemfire/config/CacheSubscriptionTest.java b/src/test/java/org/springframework/data/gemfire/config/CacheSubscriptionTest.java index 12bee4a6..08c5a88c 100644 --- a/src/test/java/org/springframework/data/gemfire/config/CacheSubscriptionTest.java +++ b/src/test/java/org/springframework/data/gemfire/config/CacheSubscriptionTest.java @@ -20,13 +20,13 @@ import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; -import org.springframework.data.gemfire.test.GemfireTestRunner; import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; /** * @author Lyndon Adams */ -@RunWith(GemfireTestRunner.class) +@RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration("/org/springframework/data/gemfire/config/subscription-ns.xml") public class CacheSubscriptionTest{ @Autowired ApplicationContext ctx; diff --git a/src/test/resources/org/springframework/data/gemfire/config/subscription-ns.xml b/src/test/resources/org/springframework/data/gemfire/config/subscription-ns.xml index 2ffea490..87ccc857 100644 --- a/src/test/resources/org/springframework/data/gemfire/config/subscription-ns.xml +++ b/src/test/resources/org/springframework/data/gemfire/config/subscription-ns.xml @@ -1,20 +1,20 @@ + default-lazy-init="true" + xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"> - - + + - + +