SGF-289 - Enumeration restrictions (xsd:enumeration) should be avoided in the XML schema.

Removed the XSD enumeration restriction on the 'scope' attribute of the 'baseReplicatedRegionType' complexType, Region element definition in the SDG XSD allowing the use of property placeholders to specify a GemFire Cache Region's Scope for different distribution patterns.  In addition, completely removed the 'scopeType' simpleType element definition in the SDG XSD.
This commit is contained in:
John Blum
2015-02-03 10:01:07 -08:00
parent 54821dcc66
commit 9b951666b0
12 changed files with 396 additions and 38 deletions

View File

@@ -1090,10 +1090,14 @@ as only they allow locking. GemFire default is false.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="scope" type="xsd:string">
<xsd:attribute name="scope" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
Specifies the scope for this region: distributed-ack,distributed-no-ack, global
Specifies the Scope for this Region: distributed-ack, distributed-no-ack, global
Scope determines how updates to Region Entries are distributed to the other Caches in the Distributed System where
the Region and Entry are defined. Scope also determines whether to allow remote invocation of some of
the Regions event handlers.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
@@ -2842,21 +2846,6 @@ The id of the function service (optional)
</xsd:complexType>
</xsd:element>
<!-- -->
<xsd:simpleType name="scopeType">
<xsd:annotation>
<xsd:documentation><![CDATA[
Determines how updates to Region Entries are distributed to the other Caches in the Distributed System where
the Region and Entry are defined. Scope also determines whether to allow remote invocation of some of
the Regions event handlers
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="distributed-ack" />
<xsd:enumeration value="distributed-no-ack" />
<xsd:enumeration value="global" />
</xsd:restriction>
</xsd:simpleType>
<!-- -->
<xsd:complexType name="gatewayEventFilterType">
<xsd:annotation>
<xsd:documentation source="com.gemstone.gemfire.cache.wan.GatewayEventFilter"><![CDATA[