Difference between revisions of "GVWorkbenchConfig"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "GVWorkbenchConfig (EJBTest*, LogConsole?) The GVWorkbenchConfig Element is used by: GVSupport. The following table show the element's attributes GVWorkbenchConfig: Attribute Tyte...")
 
Line 1: Line 1:
GVWorkbenchConfig
+
=={{GVESB}} Configuration==
(EJBTest*, LogConsole?)
 
The GVWorkbenchConfig Element is used by: GVSupport.
 
The following table show the element's attributes GVWorkbenchConfig:
 
Attribute
 
Tyte
 
Description
 
type
 
fixed
 
Element type 'module'.
 
This attribute must assume the value module.
 
name
 
fixed
 
Module ID always set to 'WORKBENCH'.
 
This attribute must assume the value WORKBENCH.
 
  
 +
The following table shows the GVWorkbenchConfig element's attributes:
 +
{|class="gvtable"
 +
! 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|EJBTest]]
 +
* [[#LogConsole|LogConsole]]
  
 
===EJBTest===
 
===EJBTest===
(Description?, defaultInternalField*, JNDIHelper?, Loop?)
+
 
 
This elements defines the Test details. Every test uses a specific element for initialization.
 
This elements defines the Test details. Every test uses a specific element for initialization.
The EJBTest Element is used by: GVWorkbenchConfig.
+
 
The following table show the element's attributes EJBTest:
+
The following table shows the EJBTest element's attributes:
Attribute
+
{|class="gvtable"
Tyte
+
! Attribute !! Type !! Description
Description
+
|-
type
+
| type || fixed || This attribute must assume the value '''test'''.
fixed
+
|-
Unmodifiable.
+
| id || required || Test unique id.
Used by GreenVulcanoESB factory framework.
 
This attribute must assume the value test.
 
id
 
required
 
Test unique id.
 
 
The attribute's value can't be null.
 
The attribute's value can't be null.
class
+
|-
required
+
| class || required || Plug-in class invoking the EJB.
Plug-in class invoking the EJB.
 
 
The attribute's value can't be null.
 
The attribute's value can't be null.
jndiName
+
|-
required
+
| jndiName || required || JNDI name of the EJB to invoke.
JNDI name of the EJB to invoke.
 
 
The attribute's value can't be null.
 
The attribute's value can't be null.
fileNameOutput
+
|-
optional
+
| fileNameOutput || optional || This attribute defines the absolute path of the file where Test program writes the test results
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
fileNameInput
+
|}
optional
+
 
This attribute defines the absolute path of the file where Test
+
Might contain the sub-element:
program writes the test input data
+
* [[Description]]
 +
* [[#defaultInternalField|defaultInternalField]]
 +
* [[JNDIHelper]]
 +
* [[#Loop|Loop]]
 +
 
 +
====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:
 +
{|class="gvtable"
 +
! 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 {{GVESB}}.
 +
 
 +
The following table shows the Loop element's attributes:
 +
{|class="gvtable"
 +
! 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:
 +
* [[Description]]
 +
* [[#Test|Test]]
 +
 
 +
=====Test=====
 +
 
 +
Test to be executed within the loop.
 +
 
 +
The following table shows the Test element's attributes:
 +
{|class="gvtable"
 +
! 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:
    This element defines the internal fields that by default are assigned to the Input GVBuffer.
+
* [[Description]]
 +
* [[JNDIHelper]]
 +
* [[#Input|Input]]
  
    #Template:
+
======Input======
  
        <xsl:template match="defaultInternalField">
+
This element is the input type of the test to be performed
            <table cellpadding="0" cellspacing="0">
 
                <tr valign="top">
 
                    <td>Field Name</td>
 
                    <td width="20"></td>
 
                    <td><b><xsl:value-of select="@fieldName"/></b></td>
 
                </tr>
 
                <tr valign="top">
 
                    <td>Field Value</td>
 
                    <td width="20"></td>
 
                    <td><b><xsl:value-of select="@fieldValue"/></b></td>
 
                </tr>
 
            </table>
 
            <xsl:if test="Description">
 
                <small><br/><xsl:value-of select="Description"/></small>
 
            </xsl:if>
 
        </xsl:template>
 
-->
 
<!ELEMENT defaultInternalField (Description?)>
 
<!--
 
    Internal field definition.
 
-->
 
<!ATTLIST defaultInternalField
 
    fieldName CDATA #REQUIRED
 
>
 
<!--
 
    Internal field value.
 
-->
 
<!ATTLIST defaultInternalField
 
    fieldValue CDATA #REQUIRED
 
>
 
  
<!--
+
The following table shows the Input element's attributes:
    Element for multiple tests on GreenVulcano ESB.
+
{|class="gvtable"
 +
! Attribute !! Type !! Description
 +
|-
 +
| jndiName || required || EJB JNDI name
 +
|}
  
    #Label: @id
+
Might contain the sub-elements:
    #Table: | Test | Test | Description | Description | Enabled | @enabled
+
* [[Description]]
-->
+
* [[#GVBuffer|GVBuffer]]
<!ELEMENT Loop (Description?, Test+)>
 
<!--
 
    Unmodifiable.
 
    Used by GreenVulcanoESB factory framework.
 
-->
 
<!ATTLIST Loop
 
    type CDATA #FIXED "loop"
 
>
 
<!--
 
    This attribute must correspond to the id of the relative EJBTest.
 
  
    #Unique: //*[@type='loop']/@id
+
======GVBuffer======
    #NotNull
 
-->
 
<!ATTLIST Loop
 
    id CDATA #REQUIRED
 
>
 
<!--
 
    Class name that contains the test object identified.
 
  
    #NotNull
+
This element represents the input object [[GVBuffer]].
-->
 
<!ATTLIST Loop
 
    className CDATA #REQUIRED
 
>
 
<!--
 
    Complete file path of the output file for the multiple test
 
  
    A fully qualified name is mandatory.
+
The GVBuffer Element is used by: [[ExtendedData]] and Input.
  
    #NotNull
+
The following table shows the GVBuffer element's attributes:
-->
+
{|class="gvtable"
<!ATTLIST Loop
+
! Attribute !! Type !! Description
    fileName CDATA #REQUIRED
+
|-
>
+
| system || required || This attribute defines the name of the System
<!--
+
|-
    Test to be executed within the loop.
+
| 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.
 +
|}
  
    #Label: @id
+
Might contain the sub-elements:
-->
+
* [[Description]]
<!ELEMENT Test (Description?, JNDIHelper?, Input)>
+
* [[#Data|Data]]
<!--
+
* [[#TestProperties|TestProperties]]
    Flag to enable the test in the loop. If set to 'No' the test will not be executed.
+
* [[#TestFlow|TestFlow]]
-->
 
<!ATTLIST Test
 
    enabled (yes | no) #REQUIRED
 
>
 
<!--
 
    This attribute specifies whether to insert the test in a transaction and how.
 
-->
 
<!ATTLIST Test
 
    transaction (NoTransaction | Commit | Rollback) "NoTransaction"
 
>
 
<!--
 
    This element is the input type of the test to be performed
 
-->
 
<!ELEMENT Input (Description?, (%inputObject;))>
 
<!--
 
    EJB JNDI name
 
    #NotNull
 
-->
 
<!ATTLIST Input
 
    jndiName CDATA #REQUIRED
 

Revision as of 10:08, 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:

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 l'ID. If not valued it's automatically generated.

Might contain the sub-elements: