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