Hi,

Visual data mapper currently operates by taking two avro schemas for input
and output. Considering the fact that end users are not supposed to write
avro schema by themselves, we have decided to provide a UI to manually
build the schema of input and output. This will basically extend the
current input and output boxes implementation in data-mapper editor.

Users can build the schema from scratch and add a new element by choosing
the option provided in right click menu.

[image: Inline image 2]

This will pop up the following dialog asking user input for element name
and respective attributes.

[image: Inline image 4]

Here, Element type combo box will list all primitive types supported by
avro. Eg:- STRING, INT, DOUBLE etc.

The element added will appear as the root node of a tree structure and user
can add more elements by choosing either "Add new child" or "Add new
sibling" options from right click menu. These two options will be available
for every element added further.

[image: Inline image 3]
A user can use this method to build a complete schema without having any
idea about the underlying avro schema specification.

Please raise and forward if you have any thoughts and concerns on design
aspects and the flow that I have mentioned.

Thanks,


-- 
*Gayan Kaushalya Yalpathwala*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 71 8682704 <http://asia14.wso2con.com/>

 <http://asia14.wso2con.com/>

<<inline: New element dialog.png>>

<<inline: Right-click menu1.png>>

<<inline: Right-click menu2.png>>

_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to