SGF-396 - Enable support for variable Locator and Server endpoints on a SDG GFE Pool bean definition in a Spring Context.
Removed the SDG XSD schema restriction requiring the use of at least 1 <gfe:locator> of <gfe:server> sub-element on the <gfe:pool> element. Also added a default Locator endpoint on localhost listening on the Locators default port of 10334 when no Locator or Server endpoints were specified, either by way of explicit use of the 'locators' or 'servers' attribute or a corresponding <gfe:locator> or <gfe:server> sub-element.
This commit is contained in:
@@ -2052,11 +2052,9 @@ Note that in order to instantiate a pool, a GemFire cache needs to be already st
|
||||
</xsd:appinfo>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="locator" type="connectionType"
|
||||
minOccurs="1" maxOccurs="unbounded" />
|
||||
<xsd:element name="server" type="connectionType"
|
||||
minOccurs="1" maxOccurs="unbounded" />
|
||||
<xsd:choice>
|
||||
<xsd:element name="locator" type="connectionType" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xsd:element name="server" type="connectionType" minOccurs="0" maxOccurs="unbounded"/>
|
||||
</xsd:choice>
|
||||
<xsd:attribute name="id" type="xsd:string" use="optional">
|
||||
<xsd:annotation>
|
||||
|
||||
@@ -2052,11 +2052,9 @@ Note that in order to instantiate a pool, a GemFire cache needs to be already st
|
||||
</xsd:appinfo>
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:choice minOccurs="1" maxOccurs="1">
|
||||
<xsd:element name="locator" type="connectionType"
|
||||
minOccurs="1" maxOccurs="unbounded" />
|
||||
<xsd:element name="server" type="connectionType"
|
||||
minOccurs="1" maxOccurs="unbounded" />
|
||||
<xsd:choice>
|
||||
<xsd:element name="locator" type="connectionType" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xsd:element name="server" type="connectionType" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xsd:choice>
|
||||
<xsd:attribute name="id" type="xsd:string" use="optional">
|
||||
<xsd:annotation>
|
||||
|
||||
Reference in New Issue
Block a user