[jira] [Closed] (SLING-6764) Guard against reflection failures when registering Sling Model classes

2017-05-01 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-6764. - > Guard against reflection failures when registering Sling Model clas

[jira] [Closed] (SLING-6584) Race condition in ModelAdapterFactory

2017-05-01 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-6584. - > Race condition in ModelAdapterFact

[jira] [Closed] (SLING-6748) Move ValuePreparer to the models API package

2017-05-01 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-6748. - > Move ValuePreparer to the models API pack

[jira] [Closed] (SLING-6778) [Sling Models] Support Delegate Pattern for Models adapted from interfaces

2017-05-01 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-6778. - > [Sling Models] Support Delegate Pattern for Models adapted from interfa

[jira] [Closed] (SLING-6652) Allow multiple Exporter annotated models being used with the same resourceType binding

2017-05-01 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-6652. - > Allow multiple Exporter annotated models being used with the same > resourceType b

[jira] [Closed] (SLING-6658) Register models with their implType implicitly

2017-05-01 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-6658. - > Register models with their implType implici

[jira] [Closed] (SLING-6785) Add support for scoped lifecycle of sling models

2017-05-01 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-6785. - > Add support for scoped lifecycle of sling mod

[RESULT] [VOTE] Release Apache Sling Models API 1.3.4 & Implementation 1.4.0

2017-05-01 Thread Justin Edelson
The vote has passed with 4 votes: +1: Konrad Windszus, Stefan Seifert, Carsten Ziegler, Justin Edelson On Thu, Apr 27, 2017 at 9:49 AM Justin Edelson wrote: > Hi, > > We solved 7 issue in these releases > > https://issues.apache.org/jira/browse/SLING/fixforversion/1

Re: [VOTE] Release Apache Sling Models API 1.3.4 & Implementation 1.4.0

2017-05-01 Thread Justin Edelson
My +1 On Thu, Apr 27, 2017 at 9:49 AM Justin Edelson wrote: > Hi, > > We solved 7 issue in these releases > > https://issues.apache.org/jira/browse/SLING/fixforversion/12338883 > https://issues.apache.org/jira/browse/SLING/fixforversion/12338884/ > > Sta

[VOTE] Release Apache Sling Models API 1.3.4 & Implementation 1.4.0

2017-04-27 Thread Justin Edelson
Hi, We solved 7 issue in these releases https://issues.apache.org/jira/browse/SLING/fixforversion/12338883 https://issues.apache.org/jira/browse/SLING/fixforversion/12338884/ Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1689/ You can use this UNIX script

[jira] [Resolved] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-27 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-6785. --- Resolution: Fixed Implemented in r1792884 > Add support for scoped lifecycle of sl

[jira] [Updated] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-27 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6785: -- Fix Version/s: Sling Models Impl 1.3.10 Sling Models API 1.3.4 > Add supp

[jira] [Assigned] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-27 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson reassigned SLING-6785: - Assignee: Justin Edelson > Add support for scoped lifecycle of sling mod

Re: Versioning of o.a.s.xss [was move o.a.s.xss.JSONUtil into a separate package]

2017-04-25 Thread Justin Edelson
is has a dependency > towards javax.json which may change in the future. If we have to do another > change in the future in that area, this would only affect the package with > the JSONUtil but not e.g. XSSApi. > > On 25. Apr 2017, at 14:21, Justin Edelson > wrote: > > > &

Re: Versioning of o.a.s.xss [was move o.a.s.xss.JSONUtil into a separate package]

2017-04-25 Thread Justin Edelson
I think #2 is the best option of these and I can't see another reasonable path forward. Regards, Justin On Tue, Apr 25, 2017 at 8:09 AM Carsten Ziegeler wrote: > I'm moving this into a separate thread to make the discussion easier. > > With the current state of the xss module, we would break ev

[jira] [Updated] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-24 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6785: -- Attachment: SLING-6785.diff Thinking about this some more and based on [~kwin]'s comme

Re: Unnecessary patch version bump in org.apache.sling.api.wrappers

