LiveView Configuration File Reference
The LiveView configuration file is generated by TIBCO BusinessEvents representing a BusinessEvents entity (such as, concept, event, or metric). The LiveView configuration file is used by LiveView Server to create the corresponding LiveView tables.
For each entity that is configured in the LiveView agent, a XML configuration file is generated. Each property of the instance is transformed to a field of LiveView table. The configuration file also record the datatype of each property. The
id
field is used as the primary key and the
extid
field is used as the secondary key for the table. Additional indexes for fields can be added based on the
Properties Metadata section in the CDD file ( ).
The following sample shows the XML configuration for the an example concept Account:
Sample Concepts_Account.lvconf Code
<?xml version="1.0" encoding="UTF-8"?>
<liveview-configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.streambase.com/schemas/lvconf/">
<data-table id="Concepts_Account">
<fields>
<field name="Balance" type="double"/>
<field name="Debits" type="int"/>
<field name="Status" type="string"/>
<field name="AvgMonthlyBalance" type="double"/>
<field name="Created" type="timestamp"/>
<field name="Updated" type="timestamp"/>
<field name="Address" type="long"/>
<field name="FraudAttempt" type="int"/>
<field name="Reason" type="string"/>
<field name="DebitUpdate" type="timestamp"/>
<field name="DebitCount" type="int"/>
<field name="id" type="long"/>
<field name="extId" type="string"/>
<field name="version__" type="int"/>
<field name="typeId__" type="int"/>
<field name="deleted__" type="bool"/>
</fields>
<primary-key>
<field ref="id"/>
</primary-key>
<indices>
<index>
<field ref="extId"/>
</index>
</indices>
</data-table>
</liveview-configuration>