Difference between revisions of "GVStatisticsConfig"

From GreenVulcano Wiki
Jump to: navigation, search
(ExtendedData)
(GVBuffer)
 
(2 intermediate revisions by the same user not shown)
Line 130: Line 130:
 
Might contain the sub-elements:
 
Might contain the sub-elements:
 
* Description
 
* Description
* [[#GVBufferProperty|GVBufferProperty]] or [[GVBuffer]] or [[#Metadata|Metadata]]
+
* [[#GVBufferProperty|GVBufferProperty]] or [[#GVBuffer|GVBuffer]] or [[#Metadata|Metadata]]
  
 
=====GVBufferProperty=====
 
=====GVBufferProperty=====
Line 155: Line 155:
  
 
Might contain the sub-element [[Description]].
 
Might contain the sub-element [[Description]].
 +
 +
=====GVBuffer=====
 +
 +
This element represents the input object [[GVBuffer]].
 +
 +
The GVBuffer Element is used by: [[#ExtendedData|ExtendedData]] and Input.
 +
 +
The following table shows the GVBuffer element's attributes:
 +
{|class="gvtable"
 +
! 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:
 +
* [[Description]]
 +
* [[#Data|Data]]
 +
* [[#TestProperties|TestProperties]]
 +
* [[#TestFlow|TestFlow]]
 +
 +
======Data======
 +
 +
This attribute defines the routing. If not valued defaults to "0".
 +
 +
The following table shows the Data element's attributes:
 +
{|class="gvtable"
 +
! Attribute !! Type !! Description
 +
|-
 +
| encoding || optional || This attribute defines the data encoding
 +
|}
 +
 +
Might contain the sub-element:
 +
* [[Description]]
 +
 +
======TestProperties======
 +
 +
This attribute defines the properties of [[#GVBuffer|GVBuffer]].
 +
 +
The following table shows the TestProperties element's attributes:
 +
{|class="gvtable"
 +
! 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:
 +
* [[Description]]
 +
 +
======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:
 +
{|class="gvtable"
 +
! 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:
 +
* [[Description]]
  
 
=====Metadata=====
 
=====Metadata=====

Latest revision as of 10:48, 8 March 2012

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:

  • properties of GVBuffer
  • part of a buffer of GVBuffer
  • the value of a property of the JVM
  • current date

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:

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.