You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Filippo Balicchia <fb...@gmail.com> on 2014/09/23 14:59:35 UTC

Script Web Console

Hi

I saw that Felix community provide a Script Console Plugin that support
evaluation of script in any language e.g. Groovy

This tool along with the camel-groovy component can be used to provide
a troubleshooting tool that can be useful in some environment.

Yes, from other side you provide a big security hole but IMHO
with the correct profiling this problem can be adressed

WDYT to provide this features out-of-the-box from servicemix ?

Regards

--Filippo

Re: Script Web Console

Posted by Krzysztof Sobkowiak <kr...@gmail.com>.
+1   I think it's a good idea to have this tool. It would help the
developers to develop or troubleshoot their routes. If one doesn't like
this (e.g. from security reason) this console doesn't need to be
installed on production

Regards
Krzysztof

On 23.09.2014 14:59, Filippo Balicchia wrote:
> Hi
>
> I saw that Felix community provide a Script Console Plugin that support
> evaluation of script in any language e.g. Groovy
>
> This tool along with the camel-groovy component can be used to provide
> a troubleshooting tool that can be useful in some environment.
>
> Yes, from other side you provide a big security hole but IMHO
> with the correct profiling this problem can be adressed
>
> WDYT to provide this features out-of-the-box from servicemix ?
>
> Regards
>
> --Filippo


-- 
Krzysztof Sobkowiak

JEE & OSS Architect | Senior Solution Architect @ Capgemini | Committer
@ ASF
Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
<http://www.pl.capgemini-sdm.com/> | Wroclaw
e-mail: krzys.sobkowiak@gmail.com <ma...@gmail.com> |
Twitter: @KSobkowiak
Calendar: http://goo.gl/yvsebC

Re: Script Web Console

Posted by Filippo Balicchia <fb...@gmail.com>.
Hi Jb,

uses case that I can "share" or could help are the following .

1: Suppose you have a solution that every business action send
an email to someone to confirm what happend.
Endpoint connection can be change depending from customer
mailserver, sometimes the protocol
is imaps in other case is imap with tls ecc.ecc
and parameterize each flag can be heavy

For not install every time the bundle with minor change during uat test
The script can be useful to find this kind of problem.

2: With a script you can interact with your domain Object
and sometimes in solution where you need to trasform data Object in other
at requirements time the mapping is no very clean

3: Make application tasks on demand and interact with your solution

>From infrastructure point of view  I can not see, now,
an added value compared to what you can already do with the console.

IMHO a good improvement about actual script web console is to persist
a script and show then in a table on the bottom on page.

On the single row you can make the classic CRUD a load the script in
the actual form.



WDYT ?  may make sense?

Regards

--Filippo

2014-09-24 21:16 GMT+02:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
> Hi Filippo,
>
> I like the idea.
>
> Do you have some kind of use cases to share (commands, or whatever) ?
>
> Regards
> JB
>
>
> On 09/23/2014 02:59 PM, Filippo Balicchia wrote:
>>
>> Hi
>>
>> I saw that Felix community provide a Script Console Plugin that support
>> evaluation of script in any language e.g. Groovy
>>
>> This tool along with the camel-groovy component can be used to provide
>> a troubleshooting tool that can be useful in some environment.
>>
>> Yes, from other side you provide a big security hole but IMHO
>> with the correct profiling this problem can be adressed
>>
>> WDYT to provide this features out-of-the-box from servicemix ?
>>
>> Regards
>>
>> --Filippo
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com

Re: Script Web Console

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Filippo,

I like the idea.

Do you have some kind of use cases to share (commands, or whatever) ?

Regards
JB

On 09/23/2014 02:59 PM, Filippo Balicchia wrote:
> Hi
>
> I saw that Felix community provide a Script Console Plugin that support
> evaluation of script in any language e.g. Groovy
>
> This tool along with the camel-groovy component can be used to provide
> a troubleshooting tool that can be useful in some environment.
>
> Yes, from other side you provide a big security hole but IMHO
> with the correct profiling this problem can be adressed
>
> WDYT to provide this features out-of-the-box from servicemix ?
>
> Regards
>
> --Filippo
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com