Re: Resource Resolvers in OSGi Service APIs

2015-07-24 Thread Konrad Windszus
Hi Carsten, thanks a lot for your answer. There is one question remaining though: Given that you don’t want to pass the resource resolver from the client, under which circumstances would you pick which one from the following two approaches: a) Create a resource resolver in the activate method and

Fwd: Resource Resolvers in OSGi Service APIs

2015-07-24 Thread Konrad Windszus
I just found out about ResourceResolver.getThreadResourceResolver (https://issues.apache.org/jira/browse/SLING-3868 ). Although this might speed up things, I am not sure on when to use this. I basically share Jörgs concerns from http://mail-ar

[jira] [Created] (SLING-4902) Clarify javadoc on ResourceResolverFactory.getThreadResourceResolver()

2015-07-24 Thread Konrad Windszus (JIRA)
Konrad Windszus created SLING-4902: -- Summary: Clarify javadoc on ResourceResolverFactory.getThreadResourceResolver() Key: SLING-4902 URL: https://issues.apache.org/jira/browse/SLING-4902 Project: Sli

[jira] [Resolved] (SLING-4902) Clarify javadoc on ResourceResolverFactory.getThreadResourceResolver()

2015-07-24 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus resolved SLING-4902. Resolution: Fixed Fix Version/s: API 2.10.0 > Clarify javadoc on ResourceResolverFact

[jira] [Assigned] (SLING-4900) Clarify javadoc on ResourceResolver.getParentResourceType(String)

2015-07-24 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus reassigned SLING-4900: -- Assignee: Konrad Windszus > Clarify javadoc on ResourceResolver.getParentResourceType(S

[jira] [Resolved] (SLING-4900) Clarify javadoc on ResourceResolver.getParentResourceType(String)

2015-07-24 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konrad Windszus resolved SLING-4900. Resolution: Fixed Fix Version/s: API 2.10.0 > Clarify javadoc on ResourceResolver.get

[jira] [Commented] (SLING-4900) Clarify javadoc on ResourceResolver.getParentResourceType(String)

2015-07-24 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640095#comment-14640095 ] Konrad Windszus commented on SLING-4900: Fixed in http://svn.apache.org/r1692462.

[jira] [Commented] (SLING-4902) Clarify javadoc on ResourceResolverFactory.getThreadResourceResolver()

2015-07-24 Thread Konrad Windszus (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640096#comment-14640096 ] Konrad Windszus commented on SLING-4902: Fixed in http://svn.apache.org/r1692460

[jira] [Commented] (SLING-4895) Service registry should not be called from within synchronized block

2015-07-24 Thread Marius Petria (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640147#comment-14640147 ] Marius Petria commented on SLING-4895: -- I think we can safely move the updateServiceM

[jira] [Created] (SLING-4903) ConcurrentModificationException in MapEntries

2015-07-24 Thread Antonio Sanso (JIRA)
Antonio Sanso created SLING-4903: Summary: ConcurrentModificationException in MapEntries Key: SLING-4903 URL: https://issues.apache.org/jira/browse/SLING-4903 Project: Sling Issue Type: Bug

[jira] [Updated] (SLING-4903) ConcurrentModificationException in MapEntries

2015-07-24 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso updated SLING-4903: - Attachment: SLING-4883-test-patch.txt adding patch containing unit test that reproduces the issue

[jira] [Commented] (SLING-4478) Support run modes

2015-07-24 Thread Alex Parvulescu (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640258#comment-14640258 ] Alex Parvulescu commented on SLING-4478: bq. However, it's not good that this drag

[jira] [Commented] (SLING-4788) SlingConfigurationPrinter should use mode aware and only stream the full logs in the zip version and avoid duplicate information

2015-07-24 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640346#comment-14640346 ] Chetan Mehrotra commented on SLING-4788: For now I worked around dependency on inv

[jira] [Commented] (SLING-4788) SlingConfigurationPrinter should use mode aware and only stream the full logs in the zip version and avoid duplicate information

2015-07-24 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640349#comment-14640349 ] Chetan Mehrotra commented on SLING-4788: Added support for limiting the number of

[jira] [Commented] (SLING-2884) [Log] Improvements to Web Console plugins

2015-07-24 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640351#comment-14640351 ] Chetan Mehrotra commented on SLING-2884: {quote} (1) The Configuration Printer wri

[jira] [Resolved] (SLING-2884) [Log] Improvements to Web Console plugins

2015-07-24 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra resolved SLING-2884. Resolution: Fixed Assignee: Chetan Mehrotra Fix Version/s: Commons Log 4.0.4

[jira] [Updated] (SLING-4903) ConcurrentModificationException in MapEntries

2015-07-24 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso updated SLING-4903: - Attachment: SLING-4883-patch.txt attaching strawman patch. [~chetanm] WDYT? The idea is to use C

[jira] [Commented] (SLING-4903) ConcurrentModificationException in MapEntries

2015-07-24 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640388#comment-14640388 ] Chetan Mehrotra commented on SLING-4903: If the write is not concurrent i.e. 2 th

Re: [VOTE] Release Apache Sling Scripting Core 2.0.32

2015-07-24 Thread Robert Munteanu
On Tue, 2015-07-21 at 15:27 +, Radu Cotescu wrote: > Please vote to approve this release: +1 Robert

[jira] [Commented] (SLING-4903) ConcurrentModificationException in MapEntries

2015-07-24 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640433#comment-14640433 ] Antonio Sanso commented on SLING-4903: -- thanks [~chetanm]. Do you mean something like

Re: [Testing][Mocks]new file created on building sling-mock-oak

2015-07-24 Thread Robert Munteanu
On Wed, 2015-07-22 at 12:47 +0530, Satya Deep Maheshwari wrote: > Hi > > Everytime I do a "mvn clean install" in sling/testing/mocks/sling > -mock-oak, > a new file gets generated by the name: dependency-reduced-pom.xml > probably > by maven-shade-plugin. Should it be cleaned up after the build o

Re: [vote] Accept the contribution of Log Tail Plugin tracked in SLING-4897

2015-07-24 Thread Robert Munteanu
On Wed, 2015-07-22 at 19:45 +0530, Varun Nagpal wrote: > Hi, > > This thread is about voting for the acceptance of the Log Tail Plugin > tracked in SLING-4897. > > An archive (sling-logtail.zip, md5sum > 6d14f2ef4748c00e63cbbaeda7224e3c) > containing the contribution is attached to SLING-4897 an

[jira] [Commented] (SLING-4903) ConcurrentModificationException in MapEntries

2015-07-24 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640507#comment-14640507 ] Chetan Mehrotra commented on SLING-4903: No instead of cloning just create a new

[VOTE RESULT] Release Apache Sling Event 3.7.4 and Apache Sling DEA 1.0.2

2015-07-24 Thread Carsten Ziegeler
The vote passed with three binding +1 votes Thanks Carsten -- Carsten Ziegeler Adobe Research Switzerland cziege...@apache.org

[jira] [Closed] (SLING-4885) creation of jobs via OSGI events stops working on Exceptions

2015-07-24 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-4885. --- > creation of jobs via OSGI events stops working on Exceptions > -

[jira] [Updated] (SLING-4634) Directly check if view is still current

2015-07-24 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4634: Fix Version/s: (was: Event 3.7.4) Event 3.7.6 > Directly check if vie

[jira] [Closed] (SLING-4758) Make the DEA bundle usable on older Sling installations

2015-07-24 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-4758. --- > Make the DEA bundle usable on older Sling installations > --

Re: Resource Resolvers in OSGi Service APIs

2015-07-24 Thread Carsten Ziegeler
Am 24.07.15 um 09:08 schrieb Konrad Windszus: > Hi Carsten, > thanks a lot for your answer. There is one question remaining though: > Given that you don’t want to pass the resource resolver from the client, > under which circumstances would you pick which one from the following two > approaches:

[jira] [Created] (SLING-4904) Log Config printer should only dump last 'n' lines of the logs

2015-07-24 Thread Chetan Mehrotra (JIRA)
Chetan Mehrotra created SLING-4904: -- Summary: Log Config printer should only dump last 'n' lines of the logs Key: SLING-4904 URL: https://issues.apache.org/jira/browse/SLING-4904 Project: Sling

[jira] [Resolved] (SLING-4788) SlingConfigurationPrinter should use mode aware and only stream the full logs in the zip version and avoid duplicate information

2015-07-24 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chetan Mehrotra resolved SLING-4788. Resolution: Fixed Fix Version/s: Commons Log 4.0.4 > SlingConfigurationPrinter should

[jira] [Commented] (SLING-4788) SlingConfigurationPrinter should use mode aware and only stream the full logs in the zip version and avoid duplicate information

2015-07-24 Thread Chetan Mehrotra (JIRA)
[ https://issues.apache.org/jira/browse/SLING-4788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641406#comment-14641406 ] Chetan Mehrotra commented on SLING-4788: Opened SLING-4904 to track support for in