Re: [i18n] jcr resource bundle provider

2013-12-20 Thread Felix Meschberger
Hi Am 19.12.2013 um 00:10 schrieb Carsten Ziegeler : > shop=ship >From a deployer's point of view "shop" makes a lot of sense, actually. Regards Felix > > > 2013/12/19 Carsten Ziegeler > >> Ok, but I don't want to shop a new i18n implementation which is >> incompatible and would require ma

Re: [i18n] jcr resource bundle provider

2013-12-20 Thread Felix Meschberger
Hi I wonder, whether we should not actually radically change the data structure: Move away from the fine grained content and back to File blobs in Properties or maybe JSON format ? Currently the i18n bundle reads all translation entries for the request language in bulk anyway (it used to be re

[jira] [Resolved] (SLING-3280) Remove old agents in agents directory

2013-12-20 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-3280. Resolution: Fixed Assignee: Bertrand Delacretaz Patch applied in http://svn.a

[jira] [Comment Edited] (SLING-3280) Remove old agents in agents directory

2013-12-20 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853814#comment-13853814 ] Bertrand Delacretaz edited comment on SLING-3280 at 12/20/13 9:32 AM: --

[jira] [Commented] (SLING-3280) Remove old agents in agents directory

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853817#comment-13853817 ] Tommaso Teofili commented on SLING-3280: just double checked, everything looks goo

[jira] [Commented] (SLING-3281) Expose more information on the replication queues

2013-12-20 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853821#comment-13853821 ] Bertrand Delacretaz commented on SLING-3281: I tried applying these patches in

[jira] [Commented] (SLING-3281) Expose more information on the replication queues

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853823#comment-13853823 ] Tommaso Teofili commented on SLING-3281: actually you should only apply the latest

[jira] [Resolved] (SLING-3281) Expose more information on the replication queues

2013-12-20 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-3281. Resolution: Fixed Ok, got it! Committed in revision 1552571, please cross-check. N

[jira] [Commented] (SLING-3281) Expose more information on the replication queues

2013-12-20 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853836#comment-13853836 ] Bertrand Delacretaz commented on SLING-3281: ...and 1552575 - two files were m

[jira] [Assigned] (SLING-3295) Add a scheduled replication rule

2013-12-20 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz reassigned SLING-3295: -- Assignee: Bertrand Delacretaz > Add a scheduled replication rule >

[jira] [Assigned] (SLING-3281) Expose more information on the replication queues

2013-12-20 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz reassigned SLING-3281: -- Assignee: Bertrand Delacretaz > Expose more information on the replication queu

[jira] [Assigned] (SLING-3297) Sling-based mail archive server sample contribution

2013-12-20 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz reassigned SLING-3297: -- Assignee: Bertrand Delacretaz > Sling-based mail archive server sample contribu

[jira] [Resolved] (SLING-3295) Add a scheduled replication rule

2013-12-20 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-3295. Resolution: Fixed Committed in revision 1552577, including adding the missing org.

Re: [i18n] jcr resource bundle provider

2013-12-20 Thread Bertrand Delacretaz
Hi, On Fri, Dec 20, 2013 at 10:27 AM, Felix Meschberger wrote: > ...Since this is a radical approach, we can have both approaches sit side by > side > and support both. If the new one is used, performance might be better. If the > old > one is still use, it still works... How would you handle

Re: [RFC] YAMF - Yet Another Model Factory

2013-12-20 Thread Konrad Windszus
Hi Justin, another useful feature just came to my mind (in fact we are using it in our own annotation framework) which is composition. Would it be much effort to allow injecting one model into another? We do have the following usecase for that (although this is CQ, I guess there is a similar us

Re: [RFC] YAMF - Yet Another Model Factory

2013-12-20 Thread Felix Meschberger
Hi Justin Wow ! I really like this ! Still, as always, I have some comments: * I share Dan's concerns with respect to the @Inject annotation: Isn't that too generic ? (Yes, I am the strongly typed guy, so I love to know things upfront in a fail early style) * I see support for interfaces is

[jira] [Commented] (SLING-3295) Add a scheduled replication rule

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853853#comment-13853853 ] Tommaso Teofili commented on SLING-3295: thanks Bertrand, everything looks good >

[jira] [Commented] (SLING-3281) Expose more information on the replication queues

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853854#comment-13853854 ] Tommaso Teofili commented on SLING-3281: thanks Bertrand, everything looks good >

Re: [i18n] jcr resource bundle provider

2013-12-20 Thread Felix Meschberger
Hi Am 20.12.2013 um 11:15 schrieb Bertrand Delacretaz : > Hi, > > On Fri, Dec 20, 2013 at 10:27 AM, Felix Meschberger > wrote: >> ...Since this is a radical approach, we can have both approaches sit side by >> side >> and support both. If the new one is used, performance might be better. If

[jira] [Created] (SLING-3298) PollingTransportHandler should have a configurable no. of consecutive polls

2013-12-20 Thread Tommaso Teofili (JIRA)
Tommaso Teofili created SLING-3298: -- Summary: PollingTransportHandler should have a configurable no. of consecutive polls Key: SLING-3298 URL: https://issues.apache.org/jira/browse/SLING-3298 Project

[jira] [Updated] (SLING-3298) PollingTransportHandler should have a configurable no. of consecutive polls

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated SLING-3298: --- Description: By default the PollingTransportHandler tries to consume all the available packag

[jira] [Commented] (SLING-3286) Remove plugin version overrides from poms

2013-12-20 Thread Robert Munteanu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853872#comment-13853872 ] Robert Munteanu commented on SLING-3286: Opened FELIX-4364 regarding the maven-bun

[jira] [Updated] (SLING-3298) PollingTransportHandler should have a configurable no. of consecutive polls

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated SLING-3298: --- Attachment: SLING-3298.patch patch provided > PollingTransportHandler should have a configur

Re: [RFC] YAMF - Yet Another Model Factory

2013-12-20 Thread Justin Edelson
Hi Konrad, This makes sense, except for the part about "switch the current resource"? What do you mean by this? It seems we should be treating the request resource (which is what I think of as the "current" resource) as immutable. Regards, Justin On Fri, Dec 20, 2013 at 5:31 AM, Konrad Windszus

Re: [RFC] YAMF - Yet Another Model Factory

2013-12-20 Thread Justin Edelson
Hi Felix, On Fri, Dec 20, 2013 at 5:32 AM, Felix Meschberger wrote: > Hi Justin > > Wow ! I really like this ! > > Still, as always, I have some comments: > > * I share Dan's concerns with respect to the @Inject annotation: Isn't that > too generic ? (Yes, I am the strongly typed guy, so I love

Re: [RFC] YAMF - Yet Another Model Factory

2013-12-20 Thread Felix Meschberger
Hi Justin Am 20.12.2013 um 13:55 schrieb Justin Edelson : > Hi Felix, > > On Fri, Dec 20, 2013 at 5:32 AM, Felix Meschberger wrote: >> Hi Justin >> >> Wow ! I really like this ! >> >> Still, as always, I have some comments: >> >> * I share Dan's concerns with respect to the @Inject annotatio

Re: [RFC] YAMF - Yet Another Model Factory

2013-12-20 Thread Konrad Windszus
Hi Justin, let me give a concrete example where switching resource nodes is actually useful: I do have a composition model of two image models (i.e. the same class). Obviously they cannot share the same node, as both models are referring to the same value names. Therefore an approach similar to

Build failed in Jenkins: sling-contrib-1.6 ยป Apache Sling JCR Resource Security #1109

2013-12-20 Thread Apache Jenkins Server
See -- [INFO] [INFO]

Re: [RFC] YAMF - Yet Another Model Factory

2013-12-20 Thread Justin Edelson
Hi Konrad, Thanks for the clarification. It seems straightforward enough to be able to adapt the injected value if it is not assignable to the field's class. @Inject private ImageModel image image would be a Resource object natively which could then be adapted to the ImageModel class. Justin

Build failed in Jenkins: sling-contrib-1.6 #1109

2013-12-20 Thread Apache Jenkins Server
See Changes: [bdelacretaz] SLING-3295 - Add a scheduled replication rule, contributed by Tommaso Teofili, thanks! [bdelacretaz] SLING-3281 - forgot two files on previous commit [bdelacretaz] SLING-3281 - expose more information on

[jira] [Updated] (SLING-3298) PollingTransportHandler should have a configurable no. of consecutive polls

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated SLING-3298: --- Labels: replication (was: ) > PollingTransportHandler should have a configurable no. of cons

[jira] [Created] (SLING-3299) Remote agent queue poll should be restricted as "queueing" agents

2013-12-20 Thread Tommaso Teofili (JIRA)
Tommaso Teofili created SLING-3299: -- Summary: Remote agent queue poll should be restricted as "queueing" agents Key: SLING-3299 URL: https://issues.apache.org/jira/browse/SLING-3299 Project: Sling

[jira] [Commented] (SLING-3299) Remote agent queue poll should be restricted as "queueing" agents

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853966#comment-13853966 ] Tommaso Teofili commented on SLING-3299: patch added > Remote agent queue poll sh

[jira] [Updated] (SLING-3223) Donation of a replication module for Sling

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated SLING-3223: --- Labels: replication (was: ) > Donation of a replication module for Sling > -

[jira] [Updated] (SLING-3299) Remote agent queue poll should be restricted as "queueing" agents

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated SLING-3299: --- Attachment: SLING-3299.patch > Remote agent queue poll should be restricted as "queueing" age

[jira] [Updated] (SLING-3280) Remove old agents in agents directory

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated SLING-3280: --- Labels: replication (was: ) > Remove old agents in agents directory > --

[jira] [Updated] (SLING-3265) Implement suggestions from SLING-3223 in Sling replication

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated SLING-3265: --- Labels: replication (was: ) > Implement suggestions from SLING-3223 in Sling replication > -

[jira] [Updated] (SLING-3295) Add a scheduled replication rule

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated SLING-3295: --- Labels: replication (was: ) > Add a scheduled replication rule > ---

[jira] [Updated] (SLING-3281) Expose more information on the replication queues

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated SLING-3281: --- Labels: replication (was: ) > Expose more information on the replication queues > --

Developing bundles dependent on RSA libraries

2013-12-20 Thread Rohit Kumar
Our component and its dependency bundles make use of RSA library, thus requiring it to be available in shared mode. However, RSA libs seems to be causing problems in OSGI environment(mostly classloader related) due to their SPI model. Exporting them through boot delegation seems to work fine. Is

[jira] [Created] (SLING-3300) Add an API to create replication agent (configuration)

2013-12-20 Thread Tommaso Teofili (JIRA)
Tommaso Teofili created SLING-3300: -- Summary: Add an API to create replication agent (configuration) Key: SLING-3300 URL: https://issues.apache.org/jira/browse/SLING-3300 Project: Sling Issu

[jira] [Updated] (SLING-3300) Add an API to create replication agent (configuration)

2013-12-20 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tommaso Teofili updated SLING-3300: --- Attachment: SLING-3300.patch patch added > Add an API to create replication agent (configura

Re: [i18n] jcr resource bundle provider

2013-12-20 Thread Tobias Bocanegra
Hi, On Fri, Dec 20, 2013 at 1:27 AM, Felix Meschberger wrote: > Hi > > I wonder, whether we should not actually radically change the data structure: > Move away from the fine grained content and back to File blobs in Properties > or maybe JSON format ? that would certainly be a good option tha

Re: [i18n] jcr resource bundle provider

2013-12-20 Thread Alexander Klimetschek
On 20.12.2013, at 10:08, Tobias Bocanegra wrote: > however, there are currently tools and UIs developed on top of the > existing content based solution which assume the fine grained storage. > so changing the structure would also impact those. Yes, having written a few of those tools (all propie

[jira] [Updated] (SLING-3278) Provide a HealthCheckExecutor service

2013-12-20 Thread Georg Henzler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Georg Henzler updated SLING-3278: - Attachment: SLING-3278-hc.webconsole-2013-12-21.patch SLING-3278-hc.core-HealthCh

[jira] [Commented] (SLING-3278) Provide a HealthCheckExecutor service

2013-12-20 Thread Georg Henzler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13854799#comment-13854799 ] Georg Henzler commented on SLING-3278: -- Find another patch attached that uses a bundl

Re: [RFC] YAMF - Yet Another Model Factory

2013-12-20 Thread Georg Henzler
Hi all, first of all I have to say that I'm really happy to see that effort is being made to come up with a annotation based model binding mechansim. We've been using our own-grown for a while, but a standard is better! :) I also think it would be useful to inject "sub models". Using only the