perf[module]: 优化了net-1.0.xsd中默认为hash一致性 调整下xsd文件中protocol-module和provider顺序

This commit is contained in:
jianan committed 2022-07-08 19:01:34 +08:00
1 parent 4528d3af26
commit b4f60ecc9e
1 file changed
+2 -2
+2 -2
View File
@@ -27,7 +27,7 @@
<xsd:sequence>
<xsd:element name="provider" maxOccurs="unbounded" type="providerAttributeType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="task-dispatch" type="xsd:string" use="required"/>
<xsd:attribute name="task-dispatch" type="xsd:string" default="consistent-hash"/>
<xsd:attribute name="thread" type="xsd:string" use="optional"/>
<xsd:attribute name="address" type="xsd:string" use="optional"/>
</xsd:complexType>
@@ -39,8 +39,8 @@
</xsd:complexType>
<xsd:complexType name="providerAttributeType">
<xsd:attribute name="provider" type="xsd:string" use="required"/>
<xsd:attribute name="protocol-module" type="xsd:string" use="required"/>
<xsd:attribute name="provider" type="xsd:string" use="required"/>
</xsd:complexType>
<xsd:complexType name="consumerAttributeType">