Difference between revisions of "Birt-report-call"

From GreenVulcano Wiki
Jump to: navigation, search
(How To)
({{VULCON}} / {{GVCONSOLE}} Configuration)
 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
This plugin defines the information needed to generate a report BIRT, and configures it in the file GVAdapters.xml.
 
This plugin defines the information needed to generate a report BIRT, and configures it in the file GVAdapters.xml.
  
The report can use the properties of [[GVBuffer]] input, making the necessary format conversions.
+
The report can use the properties of the [[GVBuffer]] of input, making the necessary format conversions.
  
The birt-report-call Element is used by [[Channel]], [[routed-call]].
+
The birt-report-call Element is used by [[Channel]], [[routed-call]]. Its attributes are:
  
Its attributes are:
+
{|class="gvtable"
* ''type'': call.
+
! Attribute !! Type !! Description
* ''class'': it.greenvulcano.gvesb.virtual.birt.report.BIRTReportCallOperation.
+
|-
* ''name'': Operation name. Used in the [[Flow]] section to associate workflow nodes to VCL operations.
+
| type || fixed || This attribute must assume the value '''call'''.
* ''groupName'': Reference to group name.
+
|-
* ''reportName'': Reference to report name.
+
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.birt.report.BIRTReportCallOperation'''.
* ''reportType'': Report format, default to ''pdf''. The attribute's admitted values are:
+
|-
** pdf
+
| name || required || Operation name. Used in the [[Flow]] section to associate workflow nodes to VCL operations.
** excel
+
|-
** html
+
| groupName || required || Reference to group name.
 +
|-
 +
| reportName || required || Reference to report name.
 +
|-
 +
| reportType || optional || Report format, default to ''pdf''. The attribute's admitted values are:
 +
* pdf
 +
* excel
 +
* html
 +
|}
 +
 
 +
Might contain the sub-element:
 +
* [[Description]]
  
 
==How To==
 
==How To==
  
For configuring a BIRT report from {{VULCON}} you must follow three steps:
+
[[File:VULCONBirtReportCall.jpg|thumb|Birt-report-call {{VULCON}} Configuration]]For configuring a BIRT report from {{VULCON}} you must follow three steps:
# Add a new report in the [[GVBIRTReportConfiguration]]. <br/> This elements is present in the Adapters view. You can create a new [[ReportGroup]] or use an existing one. Right clicking the apposite ReportGroup you can add a new Report and configure it.   
+
# Add a new report in the [[GVBIRTReportConfiguration]]. <br/> This elements is present in the Adapters view. You can create a new [[GVBIRTReportConfiguration#ReportGroups|ReportGroup]] or use an existing one. Right clicking the apposite ReportGroup you can add a new Report and configure it.   
 
# Add a birt-report-call. From the Core view, right click the apposite [[Channel]] and select birt-report-call from the expanded list. Set the ''groupName'' and ''reportName'' attributes as those configured in the first step.
 
# Add a birt-report-call. From the Core view, right click the apposite [[Channel]] and select birt-report-call from the expanded list. Set the ''groupName'' and ''reportName'' attributes as those configured in the first step.
# Add an Operation [[Node]] into your [[Service]] [[Flow]] (or [[SubFlow]]) and set the attribute ''operation-name'' with the name of the birt-report-call created in the second step.
+
# Add an [[GVOperationNode]] into your [[Service]] [[Flow]] (or [[SubFlow]]) and set the attribute ''operation-name'' with the name of the birt-report-call created in the second step.
  
 
Then you can create the BIRT Report using {{L_GVCONSOLE}}. For more information see the {{GVCONSOLE}} [[Report]] section.
 
Then you can create the BIRT Report using {{L_GVCONSOLE}}. For more information see the {{GVCONSOLE}} [[Report]] section.

Latest revision as of 09:19, 10 April 2012

Description

GreenVulcano® ESB allows you with the birt-report-call plugin to define the information needed for generating BIRT reports.

VulCon / GV Console Configuration

This plugin defines the information needed to generate a report BIRT, and configures it in the file GVAdapters.xml.

The report can use the properties of the GVBuffer of input, making the necessary format conversions.

The birt-report-call Element is used by Channel, routed-call. Its attributes are:

Attribute Type Description
type fixed This attribute must assume the value call.
class fixed This attribute must assume the value it.greenvulcano.gvesb.virtual.birt.report.BIRTReportCallOperation.
name required Operation name. Used in the Flow section to associate workflow nodes to VCL operations.
groupName required Reference to group name.
reportName required Reference to report name.
reportType optional Report format, default to pdf. The attribute's admitted values are:
  • pdf
  • excel
  • html

Might contain the sub-element:

How To

Birt-report-call VulCon Configuration

For configuring a BIRT report from VulCon you must follow three steps:

  1. Add a new report in the GVBIRTReportConfiguration.
    This elements is present in the Adapters view. You can create a new ReportGroup or use an existing one. Right clicking the apposite ReportGroup you can add a new Report and configure it.
  2. Add a birt-report-call. From the Core view, right click the apposite Channel and select birt-report-call from the expanded list. Set the groupName and reportName attributes as those configured in the first step.
  3. Add an GVOperationNode into your Service Flow (or SubFlow) and set the attribute operation-name with the name of the birt-report-call created in the second step.

Then you can create the BIRT Report using GV Console®. For more information see the GV Console Report section.