浏览代码

Merge pull request #8785 from gaojx/h15657_logging_filter_type2

HPCC-15657: ESPLogging Agent: Filters Type should be enumeration

Reviewed-By: Rodrigo Pastrana <rodrigo.pastrana@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 年之前
父节点
当前提交
5b14bf41c4
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      initfiles/componentfiles/configxml/esploggingagent.xsd

+ 10 - 1
initfiles/componentfiles/configxml/esploggingagent.xsd

@@ -107,12 +107,21 @@
                 </xs:appinfo>
               </xs:annotation>
             </xs:attribute>
-            <xs:attribute name="type" type="xs:string" use="optional">
+            <xs:attribute name="type" use="optional">
               <xs:annotation>
                 <xs:appinfo>
                   <colIndex>2</colIndex>
                 </xs:appinfo>
               </xs:annotation>
+              <xs:simpleType>
+                <xs:restriction base="xs:string">
+                  <xs:enumeration value="ESPContext"/>
+                  <xs:enumeration value="UserContext"/>
+                  <xs:enumeration value="UserRequest"/>
+                  <xs:enumeration value="UserResponse"/>
+                  <xs:enumeration value="BackEndResponse"/>
+                 </xs:restriction>
+               </xs:simpleType>              
             </xs:attribute>
           </xs:complexType>
         </xs:element>