Difference between revisions of "GVDataTransformation"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "==Description== GVDataTransformation is a {{GVESB}} element that allows to define the Transformations used in the processes. =={{VULCON}} / {{GVCONSOLE}} Configuration== [[Fi...")
 
Line 20: Line 20:
 
Its subelements are:
 
Its subelements are:
 
* Description
 
* Description
* [[DataSourceSets]]
+
* DataSourceSets: containing the elements [[DataSourceSet]]
 
* [[Startup]]
 
* [[Startup]]
 
* [[Transformations]]
 
* [[Transformations]]
 +
 +
===DataSourceSet===
 +
 +
The DataSourceSet elements define the sources of configuration data.
 +
 +
The following table shows the DataSourceSet element's attributes:
 +
{|class="gvtable"
 +
! Attribute !! Type !! Description
 +
|-
 +
| name || required || DataSourceSet name. Must be present a DataSourceSet with name = "Default"
 +
|}
 +
 +
Contain the following attributes:
 +
* Description
 +
* LocalFSDataSource
 +
 +
====LocalFSDataSource====
 +
 +
This element defines a configuration source on local file system.
 +
 +
The following table shows the LocalFSDataSource element's attributes:
 +
{|class="gvtable"
 +
! Attribute !! Type !! Description
 +
|-
 +
| type || fixed || This attribute must assume the value '''datasource'''.
 +
|-
 +
| class || This attribute must assume the value '''it.greenvulcano.gvesb.gvdte.config.LocalFSDataSource'''.
 +
|-
 +
| name || required || Datasource name.
 +
|-
 +
| repositoryHome || required || Base directory for configuration information.
 +
|-
 +
| formatHandled || required || Defines the data format handled by the DataSource, the format is the comma separated list of file extensions.
 +
|-
 +
| cache || optional || Defines if the requested resources can be cached, to speed up future access. The attribute's admitted values are:
 +
* no
 +
* yes
 +
|-
 +
| formatHandlerClass || optional || Defines a formatHandled specific handler.
 +
|}

Revision as of 08:59, 12 February 2012

Description

GVDataTransformation is a GreenVulcano® ESB element that allows to define the Transformations used in the processes.

VulCon / GV Console Configuration

GVDataTransformation in VulCon

The GVDataTransformation Element is visible from the Core View of VulCon as a child of GVCore.

The following table shows the GVDataTransformation element's attributes:

Attribute Type Description
type fixed This attribute must assume the value module.
name fixed This attribute must assume the value GVDT.
make-hex-dump optional Set if must be performed a hex dump of byte[] buffers. Default to "true".

Its subelements are:

DataSourceSet

The DataSourceSet elements define the sources of configuration data.

The following table shows the DataSourceSet element's attributes:

Attribute Type Description
name required DataSourceSet name. Must be present a DataSourceSet with name = "Default"

Contain the following attributes:

  • Description
  • LocalFSDataSource

LocalFSDataSource

This element defines a configuration source on local file system.

The following table shows the LocalFSDataSource element's attributes:

Attribute Type Description
type fixed This attribute must assume the value datasource.
class This attribute must assume the value it.greenvulcano.gvesb.gvdte.config.LocalFSDataSource.
name required Datasource name.
repositoryHome required Base directory for configuration information.
formatHandled required Defines the data format handled by the DataSource, the format is the comma separated list of file extensions.
cache optional Defines if the requested resources can be cached, to speed up future access. The attribute's admitted values are:
  • no
  • yes
formatHandlerClass optional Defines a formatHandled specific handler.