Skip to content

Commit 36618c7

Browse files
leizhiyuanujjboy
authored andcommitted
Add registry parameter to rpc.xsd. (#48)
1 parent d71064f commit 36618c7

File tree

1 file changed

+3
-4
lines changed
  • infra-sofa-boot-starter/src/main/resources/META-INF/com/alipay/sofa/infra/config/spring/namespace/schema

1 file changed

+3
-4
lines changed

infra-sofa-boot-starter/src/main/resources/META-INF/com/alipay/sofa/infra/config/spring/namespace/schema/rpc.xsd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
<xsd:attribute name="loadBalancer" type="xsd:string" use="optional"/>
103103
<xsd:attribute name="lazy" type="xsd:boolean" use="optional"/>
104104
<xsd:attribute name="check" type="xsd:boolean" use="optional"/>
105+
<xsd:attribute name="registry" type="xsd:string" use="optional"/>
105106
</xsd:complexType>
106107

107108
<!-- method in service binding.bolt -->
@@ -112,11 +113,12 @@
112113
<!-- global-attrs in service binding.bolt -->
113114
<xsd:complexType name="BBindingTRSerAttr">
114115
<xsd:attribute name="timeout" type="xsd:int" use="optional"/>
115-
<xsd:attribute name="filter" type="xsd:string" use="optional"/>
116116
<xsd:attribute name="weight" type="xsd:int" use="optional" />
117117
<xsd:attribute name="warm-up-weight" type="xsd:int" use="optional" />
118118
<xsd:attribute name="warm-up-time" type="xsd:int" use="optional" />
119119
<xsd:attribute name="thread-pool-ref" type="xsd:string" use="optional" />
120+
<xsd:attribute name="filter" type="xsd:string" use="optional"/>
121+
<xsd:attribute name="registry" type="xsd:string" use="optional"/>
120122
</xsd:complexType>
121123
<!-- binding.bolt in reference -->
122124
<xsd:complexType name="BBindingTRReference">
@@ -426,9 +428,6 @@
426428
<xsd:attribute name="abstract" type="xsd:boolean" use="optional"/>
427429
<xsd:attribute name="parent" type="xsd:string" use="optional"/>
428430
<xsd:attribute name="unique-id" type="xsd:string" use="optional"/>
429-
430-
<!--<xsd:attribute name="filter" type="xsd:string" use="optional"/>-->
431-
<!--<xsd:attribute name="registry" type="xsd:string" use="optional"/>-->
432431
<xsd:attribute name="loadBalance" type="xsd:string" use="optional"/>
433432
<xsd:attribute name="repeatReferLimit" type="xsd:int" use="optional"/>
434433
</xsd:extension>

0 commit comments

Comments
 (0)