2017-04-21 Thread Justin Edelson
rrect behavior)" > > if we think this does not justify or need a package version increment we > can just set it back to 2.6.0 > > stefan > > > >-Original Message- > >From: Justin Edelson [mailto:jus...@justinedelson.com] > >Sent: Friday, April 21, 2017 4

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978982#comment-15978982 ] Justin Edelson commented on SLING-6785: --- bq. if the user does not set &#

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978973#comment-15978973 ] Justin Edelson commented on SLING-6785: --- bq. but this does not seem to appl

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978927#comment-15978927 ] Justin Edelson commented on SLING-6785: --- [~jebailey] the cache is a WeakHas

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1597#comment-1597 ] Justin Edelson commented on SLING-6785: --- [~jelger] bq. Just to make sure, you

[jira] [Updated] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6785: -- Attachment: SLING-6785.diff Here's a diff of how this would look implemented i

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978858#comment-15978858 ] Justin Edelson commented on SLING-6785: --- [~jelger] the problem for me with {{s

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978821#comment-15978821 ] Justin Edelson commented on SLING-6785: --- bq. Regarding your proposal, do

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978818#comment-15978818 ] Justin Edelson commented on SLING-6785: --- [~jebailey] I see your concern,

Unnecessary patch version bump in org.apache.sling.api.wrappers

2017-04-21 Thread Justin Edelson
I'm seeing a build warning when building the api bundle that org.apache.sling.api.wrappers was changed from 2.6.0 to 2.6.1, but this change was not necessary. It looks like this was done in http://svn.apache.org/viewvc?view=revision&revision=1775427 Is there a reason for this that I'm missing? T

[jira] [Commented] (SLING-6785) Add support for scoped lifecycle of sling models

2017-04-21 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978793#comment-15978793 ] Justin Edelson commented on SLING-6785: --- Leaving aside the {{session}}

[jira] [Resolved] (SLING-5739) [Sling Models] Allow for extensible @Via providers

