GVStatisticsConfig
Description
This element represents the root element for GreenVulcano® ESB Statistics.
GreenVulcano® ESB Configuration
The following table shows the GVStatisticsConfig element's attributes:
| Attribute | Type | Description |
|---|---|---|
| type | fixed | This attribute must assume the value module |
| name | fixed | This attribute must assume the value STATISTICS |
GVJavaScriptConfig contains the sub-elements:
Writers
Contains the sub-elements:
The following table shows the Writers element's attributes:
| Attribute | Type | Description |
|---|---|---|
| default | required | Default Statistics writer. |
DUMMYStatisticsWriter
DUMMY Writer plug-in parameters.
Default plug-in for statistics. Can be used when are problem on other statistics writers. It DOES NOT make historicity of data.
Might contain the sub-element Description.
The following table shows the DUMMYStatisticsWriter element's attributes:
| Attribute | Type | Description |
|---|---|---|
| type | fixed | This attribute must assume the value stat-writer |
| class | fixed | This attribute must assume the value it.greenvulcano.gvesb.statistics.plugin.DUMMYStatisticsWriter |
| id | fixed | This attribute must assume the value DUMMY_STORE |
JDBCStatisticsWriter
JDBC Writer plug-in connection parameters.
Can be used for writing statistics information on DB.
Might contain the sub-elements:
The following table shows the JDBCStatisticsWriter element's attributes:
| Attribute | Type | Description |
|---|---|---|
| type | fixed | This attribute must assume the value stat-writer |
| class | fixed | This attribute must assume the value it.greenvulcano.gvesb.statistics.plugin.JDBCStatisticsWriter |
| id | required | Writer id. |
| dataSource | required | JDBC DataSorce JNDI name. |
JMSStatisticsWriter
JMS Writer plug-in connection parameters.
Can be used for writing statistics information on a JMS Queue.
Might contain the sub-elements:
The following table shows the JMSStatisticsWriter element's attributes:
| Attribute | Type | Description |
|---|---|---|
| type | fixed | This attribute must assume the value stat-writer |
| class | fixed | This attribute must assume the value it.greenvulcano.gvesb.statistics.plugin.JMSStatisticsWriter |
| id | required | Writer id. |
| connectionFactory | required | JMS QueueConnectionFactory JNDI name. |
| queue | required | JMS Queue JNDI name. |
ExtendedDataMappings
Contains the sub-elements:
ExtendedData
This element defines for each couple System / Service further data typologies to use for statistics, as:
The following table shows the ExtendedData element's attributes:
| Attribute | Type | Description |
|---|---|---|
| system | required | GreenVulcano® ESB system.
The attribute's value cannot be null. |
| service | required | GreenVulcano® ESB system's service.
The attribute's value cannot be null. |
Might contain the sub-elements:
- Description
- GVBufferProperty or GVBuffer or Metadata
GVBufferProperty
This element defines a GVBuffer property to save in the statistics storage.
The following table shows the GVBufferProperty element's attributes:
| Attribute | Type | Description |
|---|---|---|
| type | fixed | Unmodifiable. Used by GreenVulcano® ESB factory framework.
This attribute must assume the value data-mapping. |
| class | fixed | Unmodifiable. Used by GreenVulcano® ESB factory framework.
This attribute must assume the value it.greenvulcano.gvesb.statistics.datawrapper.GVBufferPropertyWrapper. |
| storeField | required | Defines the store object name.
In case of JDBC Store the field maps table column. The attribute's value cannot be null. |
| property | required | The property name.
The attribute's value cannot be null. |
Might contain the sub-element Description.
GVBuffer
This element represents the input object GVBuffer.
The GVBuffer Element is used by: ExtendedData and Input.
The following table shows the GVBuffer element's attributes:
| Attribute | Type | Description |
|---|---|---|
| system | required | This attribute defines the name of the System |
| service | required | This attribute defines the name of the Service |
| id | optional | This attribute defines the ID. If not valued it's automatically generated. |
Might contain the sub-elements:
Data
This attribute defines the routing. If not valued defaults to "0".
The following table shows the Data element's attributes:
| Attribute | Type | Description |
|---|---|---|
| encoding | optional | This attribute defines the data encoding |
Might contain the sub-element:
TestProperties
This attribute defines the properties of GVBuffer.
The following table shows the TestProperties element's attributes:
| Attribute | Type | Description |
|---|---|---|
| name | required | This attribute defines the name of the property. |
| value | required | This attribute defines the value of the property. |
Might contain the sub-element:
TestFlow
This element represents the flow of methods to be run to execute the services in the list of multiple testing.
The following table shows the TestFlow element's attributes: The following table shows the TestProperties element's attributes:
| Attribute | Type | Description |
|---|---|---|
| forwardName | required | This attribute defines the Forward name. |
| method | required | This attribute defines the method to call. |
Might contain the sub-element:
Metadata
Defines the rules to process a metadata and stores it in the statistics storage.
The following table shows the Metadata element's attributes:
| Attribute | Type | Description |
|---|---|---|
| type | fixed | Unmodifiable. Used by GreenVulcano® ESB factory framework.
This attribute must assume the value data-mapping. |
| class | fixed | Unmodifiable. Used by GreenVulcano® ESB factory framework.
This attribute must assume the value it.greenvulcano.gvesb.statistics.datawrapper.MetadataWrapper. |
| storeField | required | Defines the store object name.
In case of JDBC Store the field maps table column. The attribute's value cannot be null. |
| expression | required | The expression can be a combination of placeholders.
The attribute's value cannot be null. |
Might contain the sub-element Description.