Re: [Dev] [DEV][ESB Tooling] Improvement on constant operator
Hi Viraj Thank you for your reply. Agree with you on a proper graphical representation for a global constant as it will increase usability. Best Regards Erandi On Fri, Jul 22, 2016 at 5:47 PM, Viraj Rajaguruwrote: > Hi Chaturika, > > We got your point and we will consider this improvement for a next release > with a proper graphical representation. > > BTW, we are encouraging users to write self contained custom functions as > much as possible to reduce the complexity. So that its better to define > constants within the custom function scope. Without having a proper > graphical representation of the connectivity between a custom function and > a global constant, facilitating such a feature might lead to a confusion. > > We had to introduce global variables concept, since there was no other > option to achieve some use cases. > > Thanks, > Viraj. > > On Fri, Jul 22, 2016 at 5:03 PM, Chathurika De Silva > wrote: > >> Hi ESB Team >> >> Currently the constant operator provides just a setting of value and >> mapping to an output. In the present mapping configuration the constant is >> not defined as a constant, rather the defined value is assigned directly to >> the relevant output. >> >> If there is a mechanism to define a global constant, this can be reused >> (e.g. in custom functions) and hence will upgrade the usage of the data >> mapper as well. I have created [1] for this and hope this will be >> considered as this will add a greater value. >> >> [1] https://wso2.org/jira/browse/DEVTOOLESB-640 >> >> Thank You >> Erandi >> >> -- >> *Chathurika Erandi* >> Senior Software Engineer, >> WSO2 Inc. >> >> *E-mail:* chathuri...@wso2.com >> *Mobile: *+94714 328 612 >> *Blog*: chathurikaerandi.blogspot.com >> > > > > -- > Viraj Rajaguru > Associate Technical Lead > WSO2 Inc. : http://wso2.com > > Mobile: +94 77 3683068 > > > > -- *Chathurika Erandi* Senior Software Engineer, WSO2 Inc. *E-mail:* chathuri...@wso2.com *Mobile: *+94714 328 612 *Blog*: chathurikaerandi.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [DEV][ESB Tooling] Improvement on constant operator
Hi Chaturika, We got your point and we will consider this improvement for a next release with a proper graphical representation. BTW, we are encouraging users to write self contained custom functions as much as possible to reduce the complexity. So that its better to define constants within the custom function scope. Without having a proper graphical representation of the connectivity between a custom function and a global constant, facilitating such a feature might lead to a confusion. We had to introduce global variables concept, since there was no other option to achieve some use cases. Thanks, Viraj. On Fri, Jul 22, 2016 at 5:03 PM, Chathurika De Silvawrote: > Hi ESB Team > > Currently the constant operator provides just a setting of value and > mapping to an output. In the present mapping configuration the constant is > not defined as a constant, rather the defined value is assigned directly to > the relevant output. > > If there is a mechanism to define a global constant, this can be reused > (e.g. in custom functions) and hence will upgrade the usage of the data > mapper as well. I have created [1] for this and hope this will be > considered as this will add a greater value. > > [1] https://wso2.org/jira/browse/DEVTOOLESB-640 > > Thank You > Erandi > > -- > *Chathurika Erandi* > Senior Software Engineer, > WSO2 Inc. > > *E-mail:* chathuri...@wso2.com > *Mobile: *+94714 328 612 > *Blog*: chathurikaerandi.blogspot.com > -- Viraj Rajaguru Associate Technical Lead WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [DEV][ESB Tooling] Improvement on constant operator
Hi ESB Team Currently the constant operator provides just a setting of value and mapping to an output. In the present mapping configuration the constant is not defined as a constant, rather the defined value is assigned directly to the relevant output. If there is a mechanism to define a global constant, this can be reused (e.g. in custom functions) and hence will upgrade the usage of the data mapper as well. I have created [1] for this and hope this will be considered as this will add a greater value. [1] https://wso2.org/jira/browse/DEVTOOLESB-640 Thank You Erandi -- *Chathurika Erandi* Senior Software Engineer, WSO2 Inc. *E-mail:* chathuri...@wso2.com *Mobile: *+94714 328 612 *Blog*: chathurikaerandi.blogspot.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev