Difference between revisions of "GVWorkbenchConfig"

From GreenVulcano Wiki
Jump to: navigation, search
(Input)
 
(2 intermediate revisions by the same user not shown)
Line 116: Line 116:
 
Might contain the sub-elements:
 
Might contain the sub-elements:
 
* [[Description]]
 
* [[Description]]
* [[#GVBuffer|GVBuffer]]
+
* [[GVStatisticsConfig#GVBuffer|GVBuffer]]
  
======GVBuffer======
+
===LogConsole===
  
This element represents the input object [[GVBuffer]].
+
The following table shows the LogConsole element's attributes:
 
 
The GVBuffer Element is used by: [[ExtendedData]] and Input.
 
 
 
The following table shows the GVBuffer element's attributes:
 
 
{|class="gvtable"
 
{|class="gvtable"
 
! Attribute !! Type !! Description
 
! Attribute !! Type !! Description
 
|-
 
|-
| system || required || This attribute defines the name of the System
+
| jdbc-connection-name || required || DataSource JNDI name.
|-
 
| service || required || This attribute defines the name of the Service
 
|-
 
| id || optional || This attribute defines the l'ID. If not valued it's automatically generated.
 
 
|}
 
|}
  
 
Might contain the sub-elements:
 
Might contain the sub-elements:
 
* [[Description]]
 
* [[Description]]
* [[#Data|Data]]
+
* [[#LogFilter|LogFilter]]
* [[#TestProperties|TestProperties]]
+
* [[#Message|Message]]
* [[#TestFlow|TestFlow]]
+
 
 +
====LogFilter====
 +
 
 +
The element value cannot be null.
 +
 
 +
====Message====
 +
 
 +
The element value cannot be null.

Latest revision as of 10:17, 8 March 2012

GreenVulcano® ESB Configuration

The following table shows the GVWorkbenchConfig element's attributes:

Attribute Type Description
type fixed This attribute must assume the value module
name fixed This attribute must assume the value WORKBENCH

GVWorkbenchConfig contains the sub-elements:

EJBTest

This elements defines the Test details. Every test uses a specific element for initialization.

The following table shows the EJBTest element's attributes:

Attribute Type Description
type fixed This attribute must assume the value test.
id required Test unique id.

The attribute's value can't be null.

class required Plug-in class invoking the EJB.

The attribute's value can't be null.

jndiName required JNDI name of the EJB to invoke.

The attribute's value can't be null.

fileNameOutput optional This attribute defines the absolute path of the file where Test program writes the test results
fileNameInput optional This attribute defines the absolute path of the file where Test program writes the test input data

Might contain the sub-element:

defaultInternalField

This element defines the internal fields that by default are assigned to the Input GVBuffer.

The following table shows the defaultInternalField element's attributes:

Attribute Type Description
fieldName required Internal field definition.
fieldValue required Internal field value.

Might contain the sub-element Description.

Loop

Element for multiple tests on GreenVulcano® ESB.

The following table shows the Loop element's attributes:

Attribute Type Description
type fixed This attributes must assume the value loop.
id required This attribute must correspond to the id of the relative EJBTest.
className required Class name that contains the test object identified.
fileName required Complete file path of the output file for the multiple test

A fully qualified name is mandatory.

Might contain the sub-elements:

Test

Test to be executed within the loop.

The following table shows the Test element's attributes:

Attribute Type Description
enabled required Flag to enable the test in the loop. If set to 'No' the test will not be executed.
transaction optional This attribute specifies whether to insert the test in a transaction and how.

The attribute's admitted values are:

  • NoTransaction (Default)
  • Commit
  • Rollback

Might contain the sub-elements:

Input

This element is the input type of the test to be performed

The following table shows the Input element's attributes:

Attribute Type Description
jndiName required EJB JNDI name

Might contain the sub-elements:

LogConsole

The following table shows the LogConsole element's attributes:

Attribute Type Description
jdbc-connection-name required DataSource JNDI name.

Might contain the sub-elements:

LogFilter

The element value cannot be null.

Message

The element value cannot be null.