2017-04-20 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-5739. --- Resolution: Fixed Assignee: Justin Edelson patch applied in r1792071 > [Sling Mod

[jira] [Resolved] (SLING-6778) [Sling Models] Support Delegate Pattern for Models adapted from interfaces

2017-04-20 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-6778. --- Resolution: Fixed Fix Version/s: Sling Models Impl 1.3.10 Sling

[jira] [Comment Edited] (SLING-6778) [Sling Models] Support Delegate Pattern for Models adapted from interfaces

2017-04-20 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15965081#comment-15965081 ] Justin Edelson edited comment on SLING-6778 at 4/20/17 2:5

[jira] [Updated] (SLING-6778) [Sling Models] Support Delegate Pattern for Models adapted from interfaces

2017-04-12 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6778: -- Attachment: SLING-6778.diff updated diff > [Sling Models] Support Delegate Pattern for Mod

[jira] [Updated] (SLING-6778) [Sling Models] Support Delegate Pattern for Models adapted from interfaces

2017-04-12 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6778: -- Description: Consider this interface: {code} public interface Something

[jira] [Commented] (SLING-6778) [Sling Models] Support Delegate Pattern for Models adapted from interfaces

2017-04-12 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15965717#comment-15965717 ] Justin Edelson commented on SLING-6778: --- nice catch [~royteeuwen] > [Sling

[jira] [Comment Edited] (SLING-6778) [Sling Models] Support Delegate Pattern for Models adapted from interfaces

2017-04-11 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15965081#comment-15965081 ] Justin Edelson edited comment on SLING-6778 at 4/11/17 10:5

[jira] [Updated] (SLING-6778) [Sling Models] Support Delegate Pattern for Models adapted from interfaces

2017-04-11 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6778: -- Description: Consider this interface: {code} public interface Something

[jira] [Updated] (SLING-6778) [Sling Models] Support Delegate Pattern for Models adapted from interfaces

2017-04-11 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6778: -- Attachment: SLING-6778.diff proposed change implementing the vocabulary from the description

[jira] [Updated] (SLING-5739) [Sling Models] Allow for extensible @Via providers

2017-04-11 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-5739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-5739: -- Attachment: SLING-5739.diff Given the use case in SLING-6778, I would like to revive this issue

[jira] [Created] (SLING-6778) [Sling Models] Support Delegate Pattern for Models adapted from interfaces

2017-04-11 Thread Justin Edelson (JIRA)
Justin Edelson created SLING-6778: - Summary: [Sling Models] Support Delegate Pattern for Models adapted from interfaces Key: SLING-6778 URL: https://issues.apache.org/jira/browse/SLING-6778 Project

[jira] [Commented] (SLING-6773) Separate HeathCheck API from Implementation

2017-04-11 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964214#comment-15964214 ] Justin Edelson commented on SLING-6773: --- thanks [~rombert] > Separate Hea

[jira] [Resolved] (SLING-6773) Separate HeathCheck API from Implementation

2017-04-10 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-6773. --- Resolution: Fixed Change made in r1790879 > Separate HeathCheck API from Implementat

[jira] [Commented] (SLING-6773) Separate HeathCheck API from Implementation

2017-04-06 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15959190#comment-15959190 ] Justin Edelson commented on SLING-6773: --- I also updated the IT project to use

[jira] [Updated] (SLING-6773) Separate HeathCheck API from Implementation

2017-04-06 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6773: -- Attachment: SLING-6773.diff > Separate HeathCheck API from Implementat

[jira] [Updated] (SLING-6773) Separate HeathCheck API from Implementation

2017-04-06 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6773: -- Attachment: (was: SLING-6773.diff) > Separate HeathCheck API from Implementat

[jira] [Commented] (SLING-6773) Separate HeathCheck API from Implementation

2017-04-06 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15959149#comment-15959149 ] Justin Edelson commented on SLING-6773: --- the only problem with this is that

[jira] [Updated] (SLING-6773) Separate HeathCheck API from Implementation

2017-04-06 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6773: -- Attachment: SLING-6773.diff proposed change > Separate HeathCheck API from Implementat

[jira] [Created] (SLING-6773) Separate HeathCheck API from Implementation

2017-04-06 Thread Justin Edelson (JIRA)
Justin Edelson created SLING-6773: - Summary: Separate HeathCheck API from Implementation Key: SLING-6773 URL: https://issues.apache.org/jira/browse/SLING-6773 Project: Sling Issue Type

[jira] [Resolved] (SLING-6764) Guard against reflection failures when registering Sling Model classes

2017-03-31 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-6764. --- Resolution: Fixed fixed in r1789734 > Guard against reflection failures when register

[jira] [Created] (SLING-6764) Guard against reflection failures when registering Sling Model classes

2017-03-31 Thread Justin Edelson (JIRA)
Justin Edelson created SLING-6764: - Summary: Guard against reflection failures when registering Sling Model classes Key: SLING-6764 URL: https://issues.apache.org/jira/browse/SLING-6764 Project

[jira] [Resolved] (SLING-6748) Move ValuePreparer to the models API package

2017-03-29 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-6748. --- Resolution: Fixed moved in r1789419 > Move ValuePreparer to the models API pack

[jira] [Updated] (SLING-6748) Move ValuePreparer to the models API package

2017-03-29 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6748: -- Fix Version/s: Sling Models Impl 1.3.10 Sling Models API 1.3.4 > M

[jira] [Assigned] (SLING-6748) Move ValuePreparer to the models API package

2017-03-29 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson reassigned SLING-6748: - Assignee: Justin Edelson > Move ValuePreparer to the models API pack

Maven dependency to org.apache.sling.commons.johnzon

2017-03-27 Thread Justin Edelson
As part of the Commons JSON migration (kudos to all those plugging away at this thankless task), I see that some dependencies are being created directly to org.apache.sling.commons.johnzon, e.g. https://github.com/apache/sling/blob/trunk/bundles/extensions/adapter/pom.xml#L89 . IIUC, we should rea

Re: [VOTE] Release Apache Sling Maven Sling Plugin 2.2.0

2017-03-22 Thread Justin Edelson
+1 On Tue, Mar 21, 2017 at 7:14 AM Stefan Seifert wrote: > (sending again as last mail >3 hours ago did not make it to the list) > > Hi, > > We solved 3 issues in this release: > https://issues.apache.org/jira/browse/SLING/fixforversion/12339178 > > Staging repository: > https://repository.apach

Re: Multiple model classes with the same resource type (was Re: [jira] [Commented] (SLING-6655) Remove untyped getModelFrom* methods from ModelFactory)

2017-03-20 Thread Justin Edelson
the annotation >- the collection method which returns all of the models applicable based >on the resource type > > Of course, the other option is just to put a big fat warning that only one > model class should *ever* be registered for a particular resource type. &

Multiple model classes with the same resource type (was Re: [jira] [Commented] (SLING-6655) Remove untyped getModelFrom* methods from ModelFactory)

2017-03-20 Thread Justin Edelson
f{ > public int random(){ > return 7; > } > } > > If I adapted a resource of type test/rt to the DoesStuff interface, would > it return 3 or 7? Thus the idea of returning a collection so that any > registered Sling Models would be processed. > > Regards, > D

[jira] [Resolved] (SLING-6652) Allow multiple Exporter annotated models being used with the same resourceType binding

2017-03-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-6652. --- Resolution: Fixed Patch applied in r1787388. Thanks for working this through! > Al

[jira] [Assigned] (SLING-6652) Allow multiple Exporter annotated models being used with the same resourceType binding

2017-03-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson reassigned SLING-6652: - Assignee: Justin Edelson > Allow multiple Exporter annotated models being used with

[jira] [Resolved] (SLING-6658) Register models with their implType implicitly

2017-03-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-6658. --- Resolution: Fixed > Register models with their implType implici

[jira] [Updated] (SLING-6652) Allow multiple Exporter annotated models being used with the same resourceType binding

2017-03-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6652: -- Fix Version/s: Sling Models Impl 1.3.10 > Allow multiple Exporter annotated models being u

[jira] [Commented] (SLING-6658) Register models with their implType implicitly

2017-03-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929981#comment-15929981 ] Justin Edelson commented on SLING-6658: --- applied patch in r1787379. Thanks! I

[jira] [Updated] (SLING-6658) Register models with their implType implicitly

2017-03-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6658: -- Fix Version/s: Sling Models Impl 1.3.10 > Register models with their implType implici

[jira] [Assigned] (SLING-6658) Register models with their implType implicitly

2017-03-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson reassigned SLING-6658: - Assignee: Justin Edelson > Register models with their implType implici

[jira] [Commented] (SLING-6652) Allow multiple Exporter annotated models being used with the same resourceType binding

2017-03-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929905#comment-15929905 ] Justin Edelson commented on SLING-6652: --- I'm good with adding {{implType

[jira] [Commented] (SLING-6652) Allow multiple adapters for Models with resourceType binding

2017-03-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929788#comment-15929788 ] Justin Edelson commented on SLING-6652: --- I'm not sure it matt

[jira] [Updated] (SLING-6652) Allow multiple adapters for Models with resourceType binding

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6652: -- Attachment: SLING-6652.diff The only problem with this patch is that there is still a warning

[jira] [Commented] (SLING-6652) Allow multiple adapters for Models with resourceType binding

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929253#comment-15929253 ] Justin Edelson commented on SLING-6652: --- This appears to be an XY problem.

Re: [jira] [Commented] (SLING-6655) Remove untyped getModelFrom* methods from ModelFactory

2017-03-16 Thread Justin Edelson
Hi Dan, I don't think I'm understanding how that API would work. You have a single Resource there and a single Class (which I assume is actually an interface for your use case). Are you saying that for one Resource, there would be multiple Model classes implementing that same interface mapped to t

[jira] [Commented] (SLING-6655) Remove untyped getModelFrom* methods from ModelFactory

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929029#comment-15929029 ] Justin Edelson commented on SLING-6655: --- bq. The difference is that its not obv

[jira] [Commented] (SLING-6655) Remove untyped getModelFrom* methods from ModelFactory

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928674#comment-15928674 ] Justin Edelson commented on SLING-6655: --- bq. Ok I see but as far as I can

[jira] [Commented] (SLING-6652) Allow multiple adapters for Models with resourceType binding

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928670#comment-15928670 ] Justin Edelson commented on SLING-6652: --- Looking at the Pull Request and rea

[jira] [Commented] (SLING-6655) Remove untyped getModelFrom* methods from ModelFactory

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928654#comment-15928654 ] Justin Edelson commented on SLING-6655: --- Handlebars is the most obvious case w

[jira] [Commented] (SLING-6655) Remove untyped getModelFrom* methods from ModelFactory

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928646#comment-15928646 ] Justin Edelson commented on SLING-6655: --- Also, I don't see where SLING-6

[jira] [Commented] (SLING-6655) Remove untyped getModelFrom* methods from ModelFactory

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928634#comment-15928634 ] Justin Edelson commented on SLING-6655: --- These methods exist for loosely t

[jira] [Commented] (SLING-6652) Allow multiple adapters for Models with resourceType binding

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928410#comment-15928410 ] Justin Edelson commented on SLING-6652: --- Understood. I was just expressing how

[jira] [Commented] (SLING-6652) Allow multiple adapters for Models with resourceType binding

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928376#comment-15928376 ] Justin Edelson commented on SLING-6652: --- Sorry, I'm not making myself clea

[jira] [Commented] (SLING-6652) Allow multiple adapters for Models with resourceType binding

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928330#comment-15928330 ] Justin Edelson commented on SLING-6652: --- Not necessarily a different implementa

[jira] [Comment Edited] (SLING-6652) Allow multiple adapters for Models with resourceType binding

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928263#comment-15928263 ] Justin Edelson edited comment on SLING-6652 at 3/16/17 4:0

[jira] [Commented] (SLING-6652) Allow multiple adapters for Models with resourceType binding

2017-03-16 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928263#comment-15928263 ] Justin Edelson commented on SLING-6652: --- The way I had anticipated this b

[jira] [Closed] (SLING-6567) BasicObservationReporter ignores resource changes for resource providers mounted at specific paths

2017-03-07 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-6567. - > BasicObservationReporter ignores resource changes for resource providers > mounted at sp

[jira] [Closed] (SLING-6590) Change events for resource providers are not send to listeners

2017-03-07 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-6590. - > Change events for resource providers are not send to listen

[jira] [Updated] (SLING-6613) ResourceResolverFactory not registered when legacy configuration references JcrResourceProviderFactory

2017-03-07 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6613: -- Fix Version/s: (was: Resource Resolver 1.5.18) Resource Resolver 1.5.20

[jira] [Closed] (SLING-6552) ResourceResolver must be independent from javax.jcr

2017-03-07 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-6552. - > ResourceResolver must be independent from javax.

[RESULT] [VOTE] Release Apache Sling Resource Resolver 1.5.18

2017-03-07 Thread Justin Edelson
Hi, The vote has passed with the following result : +1 (binding): Justin Edelson, Stefan Seifert, Karl Pauls, Daniel Klco, Oliver Lietz I will copy this release to the Sling dist directory and promote the artifacts to the central Maven repository. On Thu, Mar 2, 2017 at 4:46 PM Justin Edelson

[VOTE] Release Apache Sling Resource Resolver 1.5.18

2017-03-02 Thread Justin Edelson
Hi, This is the replacement for the cancelled 1.5.16 release. We solved 3 issues in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/12339759/ Staging repository: https://repository.apache.org/content/repositories/orgapachesling-1651/ You can use this UNIX script to downl

Re: [VOTE] Release Apache Sling Resource Resolver 1.5.18

2017-03-02 Thread Justin Edelson
my +1 On Thu, Mar 2, 2017 at 4:46 PM Justin Edelson wrote: > Hi, > > This is the replacement for the cancelled 1.5.16 release. > > We solved 3 issues in this release: > https://issues.apache.org/jira/browse/SLING/fixforversion/12339759/ > > Staging repository: > ht

Re: [VOTE CANCELED] Release Apache Sling Resource Resolver 1.5.16

2017-03-02 Thread Justin Edelson
Sounds good. Stefan - do you want to restart the 1.5.18 vote or would you like me to do that? On Thu, Mar 2, 2017 at 12:52 PM Stefan Seifert wrote: > i cancel this vote. > > the reason is a new blocker found: > https://issues.apache.org/jira/browse/SLING-6590 > > although this blocker was alread

Re: [VOTE] Release Apache Sling Resource Resolver 1.5.16

2017-03-02 Thread Justin Edelson
Hi, I see that in the interim, a blocking issue ( https://issues.apache.org/jira/browse/SLING-6590) has been fixed. I wonder if we should kill this release vote and start one for 1.5.18. Thoughts? Justin On Wed, Mar 1, 2017 at 8:44 AM Daniel Klco wrote: +1 - Checked signatures and build On Tu

[jira] [Resolved] (SLING-6584) Race condition in ModelAdapterFactory

2017-03-01 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-6584. --- Resolution: Fixed Thanks a ton for the test fixed in r1784960 > Race condition

[jira] [Assigned] (SLING-6584) Race condition in ModelAdapterFactory

2017-03-01 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson reassigned SLING-6584: - Assignee: Justin Edelson > Race condition in ModelAdapterFact

[jira] [Commented] (SLING-6504) Use-api also adaptable from ResourceResolver

2017-02-03 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15851852#comment-15851852 ] Justin Edelson commented on SLING-6504: --- This seems to me to be a slippery s

Re: [unit testing] Suggestions for unit tests for HtmlRenderer

2017-02-02 Thread Justin Edelson
PrintWriter into the HtmlRenderer - not without some > reflection hacks anyway. > > What am I missing here? > > > On Wed, Feb 1, 2017 at 3:11 PM, Justin Edelson > wrote: > > > Hi Matt, > > Thanks for adding tests!!! > > > > What I would suggest is to mock the Ht

Re: [unit testing] Suggestions for unit tests for HtmlRenderer

2017-02-01 Thread Justin Edelson
Hi Matt, Thanks for adding tests!!! What I would suggest is to mock the HttpServletResponse and provide a your own StringWriter to response.getWriter(). Regards, Justin On Wed, Feb 1, 2017 at 4:26 PM Matt Ryan wrote: > Hi, > > I'm trying to add unit tests for > org.apache.sling.junit.impl.serv

[jira] [Commented] (SLING-6187) Provide a way for a POST request to assert a set of required SlingPostProcessors

2017-01-23 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834523#comment-15834523 ] Justin Edelson commented on SLING-6187: --- I looked through about half of

[jira] [Comment Edited] (SLING-6187) Provide a way for a POST request to assert a set of required SlingPostProcessors

2017-01-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15826741#comment-15826741 ] Justin Edelson edited comment on SLING-6187 at 1/17/17 8:2

[jira] [Commented] (SLING-6187) Provide a way for a POST request to assert a set of required SlingPostProcessors

2017-01-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15826741#comment-15826741 ] Justin Edelson commented on SLING-6187: --- And at least for the {{@Encrypted}}

[jira] [Commented] (SLING-6187) Provide a way for a POST request to assert a set of required SlingPostProcessors

2017-01-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15826738#comment-15826738 ] Justin Edelson commented on SLING-6187: --- [~alexander.klimetschek] the way the p

[jira] [Updated] (SLING-6187) Provide a way for a POST request to assert a set of required SlingPostProcessors

2017-01-17 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-6187: -- Attachment: SLING-6187c.diff [~alexander.klimetschek] I'm attaching a new patch (

Re: Market Research - Request For Information: Apache Sling Professional Services

2017-01-12 Thread Justin Edelson
Hi, Not an exact answer (and to be clear, I'm not endorsing any of these companies), but I would assume that most, if not all, of the AEM partners could handle at least the architectural review portion of your request since Sling architecture is largely a subset of overall AEM architecture. You ca

Re: [VOTE] Release Apache Sling JSP 2.2.4

2017-01-10 Thread Justin Edelson
+1 On Tue, Jan 10, 2017 at 7:34 PM Carsten Ziegeler wrote: > +1 > > > > > -- > Carsten Ziegeler > Adobe Research Switzerland > cziege...@apache.org >

[jira] [Resolved] (SLING-6436) Sling Rewriter: Configre rewriter pipeline programmatically

2017-01-04 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-6436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-6436. --- Resolution: Fixed implemented in r1777332 request attribute name is

<    1   2   3   4   5   6   7   8   9   10   >