Difference between revisions of "VulCon first flow"

From GreenVulcano Wiki
Jump to: navigation, search
(First flow service)
(First flow service)
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
GVServices --> Services
 
GVServices --> Services
 
</syntaxhighlight>
 
</syntaxhighlight>
and clicking on the Services element with the right mouse button, as shown in the figure, the user can choose four different types of services:
+
and clicking on the Services element with the right mouse button, as shown in the figure, the user can choose four different [[Paradigms of communication]]:
*[[Synchronous  - Synchronous]]
+
*[[Paradigms_of_communication#Synchronous-Synchronous|Synchronous  - Synchronous]]
*[[Synchronous  - Asynchronous]]
+
*[[Paradigms_of_communication#Synchronous-Asynchronous|Synchronous  - Asynchronous]]
*[[Asynchronous - Synchronous ]]
+
*[[Paradigms_of_communication#Asynchronous-Synchronous|Asynchronous - Synchronous ]]
*[[Asynchronous - Asynchronous]]
+
*[[Paradigms_of_communication#Asynchronous-Asynchronous|Asynchronous - Asynchronous]]
 +
 
 
In addition to service name, user may select a group (among those ones already configured) and a communication paradigm between the couples Client-ESB and ESB-Server. Now let’s choose “DEFAULT_GRP” as group and “Synchronous-Synchronous” as scenario. Service will be called “TOUPPER_VULCON”. Continuing with the wizard the user chooses the triple
 
In addition to service name, user may select a group (among those ones already configured) and a communication paradigm between the couples Client-ESB and ESB-Server. Now let’s choose “DEFAULT_GRP” as group and “Synchronous-Synchronous” as scenario. Service will be called “TOUPPER_VULCON”. Continuing with the wizard the user chooses the triple
 +
[[File:OperationDiagram.png|thumb|Operation diagram]]
 
*[[System]]
 
*[[System]]
 
*[[Channel]]
 
*[[Channel]]
 
*[[Operation]]
 
*[[Operation]]
[[File:OperationDiagram.png|thumb|Wizard New Service]]
+
After clicking on finish button, a new TOUPPER_VULCON service will be available, and the {{VULCON}} editor will display the flow, see figure Operation diagram. User may customize a service flow, adding new operation nodes with the [[Palette]] tool. For example, let’s add a [[GVNotificationNode|Notification node]] to notify a flow error (after the check node: it’s identified with a red arrow). When you drag the Node Editor on the new Notification Wizard will appear, to guide the user to the configuration of the node in this case the necessary steps are:
After clicking on finish button, a new TOUPPER_VULCON service will be available,and the editor displays the flow {{VULCON}}  
+
*id: add the node name.
 
+
*on-critical-error: error management, you decide whether to continue or end the flow
 
+
*next-node-id: name of the next node
 
+
*output: [[GVBuffer]] naming the output node
 
+
after the operation the new node will be configured and displayed on the flow.If the User wants to reconfigure a node, it can make or
The easiest way to create a service is to use the functionality of VulCon "New Service Wizard". GVServices expanding the element, and selecting the item with the right Services, a drop down menu appears with the selected item context where, as shown in the figure, the user can choose four different types of services:
+
propertis through the voice, or just double click on its node to log back into the configuration wizard.Once a service flow is correctly configured, the user can export its configuration from [[{{VULCON}} deploy]] and test {{L_GVCONSOLE}}.
 
 
In the service that we want, the client is any system that has ESB as "GVESB". The server service test internal {{GVESB}}. The group will "DEFAULT_GRP" and will remain as the paradigm, "Synchronous-Synchronous". The service, for example, we will call "TOUPPER" You can choose not only the service name, the group (including those configured in the "Groups") and the paradigms of communication between the client system and ESB and between ESB and the server system. Continuing with the wizard, Continuing with the wizard and the operation to invoke on the server is selected with the triplet [[System]] - [[Channel]] - [[Operation]].  
 
 
 
 
 
  
'''da eliminare'''
+
More examples are available [[First projects|here]].
The easiest way to create a [[{{VULCON}} Service]] is interacting with the “Wizard New Service” option. From the Core view, select the wizard item in the drop down menu shown expanding the GVServices element and clicking on the Services element with the right mouse button. In addition to service name, user may select a group (among those ones already configured) and a communication paradigm between the couples Client-ESB and ESB-Server. In this new service, client will be any system suggested with {{GVESB}} name, and server will be an internal {{GVESB}} test service.
 

Latest revision as of 21:09, 18 April 2012

First flow service

Wizard New Service

The easiest way to create a VulCon service is interacting with the “Wizard New Service” option. From the Core view

GVServices --> Services

and clicking on the Services element with the right mouse button, as shown in the figure, the user can choose four different Paradigms of communication:

In addition to service name, user may select a group (among those ones already configured) and a communication paradigm between the couples Client-ESB and ESB-Server. Now let’s choose “DEFAULT_GRP” as group and “Synchronous-Synchronous” as scenario. Service will be called “TOUPPER_VULCON”. Continuing with the wizard the user chooses the triple

Operation diagram

After clicking on finish button, a new TOUPPER_VULCON service will be available, and the VulCon editor will display the flow, see figure Operation diagram. User may customize a service flow, adding new operation nodes with the Palette tool. For example, let’s add a Notification node to notify a flow error (after the check node: it’s identified with a red arrow). When you drag the Node Editor on the new Notification Wizard will appear, to guide the user to the configuration of the node in this case the necessary steps are:

  • id: add the node name.
  • on-critical-error: error management, you decide whether to continue or end the flow
  • next-node-id: name of the next node
  • output: GVBuffer naming the output node

after the operation the new node will be configured and displayed on the flow.If the User wants to reconfigure a node, it can make or propertis through the voice, or just double click on its node to log back into the configuration wizard.Once a service flow is correctly configured, the user can export its configuration from VulCon deploy and test GV Console®.

More examples are available here.