can we schedule a meeting for this monday?
On Sun, Mar 23, 2014 at 9:46 AM, Jasintha Dasanayake <[email protected]>wrote: > Hi All > > *Front-End * > > 1) Data mapper mediator can be dragged into message flow and once double > click on that mediator , mapping editor will be opened > > 2) Mapping editor open with empty input and output boxes then user can > point the relevant input and output then tree will be created according to > the schema > > 3) Dialog box UIs are provided to create new or brows existing > configuration file and brows input and output schema > > 4) Look and feel of the mapping editor is improved > > In-progress > > 1) Implementing operators > > 2) Fixing bugs in implemented UIs and modify those UIs to give unique > look (currently conman dialig boxes has been used ) > > *Back-End * > > 1) Passing arguments into script function instead of set them as a global > variables , this enables to call the functions recursively > > 2) Support for traveling into nested Avro records (ex;- > Employees[i].address.city). > > 3) Mapping start from root level and consider all the child elements > (previously mapping started-from first child & didn't consider the all > child elements in the root level), As an example following input can be > mapped now > > <BranchOfficers> > > <Name></Name> > > <Title></Title> > > <Office> > > <Name></Name> > > ------ > > <Address> > > <city></city> > > </Address> > > <ContactPersons> > > <person> > > <Name></Name> > > </person> > > </ContactPersons> > > </Office> > > </BranchOfficers> > > > Sample mapping configuration file which is supported in current back-end > > function map_S_employees_S_engineers(employees, engineers) { > > for(i in employees.employee){ > map_L_employee_L_engineer(employees.employee[i], engineers.engineer[i]);} > > return engineers; > > } > > function map_L_employee_L_engineer(employee, engineer) { > > engineer.fullname = employee.firstname.concat(" " + > employee.lastname); > > for(j in employee.address){ > map_L_address_L_address(employee.address[j], engineer.address[j]);} > > } > > function map_L_address_L_address(empAddress, engAddress) { > engAddress.addresscode = empAddress.no + "_" + empAddress.road + "_" + > empAddress.city; } > > > > In-progress > > 1) Implementing namespace support > > 2) Re-factoring the code to improve readability and performance > > > A Demo will be scheduled on end of the next week (hopefully on 28) to > review current progress and discuss the future plan . Specially we need to > discuss the role of type repository (According to our understanding it's a > store of set of pre-define Avro schemes, If some one change one of this > schemas that change will not be effected on existing mapping ), Also > currently we are maintaining three files(config.js input and output schemas > ) for a mapping , instead of having these 3 files shall we introduce a > single file which describe all three configurations . > > > Thanks and Regards > /Jasintha > -- > > *Jasintha Dasanayake * > > *Software EngineerWSO2 Inc. | http://wso2.com <http://wso2.com/> lean . > enterprise . middleware* > > > *mobile :- 0711368118 <0711368118>* > -- ============================ Srinath Perera, Ph.D. Director, Research, WSO2 Inc. Visiting Faculty, University of Moratuwa Member, Apache Software Foundation Research Scientist, Lanka Software Foundation Blog: http://srinathsview.blogspot.com/ Photos: http://www.flickr.com/photos/hemapani/ Phone: 0772360902
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
