src-db/database/model/tables/AD_HEARTBEAT_LOG.xml
author Iván Perdomo <ivan.perdomo@openbravo.com>
Fri, 18 Sep 2009 18:55:50 +0200
changeset 5056 dbb3c607e63d
parent 4918 cac65c995c92
child 8593 2e8132abb5bd
permissions -rw-r--r--
[hb] Added support in the client for type of beats
- Added a new beat_type column to the ad_heartbeat_log
- Implemented logic in TestHeartbeat and HeartbeatProcess to handle
the type of beat
- Code clean up
juanpablo@721
     1
<?xml version="1.0"?>
juanpablo@721
     2
  <database name="TABLE AD_HEARTBEAT_LOG">
juanpablo@721
     3
    <table name="AD_HEARTBEAT_LOG" primaryKey="AD_HEARTBEAT_LOG_KEY">
juanpablo@1605
     4
      <column name="AD_HEARTBEAT_LOG_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
     5
        <default/>
antonio@735
     6
        <onCreateDefault/>
antonio@735
     7
      </column>
juanpablo@1605
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
     9
        <default/>
antonio@735
    10
        <onCreateDefault/>
antonio@735
    11
      </column>
juanpablo@1605
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    13
        <default/>
antonio@735
    14
        <onCreateDefault/>
antonio@735
    15
      </column>
antonio@735
    16
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    17
        <default><![CDATA[Y]]></default>
antonio@735
    18
        <onCreateDefault/>
antonio@735
    19
      </column>
antonio@735
    20
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    21
        <default><![CDATA[SYSDATE]]></default>
antonio@735
    22
        <onCreateDefault/>
antonio@735
    23
      </column>
juanpablo@1605
    24
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    25
        <default/>
antonio@735
    26
        <onCreateDefault/>
antonio@735
    27
      </column>
antonio@735
    28
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    29
        <default><![CDATA[SYSDATE]]></default>
antonio@735
    30
        <onCreateDefault/>
antonio@735
    31
      </column>
juanpablo@1605
    32
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    33
        <default/>
antonio@735
    34
        <onCreateDefault/>
antonio@735
    35
      </column>
antonio@735
    36
      <column name="SYSTEM_IDENTIFIER" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
    37
        <default/>
antonio@735
    38
        <onCreateDefault/>
antonio@735
    39
      </column>
antonio@735
    40
      <column name="ISHEARTBEATACTIVE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
    41
        <default/>
antonio@735
    42
        <onCreateDefault/>
antonio@735
    43
      </column>
antonio@735
    44
      <column name="ISPROXYREQUIRED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
jayakumar@3832
    48
      <column name="PROXY_SERVER" primaryKey="false" required="false" type="NVARCHAR" size="100" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
antonio@735
    52
      <column name="PROXY_PORT" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    53
        <default/>
antonio@735
    54
        <onCreateDefault/>
antonio@735
    55
      </column>
antonio@735
    56
      <column name="ACTIVITY_RATE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
    57
        <default/>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
antonio@735
    60
      <column name="COMPLEXITY_RATE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
    61
        <default/>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
antonio@735
    64
      <column name="OS" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
ivan@4918
    68
      <column name="OS_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="100" autoIncrement="false">
antonio@735
    69
        <default/>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
antonio@735
    72
      <column name="DB" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    73
        <default/>
antonio@735
    74
        <onCreateDefault/>
antonio@735
    75
      </column>
antonio@735
    76
      <column name="DB_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    77
        <default/>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
antonio@735
    80
      <column name="SERVLET_CONTAINER" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    81
        <default/>
antonio@735
    82
        <onCreateDefault/>
antonio@735
    83
      </column>
antonio@735
    84
      <column name="SERVLET_CONTAINER_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    85
        <default/>
antonio@735
    86
        <onCreateDefault/>
antonio@735
    87
      </column>
antonio@735
    88
      <column name="WEBSERVER" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    89
        <default/>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
antonio@735
    92
      <column name="WEBSERVER_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    93
        <default/>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
antonio@735
    96
      <column name="JAVA_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    97
        <default/>
antonio@735
    98
        <onCreateDefault/>
antonio@735
    99
      </column>
antonio@735
   100
      <column name="ANT_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
   101
        <default/>
antonio@735
   102
        <onCreateDefault/>
antonio@735
   103
      </column>
antonio@735
   104
      <column name="OB_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
   105
        <default/>
antonio@735
   106
        <onCreateDefault/>
antonio@735
   107
      </column>
antonio@735
   108
      <column name="OB_INSTALLMODE" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
   109
        <default/>
antonio@735
   110
        <onCreateDefault/>
antonio@735
   111
      </column>
antonio@735
   112
      <column name="NUM_REGISTERED_USERS" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   113
        <default/>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
awolski@3249
   116
      <column name="CODE_REVISION" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
anthony@929
   117
        <default><![CDATA[0]]></default>
anthony@929
   118
        <onCreateDefault/>
anthony@929
   119
      </column>
ivan@5056
   120
      <column name="BEAT_TYPE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
ivan@5056
   121
        <default><![CDATA[U]]></default>
ivan@5056
   122
        <onCreateDefault/>
ivan@5056
   123
      </column>
martin@2771
   124
      <foreign-key foreignTable="AD_CLIENT" name="AD_HEARTBEAT_LOG_AD_CLIENT">
martin@2771
   125
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
martin@2771
   126
      </foreign-key>
martin@2771
   127
      <foreign-key foreignTable="AD_ORG" name="AD_HEARTBEAT_LOG_AD_ORG">
martin@2771
   128
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
martin@2771
   129
      </foreign-key>
juanpablo@721
   130
    </table>
juanpablo@721
   131
  </database>