You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by ru...@apache.org on 2010/05/18 17:59:56 UTC
svn commit: r945723 - in /synapse/trunk/java/repository/schema: endpoint.xsd
misc/common.xsd
Author: ruwan
Date: Tue May 18 15:59:55 2010
New Revision: 945723
URL: http://svn.apache.org/viewvc?rev=945723&view=rev
Log:
Adding further to the endpoints schema
Modified:
synapse/trunk/java/repository/schema/endpoint.xsd
synapse/trunk/java/repository/schema/misc/common.xsd
Modified: synapse/trunk/java/repository/schema/endpoint.xsd
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/schema/endpoint.xsd?rev=945723&r1=945722&r2=945723&view=diff
==============================================================================
--- synapse/trunk/java/repository/schema/endpoint.xsd (original)
+++ synapse/trunk/java/repository/schema/endpoint.xsd Tue May 18 15:59:55 2010
@@ -59,6 +59,11 @@
</xs:complexType>
<xs:group name="leafEndpoints">
+ <xs:annotation>
+ <xs:documentation source="description">
+ This group represents the set of leaf level endpoints
+ </xs:documentation>
+ </xs:annotation>
<xs:choice>
<xs:element name="default" type="DefaultEndpoint"/>
<xs:element name="address">
@@ -71,6 +76,11 @@
</xs:group>
<xs:group name="aggregatedEndpoints">
+ <xs:annotation>
+ <xs:documentation source="description">
+ This group represents the secondary endpoints like load balance and fail over
+ </xs:documentation>
+ </xs:annotation>
<xs:choice>
<xs:element name="loadbalance">
<xs:complexType>
@@ -131,7 +141,35 @@
</xs:complexType>
</xs:element>
</xs:all>
- <xs:attributeGroup ref="monitoringAspect"/>
+ <xs:attributeGroup ref="commonEndpoint"/>
</xs:complexType>
+ <xs:attributeGroup name="commonEndpoint">
+ <xs:annotation>
+ <xs:documentation source="description">
+ This group of attributes represents the common endpoint attribute set
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="format" use="optional">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="soap11"/>
+ <xs:enumeration value="soap12"/>
+ <xs:enumeration value="pox"/>
+ <xs:enumeration value="get"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="optimize" use="optional">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="mtom"/>
+ <xs:enumeration value="swa"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="encoding" type="xs:string" use="optional"/>
+ <xs:attributeGroup ref="monitoringAspect"/>
+ </xs:attributeGroup>
+
</xs:schema>
\ No newline at end of file
Modified: synapse/trunk/java/repository/schema/misc/common.xsd
URL: http://svn.apache.org/viewvc/synapse/trunk/java/repository/schema/misc/common.xsd?rev=945723&r1=945722&r2=945723&view=diff
==============================================================================
--- synapse/trunk/java/repository/schema/misc/common.xsd (original)
+++ synapse/trunk/java/repository/schema/misc/common.xsd Tue May 18 15:59:55 2010
@@ -51,11 +51,23 @@
</xs:element>
<xs:attributeGroup name="monitoringAspect">
+ <xs:annotation>
+ <xs:documentation source="description">
+ This group of attributes represents the statistics and tracing of sequences,
+ proxy services and endpoints
+ </xs:documentation>
+ </xs:annotation>
<xs:attribute name="statistics" default="disabled" type="enableDisable" use="optional"/>
<xs:attribute name="trace" default="disabled" type="enableDisable" use="optional"/>
</xs:attributeGroup>
<xs:simpleType name="enableDisable">
+ <xs:annotation>
+ <xs:documentation source="description">
+ This simple type represents the possible values for the statistics and tracing
+ attributes
+ </xs:documentation>
+ </xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="enable"/>
<xs:enumeration value="disable"/>