expose jacoco agent JMX operations through servlet in org.apache.sling.junit.core?

2013-04-02 Thread Mark Adamcin
I'd like to create a simple servlet to expose jacoco execution data and a couple JMX operations over HTTP, in order to capture code coverage data for Sling Junit tests executed in a standalone integration test server where general remote access to a JMX port or to the filesystem is restricted. It

7-SNAPSHOT: ROOT node

2013-04-02 Thread Oliver Lietz
hello all, when running current Sling standalone there is a node named ROOT - this looks like a bug. Can someone please check/confirm? thanks, O.

[jira] [Commented] (SLING-2803) Create a Validation module capable of validating POST requests or Resources

2013-04-02 Thread Alexander Klimetschek (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619952#comment-13619952 ] Alexander Klimetschek commented on SLING-2803: -- I see three parts: a) the val

RE: Sling Dynamic Proxy

2013-04-02 Thread Dan Klco
This makes sense to me, I would assume this would run after the standard adaption process if no adapter is found? Could multiple of these be specified? Thanks, Dan -Original Message- From: Felix Meschberger [mailto:fmesc...@adobe.com] Sent: Tuesday, April 02, 2013 8:19 AM To: dev@sl

Re: Sling based FTP Server

2013-04-02 Thread Bertrand Delacretaz
On Tue, Apr 2, 2013 at 9:22 AM, Felix Meschberger wrote: > ...How about moving that code to the contrib folder -- or if interest exists > -- to the bundles folder ?.. +1 for contrib, thanks! We can always move to "bundles" later if interest picks up. -Bertrand

[jira] [Commented] (SLING-2808) Scripts might not see classes provided by fragment bundles (Felix framework issue)

2013-04-02 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619907#comment-13619907 ] Bertrand Delacretaz commented on SLING-2808: Added an integration test in revi

[jira] [Commented] (SLING-2803) Create a Validation module capable of validating POST requests or Resources

2013-04-02 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619903#comment-13619903 ] Carsten Ziegeler commented on SLING-2803: - I think we should separate these things

Re: Sling based FTP Server

2013-04-02 Thread Dascalita Dragos
This is really nice Felix ! Browsing the source code I see the impl supports read/write, JCR ALCs. Really cool. I'm going to use it in the next few weeks for an integration with Amazon Transcoder. Thanks for sharing the code with the community, Dragos Dascalita Haut On Tue, Apr 2, 2013 at 1:0

RE: Sling Dynamic Proxy

2013-04-02 Thread Dan Klco
Fair enough, I will go ahead and update the code to remove the I prefix to comply with project standards. Thanks, Dan -Original Message- From: Felix Meschberger [mailto:fmesc...@adobe.com] Sent: Tuesday, April 02, 2013 8:21 AM To: dev@sling.apache.org Subject: Re: Sling Dynamic Proxy H

[jira] [Created] (SLING-2808) Scripts might not see classes provided by fragment bundles (Felix framework issue)

2013-04-02 Thread Bertrand Delacretaz (JIRA)
Bertrand Delacretaz created SLING-2808: -- Summary: Scripts might not see classes provided by fragment bundles (Felix framework issue) Key: SLING-2808 URL: https://issues.apache.org/jira/browse/SLING-2808

RE: Sling Dynamic Proxy

2013-04-02 Thread Dan Klco
Alex, In my experience, yes. Though it depends a lot on the project. Some of the projects I have been on leverage a lot of structured data for building out pages and the process of building out the DAO/DTO layer gets rather tedious, especially when you have to retrieve multiple resources to

Re: Potential changes / updates to the Sling eventing / job handling

2013-04-02 Thread Carsten Ziegeler
Hi, 2013/4/2 Ian Boston > > I think the event based processing in the current implementation nicely > decouples the processing of jobs, but the implementation lacks a reliable > distributed queue and so, is bound to a single node, crucially limiting > scalability. The concept, not the mile ment

Re: Sling Dynamic Proxy

2013-04-02 Thread Felix Meschberger
Hi Sounds like an interesting proposal (except that we don't use the "I" prefix for interfaces). Am 29.03.2013 um 20:14 schrieb Dan Klco: Hello Everyone, A colleague (Michael Kelleher) and I have built an extension we would be interested in incorporating into Sling, as a contributed module.

Re: Sling based FTP Server

2013-04-02 Thread Ian Boston
+1 for contrib. I think bundles should be reserved for bundles we regularly put in the launchpad. If that becomes the case for an FTP server, then it should be in bundles. I assume there is nothing preventing releasing a bundle from contrib? Ian On Tuesday, April 2, 2013, Felix Meschberger wrote:

Re: Sling Dynamic Proxy

2013-04-02 Thread Felix Meschberger
Hi Am 29.03.2013 um 21:18 schrieb Justin Edelson: > Fixing/changing AdapterManager shouldn't be out of the question :) Absolutely: How about a special adaptable and adapter class name of "*" which just means "any" ? Regards Felix > > > > > On Fri, Mar 29, 2013 at 4:04 PM, Dan Klco wrote:

Re: Sling Dynamic Proxy

2013-04-02 Thread Alexander Klimetschek
On 29.03.2013, at 20:14, Dan Klco wrote: > @SlingProperty(name=”jcr:created”) > public Date getCreationDate(); Is this really worth the additional complexity compared to the following? public Date getCreationDate() { return properties.get("jcr:created", Date.

Re: Potential changes / updates to the Sling eventing / job handling

2013-04-02 Thread Ian Boston
On Tuesday, April 2, 2013, Carsten Ziegeler wrote: > Hi, > > I'm currently prototyping enhancements in the Sling job handling to allow > for better scaling in clustered / distributed environments. The current > implementation makes a lot of assumptions and relies on JCR locks. These > assumptions

Re: Sling based FTP Server

2013-04-02 Thread Felix Meschberger
Hi, Sling is the FTP Server providing access to the repository similar as the WebDAV bundle provides WebDAV based access. Implementationwise the FTP server bundle uses the Commons Ftp Server library and implements the backend API to integrate with the repository (the Sling Resource API, actual

Re: Sling based FTP Server

2013-04-02 Thread Dascalita Dragos
Hi Felix, what would be the workflow here ? Apache Sling connects to a remote FTP server to watch when new files get added into a specific path and then copy those files in JCR ? Or use them directly from the FTP server ? I'm trying to understand how similar would this bundle be when compared to a

Potential changes / updates to the Sling eventing / job handling

2013-04-02 Thread Carsten Ziegeler
Hi, I'm currently prototyping enhancements in the Sling job handling to allow for better scaling in clustered / distributed environments. The current implementation makes a lot of assumptions and relies on JCR locks. These assumptions in combination of problems with JCR locks, usually lead to a se

[jira] [Resolved] (SLING-2806) JEXL Scripting engine cause an exception in ScriptEngineManagerFactory

2013-04-02 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-2806. -- Resolution: Fixed Fix Version/s: Scripting Core 2.0.26 Assignee: Felix M

[jira] [Commented] (SLING-2803) Create a Validation module capable of validating POST requests or Resources

2013-04-02 Thread Radu Cotescu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619649#comment-13619649 ] Radu Cotescu commented on SLING-2803: - [~cziegeler], could you please elaborate a bit

Re: Sling based FTP Server

2013-04-02 Thread Carsten Ziegeler
+1 to move this to contrib Carsten 2013/4/2 Oliver Lietz > Am Dienstag, 2. April 2013 schrieb Felix Meschberger: > > Hi all > > hi Felix, > > > I have been prototyping a Sling based FTP Server in my whiteboard [1]. > IMHO > > this would be a quite nice addition to the Sling code base. > > > >

Re: Sling based FTP Server

2013-04-02 Thread Oliver Lietz
Am Dienstag, 2. April 2013 schrieb Felix Meschberger: > Hi all hi Felix, > I have been prototyping a Sling based FTP Server in my whiteboard [1]. IMHO > this would be a quite nice addition to the Sling code base. > > How about moving that code to the contrib folder -- or if interest exists > --

[jira] [Updated] (SLING-2807) remove create-karaf-descriptor from org.apache.sling.launchpad, contrib/servicemix-feature and contrib/launchpad/smx-kernel

2013-04-02 Thread Oliver Lietz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated SLING-2807: Description: all three are broken (outdated and incomplete) (was: both are broken (outdated and in

Re: Sling based FTP Server

2013-04-02 Thread Antonio Sanso
+1 Antonio On Apr 2, 2013, at 9:22 AM, Felix Meschberger wrote: > Hi all > > I have been prototyping a Sling based FTP Server in my whiteboard [1]. IMHO > this would be a quite nice addition to the Sling code base. > > How about moving that code to the contrib folder -- or if interest exists

Sling based FTP Server

2013-04-02 Thread Felix Meschberger
Hi all I have been prototyping a Sling based FTP Server in my whiteboard [1]. IMHO this would be a quite nice addition to the Sling code base. How about moving that code to the contrib folder -- or if interest exists -- to the bundles folder ? Regards Felix [1] https://svn.apache.org/repos/as