topology-graph-config-codegen.xml 1.54 KB
<?xml version="1.0" encoding="UTF-8"?>
<model>
  <entity name="topology-graph-config" root="true">
    <entity-ref name="node-config" type="list" names="node-configs" />
    <entity-ref name="edge-config" type="list" names="edge-configs" />
  </entity>
  <entity name="node-config">
    <attribute name="type" value-type="String" />
    <attribute name="default-warning-threshold" value-type="int" />
    <attribute name="default-error-threshold" value-type="int" />
    <attribute name="default-warning-response-time" value-type="double" />
    <attribute name="default-error-response-time" value-type="double" />
    <entity-ref name="domain-config" type="list" names="domain-configs" />
  </entity>
  <entity name="domain-config">
    <attribute name="id" value-type="String" />
    <attribute name="warning-threshold" value-type="int" />
    <attribute name="error-threshold" value-type="int" />
    <attribute name="warning-response-time" value-type="double" />
    <attribute name="error-response-time" value-type="double" />
  </entity>
  <entity name="edge-config">
    <attribute name="key" value-type="String" />
    <attribute name="type" value-type="String" />
    <attribute name="from" value-type="String" />
    <attribute name="to" value-type="String" />
    <attribute name="warning-threshold" value-type="int" />
    <attribute name="error-threshold" value-type="int" />
    <attribute name="warning-response-time" value-type="double" />
    <attribute name="error-response-time" value-type="double" />
  </entity>
</model>