[Dev] Need Clarifications about Data Mapper Mediator

2014-04-11 Thread Sohani Weerasinghe
Hi All,

DataMapperMediator has been implemented so far and I need to clarify few
things as listed below.

1.Since user should mention the required data type for input and output as
discussed, should these fields for mentioning the data types/formats be
mandatory fields? As the initial step we have defined set of data types
that are supported by Data Mapper mediator and has set one of those data
types as the default one (Eg:JSON). Will this work?

2. Does DataMapperMediator needs to have a front end implementation ? IMO
user should't give the ability to create a DataMapperMediator in ESB
management console since the graphical editor for data mapping is available
in developer studio and there is no point of providing a facility as such.
WDYT?

Thanks,
Sohani


Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Need Clarifications about Data Mapper Mediator

2014-04-11 Thread Gayan Yalpathwala
Hi Sohani,

Please find comments inline.

On Fri, Apr 11, 2014 at 9:48 PM, Sohani Weerasinghe soh...@wso2.com wrote:

 Hi All,

 DataMapperMediator has been implemented so far and I need to clarify few
 things as listed below.

 1.Since user should mention the required data type for input and output as
 discussed, should these fields for mentioning the data types/formats be
 mandatory fields? As the initial step we have defined set of data types
 that are supported by Data Mapper mediator and has set one of those data
 types as the default one (Eg:JSON). Will this work?


I think we can go with this approach. IMO, we should think about the 80:20
rule and set default type as xml since most of the use cases come around
xml.


 2. Does DataMapperMediator needs to have a front end implementation ? IMO
 user should't give the ability to create a DataMapperMediator in ESB
 management console since the graphical editor for data mapping is available
 in developer studio and there is no point of providing a facility as such.
 WDYT?


Agree with your point. I don't see any value in adding data mapper mediator
in management console, since it is completely configured only through
developer-studio.


 Thanks,
 Sohani


 Sohani Weerasinghe
 Software Engineer
 WSO2, Inc: http://wso2.com

 Mobile  : +94 716439774
 Blog :http://christinetechtips.blogspot.com/
 Twitter  : https://twitter.com/sohanichristine

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



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/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev