Re: [DISCUSS] Automatic Mapping of URIs in HTL

2020-09-11 Thread Nicolas Peltier
i like the idea! what about a context aware configuration? Le ven. 11 sept. 2020 à 01:09, Georg Henzler a écrit : > Hi all, > > as briefly mentioned in the thread about the resource > mapping SPI [1], it would be really useful if HTL > could auto-map URIs (regardless of the SPI) > - that way

Re: [VOTE] Release Apache Sling Testing Sling Mock 2.6.2

2020-09-11 Thread Nicolas Peltier
+1 Le ven. 11 sept. 2020 à 00:50, Georg Henzler a écrit : > +1 (checked signatures) > > -Georg > > On 2020-09-10 22:52, Stefan Seifert wrote: > > Hi, > > > > We solved 1 issues in this release: > > https://issues.apache.org/jira/browse/SLING/fixforversion/12348735 > > > > Staging repository: >

[caconfig] retrieving sometimes caconfig collection as map, and not list

2020-09-11 Thread Nicolas Peltier
Hey, it happened a few times for me now that ListConfig[] listConfig = cfg.subListConfig(); (cf [0]) is used with key->object pattern, that is i search for a key property in my list, and take the corresponding ListConfig instance. I wonder if we could do something to have ListConfig listConfig =

[GitHub] [sling-org-apache-sling-feature-cpconverter] rombert opened a new pull request #30: SLING-9728 - Conversion fails for JSON configurations with type conversions: ClassNotFoundException: org.os

2020-09-11 Thread GitBox
rombert opened a new pull request #30: URL: https://github.com/apache/sling-org-apache-sling-feature-cpconverter/pull/30 Mark the org.osgi.util.function package as 'provided', to make sure it ends up in the assembly. The dependency scope was either an accident, or a leftover from

Re: [VOTE] Release Apache Sling Testing Sling Mock 2.6.2

2020-09-11 Thread Radu Cotescu
+1 > On 10 Sep 2020, at 22:52, Stefan Seifert wrote: > > Please vote to approve this release: > > [ ] +1 Approve the release > [ ] 0 Don't care > [ ] -1 Don't release, because ...

Re: [DISCUSS] Automatic Mapping of URIs in HTL

2020-09-11 Thread Radu Cotescu
Hi Georg, > On 11 Sep 2020, at 01:09, Georg Henzler wrote: > > Hi all, > > as briefly mentioned in the thread about the resource > mapping SPI [1], it would be really useful if HTL > could auto-map URIs (regardless of the SPI) > - that way many projects that use the rewriting > pipeline [2]

Re: [VOTE] Release Apache Sling Content-Package to Feature Model Converter 1.0.14

2020-09-11 Thread Daniel Klco
+1 On Fri, Sep 11, 2020 at 6:26 AM Robert Munteanu wrote: > On Fri, 2020-09-11 at 10:25 +, Robert Munteanu wrote: > > Please vote to approve this release: > > +1 > Robert >

Re: [VOTE] Release Apache Sling Testing Sling Mock 2.6.2

2020-09-11 Thread Daniel Klco
+1 On Fri, Sep 11, 2020 at 7:53 AM Radu Cotescu wrote: > +1 > > > On 10 Sep 2020, at 22:52, Stefan Seifert wrote: > > > > Please vote to approve this release: > > > > [ ] +1 Approve the release > > [ ] 0 Don't care > > [ ] -1 Don't release, because ... > >

[jira] [Resolved] (SLING-9728) Conversion fails for JSON configurations with type conversions: ClassNotFoundException: org.osgi.util.function.Function

2020-09-11 Thread Robert Munteanu (Jira)
[ https://issues.apache.org/jira/browse/SLING-9728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu resolved SLING-9728. Resolution: Fixed > Conversion fails for JSON configurations with type conversions: >

[GitHub] [sling-org-apache-sling-feature-cpconverter] sonarcloud[bot] commented on pull request #30: SLING-9728 - Conversion fails for JSON configurations with type conversions: ClassNotFoundException

2020-09-11 Thread GitBox
sonarcloud[bot] commented on pull request #30: URL: https://github.com/apache/sling-org-apache-sling-feature-cpconverter/pull/30#issuecomment-690999399 Kudos, SonarCloud Quality Gate passed!

[GitHub] [sling-org-apache-sling-feature-cpconverter] rombert merged pull request #30: SLING-9728 - Conversion fails for JSON configurations with type conversions: ClassNotFoundException: org.osgi.uti

2020-09-11 Thread GitBox
rombert merged pull request #30: URL: https://github.com/apache/sling-org-apache-sling-feature-cpconverter/pull/30 This is an automated message from the Apache Git Service. To respond to the message, please log on to

Re: [VOTE] Release Apache Sling Content-Package to Feature Model Converter 1.0.14

2020-09-11 Thread Robert Munteanu
On Fri, 2020-09-11 at 10:25 +, Robert Munteanu wrote: > Please vote to approve this release: +1 Robert signature.asc Description: This is a digitally signed message part

Re: [VOTE] Release Apache Sling JCR Oak Server version 1.2.8

2020-09-11 Thread Daniel Klco
+1 On Fri, Sep 11, 2020 at 7:51 AM Radu Cotescu wrote: > +1 > > > On 11 Sep 2020, at 02:36, Eric Norman wrote: > > > > Please vote to approve this release: > > > > [ ] +1 Approve the release > > [ ] 0 Don't care > > [ ] -1 Don't release, because ... > >

Re: [DISCUSS] Automatic Mapping of URIs in HTL

2020-09-11 Thread Georg Henzler
Hi Radu, 1. Per URI as mentioned in template: This could work - it would be a Sling-specific option and we’ve done this in the past in https://issues.apache.org/jira/browse/SLING-5812 . The option would introduce a new runtime call to the

Re: [DISCUSS] Automatic Mapping of URIs in HTL

2020-09-11 Thread Paul Bjorkstrand
I like your idea of hooking into the existing URI context processing, especially because you would want to have the mapping occur after URL manipulation (I think). My thoughts based on what has been said above: 1. Hook into the existing URI context, and implement the processing wherever URIs are

[jira] [Created] (SLING-9728) Conversion fails for JSON configurations with type conversions: ClassNotFoundException: org.osgi.util.function.Function

2020-09-11 Thread Robert Munteanu (Jira)
Robert Munteanu created SLING-9728: -- Summary: Conversion fails for JSON configurations with type conversions: ClassNotFoundException: org.osgi.util.function.Function Key: SLING-9728 URL:

[VOTE] Release Apache Sling Content-Package to Feature Model Converter 1.0.14

2020-09-11 Thread Robert Munteanu
Hi, We solved 1 issue in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/12348594 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-2330/ You can use this UNIX script to download the release and verify the signatures:

[jira] [Updated] (SLING-9692) Add support for principal-based access control entries

2020-09-11 Thread Robert Munteanu (Jira)
[ https://issues.apache.org/jira/browse/SLING-9692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu updated SLING-9692: --- Fix Version/s: (was: Content-Package to Feature Model Converter 1.0.14)

Re: [VOTE] Release Apache Sling OSGi Feature Maven Plugin 1.3.16, Apache Sling Feature Model 1.2.8, Apache Sling Feature Model Launcher 1.1.6

2020-09-11 Thread Radu Cotescu
+1 > On 9 Sep 2020, at 15:54, Robert Munteanu wrote: > > Please vote to approve this release: > > [ ] +1 Approve the release > [ ] 0 Don't care > [ ] -1 Don't release, because ...

Re: [DISCUSS] Automatic Mapping of URIs in HTL

2020-09-11 Thread Georg Henzler
Hi Nicolas, yes that makes sense, although maybe a bit overkill for one boolean flag it's conceptually cleaner than OSGi config with regex (no 3). Overall the question will be if this needs to be controlled per content root path or rather per (super)resourceType... Output Rewriting Pipelines

Re: [VOTE] Release Apache Sling JCR Oak Server version 1.2.8

2020-09-11 Thread Radu Cotescu
+1 > On 11 Sep 2020, at 02:36, Eric Norman wrote: > > Please vote to approve this release: > > [ ] +1 Approve the release > [ ] 0 Don't care > [ ] -1 Don't release, because ...

Re: [DISCUSS] Automatic Mapping of URIs in HTL

2020-09-11 Thread Konrad Windszus
+1 for a dedicated option. Not sure about the naming though. Konrad > Am 11.09.2020 um 14:07 schrieb Radu Cotescu : > > Hi Georg, > >> On 11 Sep 2020, at 01:09, Georg Henzler wrote: >> >> Hi all, >> >> as briefly mentioned in the thread about the resource >> mapping SPI [1], it would be

Re: [DISCUSS] Automatic Mapping of URIs in HTL

2020-09-11 Thread Georg Henzler
Hi Paul The reason I think both the global config and the local config are necessary good point, +1 (both "global on/disable for one uri locally" and "global off/enable for one uri locally" are valid use cases) .. JSON or some JS objects in HTL scripts (thinking on how many times I had to

Re: [VOTE] Release Apache Sling Content-Package to Feature Model Converter 1.0.14

2020-09-11 Thread Carsten Ziegeler
+1 Carsten Am 11.09.2020 um 12:25 schrieb Robert Munteanu: Hi, We solved 1 issue in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/12348594 Staging repository: https://repository.apache.org/content/repositories/orgapachesling-2330/ You can use this UNIX script to

Re: [VOTE] Release Apache Sling OSGi Feature Maven Plugin 1.3.16, Apache Sling Feature Model 1.2.8, Apache Sling Feature Model Launcher 1.1.6

2020-09-11 Thread davidb
+1 David On Wed, 9 Sep 2020 at 14:54, Robert Munteanu wrote: > Hi, > > We solved 2 issues in these releases: > https://issues.apache.org/jira/browse/SLING/fixforversion/12348775 > https://issues.apache.org/jira/browse/SLING/fixforversion/12348707 >

Re: [VOTE] Release Apache Sling OSGi Feature Maven Plugin 1.3.16, Apache Sling Feature Model 1.2.8, Apache Sling Feature Model Launcher 1.1.6

2020-09-11 Thread Georg Henzler
+1 -Georg On 2020-09-09 15:54, Robert Munteanu wrote: Hi, We solved 2 issues in these releases: https://issues.apache.org/jira/browse/SLING/fixforversion/12348775 https://issues.apache.org/jira/browse/SLING/fixforversion/12348707

Re: [VOTE] Release Apache Sling Content-Package to Feature Model Converter 1.0.14

2020-09-11 Thread David Bosschaert
+1 David On Fri, 11 Sep 2020 at 15:32, Carsten Ziegeler wrote: > +1 > > Carsten > > Am 11.09.2020 um 12:25 schrieb Robert Munteanu: > > Hi, > > > > We solved 1 issue in this release: > > https://issues.apache.org/jira/browse/SLING/fixforversion/12348594 > > > > Staging repository: > >

Re: [VOTE] Release Apache Sling Content-Package to Feature Model Converter 1.0.14

2020-09-11 Thread Georg Henzler
+1 -Georg On 2020-09-11 16:31, Carsten Ziegeler wrote: +1 Carsten Am 11.09.2020 um 12:25 schrieb Robert Munteanu: Hi, We solved 1 issue in this release: https://issues.apache.org/jira/browse/SLING/fixforversion/12348594 Staging repository: