Sling Models : Extensibility / providing custom injectors

2014-01-23 Thread Jon Barber
Hi, The Sling Models project looks very interesting. I haven't had chance to play with it yet, but it looks like it should be possible to create custom injectors simply by registering a service that provides the org.apache.sling.models.spi.Injector interface. Is that all I'd have to do or are

[jira] [Updated] (SLING-3290) Long startup time with many vanityPath

2014-01-23 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso updated SLING-3290: - Summary: Long startup time with many vanityPath (was: Long startup time with many vanityPath or

[jira] [Resolved] (SLING-3331) SlingTestBase should accept a list of paths for additional bundles

2014-01-23 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-3331. Resolution: Fixed Implemented in revision 1560635 SlingTestBase should accept a

[jira] [Created] (SLING-3332) Long startup time with many sling:alias

2014-01-23 Thread Antonio Sanso (JIRA)
Antonio Sanso created SLING-3332: Summary: Long startup time with many sling:alias Key: SLING-3332 URL: https://issues.apache.org/jira/browse/SLING-3332 Project: Sling Issue Type:

[jira] [Updated] (SLING-3290) Long startup time with many vanityPath

2014-01-23 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso updated SLING-3290: - Component/s: ResourceResolver Long startup time with many vanityPath

[jira] [Commented] (SLING-3332) Long startup time with many sling:alias

2014-01-23 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13879863#comment-13879863 ] Antonio Sanso commented on SLING-3332: -- Details from StartupWithManyAliasTest

Re: Server Side Tests - do we need two separate projects?

2014-01-23 Thread Bertrand Delacretaz
Hi Justin, On Wed, Jan 22, 2014 at 10:18 PM, Justin Edelson jus...@justinedelson.com wrote: ...When using Sling's JUnit Server Side support, I think you need two projects... That was the case indeed, I just did a small change (SLING-3331) to SlingTestBase which allows for making the

[jira] [Commented] (SLING-3332) Long startup time with many sling:alias

2014-01-23 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13879866#comment-13879866 ] Antonio Sanso commented on SLING-3332: -- the startup/update slowness for the

[jira] [Commented] (SLING-3332) Long startup time with many sling:alias

2014-01-23 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13879867#comment-13879867 ] Antonio Sanso commented on SLING-3332: -- here the details about 100 and 1000 children

[jira] [Assigned] (SLING-3332) Long startup time with many sling:alias

2014-01-23 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso reassigned SLING-3332: Assignee: Antonio Sanso Long startup time with many sling:alias

[jira] [Updated] (SLING-3332) Long startup time with many sling:alias

2014-01-23 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso updated SLING-3332: - Attachment: SLING-3332.txt attaching proposed patch Long startup time with many sling:alias

Configuration flag for optimize alias resolution

2014-01-23 Thread Antonio Sanso
hi *, in SLING-3332 [0] I have proposed to introduce a Configuration flag for optimize alias resolution. The optimization as been introduced as part of SLING-2521 [1] and in general is a really good optimization. There are certain cases though where it would be beneficial to switch this

[jira] [Commented] (SLING-3321) Incorrect caching/timeout behavior with slow health check

2014-01-23 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13879898#comment-13879898 ] Bertrand Delacretaz commented on SLING-3321: Looks much better after

[jira] [Created] (SLING-3333) Avoid mounting Sling servlets on paths, prefer resource types

2014-01-23 Thread Bertrand Delacretaz (JIRA)
Bertrand Delacretaz created SLING-: -- Summary: Avoid mounting Sling servlets on paths, prefer resource types Key: SLING- URL: https://issues.apache.org/jira/browse/SLING- Project:

Re: Server Side Tests - do we need two separate projects?

2014-01-23 Thread Justin Edelson
Hi, On Thu, Jan 23, 2014 at 6:24 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: Hi Justin, On Wed, Jan 22, 2014 at 10:18 PM, Justin Edelson jus...@justinedelson.com wrote: ...When using Sling's JUnit Server Side support, I think you need two projects... That was the case indeed, I

Re: Health Check Core Release?

2014-01-23 Thread Carsten Ziegeler
I'm not sure, if the current behaviour is optimal if the same health checks are started in parallel - I have the feeling that some syncing is missing. I'll try to have a look at this before the release Carsten 2014/1/22 Carsten Ziegeler cziege...@apache.org I've just committed a potential fix

[jira] [Created] (SLING-3334) Explicitly define and document service.ranking for standard Injectors

2014-01-23 Thread Justin Edelson (JIRA)
Justin Edelson created SLING-3334: - Summary: Explicitly define and document service.ranking for standard Injectors Key: SLING-3334 URL: https://issues.apache.org/jira/browse/SLING-3334 Project: Sling

[jira] [Created] (SLING-3335) Create Configuration Printer to output available injectors

2014-01-23 Thread Justin Edelson (JIRA)
Justin Edelson created SLING-3335: - Summary: Create Configuration Printer to output available injectors Key: SLING-3335 URL: https://issues.apache.org/jira/browse/SLING-3335 Project: Sling

[jira] [Commented] (SLING-3333) Avoid mounting Sling servlets on paths, prefer resource types

2014-01-23 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13879975#comment-13879975 ] Carsten Ziegeler commented on SLING-: - This is not true, we have the

Re: Sling Models : Extensibility / providing custom injectors

2014-01-23 Thread Justin Edelson
Hi Jon, That's definitely the idea. If you don't mind and it isn't proprietary information, could you share the custom injector types you're interested in? It is possible that more standard injectors need to be in the core. Regards, Justin On Thu, Jan 23, 2014 at 4:22 AM, Jon Barber

[jira] [Commented] (SLING-3333) Avoid mounting Sling servlets on paths, prefer resource types

2014-01-23 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13879987#comment-13879987 ] Justin Edelson commented on SLING-: --- Do we actually have cases in Sling where we

Re: Configuration flag for optimize alias resolution

2014-01-23 Thread Carsten Ziegeler
It would be nice if we can get this solved without a flag - there is a high chance that this is always configured wrongly. Carsten 2014/1/23 Antonio Sanso asa...@adobe.com hi *, in SLING-3332 [0] I have proposed to introduce a Configuration flag for optimize alias resolution. The

[jira] [Commented] (SLING-3333) Avoid mounting Sling servlets on paths, prefer resource types

2014-01-23 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13880020#comment-13880020 ] Bertrand Delacretaz commented on SLING-: I'm not saying we have such cases

[jira] [Commented] (SLING-3333) Avoid mounting Sling servlets on paths, prefer resource types

2014-01-23 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13880090#comment-13880090 ] Carsten Ziegeler commented on SLING-: - Oh sure, I totally agree that resource

Re: Configuration flag for optimize alias resolution

2014-01-23 Thread Carsten Ziegeler
Ok, if we can make such an easy statement I'm fine Carsten 2014/1/23 Antonio Sanso asa...@adobe.com On Jan 23, 2014, at 4:44 PM, Justin Edelson jus...@justinedelson.com wrote: If it is always configured wrongly, then we have the wrong default :) although I don't think that's the case

Sling Pax Utils ?

2014-01-23 Thread Felix Meschberger
Hi I just noted the sling-pax-util project in contrib/extensions. From the name and usage in i18n (and probably others), I would assume this is some testing support stuff. Shoudn't that rather be in the testing root folder ? And can we have a release of this ? Otherwise consumer bundles