Re: [Status Update] Apache Cassandra backend for Sling

2013-07-02 Thread Ian Boston
Hi DIshara, On 3 July 2013 02:51, Dishara Wijewardana wrote: > Hi Ian, > Does each bundle in sling made to run their junit tests separately at build > time ? Yes. > If so each pom should have configured to junit test cases. > Where and how to define them ? > All you need to do is depend

Re: Issue Adding GPG Key

2013-07-02 Thread Justin Edelson
Dan- I'm not 100% sure, but I believe you need to "svn co https://dist.apache.org/repos/dist/release/sling/"; and edit the KEYS file there. When you commit your update, it should auto-replicate to the /x1/www/... directory. It looks like when the page was updated after we switched to SVN PubSub, A

Re: Sling Proposal

2013-07-02 Thread Justin Edelson
Ben- You also might want to take a look at https://github.com/justinedelson/cq-urlfilter, which is virtually the same code, just adapted to work better in a CQ/AEM environment. Regards, Justin On Tue, Jul 2, 2013 at 4:49 PM, Ben Zahler wrote: > Justin, Felix, > Thanks for your responses and ple

Re: Sling Proposal

2013-07-02 Thread Ben Zahler
Justin, Felix, Thanks for your responses and please excuse that my terminology makes it a little too clear that I'm coming from CQ ;-). Justins's solution is actually very close to what I had in mind with the "template based" solution. I will mull over this and create ticket also referencing Justi

Issue Adding GPG Key

2013-07-02 Thread Daniel Klco
All, I am getting ready to create a release for the Sling taglib changes, unfortunately, I seem to have run into a snag trying to add my GPG key. According to the directions here: http://sling.apache.org/documentation/development/release-management.html#appendix-a-create-and-add-your-key-to-http

Re: Sling Posthandling - thougts about the current behavior

2013-07-02 Thread Alexander Klimetschek
Ack on the overall goal. The way I see it, it boils down to having the sling post servlet (or more specifically that new POST-pipeline) not "just" one special servlet out of many, but an integral part of Sling. Registering operations, post processors or whatever we need by resource type sound

Re: FYI, working on @AdapterMethod

2013-07-02 Thread Alexander Klimetschek
On 01.07.2013, at 12:13, Bertrand Delacretaz wrote: >> ...(3) Maybe we can find a better name for the AdapterMethodProvider >> interface -- something >> which is more in line with the AdapterFactory service name. > > I don't have a better name for now, and the service is really a > provider of

Re: Wrong handling of service.ranking property in Sling Filter ordering

2013-07-02 Thread Alexander Klimetschek
On 18.06.2013, at 15:19, Felix Meschberger wrote: > So, I tend to switch over to the fix-the-implementation-camp. +1 It's what you expect (higher service ranking picked up first) and if the wrong cases are few and can be easily handled (big documentation note to sling users) that's definitely

[jira] [Resolved] (SLING-2834) sling:include support two new attributes

