Update seata.xsd

This commit is contained in:
xingfudeshi 2021-05-26 13:02:36 +08:00 committed by GitHub
parent f6f9aa5a53
commit 11ae8df940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 5 deletions

View File

@ -28,7 +28,8 @@
<xsd:complexContent>
<xsd:extension base="beans:identifiedType">
<xsd:sequence>
<xsd:element ref="gtx" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="globalTransactional" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="globalLock" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="applicationId" type="xsd:string" use="required"/>
<xsd:attribute name="txServiceGroup" type="xsd:string" use="required"/>
@ -39,8 +40,7 @@
</xsd:complexType>
</xsd:element>
<xsd:element name="gtx">
<xsd:element name="globalTransactional">
<xsd:complexType>
<xsd:attribute name="timeoutMills" type="xsd:int" use="optional"/>
<xsd:attribute name="name" type="xsd:string" use="optional"/>
@ -49,8 +49,17 @@
<xsd:attribute name="noRollbackFor" type="xsd:string" use="optional"/>
<xsd:attribute name="noRollbackForClassName" type="xsd:string" use="optional"/>
<xsd:attribute name="propagation" type="xsd:string" use="optional"/>
<xsd:attribute name="lockRetry-internal" type="xsd:int" use="optional"/>
<xsd:attribute name="lockRetry-times" type="xsd:int" use="optional"/>
<xsd:attribute name="lockRetryInternal" type="xsd:int" use="optional"/>
<xsd:attribute name="lockRetryTimes" type="xsd:int" use="optional"/>
<xsd:attribute name="scanPackage" type="xsd:string" use="required"/>
<xsd:attribute name="pattern" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="globalLock">
<xsd:complexType>
<xsd:attribute name="lockRetryInterval" type="xsd:int" use="optional"/>
<xsd:attribute name="lockRetryTimes" type="xsd:int" use="optional"/>
<xsd:attribute name="scanPackage" type="xsd:string" use="required"/>
<xsd:attribute name="pattern" type="xsd:string" use="required"/>
</xsd:complexType>