Menu

#98 Telegram Attribute for auto/non-auto configuration needed

1.3.0.0
closed
1435 (1) 1436 (1)
2015-08-28
2015-08-27
Bernd Löhr
No

To better support autoconfiguration through XML file, an additional attribute "create" is needed. Proposal:
<xs:attribute name="create" use="optional">
<xs:annotation>
<xs:documentation>Defines if a publisher/subscriber should be autocreated for this telegram. Only required for use with automatic XML-configuration.</xs:documentation>
</xs:annotation>
<xs:simpletype>
<xs:restriction base="xs:string">
<xs:enumeration value="no">
<xs:enumeration value="auto">
<xs:enumeration value="source">
<xs:enumeration value="sink">
</xs:enumeration></xs:enumeration></xs:enumeration></xs:enumeration></xs:restriction>
</xs:simpletype>
</xs:attribute>

Discussion

  • Armin-Hagen Weiss

    type is already given in type attribute.

     <xs:attribute name="create" default="off" use="optional">
         <xs:annotation>
            <xs:documentation>Defines whether publisher/listener/subscriber should be automatically created based on the given type or not.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="on"/>
            <xs:enumeration value="off"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    
     
  • Armin-Hagen Weiss

    • labels: --> 1435
    • status: open --> closed
    • assigned_to: Armin-Hagen Weiss
     
  • Armin-Hagen Weiss

    Type is already given in type attribute, hence only on/off is necessary.
    <xs:attribute name="create" default="off" use="optional">
    <xs:annotation>
    <xs:documentation>Defines whether publisher/listener/subscriber should be automatically created based on the given type or not.</xs:documentation>
    </xs:annotation>
    <xs:simpletype>
    <xs:restriction base="xs:string">
    <xs:enumeration value="on">
    <xs:enumeration value="off">
    </xs:enumeration></xs:enumeration></xs:restriction>
    </xs:simpletype></xs:attribute>

     
  • Armin-Hagen Weiss

    • labels: 1435 --> 1435, 1436
     

Log in to post a comment.

MongoDB Logo MongoDB