2013-07-02 Thread Dan Klco (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dan Klco resolved SLING-2834. - Resolution: Fixed Added the new variables and support for saving included content into the sling:include

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

2013-07-02 Thread Radu Cotescu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Radu Cotescu updated SLING-2803: Attachment: org.apache.sling.validation-2.zip I've improved the API and added more functionality to

Re: [Status Update] Apache Cassandra backend for Sling

2013-07-02 Thread Dishara Wijewardana
Hi Ian, Does each bundle in sling made to run their junit tests separately at build time ? If so each pom should have configured to junit test cases. Where and how to define them ? On Mon, Jul 1, 2013 at 5:32 AM, Ian Boston wrote: > Hi Dishara, > > I've taken the liberty of creating a code rev

Build failed in Jenkins: sling-trunk-1.7 #80

2013-07-02 Thread Apache Jenkins Server
See Changes: [bdelacretaz] SLING-2822 - support attributes in InternalRequest -- Started by an SCM change Building remotely on solaris1 in workspace

Build failed in Jenkins: sling-trunk-1.6 #1710

2013-07-02 Thread Apache Jenkins Server
See Changes: [bdelacretaz] SLING-2822 - support attributes in InternalRequest -- [...truncated 328 lines...] [INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support SKIPPED [INFO]

Build failed in Jenkins: sling-trunk-1.6 » Sling Adapter Annotations #1710

2013-07-02 Thread Apache Jenkins Server
See -- [INFO] [INFO]

Build failed in Jenkins: sling-healthcheck-1.6 #36

2013-07-02 Thread Apache Jenkins Server
See Changes: [bdelacretaz] SLING-2822 - support attributes in InternalRequest -- [...truncated 338 lines...] 677 [main] WARN org.apache.sling.hc.api.Rule - Value [TEST_PASSED TEST_PASSED] doe

[jira] [Resolved] (SLING-2942) & symbol in OSGI config is resulting in an error at build time

2013-07-02 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-2942. Resolution: Invalid Your XML is not well-formed, ampersand should be escaped: logi

[jira] [Created] (SLING-2942) & symbol in OSGI config is resulting in an error at build time

2013-07-02 Thread Bala Kondepudi (JIRA)
Bala Kondepudi created SLING-2942: - Summary: & symbol in OSGI config is resulting in an error at build time Key: SLING-2942 URL: https://issues.apache.org/jira/browse/SLING-2942 Project: Sling

@Adapter methods, ready to integrate in trunk, WDYT?

2013-07-02 Thread Bertrand Delacretaz
Hi, As this touches the sling.api bundle, I have attached a patch [1] for review ,see SLING-2938 for more details. All the TODOs in that issue have been implemented. I plan to commit this later this week, unless someone objects. -Bertrand [1] https://issues.apache.org/jira/secure/attachment/12

[jira] [Updated] (SLING-2938) AdapterMethods annotation and adapter proxy service

2013-07-02 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-2938: --- Attachment: console.jpg Here's a screenshot of how an @Adapter method looks in the co

[jira] [Updated] (SLING-2938) AdapterMethods annotation and adapter proxy service

2013-07-02 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-2938: --- Attachment: SLING-2938-api.patch Here's my proposed SLING-2938-api.patch to integrate

Re: Sling Posthandling - thougts about the current behavior

2013-07-02 Thread Dominik Süß
Well, if locking is just about permission I do agree with ACLs being the right solution (the permission set on the node itself might be sufficient for that case) - if it is about businessconstraints that need to be fullfilled an ACL cannot solve this requirement[0]. This is why validation and so on

Re: Sling Posthandling - thougts about the current behavior

2013-07-02 Thread Bertrand Delacretaz
On Tue, Jul 2, 2013 at 2:38 PM, Dominik Süß wrote: > Facing some questions about how to prevent the SlingPostServlet to be able > to perform a change I had a closer look at the current implementation and > it looks like there is currently no "secure" way of doing that beside > locking the target o

Re: Sling Posthandling - thougts about the current behavior

2013-07-02 Thread Dominik Süß
Facing some questions about how to prevent the SlingPostServlet to be able to perform a change I had a closer look at the current implementation and it looks like there is currently no "secure" way of doing that beside locking the target on persistancelevel (alias setting ACLs). There is some hack

[jira] [Commented] (SLING-2939) 3rd-party based implementation of discovery.api

2013-07-02 Thread Stefan Egli (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697729#comment-13697729 ] Stefan Egli commented on SLING-2939: An alternative approach could be a configurable m

Re: [DISCUSS] SLING-2936 - passing selector as POST parameter

2013-07-02 Thread Bertrand Delacretaz
Hi, On Thu, Jun 27, 2013 at 5:46 PM, Justin Edelson wrote: >...I think there is a significant need to be able to "select" > amongst multiple POST servlets for a particular resource. Thus, I propose > that we allow for the selector to be passed via a request parameter Why is that better than

[jira] [Comment Edited] (SLING-428) [Javascript] allow Server-side inclusion of Javascript files

2013-07-02 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626954#comment-12626954 ] Bertrand Delacretaz edited comment on SLING-428 at 7/2/13 9:11 AM: --

[jira] [Comment Edited] (SLING-2939) 3rd-party based implementation of discovery.api

2013-07-02 Thread Stefan Egli (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697563#comment-13697563 ] Stefan Egli edited comment on SLING-2939 at 7/2/13 7:55 AM: [~

[jira] [Commented] (SLING-2939) 3rd-party based implementation of discovery.api

2013-07-02 Thread Stefan Egli (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697567#comment-13697567 ] Stefan Egli commented on SLING-2939: [~ianeboston] great points. I agree that JGroups