client-model.xml
1.32 KB
<?xml version="1.0" encoding="UTF-8"?>
<model model-package="com.dianping.cat.configuration.client" enable-sax-parser="true" enable-validator="true"
enable-xml-schema="true" enable-merger="true">
<entity name="config" class-name="ClientConfig" root="true" dynamic-attributes="true">
<attribute name="mode" required="true" />
<attribute name="enabled" value-type="boolean" default-value="true"/>
<element name="base-log-dir" value-type="String" default-value="target/catlog" />
<entity-ref name="domain" type="map" names="domains" />
<entity-ref name="property" type="map" names="properties" />
</entity>
<entity name="server">
<attribute name="ip" value-type="String" key="true" />
<attribute name="port" value-type="int" default-value="2280" />
<attribute name="http-port" value-type="int" default-value="8080" />
<attribute name="enabled" value-type="boolean" default-value="true"/>
</entity>
<entity name="domain">
<attribute name="id" value-type="String" key="true" />
<attribute name="max-message-size" value-type="int" primitive="true" default-value="1000" />
</entity>
<entity name="bind">
<attribute name="port" primitive="true" default-value="2280" />
</entity>
<entity name="property">
<attribute name="name" value-type="String" key="true" />
</entity>
</model>