From efa6d1cff49760f175b9b0f27139f1bb049909d1 Mon Sep 17 00:00:00 2001 From: John Blum Date: Wed, 22 Nov 2017 09:54:49 -0800 Subject: [PATCH] SGF-694 - Create SDG XML Namespace schemas (XSDs) for both GFE and GFE-DATA. Set META-INF/spring.schemas appropriately. Remove all old 1.x SDG XML Namespace schemas (XSDs) and Apache Geode XML Namespace schemas (XSDs). --- src/main/resources/META-INF/spring.schemas | 6 +- src/main/resources/META-INF/spring.tooling | 8 +- ...de-1.1.xsd => spring-data-gemfire-2.1.xsd} | 20 +- ...g-geode-1.1.xsd => spring-gemfire-2.1.xsd} | 721 +++++++++--------- 4 files changed, 390 insertions(+), 365 deletions(-) rename src/main/resources/org/springframework/data/gemfire/config/{spring-data-geode-1.1.xsd => spring-data-gemfire-2.1.xsd} (97%) rename src/main/resources/org/springframework/data/gemfire/config/{spring-geode-1.1.xsd => spring-gemfire-2.1.xsd} (98%) diff --git a/src/main/resources/META-INF/spring.schemas b/src/main/resources/META-INF/spring.schemas index c1fd857c..114ca271 100644 --- a/src/main/resources/META-INF/spring.schemas +++ b/src/main/resources/META-INF/spring.schemas @@ -1,4 +1,6 @@ http\://www.springframework.org/schema/gemfire/spring-gemfire-2.0.xsd=org/springframework/data/gemfire/config/spring-gemfire-2.0.xsd -http\://www.springframework.org/schema/gemfire/spring-gemfire.xsd=org/springframework/data/gemfire/config/spring-gemfire-2.0.xsd +http\://www.springframework.org/schema/gemfire/spring-gemfire-2.1.xsd=org/springframework/data/gemfire/config/spring-gemfire-2.1.xsd +http\://www.springframework.org/schema/gemfire/spring-gemfire.xsd=org/springframework/data/gemfire/config/spring-gemfire-2.1.xsd http\://www.springframework.org/schema/data/gemfire/spring-data-gemfire-2.0.xsd=org/springframework/data/gemfire/config/spring-data-gemfire-2.0.xsd -http\://www.springframework.org/schema/data/gemfire/spring-data-gemfire.xsd=org/springframework/data/gemfire/config/spring-data-gemfire-2.0.xsd +http\://www.springframework.org/schema/data/gemfire/spring-data-gemfire-2.1.xsd=org/springframework/data/gemfire/config/spring-data-gemfire-2.1.xsd +http\://www.springframework.org/schema/data/gemfire/spring-data-gemfire.xsd=org/springframework/data/gemfire/config/spring-data-gemfire-2.1.xsd diff --git a/src/main/resources/META-INF/spring.tooling b/src/main/resources/META-INF/spring.tooling index 460138cb..3530cb46 100644 --- a/src/main/resources/META-INF/spring.tooling +++ b/src/main/resources/META-INF/spring.tooling @@ -1,8 +1,8 @@ -# Tooling related information for the gemfire namespace -http\://www.springframework.org/schema/gemfire@name=gemfire Namespace +# Tooling related information for the Spring Data GemFire XML Namespace +http\://www.springframework.org/schema/gemfire@name=Spring GemFire Namespace http\://www.springframework.org/schema/gemfire@prefix=gfe http\://www.springframework.org/schema/gemfire@icon=org/springframework/data/gemfire/config/spring-gemfire.gif # -http\://www.springframework.org/schema/data/gemfire@name=Spring data gemfire Namespace +http\://www.springframework.org/schema/data/gemfire@name=Spring Data GemFire Namespace http\://www.springframework.org/schema/data/gemfire@prefix=gfe-data -http\://www.springframework.org/schema/data/gemfire@icon=org/springframework/data/gemfire/config/spring-gemfire.gif \ No newline at end of file +http\://www.springframework.org/schema/data/gemfire@icon=org/springframework/data/gemfire/config/spring-gemfire.gif diff --git a/src/main/resources/org/springframework/data/gemfire/config/spring-data-geode-1.1.xsd b/src/main/resources/org/springframework/data/gemfire/config/spring-data-gemfire-2.1.xsd similarity index 97% rename from src/main/resources/org/springframework/data/gemfire/config/spring-data-geode-1.1.xsd rename to src/main/resources/org/springframework/data/gemfire/config/spring-data-gemfire-2.1.xsd index bdd6e7ae..c31ba8a3 100644 --- a/src/main/resources/org/springframework/data/gemfire/config/spring-data-geode-1.1.xsd +++ b/src/main/resources/org/springframework/data/gemfire/config/spring-data-gemfire-2.1.xsd @@ -1,23 +1,24 @@ - + version="2.1"> + - + + - + @@ -175,7 +176,7 @@ native GemFire PdxInstance type. True, by default but will incur significant ove - + + diff --git a/src/main/resources/org/springframework/data/gemfire/config/spring-geode-1.1.xsd b/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-2.1.xsd similarity index 98% rename from src/main/resources/org/springframework/data/gemfire/config/spring-geode-1.1.xsd rename to src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-2.1.xsd index 46656697..0961d44f 100644 --- a/src/main/resources/org/springframework/data/gemfire/config/spring-geode-1.1.xsd +++ b/src/main/resources/org/springframework/data/gemfire/config/spring-gemfire-2.1.xsd @@ -1,17 +1,16 @@ - + version="2.1"> + + + + + + + @@ -197,6 +207,16 @@ JavaDocs for org.apache.geode.cache.control.ResourceManager for more information Set the percentage of heap at or above which the eviction should begin on Regions configured for HeapLRU eviction. This feature requires additional VM flags to perform properly (see the JavaDocs for org.apache.geode.cache.control.ResourceManager for more information). + ]]> + + + + + @@ -345,103 +365,6 @@ with Spring configuration meta-data that is specific to the application's needs. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -504,68 +427,6 @@ Notifies the server that this durable client is ready to receive updates. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -580,7 +441,7 @@ Comma-delimited list of Server endpoints used by this Pool in the form of: host1 - + @@ -589,7 +450,7 @@ The name of the region definition.]]> - + - + @@ -999,6 +860,15 @@ for the "same" Region (by name), then this can cause confusion or have unexpecte ]]> + + + + + - + @@ -1181,15 +1051,6 @@ use inner bean declarations. - - - - - - + - + - + - + - + - + @@ -2226,7 +2087,7 @@ The name of the bean defining the GemFire cache (by default 'gemfireCache'). - + @@ -2300,6 +2161,61 @@ use inner bean declarations. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2502,7 +2418,269 @@ The name of the bean defining the GemFire cache (by default 'gemfireCache'). - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -2655,164 +2833,7 @@ NONE - Does not initialize the local Cache. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2904,7 +2925,7 @@ Boolean value that determines whether GemFire persists the Gateway Queue or Asyn - + - @@ -2986,7 +3006,7 @@ The id of the cache - default is gemfireCache - + - - + + +