Skip to content

Commit

Permalink
add load balancerClassName to 4.0 xsd's
Browse files Browse the repository at this point in the history
  • Loading branch information
sancar committed Sep 3, 2020
1 parent cdd290c commit 65ebd5b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 15 deletions.
2 changes: 2 additions & 0 deletions hazelcast-spring/src/main/resources/hazelcast-spring-4.0.xsd
Expand Up @@ -3090,9 +3090,11 @@
<xs:restriction base="non-space-string">
<xs:enumeration value="random"/>
<xs:enumeration value="round-robin"/>
<xs:enumeration value="custom"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="class-or-bean-name"/>
</xs:complexType>
<xs:complexType name="near-cache-client">
<xs:complexContent>
Expand Down
35 changes: 20 additions & 15 deletions hazelcast/src/main/resources/hazelcast-client-config-4.0.xsd
Expand Up @@ -112,11 +112,11 @@
<xs:element ref="socket-options" minOccurs="0" maxOccurs="1"/>
<xs:element name="socket-interceptor" type="socket-interceptor" minOccurs="0" maxOccurs="1"/>
<xs:element name="ssl" type="ssl" minOccurs="0" maxOccurs="1"/>
<xs:element name="aws" type="aliased-discovery-strategy" minOccurs="0" maxOccurs="1" />
<xs:element name="gcp" type="aliased-discovery-strategy" minOccurs="0" maxOccurs="1" />
<xs:element name="azure" type="aliased-discovery-strategy" minOccurs="0" maxOccurs="1" />
<xs:element name="kubernetes" type="aliased-discovery-strategy" minOccurs="0" maxOccurs="1" />
<xs:element name="eureka" type="aliased-discovery-strategy" minOccurs="0" maxOccurs="1" />
<xs:element name="aws" type="aliased-discovery-strategy" minOccurs="0" maxOccurs="1"/>
<xs:element name="gcp" type="aliased-discovery-strategy" minOccurs="0" maxOccurs="1"/>
<xs:element name="azure" type="aliased-discovery-strategy" minOccurs="0" maxOccurs="1"/>
<xs:element name="kubernetes" type="aliased-discovery-strategy" minOccurs="0" maxOccurs="1"/>
<xs:element name="eureka" type="aliased-discovery-strategy" minOccurs="0" maxOccurs="1"/>
<xs:element name="discovery-strategies" type="discovery-strategies" minOccurs="0" maxOccurs="1"/>
<xs:element name="outbound-ports" type="outbound-ports" minOccurs="0" maxOccurs="1"/>
<xs:element name="icmp-ping" type="icmp-ping" minOccurs="0" maxOccurs="1"/>
Expand Down Expand Up @@ -249,14 +249,19 @@
</xs:complexType>

<xs:complexType name="load-balancer">
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="non-space-string">
<xs:enumeration value="random"/>
<xs:enumeration value="round-robin"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="non-space-string">
<xs:enumeration value="random"/>
<xs:enumeration value="round-robin"/>
<xs:enumeration value="custom"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="near-cache-client">
<xs:complexContent>
Expand Down Expand Up @@ -827,8 +832,8 @@
</xs:attribute>
</xs:complexType>
<xs:complexType name="username-password">
<xs:attribute name="username" type="xs:string" use="required" />
<xs:attribute name="password" type="xs:string" use="required" />
<xs:attribute name="username" type="xs:string" use="required"/>
<xs:attribute name="password" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="token">
<xs:simpleContent>
Expand Down

0 comments on commit 65ebd5b

Please sign in to comment.