felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clement Escoffier <clement.escoff...@gmail.com>
Subject Re: Script Console - A plugin for Felix Web Console
Date Tue, 25 Jun 2013 06:50:59 GMT
Hi,

A vote is required I think (Felix can confirm). 

Nevertheless, I've tried it last weekend. It's really cool. 

Clement


On 25 juin 2013, at 08:46, Chetan Mehrotra <chetan.mehrotra@gmail.com> wrote:

> Just to know the process. Should I commit the plugin code to Felix
> trunk or would a official vote needs to be done first for this?
> 
> 
> Chetan Mehrotra
> 
> 
> On Wed, Jun 19, 2013 at 3:51 PM, Chetan Mehrotra
> <chetan.mehrotra@gmail.com> wrote:
>> Thanks Felix for having a look at it !!
>> 
>>> I have quickly looked at it. So this is a port of the Sling code.
>> Yes. Just made it more generic and standalone so that it can be used
>> in any OSGi setup
>> 
>>> With my Sling hat on: This would consequently mean the code is removed from Sling
again ? This should probably be discussed on dev@sling.
>> Ya. The One present in Sling provides some extra benefit like
>> integrating with Sling Script support (BindingValueProvider etc). But
>> given its usage as Admin tool they do not add much value. So would
>> make sense to remove it. Once I commit it here would discuss on Sling
>> dev list
>> 
>>> I also suggest you create a documentation page from your GitHub Wiki content
and add a section on security.
>> Sure. Once I commit it in Felix would move the doc to Apache Felix
>> site and also add section on security before cutting the first
>> release.
>> 
>> Chetan Mehrotra
>> 
>> 
>> On Wed, Jun 19, 2013 at 3:10 PM, Felix Meschberger <fmeschbe@adobe.com> wrote:
>>> Hi Chetan
>>> 
>>> I have quickly looked at it. So this is a port of the Sling code.
>>> 
>>> I think it makes sense to have it in Felix rather than in Sling, so it might
be committed to  the webconsole-plugins folder.
>>> 
>>> With my Sling hat on: This would consequently mean the code is removed from Sling
again ? This should probably be discussed on dev@sling.
>>> 
>>> With my Felix hat on: +1 to committing.
>>> 
>>> I also suggest you create a documentation page from your GitHub Wiki content
and add a section on security.
>>> 
>>> Thanks and Regards
>>> Felix
>>> 
>>> Am 12.06.2013 um 14:00 schrieb Chetan Mehrotra:
>>> 
>>>> I have implemented a Felix WebConsole plugin for evaluating scripts. Its
>>>> port of an earlier plugin [1]. Current implementation has no dependency on
>>>> Sling and can be used in any OSGi Container. Using this one can inspect the
>>>> runtime state of the OSGi runtime and thus simplify debugging.
>>>> 
>>>> It provides support for following items
>>>> 
>>>> * Support evaluation of script in any language e.g.
>>>> Groovy, JavaScript, Ruby, Python etc. You would need to ensure that
>>>> relevant language bundle is deployed
>>>> * Code editor with syntax highlighting support based on CodeMirror
>>>> Javascript library
>>>> * Hot key support
>>>> * Execute remote testcase via evaluating test scripts
>>>> 
>>>> The code is pushed to my forked Git repo for Sling at [2]. Complete details
>>>> about the plugin (with screen shots) is provided at [3].
>>>> 
>>>> Attached the code to FELIX-4122. If people find it useful I can checkin the
>>>> code
>>>> 
>>>> Comments and feedback welcome!!
>>>> 
>>>> Chetan Mehrotra
>>>> [1] https://issues.apache.org/jira/browse/SLING-2463
>>>> [2] https://github.com/chetanmeh/felix-script-console
>>>> [3] https://github.com/chetanmeh/c/wiki/Felix-Script-Console
>>>> [4] https://issues.apache.org/jira/browse/FELIX-4122
>>>> Chetan Mehrotra
>>> 


Mime
View raw message