Recommend Data Mappings

Task: Recommend Data Mappings

 

Aim: Recommend data mappings between data objects involved in a service composition by selecting an input data object of some service.

Prerequisites:

  • Composition Portlet has to be in place (see installation and configuration guide)
  • Mediation Portlet has to be in place (see installation and configuration guide)
  • Edit an existing composition model by using the Composition Portlet.

Brief Description:

A user selects the involved data objects to be mediated. Then the Mediation Portlet will use a matching algorithm to discover/recommend potential mappings between source and target data objects. These potential mappings are confirmed and refined by the user to generate executable mappings.

Model-based Mediation

The modeler needs to go through a few manual steps before he can access the model-based mediation. He clicks on the “Add additional plugins dynamically” button on the top menu (left hand side of the next figure). In the pop-up that appears (right hand side of the next figure), the “ORYX.Plugins.BPMN2_0Serialization” is ticked. This leads to a new button with the drop-down menu shown in the next figure.

20. Recommend Data Mappings 1The ENVISION framework assumes that a data transformation is needed to produce the input data object of each part service within a service composition. First, the user selects the input data object for which a mediation shall be specified. This is done by right-clicking on an input data object and selecting “build mediation” from the drop-down menu of the top second right-most button. This will open the Mediation Portlet (figure below). The Mediation Portlet automatically performs a matching process between the source(s) and targets. The input data object is the target, while the data object(s) (that are output data objects of other service) with outgoing data flow to the input data object are the source(s).

The user must choose among the possible mappings by clicking on the relevant thumb-up buttons. In the current version, it is assumed that each target element has a one-to-one correspondence to a source element. When all relevant mappings are selected, the user will push the mapping complete button on the top right. This triggers a serialization of the mapping which is returned to the Composition Portlet and stored as a property of the input data object. (The current version does not store the serialized mapping, but displays the corresponding XSLT for use in BPEL)

20. Recommend Data Mappings 2

Concrete Example

  1. Go to envision.envip.eu
  2. Login as andy@envision.com
  3. Passsword = 47UjY5WX
  4. Choose the Composition tab.
  5. Click OK on three to four database messages
  6. Login to Oryx with user id = oryx.myid.net, password = envision.
  7. Open the model “WaterAlarm” by double-clicking on it.
  8. Follow the procedure from the first screenshot.
  9. Select the data object  “droughtIn”
  10. Go to the button menu in Oryx and choose the button second most to the right. Choose “Build mediation”
  11. Click OK on a message
  12. Choose the thumb-up button on the first row.
  13. Press the button “Mapping Complete”.
  14. The resulting XSLT is viewed.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>