[jira] [Updated] (SLING-5696) Provide Scripting FreeMarker feature

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5696:

Component/s: (was: Launchpad)
 Karaf

> Provide Scripting FreeMarker feature
> 
>
> Key: SLING-5696
> URL: https://issues.apache.org/jira/browse/SLING-5696
> Project: Sling
>  Issue Type: New Feature
>  Components: Karaf
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Karaf Integration Tests 0.2.0, 
> Karaf Distribution 0.2.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5359) Update Jackrabbit to 2.11.3

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5359:

Component/s: Karaf

> Update Jackrabbit to 2.11.3
> ---
>
> Key: SLING-5359
> URL: https://issues.apache.org/jira/browse/SLING-5359
> Project: Sling
>  Issue Type: Task
>  Components: Karaf, Launchpad
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Launchpad Builder 9
>
>
> new dependency {{com.google.guava/guava/15.0}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5363) Provide Samples Fling feature

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5363:

Component/s: (was: Launchpad)
 Karaf

> Provide Samples Fling feature
> -
>
> Key: SLING-5363
> URL: https://issues.apache.org/jira/browse/SLING-5363
> Project: Sling
>  Issue Type: New Feature
>  Components: Karaf
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5308) Update Oak to 1.3.10

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5308:

Component/s: Oak

> Update Oak to 1.3.10
> 
>
> Key: SLING-5308
> URL: https://issues.apache.org/jira/browse/SLING-5308
> Project: Sling
>  Issue Type: Task
>  Components: Karaf, Launchpad, Oak
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Launchpad Builder 9
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5360) Update Oak to 1.3.11

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5360:

Component/s: Karaf

> Update Oak to 1.3.11
> 
>
> Key: SLING-5360
> URL: https://issues.apache.org/jira/browse/SLING-5360
> Project: Sling
>  Issue Type: Task
>  Components: Karaf, Launchpad
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Launchpad Builder 9
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5308) Update Oak to 1.3.10

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5308:

Component/s: Launchpad
 Karaf

> Update Oak to 1.3.10
> 
>
> Key: SLING-5308
> URL: https://issues.apache.org/jira/browse/SLING-5308
> Project: Sling
>  Issue Type: Task
>  Components: Karaf, Launchpad, Oak
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Launchpad Builder 9
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5562) Provide NoSQL features

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5562:

Component/s: (was: Launchpad)
 Karaf

> Provide NoSQL features
> --
>
> Key: SLING-5562
> URL: https://issues.apache.org/jira/browse/SLING-5562
> Project: Sling
>  Issue Type: New Feature
>  Components: Karaf
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Karaf Integration Tests 0.2.0
>
>
> {{sling-nosql-generic}}
> {{sling-nosql-couchbase}}
> {{sling-nosql-mongodb}}
> {{sling-launchpad-nosql-couchbase}}
> {{sling-launchpad-nosql-mongodb}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5247) Update Jackrabbit to 2.11.2

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5247:

Component/s: Karaf

> Update Jackrabbit to 2.11.2
> ---
>
> Key: SLING-5247
> URL: https://issues.apache.org/jira/browse/SLING-5247
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Karaf, Launchpad
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Launchpad Builder 9
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5132) remove Jackrabbit Server and Launchpad features and tests

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5132:

Component/s: (was: Launchpad)
 Karaf

> remove Jackrabbit Server and Launchpad features and tests
> -
>
> Key: SLING-5132
> URL: https://issues.apache.org/jira/browse/SLING-5132
> Project: Sling
>  Issue Type: Task
>  Components: Karaf
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf 0.2.0, Karaf Features 0.2.0, Karaf Integration 
> Tests 0.2.0
>
>
> support Oak only



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5291) Update existing and provide new Discovery features

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5291.
-
Resolution: Fixed

[r1753068|https://svn.apache.org/r1753068]

> Update existing and provide new Discovery features
> --
>
> Key: SLING-5291
> URL: https://issues.apache.org/jira/browse/SLING-5291
> Project: Sling
>  Issue Type: Task
>  Components: Karaf
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Karaf Integration Tests 0.2.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5248) Update Oak to 1.3.9

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5248:

Component/s: Oak
 Karaf

> Update Oak to 1.3.9
> ---
>
> Key: SLING-5248
> URL: https://issues.apache.org/jira/browse/SLING-5248
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Karaf, Launchpad, Oak
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, JCR Oak Server 1.0.2, Launchpad 
> Builder 9
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5292) Provide Composum feature

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5292:

Component/s: (was: Launchpad)
 Karaf

> Provide Composum feature
> 
>
> Key: SLING-5292
> URL: https://issues.apache.org/jira/browse/SLING-5292
> Project: Sling
>  Issue Type: Task
>  Components: Karaf
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Karaf Integration Tests 0.2.0
>
>
> {noformat}
>   
>   
> 
> mvn:com.composum.sling.core/composum-sling-core-commons/1.4.0-SNAPSHOT
> 
> mvn:com.composum.sling.core/composum-sling-core-console/1.4.0-SNAPSHOT
> 
> mvn:com.composum.sling.core/composum-sling-core-jslibs/1.4.0-SNAPSHOT
> 
> sling
> sling-jcr
> sling-scripting-jsp
>  dependency="true">mvn:org.apache.commons/commons-lang3/3.4
>   
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5291) Update existing and provide new Discovery features

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5291:

Component/s: (was: Launchpad)
 Karaf

> Update existing and provide new Discovery features
> --
>
> Key: SLING-5291
> URL: https://issues.apache.org/jira/browse/SLING-5291
> Project: Sling
>  Issue Type: Task
>  Components: Karaf
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Karaf Integration Tests 0.2.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5307) Update Tika to 1.11

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5307:

Component/s: Launchpad
 Karaf

> Update Tika to 1.11
> ---
>
> Key: SLING-5307
> URL: https://issues.apache.org/jira/browse/SLING-5307
> Project: Sling
>  Issue Type: Task
>  Components: Karaf, Launchpad
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Launchpad Builder 9
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5360) Update Oak to 1.3.11

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5360:

Component/s: Oak

> Update Oak to 1.3.11
> 
>
> Key: SLING-5360
> URL: https://issues.apache.org/jira/browse/SLING-5360
> Project: Sling
>  Issue Type: Task
>  Components: Karaf, Launchpad, Oak
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Launchpad Builder 9
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5120) align repository.home and localIndexDir with Launchpad

2016-07-25 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5120:

Component/s: Karaf

> align repository.home and localIndexDir with Launchpad
> --
>
> Key: SLING-5120
> URL: https://issues.apache.org/jira/browse/SLING-5120
> Project: Sling
>  Issue Type: Improvement
>  Components: Karaf, Launchpad
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0
>
>
> set {{repository.home}} to {{sling/repository}} and {{localIndexDir}} to 
> {{sling/repository/index}} (remove {{oak}} from paths)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SLING-5929) Provide Pax URL and Pax URL Classpath as Options for Pax Exam

2016-07-30 Thread Oliver Lietz (JIRA)
Oliver Lietz created SLING-5929:
---

 Summary: Provide Pax URL and Pax URL Classpath as Options for Pax 
Exam
 Key: SLING-5929
 URL: https://issues.apache.org/jira/browse/SLING-5929
 Project: Sling
  Issue Type: New Feature
  Components: Testing
Reporter: Oliver Lietz
Assignee: Oliver Lietz
 Fix For: Testing Pax Exam 0.0.2






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5896) Include org.apache.felix.webconsole.plugins.ds in SlingOptions.webconsole

2016-07-30 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5896.
-
Resolution: Invalid

> Include org.apache.felix.webconsole.plugins.ds in SlingOptions.webconsole
> -
>
> Key: SLING-5896
> URL: https://issues.apache.org/jira/browse/SLING-5896
> Project: Sling
>  Issue Type: Improvement
>  Components: Testing
>Reporter: Robert Munteanu
>Assignee: Oliver Lietz
>
> When debugging a proper pax-exam setup the DS webconsole helps a lot. It 
> would be good to include it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5930) Provide repoinit statements as bundle resource

2016-07-30 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5930.
-
Resolution: Done

[r1754607|https://svn.apache.org/r1754607]

> Provide repoinit statements as bundle resource
> --
>
> Key: SLING-5930
> URL: https://issues.apache.org/jira/browse/SLING-5930
> Project: Sling
>  Issue Type: New Feature
>  Components: Karaf
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf repoinit 0.2.0
>
>
> Using the same default repoinit statements in various tests as file 
> ({{repoinit.txt}}) is inefficient. A bundle can be deployed easily and used 
> in different projects: {{org.apache.sling.karaf-repoinit}}
> [~bdelacretaz], the bundle can be renamed to {{org.apache.sling.repoinit.?}} 
> when useful for others (not using repoinit with provisioning model).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5896) Include org.apache.felix.webconsole.plugins.ds in SlingOptions.webconsole

2016-07-30 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15400550#comment-15400550
 ] 

Oliver Lietz commented on SLING-5896:
-

Plugin should be added by developer when required for debugging:

{{mavenBundle().groupId("org.apache.felix").artifactId("org.apache.felix.webconsole.plugins.ds").version(versionResolver)}}

> Include org.apache.felix.webconsole.plugins.ds in SlingOptions.webconsole
> -
>
> Key: SLING-5896
> URL: https://issues.apache.org/jira/browse/SLING-5896
> Project: Sling
>  Issue Type: Improvement
>  Components: Testing
>Reporter: Robert Munteanu
>Assignee: Oliver Lietz
> Fix For: Testing Pax Exam 0.0.2
>
>
> When debugging a proper pax-exam setup the DS webconsole helps a lot. It 
> would be good to include it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5896) Include org.apache.felix.webconsole.plugins.ds in SlingOptions.webconsole

2016-07-30 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5896:

Fix Version/s: (was: Testing Pax Exam 0.0.2)

> Include org.apache.felix.webconsole.plugins.ds in SlingOptions.webconsole
> -
>
> Key: SLING-5896
> URL: https://issues.apache.org/jira/browse/SLING-5896
> Project: Sling
>  Issue Type: Improvement
>  Components: Testing
>Reporter: Robert Munteanu
>Assignee: Oliver Lietz
>
> When debugging a proper pax-exam setup the DS webconsole helps a lot. It 
> would be good to include it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SLING-5930) Provide repoinit statements as bundle resource

2016-07-30 Thread Oliver Lietz (JIRA)
Oliver Lietz created SLING-5930:
---

 Summary: Provide repoinit statements as bundle resource
 Key: SLING-5930
 URL: https://issues.apache.org/jira/browse/SLING-5930
 Project: Sling
  Issue Type: New Feature
  Components: Karaf
Reporter: Oliver Lietz
Assignee: Oliver Lietz
 Fix For: Karaf repoinit 0.2.0


Using the same default repoinit statements in various tests as file 
({{repoinit.txt}}) is inefficient. A bundle can be deployed easily and used in 
different projects: {{org.apache.sling.karaf-repoinit}}

[~bdelacretaz], the bundle can be renamed to {{org.apache.sling.repoinit.?}} 
when useful for others (not using repoinit with provisioning model).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5929) Provide Pax URL and Pax URL Classpath as Options for Pax Exam

2016-07-30 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5929.
-
Resolution: Done

[r1754597|https://svn.apache.org/r1754597]

> Provide Pax URL and Pax URL Classpath as Options for Pax Exam
> -
>
> Key: SLING-5929
> URL: https://issues.apache.org/jira/browse/SLING-5929
> Project: Sling
>  Issue Type: New Feature
>  Components: Testing
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Testing Pax Exam 0.0.2
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (SLING-5898) Point to the alternative repository if specified on the command-line

2016-07-27 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz reassigned SLING-5898:
---

Assignee: Oliver Lietz

> Point to the alternative repository if specified on the command-line
> 
>
> Key: SLING-5898
> URL: https://issues.apache.org/jira/browse/SLING-5898
> Project: Sling
>  Issue Type: Improvement
>  Components: Testing
>Reporter: Robert Munteanu
>Assignee: Oliver Lietz
> Fix For: Testing Pax Exam 0.0.2
>
>
> This is basically SLING-2847 and SLING-2848 applied to the new module. 
> This will help with the situation where we have SNAPSHOT dependencies which 
> by design aren't resolved from the reactor by Pax-Exam.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5901) Build fails with OOME (Maven Source Plugin 3.0.0)

2016-07-27 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15395610#comment-15395610
 ] 

Oliver Lietz commented on SLING-5901:
-

[r1754267|https://svn.apache.org/r1754267] and 
[r1754268|https://svn.apache.org/r1754268]

> Build fails with OOME (Maven Source Plugin 3.0.0)
> -
>
> Key: SLING-5901
> URL: https://issues.apache.org/jira/browse/SLING-5901
> Project: Sling
>  Issue Type: Bug
>Affects Versions: Parent 27
>Reporter: Oliver Lietz
>Priority: Blocker
>
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-source-plugin:3.0.0:jar (attach-sources) on 
> project org.apache.sling.testing.paxexam: Error creating source archive: 
> Problem creating jar: Execution exception: Java heap space -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn  -rf :org.apache.sling.testing.paxexam
> {noformat}
> See MSOURCES-94 for details.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5943) Support explicit format in jcr.repoinit.RepositoryInitializer configuration

2016-08-02 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15404077#comment-15404077
 ] 

Oliver Lietz commented on SLING-5943:
-

[~bdelacretaz], did you see my comment on dev@?

{quote}
How about supporting multiple repoinit sources? So instead of String property 
text.url a String[] property text.urls (URL prefixed with text format):

model:context:/resources/provisioning/model.txt
raw:classpath://com.example.sling.repoinit/repoinit.txt

That would allow using default repoinit statements and custom ones without 
putting all in one source.
{quote}

We could use {{@}} or {{|}} to name the section, e.g.:

{{model@repoinit:context:/resources/provisioning/model.txt}}

> Support explicit format in  jcr.repoinit.RepositoryInitializer configuration
> 
>
> Key: SLING-5943
> URL: https://issues.apache.org/jira/browse/SLING-5943
> Project: Sling
>  Issue Type: Improvement
>  Components: JCR
>Affects Versions: Repoinit JCR 1.0.0
>Reporter: Bertrand Delacretaz
>Assignee: Bertrand Delacretaz
>Priority: Minor
> Fix For: Repoinit JCR 1.0.2
>
> Attachments: repoinit-config.jpg
>
>
> As suggested by [~olli] in SLING-5923 it makes sense to have an explicit { 
> raw, provisioning model } format for the repoinit statements that the 
> {{RepositoryInitializer}} uses.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5943) Support explicit format in jcr.repoinit.RepositoryInitializer configuration

2016-08-02 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15404089#comment-15404089
 ] 

Oliver Lietz commented on SLING-5943:
-

I would remove the second part of the sentence for section – after _(without 
leading colon)_. Otherwise LGTM.

> Support explicit format in  jcr.repoinit.RepositoryInitializer configuration
> 
>
> Key: SLING-5943
> URL: https://issues.apache.org/jira/browse/SLING-5943
> Project: Sling
>  Issue Type: Improvement
>  Components: JCR
>Affects Versions: Repoinit JCR 1.0.0
>Reporter: Bertrand Delacretaz
>Assignee: Bertrand Delacretaz
>Priority: Minor
> Fix For: Repoinit JCR 1.0.2
>
> Attachments: repoinit-config.jpg
>
>
> As suggested by [~olli] in SLING-5923 it makes sense to have an explicit { 
> raw, provisioning model } format for the repoinit statements that the 
> {{RepositoryInitializer}} uses.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5870) Switch event ITs to use Oak

2016-08-03 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15405586#comment-15405586
 ] 

Oliver Lietz commented on SLING-5870:
-

I will try next week with Testing PaxExam and a minimal test setup.

> Switch event ITs to use Oak
> ---
>
> Key: SLING-5870
> URL: https://issues.apache.org/jira/browse/SLING-5870
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Robert Munteanu
> Fix For: Event 4.2.0
>
> Attachments: 0001-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> 0001-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> 0002-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> 0002-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> 0003-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> 0004-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> SLING-5870.testing-paxexam.patch, SLING-5870.zip, test.log
>
>
> The Event ITs sometimes fail on Jenkins, and the errors seem to indicate 
> inconsistencies in the repository, e.g.
> {code}19.07.2016 09:57:31.489 *WARN* [Apache Sling JCR Resource Event Queue 
> Processor] org.apache.sling.jcr.resource.internal.JcrResourceListener 
> processOsgiEventQueue: Unexpected problem processing event 
> {path=/var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931,
>  resourceChangedAttributes=[Ljava.lang.String;@51e6a8e1, 
> resourceAddedAttributes=[Ljava.lang.String;@1447afb0, userid=admin}
> org.apache.sling.api.SlingException: Problem retrieving node based resource 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:156)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:143)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderFactoryHandler.getResource(ResourceProviderFactoryHandler.java:113)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResourceFromProviders(ResourceProviderEntry.java:401)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getInternalResource(ResourceProviderEntry.java:356)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResource(ResourceProviderEntry.java:138)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getAbsoluteResourceInternal(ResourceResolverImpl.java:988)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResourceInternal(ResourceResolverImpl.java:635)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResource(ResourceResolverImpl.java:590)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener.processOsgiEventQueue(JcrResourceListener.java:340)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener$1.run(JcrResourceListener.java:107)
>   at java.lang.Thread.run(Thread.java:744)
> Caused by: javax.jcr.PathNotFoundException: 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:552)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:97)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:93)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187)
>   at 
> org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
>   at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
>   at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:786)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.createResource(JcrResourceProvider.java:211)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:154)
>   ... 11 common frames omitted{code}
> Moving to Oak might help with these issues, and it's anyway a good idea since 
> the default Launchpad only includes Sling ATM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SLING-5956) Move Oak ITs from org.apache.sling.jcr.repository.it-jackrabbit-oak into org.apache.sling.jcr.oak.server

2016-08-12 Thread Oliver Lietz (JIRA)
Oliver Lietz created SLING-5956:
---

 Summary: Move Oak ITs from 
org.apache.sling.jcr.repository.it-jackrabbit-oak into 
org.apache.sling.jcr.oak.server
 Key: SLING-5956
 URL: https://issues.apache.org/jira/browse/SLING-5956
 Project: Sling
  Issue Type: Task
  Components: JCR, Oak
Affects Versions: JCR Oak Server 1.0.0
Reporter: Oliver Lietz
Assignee: Oliver Lietz
 Fix For: JCR Oak Server 1.1.0






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SLING-5955) Refactor configuration of OakSlingRepositoryManager

2016-08-12 Thread Oliver Lietz (JIRA)
Oliver Lietz created SLING-5955:
---

 Summary: Refactor configuration of OakSlingRepositoryManager
 Key: SLING-5955
 URL: https://issues.apache.org/jira/browse/SLING-5955
 Project: Sling
  Issue Type: Task
  Components: JCR, Oak
Affects Versions: JCR Oak Server 1.0.0
Reporter: Oliver Lietz
Assignee: Oliver Lietz
 Fix For: JCR Oak Server 1.1.0


* use R6 Metatype annotations
* drop framework/system property support ({{oak.observation.limit-commit-rate}} 
and {{oak.observation.queue-length}})
* use {{adminId}} from {{SecurityProvider}} only



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5122) Use Oak security framework for XING Login

2016-08-13 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15419907#comment-15419907
 ] 

Oliver Lietz commented on SLING-5122:
-

Karaf Feature (removed):
{noformat}
  
mvn:org.apache.sling/org.apache.sling.auth.xing.login/0.0.2

sling
sling-jcr
mvn:org.apache.sling/org.apache.sling.auth.xing.api/0.0.2
  
{noformat}

> Use Oak security framework for XING Login
> -
>
> Key: SLING-5122
> URL: https://issues.apache.org/jira/browse/SLING-5122
> Project: Sling
>  Issue Type: Improvement
>  Components: Authentication
>Affects Versions: Authentication XING Login 0.0.2
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Authentication XING Login 0.0.4
>
>
> use Oak security ({{javax.security.auth.spi.LoginModule}}) instead of 
> {{org.apache.sling.jcr.jackrabbit.server.security.AuthenticationPlugin}}
> http://jackrabbit.apache.org/oak/docs/security/overview.html
> http://jackrabbit.apache.org/oak/docs/security/authentication/externalloginmodule.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5123) Use Oak security framework for XING OAuth

2016-08-13 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15419906#comment-15419906
 ] 

Oliver Lietz commented on SLING-5123:
-

Karaf Feature (removed):
{noformat}
  
mvn:org.apache.sling/org.apache.sling.auth.xing.oauth/0.0.2

sling
sling-jcr
mvn:org.apache.sling/org.apache.sling.auth.xing.api/0.0.2
  
{noformat}

> Use Oak security framework for XING OAuth
> -
>
> Key: SLING-5123
> URL: https://issues.apache.org/jira/browse/SLING-5123
> Project: Sling
>  Issue Type: Improvement
>  Components: Authentication
>Affects Versions: Authentication XING OAuth 0.0.2
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Authentication XING OAuth 0.0.4
>
>
> use Oak security ({{javax.security.auth.spi.LoginModule}}) instead of 
> {{org.apache.sling.jcr.jackrabbit.server.security.AuthenticationPlugin}}
> http://jackrabbit.apache.org/oak/docs/security/overview.html
> http://jackrabbit.apache.org/oak/docs/security/authentication/externalloginmodule.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5123) Use Oak security framework for XING OAuth

2016-08-13 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5123:

Summary: Use Oak security framework for XING OAuth  (was: use Oak security 
framework for XING OAuth)

> Use Oak security framework for XING OAuth
> -
>
> Key: SLING-5123
> URL: https://issues.apache.org/jira/browse/SLING-5123
> Project: Sling
>  Issue Type: Improvement
>  Components: Authentication
>Affects Versions: Authentication XING OAuth 0.0.2
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Authentication XING OAuth 0.0.4
>
>
> use Oak security ({{javax.security.auth.spi.LoginModule}}) instead of 
> {{org.apache.sling.jcr.jackrabbit.server.security.AuthenticationPlugin}}
> http://jackrabbit.apache.org/oak/docs/security/overview.html
> http://jackrabbit.apache.org/oak/docs/security/authentication/externalloginmodule.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5122) Use Oak security framework for XING Login

2016-08-13 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5122:

Summary: Use Oak security framework for XING Login  (was: use Oak security 
framework for XING Login)

> Use Oak security framework for XING Login
> -
>
> Key: SLING-5122
> URL: https://issues.apache.org/jira/browse/SLING-5122
> Project: Sling
>  Issue Type: Improvement
>  Components: Authentication
>Affects Versions: Authentication XING Login 0.0.2
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Authentication XING Login 0.0.4
>
>
> use Oak security ({{javax.security.auth.spi.LoginModule}}) instead of 
> {{org.apache.sling.jcr.jackrabbit.server.security.AuthenticationPlugin}}
> http://jackrabbit.apache.org/oak/docs/security/overview.html
> http://jackrabbit.apache.org/oak/docs/security/authentication/externalloginmodule.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5809) Provide Sling's Karaf Features as Options for Pax Exam

2016-08-12 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5809.
-
Resolution: Done

> Provide Sling's Karaf Features as Options for Pax Exam
> --
>
> Key: SLING-5809
> URL: https://issues.apache.org/jira/browse/SLING-5809
> Project: Sling
>  Issue Type: New Feature
>  Components: Testing
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Testing Pax Exam 0.0.2
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5955) Refactor configuration of OakSlingRepositoryManager

2016-08-12 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5955.
-
Resolution: Done

[r1756143|https://svn.apache.org/r1756143]

> Refactor configuration of OakSlingRepositoryManager
> ---
>
> Key: SLING-5955
> URL: https://issues.apache.org/jira/browse/SLING-5955
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Oak
>Affects Versions: JCR Oak Server 1.0.0
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: JCR Oak Server 1.1.0
>
>
> * use R6 Metatype annotations
> * drop framework/system property support 
> ({{oak.observation.limit-commit-rate}} and {{oak.observation.queue-length}})
> * use {{adminId}} from {{SecurityProvider}} only



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5956) Move Oak ITs from org.apache.sling.jcr.repository.it-jackrabbit-oak into org.apache.sling.jcr.oak.server

2016-08-12 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5956.
-
Resolution: Done

ITs merged in [r1756148|https://svn.apache.org/r1756148] from 
{{org.apache.sling.jcr.repository.it-jackrabbit-oak}} into 
{{org.apache.sling.jcr.oak.server}}, leaving 
{{org.apache.sling.jcr.repository.it-jackrabbit-oak}} as is for now.

[~bdelacretaz], [~rombert]: {{it-jackrabbit-oak}} is obsolete as we do no 
longer support Jackrabbit. Should we keep the module anyway?

> Move Oak ITs from org.apache.sling.jcr.repository.it-jackrabbit-oak into 
> org.apache.sling.jcr.oak.server
> 
>
> Key: SLING-5956
> URL: https://issues.apache.org/jira/browse/SLING-5956
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Oak
>Affects Versions: JCR Oak Server 1.0.0
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: JCR Oak Server 1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5958) Upgrade Jackrabbit to 2.13.1

2016-08-12 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5958.
-
Resolution: Fixed

[r1756203|https://svn.apache.org/r1756203]
[r1756204|https://svn.apache.org/r1756204]
[r1756205|https://svn.apache.org/r1756205]
[r1756206|https://svn.apache.org/r1756206]
[r1756207|https://svn.apache.org/r1756207]
[r1756208|https://svn.apache.org/r1756208]
[r1756209|https://svn.apache.org/r1756209]

> Upgrade Jackrabbit to 2.13.1
> 
>
> Key: SLING-5958
> URL: https://issues.apache.org/jira/browse/SLING-5958
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Karaf, Launchpad, Testing
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: JCR Webdav 2.3.6, Karaf Features 0.2.0, Karaf 
> Integration Tests 0.2.0, Launchpad Builder 9, JCR Davex 1.3.6, Commons 
> Testing 2.1.0
>
>
> Oak 1.5.6 uses Jackrabbit 2.13.1 (OAK-4551)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (SLING-5958) Upgrade Jackrabbit to 2.13.1

2016-08-12 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz reopened SLING-5958:
-

> Upgrade Jackrabbit to 2.13.1
> 
>
> Key: SLING-5958
> URL: https://issues.apache.org/jira/browse/SLING-5958
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Karaf, Launchpad, Testing
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: JCR Webdav 2.3.6, Karaf Features 0.2.0, Karaf 
> Integration Tests 0.2.0, Launchpad Builder 9, JCR Davex 1.3.6, Commons 
> Testing 2.1.0
>
>
> Oak 1.5.6 uses Jackrabbit 2.13.1 (OAK-4551)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5958) Upgrade Jackrabbit to 2.13.1

2016-08-12 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5958.
-
Resolution: Done

> Upgrade Jackrabbit to 2.13.1
> 
>
> Key: SLING-5958
> URL: https://issues.apache.org/jira/browse/SLING-5958
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Karaf, Launchpad, Testing
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: JCR Webdav 2.3.6, Karaf Features 0.2.0, Karaf 
> Integration Tests 0.2.0, Launchpad Builder 9, JCR Davex 1.3.6, Commons 
> Testing 2.1.0
>
>
> Oak 1.5.6 uses Jackrabbit 2.13.1 (OAK-4551)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5959) Update Oak to 1.5.7

2016-08-12 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5959.
-
Resolution: Done

[r1756210|https://svn.apache.org/r1756210]
[r1756211|https://svn.apache.org/r1756211]
[r1756212|https://svn.apache.org/r1756212]

> Update Oak to 1.5.7
> ---
>
> Key: SLING-5959
> URL: https://issues.apache.org/jira/browse/SLING-5959
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Karaf, Launchpad, Oak
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Karaf Features 0.2.0, Launchpad Builder 9, JCR Oak 
> Server 1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SLING-5958) Upgrade Jackrabbit to 2.13.1

2016-08-12 Thread Oliver Lietz (JIRA)
Oliver Lietz created SLING-5958:
---

 Summary: Upgrade Jackrabbit to 2.13.1
 Key: SLING-5958
 URL: https://issues.apache.org/jira/browse/SLING-5958
 Project: Sling
  Issue Type: Task
  Components: JCR, Karaf, Launchpad, Testing
Reporter: Oliver Lietz
Assignee: Oliver Lietz
 Fix For: JCR Webdav 2.3.6, Karaf Features 0.2.0, Karaf Integration 
Tests 0.2.0, Launchpad Builder 9, JCR Davex 1.3.6, Commons Testing 2.1.0


Oak 1.5.6 uses Jackrabbit 2.13.1 (OAK-4551)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SLING-5959) Update Oak to 1.5.7

2016-08-12 Thread Oliver Lietz (JIRA)
Oliver Lietz created SLING-5959:
---

 Summary: Update Oak to 1.5.7
 Key: SLING-5959
 URL: https://issues.apache.org/jira/browse/SLING-5959
 Project: Sling
  Issue Type: Task
  Components: JCR, Karaf, Launchpad, Oak
Reporter: Oliver Lietz
Assignee: Oliver Lietz
 Fix For: Karaf Features 0.2.0, Launchpad Builder 9, JCR Oak Server 
1.1.0






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5840) Provide repoinit feature

2016-07-13 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5840.
-
Resolution: Fixed

feature {{sling-jcr-repoinit}} and IT added

[r1752501|https://svn.apache.org/r1752501]
[r1752502|https://svn.apache.org/r1752502]
[r1752503|https://svn.apache.org/r1752503]

> Provide repoinit feature
> 
>
> Key: SLING-5840
> URL: https://issues.apache.org/jira/browse/SLING-5840
> Project: Sling
>  Issue Type: Task
>  Components: Launchpad
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Launchpad Karaf Features 0.2.0, Launchpad Karaf 
> Integration Tests 0.2.0, Launchpad Karaf Distribution 0.2.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5540) Provide Rewriter feature

2016-07-13 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5540:

Fix Version/s: Launchpad Karaf Distribution 0.2.0

> Provide Rewriter feature
> 
>
> Key: SLING-5540
> URL: https://issues.apache.org/jira/browse/SLING-5540
> Project: Sling
>  Issue Type: Task
>  Components: Launchpad
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Launchpad Karaf Features 0.2.0, Launchpad Karaf 
> Integration Tests 0.2.0, Launchpad Karaf Distribution 0.2.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SLING-5840) Provide repoinit feature

2016-07-13 Thread Oliver Lietz (JIRA)
Oliver Lietz created SLING-5840:
---

 Summary: Provide repoinit feature
 Key: SLING-5840
 URL: https://issues.apache.org/jira/browse/SLING-5840
 Project: Sling
  Issue Type: Task
  Components: Launchpad
Reporter: Oliver Lietz
Assignee: Oliver Lietz
 Fix For: Launchpad Karaf Features 0.2.0, Launchpad Karaf 
Integration Tests 0.2.0, Launchpad Karaf Distribution 0.2.0






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5836) RepoInit ITs fail - 5 bundles stuck in installed state

2016-07-12 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15372888#comment-15372888
 ] 

Oliver Lietz commented on SLING-5836:
-

Launchpad builder is using outdated repoinit bundles and should be updated.

> RepoInit ITs fail - 5 bundles stuck in installed state
> --
>
> Key: SLING-5836
> URL: https://issues.apache.org/jira/browse/SLING-5836
> Project: Sling
>  Issue Type: Bug
>  Components: Extensions
>Reporter: Robert Munteanu
>  Labels: sling-IT
> Attachments: error.log, repoinit-5-bundles-installed.png
>
>
> The repoinit ITs fail on Jenkins ( sling-trunk-1.7 and sling-trunk-1.8 ) and 
> locally as well.
> 5 bundles fail to start due to missing exported packages ( see full log 
> attached ).
> [~bdelacretaz] FYI



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5836) RepoInit ITs fail - 5 bundles stuck in installed state

2016-07-12 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15372873#comment-15372873
 ] 

Oliver Lietz commented on SLING-5836:
-

That is strange... the Launchpad ITs do not fail on my local system with 
repoinit releases and the latest dependencies under vote on Karaf (preparing a 
feature for repoinit).

> RepoInit ITs fail - 5 bundles stuck in installed state
> --
>
> Key: SLING-5836
> URL: https://issues.apache.org/jira/browse/SLING-5836
> Project: Sling
>  Issue Type: Bug
>  Components: Extensions
>Reporter: Robert Munteanu
>  Labels: sling-IT
> Attachments: error.log, repoinit-5-bundles-installed.png
>
>
> The repoinit ITs fail on Jenkins ( sling-trunk-1.7 and sling-trunk-1.8 ) and 
> locally as well.
> 5 bundles fail to start due to missing exported packages ( see full log 
> attached ).
> [~bdelacretaz] FYI



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5870) Switch event ITs to use Oak

2016-07-21 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5870:

Attachment: SLING-5870.testing-paxexam.patch

{{SLING-5870.testing-paxexam.patch}} contains 
{{0001-SLING-5870\-Switch-event-ITs-to-use-Oak.patch}} and 
{{0002-SLING-5870\-Switch-event-ITs-to-use-Oak.patch}} and some dependency 
updates and improvements/fixes in {{AbstractJobHandlingTest}}

> Switch event ITs to use Oak
> ---
>
> Key: SLING-5870
> URL: https://issues.apache.org/jira/browse/SLING-5870
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: Event 4.1.0
>
> Attachments: 0001-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> 0002-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> SLING-5870.testing-paxexam.patch, test.log
>
>
> The Event ITs sometimes fail on Jenkins, and the errors seem to indicate 
> inconsistencies in the repository, e.g.
> {code}19.07.2016 09:57:31.489 *WARN* [Apache Sling JCR Resource Event Queue 
> Processor] org.apache.sling.jcr.resource.internal.JcrResourceListener 
> processOsgiEventQueue: Unexpected problem processing event 
> {path=/var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931,
>  resourceChangedAttributes=[Ljava.lang.String;@51e6a8e1, 
> resourceAddedAttributes=[Ljava.lang.String;@1447afb0, userid=admin}
> org.apache.sling.api.SlingException: Problem retrieving node based resource 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:156)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:143)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderFactoryHandler.getResource(ResourceProviderFactoryHandler.java:113)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResourceFromProviders(ResourceProviderEntry.java:401)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getInternalResource(ResourceProviderEntry.java:356)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResource(ResourceProviderEntry.java:138)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getAbsoluteResourceInternal(ResourceResolverImpl.java:988)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResourceInternal(ResourceResolverImpl.java:635)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResource(ResourceResolverImpl.java:590)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener.processOsgiEventQueue(JcrResourceListener.java:340)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener$1.run(JcrResourceListener.java:107)
>   at java.lang.Thread.run(Thread.java:744)
> Caused by: javax.jcr.PathNotFoundException: 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:552)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:97)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:93)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187)
>   at 
> org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
>   at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
>   at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:786)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.createResource(JcrResourceProvider.java:211)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:154)
>   ... 11 common frames omitted{code}
> Moving to Oak might help with these issues, and it's anyway a good idea since 
> the default Launchpad only includes Sling ATM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5870) Switch event ITs to use Oak

2016-07-21 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15387530#comment-15387530
 ] 

Oliver Lietz commented on SLING-5870:
-

More cleanup should be done in {{pom.xml}} and {{AbstractJobHandlingTest.java}}.

> Switch event ITs to use Oak
> ---
>
> Key: SLING-5870
> URL: https://issues.apache.org/jira/browse/SLING-5870
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: Event 4.1.0
>
> Attachments: 0001-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> 0002-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> SLING-5870.testing-paxexam.patch, test.log
>
>
> The Event ITs sometimes fail on Jenkins, and the errors seem to indicate 
> inconsistencies in the repository, e.g.
> {code}19.07.2016 09:57:31.489 *WARN* [Apache Sling JCR Resource Event Queue 
> Processor] org.apache.sling.jcr.resource.internal.JcrResourceListener 
> processOsgiEventQueue: Unexpected problem processing event 
> {path=/var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931,
>  resourceChangedAttributes=[Ljava.lang.String;@51e6a8e1, 
> resourceAddedAttributes=[Ljava.lang.String;@1447afb0, userid=admin}
> org.apache.sling.api.SlingException: Problem retrieving node based resource 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:156)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:143)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderFactoryHandler.getResource(ResourceProviderFactoryHandler.java:113)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResourceFromProviders(ResourceProviderEntry.java:401)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getInternalResource(ResourceProviderEntry.java:356)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResource(ResourceProviderEntry.java:138)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getAbsoluteResourceInternal(ResourceResolverImpl.java:988)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResourceInternal(ResourceResolverImpl.java:635)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResource(ResourceResolverImpl.java:590)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener.processOsgiEventQueue(JcrResourceListener.java:340)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener$1.run(JcrResourceListener.java:107)
>   at java.lang.Thread.run(Thread.java:744)
> Caused by: javax.jcr.PathNotFoundException: 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:552)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:97)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:93)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187)
>   at 
> org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
>   at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
>   at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:786)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.createResource(JcrResourceProvider.java:211)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:154)
>   ... 11 common frames omitted{code}
> Moving to Oak might help with these issues, and it's anyway a good idea since 
> the default Launchpad only includes Sling ATM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5870) Switch event ITs to use Oak

2016-07-21 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15387519#comment-15387519
 ] 

Oliver Lietz commented on SLING-5870:
-

{noformat}
[...]
Results :

Tests in error: 
  
ChaosTest.testDoChaos:356->setupJobConsumers:133->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  ClassloadingTest.testFailedClassloading » ClassNotFound 
org.apache.sling.testi...
  ClassloadingTest.testSimpleClassloading » ClassNotFound 
org.apache.sling.testi...
  
HistoryTest.testHistory:90->AbstractJobHandlingTest.registerJobExecutor:318->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
JobHandlingTest.testNoJobProcessor:407->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
JobHandlingTest.testNotifications:302->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
JobHandlingTest.testSimpleJobExecutionUsingJobConsumer:92->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
JobHandlingTest.testSimpleJobExecutionUsingJobExecutor:116->AbstractJobHandlingTest.registerJobExecutor:318->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
JobHandlingTest.testStartJobAndReschedule:254->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
OrderedQueueTest.testOrderedQueue:88->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
SchedulingTest.testScheduling:59->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
TimedJobsTest.testTimedJob:60->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
TopicMatchingTest.testOrdering:122->AbstractJobHandlingTest.registerJobExecutor:318->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
TopicMatchingTest.testSimpleMatching:64->AbstractJobHandlingTest.registerJobExecutor:318->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut
  
UnorderedQueueTest.testUnorderedQueue:89->AbstractJobHandlingTest.registerJobConsumer:303->AbstractJobHandlingTest.waitConsumerChangeCount:287->AbstractJobHandlingTest.sleep:175
 » TestTimedOut

Tests run: 20, Failures: 0, Errors: 15, Skipped: 0

[INFO] 
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ 
org.apache.sling.event ---
[INFO] Checking legal files in: org.apache.sling.event-4.0.3-SNAPSHOT.jar
[INFO] Checking legal files in: 
org.apache.sling.event-4.0.3-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:baseline (baseline) @ 
org.apache.sling.event ---
[INFO] Baseline Report - Generated by Apache Felix Maven Bundle Plugin on 
2016-07-21T12:52Z based on Bnd - see http://www.aqute.biz/Bnd/Bnd
[INFO] Comparing bundle org.apache.sling.event version 4.0.3-SNAPSHOT to 
version 4.0.2
[INFO] 
[INFO]   PACKAGE_NAME   DELTA  CUR_VER  
  BASE_VER   REC_VERWARNINGS  
[INFO] = == == 
== == == ==
[INFO]   org.apache.sling.event.jobsunchanged  2.0.0
  2.0.0  2.0.0  - 
[INFO] 
---
[INFO]   org.apache.sling.event.jobs.consumer   unchanged  1.2.0
  1.2.0  1.2.0  - 
[INFO] 
---
[INFO]   org.apache.sling.event.jobs.jmxunchanged  1.0.0
  1.0.0  1.0.0  - 
[INFO] 
---
[INFO] Baseline analysis complete, 0 error(s), 0 warning(s)
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.event ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: src/main/appended-resources/META-INF/*
[INFO] Exclude: velocity.log
[INFO] Exclude: target/*
[INFO] Exclude: README.md
[INFO] Exclude: maven-eclipse.xml
[INFO] Exclude: .*
[INFO] Exclude: 

[jira] [Closed] (SLING-5485) Remove Launchpad API dependency from Discovery Base

2016-07-17 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5485.
---

> Remove Launchpad API dependency from Discovery Base
> ---
>
> Key: SLING-5485
> URL: https://issues.apache.org/jira/browse/SLING-5485
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Affects Versions: Discovery Base 1.1.2
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Discovery Base 1.1.4
>
> Attachments: SLING-5485.patch
>
>
> see SLING-2968 and [discussion on 
> dev@|http://mail-archives.apache.org/mod_mbox/sling-dev/201512.mbox/%3c56614f80.9040...@apache.org%3e]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5848) Define service user and ACLs for Scripting

2016-07-15 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15379106#comment-15379106
 ] 

Oliver Lietz commented on SLING-5848:
-

Can we use a {{.}} to separate the {{sling}} prefix? AEM is already using {{-}} 
in names for better readability, e.g. ({{authentication-handler}}).

> Define service user and ACLs for Scripting
> --
>
> Key: SLING-5848
> URL: https://issues.apache.org/jira/browse/SLING-5848
> Project: Sling
>  Issue Type: Task
>  Components: Scripting
>Reporter: Oliver Lietz
>
> Scripting implementations require a (service) ResourceResolver with very 
> limited read rights to read scripts.
> Reading can be limited to these paths:
> * {{/apps}}
> * {{/libs}}
> * {{/etc}} (?)
> Name for service user: {{scripting}} or {{sling-scripting}} (?)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SLING-5848) Define service user and ACLs for Scripting

2016-07-15 Thread Oliver Lietz (JIRA)
Oliver Lietz created SLING-5848:
---

 Summary: Define service user and ACLs for Scripting
 Key: SLING-5848
 URL: https://issues.apache.org/jira/browse/SLING-5848
 Project: Sling
  Issue Type: Task
  Components: Scripting
Reporter: Oliver Lietz


Scripting implementations require a (service) ResourceResolver with very 
limited read rights to read scripts.

Reading can be limited to this paths:
* {{/apps}}
* {{/libs}}
* {{/etc}} (?)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5848) Define service user and ACLs for Scripting

2016-07-15 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5848:

Description: 
Scripting implementations require a (service) ResourceResolver with very 
limited read rights to read scripts.

Reading can be limited to these paths:
* {{/apps}}
* {{/libs}}
* {{/etc}} (?)

Name for service user: {{scripting}} or {{sling-scripting}} (?)


  was:
Scripting implementations require a (service) ResourceResolver with very 
limited read rights to read scripts.

Reading can be limited to this paths:
* {{/apps}}
* {{/libs}}
* {{/etc}} (?)

Name for service user: {{scripting}} or {{sling-scripting}} (?)



> Define service user and ACLs for Scripting
> --
>
> Key: SLING-5848
> URL: https://issues.apache.org/jira/browse/SLING-5848
> Project: Sling
>  Issue Type: Task
>  Components: Scripting
>Reporter: Oliver Lietz
>
> Scripting implementations require a (service) ResourceResolver with very 
> limited read rights to read scripts.
> Reading can be limited to these paths:
> * {{/apps}}
> * {{/libs}}
> * {{/etc}} (?)
> Name for service user: {{scripting}} or {{sling-scripting}} (?)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5848) Define service user and ACLs for Scripting

2016-07-15 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5848:

Description: 
Scripting implementations require a (service) ResourceResolver with very 
limited read rights to read scripts.

Reading can be limited to these paths:
* {{/apps}}
* {{/libs}}
* {{/etc}} (?)

Name for service user: {{scripting}} or {{sling-scripting}} or 
{{sling.scripting}} (?)


  was:
Scripting implementations require a (service) ResourceResolver with very 
limited read rights to read scripts.

Reading can be limited to these paths:
* {{/apps}}
* {{/libs}}
* {{/etc}} (?)

Name for service user: {{scripting}} or {{sling-scripting}} (?)



> Define service user and ACLs for Scripting
> --
>
> Key: SLING-5848
> URL: https://issues.apache.org/jira/browse/SLING-5848
> Project: Sling
>  Issue Type: Task
>  Components: Scripting
>Reporter: Oliver Lietz
>
> Scripting implementations require a (service) ResourceResolver with very 
> limited read rights to read scripts.
> Reading can be limited to these paths:
> * {{/apps}}
> * {{/libs}}
> * {{/etc}} (?)
> Name for service user: {{scripting}} or {{sling-scripting}} or 
> {{sling.scripting}} (?)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (SLING-5848) Define service user and ACLs for Scripting

2016-07-15 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15379106#comment-15379106
 ] 

Oliver Lietz edited comment on SLING-5848 at 7/15/16 9:30 AM:
--

Can we use a {{.}} to separate the {{sling}} prefix? AEM is already using {{-}} 
in names for better readability, e.g. {{authentication-handler}}.


was (Author: olli):
Can we use a {{.}} to separate the {{sling}} prefix? AEM is already using {{-}} 
in names for better readability, e.g. ({{authentication-handler}}).

> Define service user and ACLs for Scripting
> --
>
> Key: SLING-5848
> URL: https://issues.apache.org/jira/browse/SLING-5848
> Project: Sling
>  Issue Type: Task
>  Components: Scripting
>Reporter: Oliver Lietz
>
> Scripting implementations require a (service) ResourceResolver with very 
> limited read rights to read scripts.
> Reading can be limited to these paths:
> * {{/apps}}
> * {{/libs}}
> * {{/etc}} (?)
> Name for service user: {{scripting}} or {{sling-scripting}} (?)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5252) Remove getAdministrativeResourceResolver() from Scripting Core

2016-07-15 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15379090#comment-15379090
 ] 

Oliver Lietz commented on SLING-5252:
-

Right. See SLING-5848 and add your comments please.

> Remove getAdministrativeResourceResolver() from Scripting Core
> --
>
> Key: SLING-5252
> URL: https://issues.apache.org/jira/browse/SLING-5252
> Project: Sling
>  Issue Type: Sub-task
>  Components: Scripting
>Affects Versions: Scripting Core 2.0.34
>Reporter: Radu Cotescu
>Assignee: Radu Cotescu
> Fix For: Scripting Core 2.0.40
>
>
> 2 occurrences in {{org.apache.sling.scripting.core.impl.ScriptCacheImpl}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5848) Define service user and ACLs for Scripting

2016-07-15 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5848:

Description: 
Scripting implementations require a (service) ResourceResolver with very 
limited read rights to read scripts.

Reading can be limited to this paths:
* {{/apps}}
* {{/libs}}
* {{/etc}} (?)

Name for service user: {{scripting}} or {{sling-scripting}} (?)


  was:
Scripting implementations require a (service) ResourceResolver with very 
limited read rights to read scripts.

Reading can be limited to this paths:
* {{/apps}}
* {{/libs}}
* {{/etc}} (?)



> Define service user and ACLs for Scripting
> --
>
> Key: SLING-5848
> URL: https://issues.apache.org/jira/browse/SLING-5848
> Project: Sling
>  Issue Type: Task
>  Components: Scripting
>Reporter: Oliver Lietz
>
> Scripting implementations require a (service) ResourceResolver with very 
> limited read rights to read scripts.
> Reading can be limited to this paths:
> * {{/apps}}
> * {{/libs}}
> * {{/etc}} (?)
> Name for service user: {{scripting}} or {{sling-scripting}} (?)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5870) Switch event ITs to use Oak

2016-07-19 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15384101#comment-15384101
 ] 

Oliver Lietz commented on SLING-5870:
-

Scripting Thymeleaf runs tests on Oak: 
https://github.com/apache/sling/blob/trunk/contrib/scripting/org.apache.sling.scripting.thymeleaf/src/test/java/org/apache/sling/scripting/thymeleaf/it/tests/ThymeleafTestSupport.java


> Switch event ITs to use Oak
> ---
>
> Key: SLING-5870
> URL: https://issues.apache.org/jira/browse/SLING-5870
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: Event 4.1.0
>
>
> The Event ITs sometimes fail on Jenkins, and the errors seem to indicate 
> inconsistencies in the repository, e.g.
> {code}19.07.2016 09:57:31.489 *WARN* [Apache Sling JCR Resource Event Queue 
> Processor] org.apache.sling.jcr.resource.internal.JcrResourceListener 
> processOsgiEventQueue: Unexpected problem processing event 
> {path=/var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931,
>  resourceChangedAttributes=[Ljava.lang.String;@51e6a8e1, 
> resourceAddedAttributes=[Ljava.lang.String;@1447afb0, userid=admin}
> org.apache.sling.api.SlingException: Problem retrieving node based resource 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:156)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:143)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderFactoryHandler.getResource(ResourceProviderFactoryHandler.java:113)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResourceFromProviders(ResourceProviderEntry.java:401)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getInternalResource(ResourceProviderEntry.java:356)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResource(ResourceProviderEntry.java:138)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getAbsoluteResourceInternal(ResourceResolverImpl.java:988)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResourceInternal(ResourceResolverImpl.java:635)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResource(ResourceResolverImpl.java:590)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener.processOsgiEventQueue(JcrResourceListener.java:340)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener$1.run(JcrResourceListener.java:107)
>   at java.lang.Thread.run(Thread.java:744)
> Caused by: javax.jcr.PathNotFoundException: 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:552)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:97)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:93)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187)
>   at 
> org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
>   at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
>   at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:786)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.createResource(JcrResourceProvider.java:211)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:154)
>   ... 11 common frames omitted{code}
> Moving to Oak might help with these issues, and it's anyway a good idea since 
> the default Launchpad only includes Sling ATM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5870) Switch event ITs to use Oak

2016-07-19 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15384395#comment-15384395
 ] 

Oliver Lietz commented on SLING-5870:
-

A release of Oak Server is overdue but I would like to wait now for parent 27 
and do some further cleanup. The one in {{trunk}} _should_ become 1.1.0 with 
Oak 1.5 and the one in {{branches/oak-server-1.0}} _could_ become 1.0.2 with 
Oak 1.4.

> Switch event ITs to use Oak
> ---
>
> Key: SLING-5870
> URL: https://issues.apache.org/jira/browse/SLING-5870
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: Event 4.1.0
>
>
> The Event ITs sometimes fail on Jenkins, and the errors seem to indicate 
> inconsistencies in the repository, e.g.
> {code}19.07.2016 09:57:31.489 *WARN* [Apache Sling JCR Resource Event Queue 
> Processor] org.apache.sling.jcr.resource.internal.JcrResourceListener 
> processOsgiEventQueue: Unexpected problem processing event 
> {path=/var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931,
>  resourceChangedAttributes=[Ljava.lang.String;@51e6a8e1, 
> resourceAddedAttributes=[Ljava.lang.String;@1447afb0, userid=admin}
> org.apache.sling.api.SlingException: Problem retrieving node based resource 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:156)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:143)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderFactoryHandler.getResource(ResourceProviderFactoryHandler.java:113)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResourceFromProviders(ResourceProviderEntry.java:401)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getInternalResource(ResourceProviderEntry.java:356)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResource(ResourceProviderEntry.java:138)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getAbsoluteResourceInternal(ResourceResolverImpl.java:988)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResourceInternal(ResourceResolverImpl.java:635)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResource(ResourceResolverImpl.java:590)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener.processOsgiEventQueue(JcrResourceListener.java:340)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener$1.run(JcrResourceListener.java:107)
>   at java.lang.Thread.run(Thread.java:744)
> Caused by: javax.jcr.PathNotFoundException: 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:552)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:97)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:93)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187)
>   at 
> org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
>   at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
>   at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:786)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.createResource(JcrResourceProvider.java:211)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:154)
>   ... 11 common frames omitted{code}
> Moving to Oak might help with these issues, and it's anyway a good idea since 
> the default Launchpad only includes Sling ATM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5870) Switch event ITs to use Oak

2016-07-20 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15385853#comment-15385853
 ] 

Oliver Lietz commented on SLING-5870:
-

[~rombert], I've applied both patches and build succeeds:

{noformat}
[...]
Results :

Tests run: 20, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ 
org.apache.sling.event ---
[INFO] Checking legal files in: org.apache.sling.event-4.0.3-SNAPSHOT.jar
[INFO] Checking legal files in: 
org.apache.sling.event-4.0.3-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:baseline (baseline) @ 
org.apache.sling.event ---
[INFO] artifact org.apache.sling:org.apache.sling.event: checking for updates 
from apache.snapshots
[INFO] artifact org.apache.sling:org.apache.sling.event: checking for updates 
from central
[INFO] Baseline Report - Generated by Apache Felix Maven Bundle Plugin on 
2016-07-20T15:19Z based on Bnd - see http://www.aqute.biz/Bnd/Bnd
[INFO] Comparing bundle org.apache.sling.event version 4.0.3-SNAPSHOT to 
version 4.0.2
[INFO] 
[INFO]   PACKAGE_NAME   DELTA  CUR_VER  
  BASE_VER   REC_VERWARNINGS  
[INFO] = == == 
== == == ==
[INFO]   org.apache.sling.event.jobsunchanged  2.0.0
  2.0.0  2.0.0  - 
[INFO] 
---
[INFO]   org.apache.sling.event.jobs.consumer   unchanged  1.2.0
  1.2.0  1.2.0  - 
[INFO] 
---
[INFO]   org.apache.sling.event.jobs.jmxunchanged  1.0.0
  1.0.0  1.0.0  - 
[INFO] 
---
[INFO] Baseline analysis complete, 0 error(s), 0 warning(s)
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ org.apache.sling.event ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: src/main/appended-resources/META-INF/*
[INFO] Exclude: velocity.log
[INFO] Exclude: target/*
[INFO] Exclude: README.md
[INFO] Exclude: maven-eclipse.xml
[INFO] Exclude: .*
[INFO] Exclude: .*/**
[INFO] Exclude: **/*.json
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: **/*.rej
[INFO] Exclude: hs_err_*.log
[INFO] Exclude: derby.log
[INFO] 102 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 
approved: 102 licence.
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (default) @ 
org.apache.sling.event ---
[INFO] Failsafe report directory: 
/[...]/sling/trunk/bundles/extensions/event/target/failsafe-reports
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ 
org.apache.sling.event ---
[INFO] Installing 
/[...]/sling/trunk/bundles/extensions/event/target/org.apache.sling.event-4.0.3-SNAPSHOT.jar
 to 
/[...].m2/repository/org/apache/sling/org.apache.sling.event/4.0.3-SNAPSHOT/org.apache.sling.event-4.0.3-SNAPSHOT.jar
[INFO] Installing /[...]/sling/trunk/bundles/extensions/event/pom.xml to 
/[...]/.m2/repository/org/apache/sling/org.apache.sling.event/4.0.3-SNAPSHOT/org.apache.sling.event-4.0.3-SNAPSHOT.pom
[INFO] Installing 
/[...]/sling/trunk/bundles/extensions/event/target/org.apache.sling.event-4.0.3-SNAPSHOT-sources.jar
 to 
/[...]/.m2/repository/org/apache/sling/org.apache.sling.event/4.0.3-SNAPSHOT/org.apache.sling.event-4.0.3-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:install (default-install) @ 
org.apache.sling.event ---
[INFO] Local OBR update disabled (enable with -DobrRepository)
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 09:41 min
[INFO] Finished at: 2016-07-20T15:19:38+02:00
[INFO] Final Memory: 65M/1380M
[INFO] 
{noformat}

Make sure your local M2 repo doesn't contain any _weird_ bundles.

> Switch event ITs to use Oak
> ---
>
> Key: SLING-5870
> URL: https://issues.apache.org/jira/browse/SLING-5870
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: Event 4.1.0
>
> Attachments: 0001-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> 0002-SLING-5870-Switch-event-ITs-to-use-Oak.patch, test.log
>
>
> The Event ITs sometimes fail on Jenkins, and the errors seem to indicate 
> 

[jira] [Commented] (SLING-5870) Switch event ITs to use Oak

2016-07-20 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15386031#comment-15386031
 ] 

Oliver Lietz commented on SLING-5870:
-

Rebuilt with {{~/.m2}} removed and {{org.apache.sling.jcr.oak.server}} built 
from {{trunk}}:

{noformat}
[...]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 10:06 min
[INFO] Finished at: 2016-07-20T16:43:53+02:00
[INFO] Final Memory: 62M/1228M
[INFO] 
{noformat}

Your {{settings.xml}} is clean?


> Switch event ITs to use Oak
> ---
>
> Key: SLING-5870
> URL: https://issues.apache.org/jira/browse/SLING-5870
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: Event 4.1.0
>
> Attachments: 0001-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> 0002-SLING-5870-Switch-event-ITs-to-use-Oak.patch, test.log
>
>
> The Event ITs sometimes fail on Jenkins, and the errors seem to indicate 
> inconsistencies in the repository, e.g.
> {code}19.07.2016 09:57:31.489 *WARN* [Apache Sling JCR Resource Event Queue 
> Processor] org.apache.sling.jcr.resource.internal.JcrResourceListener 
> processOsgiEventQueue: Unexpected problem processing event 
> {path=/var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931,
>  resourceChangedAttributes=[Ljava.lang.String;@51e6a8e1, 
> resourceAddedAttributes=[Ljava.lang.String;@1447afb0, userid=admin}
> org.apache.sling.api.SlingException: Problem retrieving node based resource 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:156)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:143)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderFactoryHandler.getResource(ResourceProviderFactoryHandler.java:113)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResourceFromProviders(ResourceProviderEntry.java:401)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getInternalResource(ResourceProviderEntry.java:356)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResource(ResourceProviderEntry.java:138)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getAbsoluteResourceInternal(ResourceResolverImpl.java:988)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResourceInternal(ResourceResolverImpl.java:635)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResource(ResourceResolverImpl.java:590)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener.processOsgiEventQueue(JcrResourceListener.java:340)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener$1.run(JcrResourceListener.java:107)
>   at java.lang.Thread.run(Thread.java:744)
> Caused by: javax.jcr.PathNotFoundException: 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:552)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:97)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:93)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187)
>   at 
> org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
>   at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
>   at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:786)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.createResource(JcrResourceProvider.java:211)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:154)
>   ... 11 common frames omitted{code}
> Moving to Oak might help with these issues, and it's anyway a good idea since 
> the default Launchpad only includes Sling ATM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5870) Switch event ITs to use Oak

2016-07-20 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15386099#comment-15386099
 ] 

Oliver Lietz commented on SLING-5870:
-

Ok, PEBKAC. Keep you posted.

> Switch event ITs to use Oak
> ---
>
> Key: SLING-5870
> URL: https://issues.apache.org/jira/browse/SLING-5870
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: Event 4.1.0
>
> Attachments: 0001-SLING-5870-Switch-event-ITs-to-use-Oak.patch, 
> 0002-SLING-5870-Switch-event-ITs-to-use-Oak.patch, test.log
>
>
> The Event ITs sometimes fail on Jenkins, and the errors seem to indicate 
> inconsistencies in the repository, e.g.
> {code}19.07.2016 09:57:31.489 *WARN* [Apache Sling JCR Resource Event Queue 
> Processor] org.apache.sling.jcr.resource.internal.JcrResourceListener 
> processOsgiEventQueue: Unexpected problem processing event 
> {path=/var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931,
>  resourceChangedAttributes=[Ljava.lang.String;@51e6a8e1, 
> resourceAddedAttributes=[Ljava.lang.String;@1447afb0, userid=admin}
> org.apache.sling.api.SlingException: Problem retrieving node based resource 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:156)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:143)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderFactoryHandler.getResource(ResourceProviderFactoryHandler.java:113)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResourceFromProviders(ResourceProviderEntry.java:401)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getInternalResource(ResourceProviderEntry.java:356)
>   at 
> org.apache.sling.resourceresolver.impl.tree.ResourceProviderEntry.getResource(ResourceProviderEntry.java:138)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getAbsoluteResourceInternal(ResourceResolverImpl.java:988)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResourceInternal(ResourceResolverImpl.java:635)
>   at 
> org.apache.sling.resourceresolver.impl.ResourceResolverImpl.getResource(ResourceResolverImpl.java:590)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener.processOsgiEventQueue(JcrResourceListener.java:340)
>   at 
> org.apache.sling.jcr.resource.internal.JcrResourceListener$1.run(JcrResourceListener.java:107)
>   at java.lang.Thread.run(Thread.java:744)
> Caused by: javax.jcr.PathNotFoundException: 
> /var/eventing/jobs/assigned/f96f5677-4d3b-454d-9dc1-c2ee9270b35c/sling.chaos.round.4/2016/7/19/9/53/f96f5677-4d3b-454d-9dc1-c2ee9270b35c_2931
>   at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:552)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:97)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation$4.perform(SessionItemOperation.java:93)
>   at 
> org.apache.jackrabbit.core.session.SessionItemOperation.perform(SessionItemOperation.java:187)
>   at 
> org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
>   at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:361)
>   at org.apache.jackrabbit.core.SessionImpl.getItem(SessionImpl.java:786)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.createResource(JcrResourceProvider.java:211)
>   at 
> org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.getResource(JcrResourceProvider.java:154)
>   ... 11 common frames omitted{code}
> Moving to Oak might help with these issues, and it's anyway a good idea since 
> the default Launchpad only includes Sling ATM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5776) Update to Oak 1.5.3

2016-07-11 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5776:

Fix Version/s: (was: JCR Oak Server 1.0.2)
   JCR Oak Server 1.1.0

> Update to Oak 1.5.3
> ---
>
> Key: SLING-5776
> URL: https://issues.apache.org/jira/browse/SLING-5776
> Project: Sling
>  Issue Type: Improvement
>  Components: JCR, Launchpad, Oak
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: Launchpad Karaf Features 0.2.0, Launchpad Karaf 
> Integration Tests 0.2.0, Launchpad Builder 9, JCR Oak Server 1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5511) Adjust Oak package imports

2016-07-11 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5511:

Fix Version/s: JCR Oak Server 1.1.0

> Adjust Oak package imports
> --
>
> Key: SLING-5511
> URL: https://issues.apache.org/jira/browse/SLING-5511
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Oak
>Affects Versions: JCR Oak Server 1.0.0
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: JCR Oak Server 1.0.2, JCR Oak Server 1.1.0
>
>
> With OAK-3842 lots of package exports were removed. We have to adjust in 
> Sling accordingly when using Oak >= {{1.3.15}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5572) Update Jackrabbit to 2.12.1

2016-07-11 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5572:

Fix Version/s: (was: JCR Oak Server 1.0.2)

> Update Jackrabbit to 2.12.1
> ---
>
> Key: SLING-5572
> URL: https://issues.apache.org/jira/browse/SLING-5572
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Launchpad, Testing
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: JCR Webdav 2.3.4, JCR DavEx 1.3.2, Launchpad Karaf 
> Features 0.2.0, Launchpad Karaf Integration Tests 0.2.0, Launchpad Builder 9, 
> Commons Testing 2.0.26
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5777) Stop embedding oak-jcr in the o.a.s.jcr.oak.server bundle

2016-07-11 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5777:

Fix Version/s: (was: JCR Oak Server 1.0.2)
   JCR Oak Server 1.1.0

> Stop embedding oak-jcr in the o.a.s.jcr.oak.server bundle
> -
>
> Key: SLING-5777
> URL: https://issues.apache.org/jira/browse/SLING-5777
> Project: Sling
>  Issue Type: Bug
>  Components: Oak
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
> Fix For: JCR Oak Server 1.1.0
>
>
> We should no longer embed the oak-jcr bundle, as it makes upgrading new Oak 
> version harder, since we need to update both the oak-server bundle and the 
> launchpad.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5833) Update Oak to 1.5.5

2016-07-11 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5833:

Fix Version/s: (was: JCR Oak Server 1.0.2)
   JCR Oak Server 1.1.0

> Update Oak to 1.5.5
> ---
>
> Key: SLING-5833
> URL: https://issues.apache.org/jira/browse/SLING-5833
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Launchpad, Oak
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Launchpad Karaf Features 0.2.0, Launchpad Builder 9, JCR 
> Oak Server 1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5520) Update Oak to 1.4

2016-07-11 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5520:

Fix Version/s: JCR Oak Server 1.1.0

> Update Oak to 1.4
> -
>
> Key: SLING-5520
> URL: https://issues.apache.org/jira/browse/SLING-5520
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Launchpad, Oak
>Reporter: Oliver Lietz
> Fix For: Launchpad Karaf Features 0.2.0, JCR Oak Server 1.0.2, 
> Launchpad Builder 9, JCR Oak Server 1.1.0
>
>
> Doing update in several more steps until Oak {{1.4}} is released due to major 
> changes, one of them being OAK-3842 (removed package exports, tracked in 
> SLING-5511).
> First updating to Oak {{1.3.14}} (latest pre OAK-3842 release) and then to 
> Oak {{1.3.15}}.
> Features deprecated for Oak {{1.4}} should be removed from 
> {{org.apache.sling.jcr.oak.server}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (SLING-5520) Update Oak to 1.4

2016-07-11 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz reassigned SLING-5520:
---

Assignee: Oliver Lietz

> Update Oak to 1.4
> -
>
> Key: SLING-5520
> URL: https://issues.apache.org/jira/browse/SLING-5520
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Launchpad, Oak
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Launchpad Karaf Features 0.2.0, JCR Oak Server 1.0.2, 
> Launchpad Builder 9, JCR Oak Server 1.1.0
>
>
> Doing update in several more steps until Oak {{1.4}} is released due to major 
> changes, one of them being OAK-3842 (removed package exports, tracked in 
> SLING-5511).
> First updating to Oak {{1.3.14}} (latest pre OAK-3842 release) and then to 
> Oak {{1.3.15}}.
> Features deprecated for Oak {{1.4}} should be removed from 
> {{org.apache.sling.jcr.oak.server}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5520) Update Oak to 1.4

2016-07-11 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15371445#comment-15371445
 ] 

Oliver Lietz commented on SLING-5520:
-

bq. Is that the withAsync() call? I replaced it for SLING-5776.

Yes.

bq. Well, we already went with unstable Oak releases so far and no one 
complained :-) The reason for updating to an unstable version is SLING-5777, 
which makes it really simple for users of the launchpad to upgrade Oak without 
having to rebuild .

I have created a branch {{1.0}} for Oak Server with _Oak 1.4_. Oak Server with 
_Oak 1.5_ in trunk should be {{1.1}}. This will allow us to create versions 
with _Oak 1.4_ if Oak _1.5_ is _too unstable_.

> Update Oak to 1.4
> -
>
> Key: SLING-5520
> URL: https://issues.apache.org/jira/browse/SLING-5520
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Launchpad, Oak
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Launchpad Karaf Features 0.2.0, JCR Oak Server 1.0.2, 
> Launchpad Builder 9, JCR Oak Server 1.1.0
>
>
> Doing update in several more steps until Oak {{1.4}} is released due to major 
> changes, one of them being OAK-3842 (removed package exports, tracked in 
> SLING-5511).
> First updating to Oak {{1.3.14}} (latest pre OAK-3842 release) and then to 
> Oak {{1.3.15}}.
> Features deprecated for Oak {{1.4}} should be removed from 
> {{org.apache.sling.jcr.oak.server}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5375) OakSlingRepositoryManager is missing name property for use by RMI and JNDI registries

2016-07-11 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5375:

Fix Version/s: JCR Oak Server 1.1.0

> OakSlingRepositoryManager is missing name property for use by RMI and JNDI 
> registries
> -
>
> Key: SLING-5375
> URL: https://issues.apache.org/jira/browse/SLING-5375
> Project: Sling
>  Issue Type: Bug
>  Components: JCR
>Affects Versions: JCR Oak Server 1.0.0
>Reporter: Christoph Thodte
>Assignee: Oliver Lietz
> Fix For: JCR Oak Server 1.0.2, JCR Oak Server 1.1.0
>
>
> when I save the RMI configuration in sling 8 the rmi port 1099 starts 
> listening. now in sling 8 it doesn't work. I see the following error in 
> console 
> "registerRepositroy: Repository not to bew registrated - Service 464 has no 
> name property, nothing to unregister"
> When I look for 464 in my instance I find the following service:
> [org.apache.sling.jcr.api.SlingRepository, javax.jcr.Repository]
> What's wrong? Is there a configuration missing? Is it a bug? Do you can fix 
> it? 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5571) Integration tests using SlingRepositoryInitializer fail

2016-07-11 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5571:

Fix Version/s: JCR Oak Server 1.1.0

> Integration tests using SlingRepositoryInitializer fail
> ---
>
> Key: SLING-5571
> URL: https://issues.apache.org/jira/browse/SLING-5571
> Project: Sling
>  Issue Type: Bug
>  Components: Testing
>Affects Versions: JCR Oak Server 1.0.0
>Reporter: Bertrand Delacretaz
>Assignee: Bertrand Delacretaz
>Priority: Minor
> Fix For: JCR Oak Server 1.0.2, JCR Oak Server 1.1.0
>
>
> Changes to the jcr.api 2.3.1-SNAPSHOT have modified the import of that bundle 
> and it does not start, causing a number of tests to fail. Trying to fix that 
> requires updating many bundles, so as a first step I'll revert to jcr.api 
> 2.3.0 and disable the corresponding tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5832) Update Jackrabbit to 2.12.2

2016-07-11 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5832:

Fix Version/s: (was: JCR Oak Server 1.0.2)

> Update Jackrabbit to 2.12.2
> ---
>
> Key: SLING-5832
> URL: https://issues.apache.org/jira/browse/SLING-5832
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Launchpad, Testing
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: JCR Webdav 2.3.6, Launchpad Karaf Features 0.2.0, 
> Launchpad Karaf Integration Tests 0.2.0, Launchpad Builder 9, Commons Testing 
> 2.0.26, JCR Davex 1.3.6
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5259) Oak Server: Add property index for slingevent:eventId

2016-07-11 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5259:

Fix Version/s: JCR Oak Server 1.1.0

> Oak Server: Add property index for slingevent:eventId
> -
>
> Key: SLING-5259
> URL: https://issues.apache.org/jira/browse/SLING-5259
> Project: Sling
>  Issue Type: Improvement
>  Components: JCR
>Reporter: Stefan Seifert
>Assignee: Stefan Seifert
>Priority: Minor
> Fix For: JCR Oak Server 1.0.2, JCR Oak Server 1.1.0
>
>
> for better supporting fetching jobs by id a property index for 
> {{slingevent:eventId}} should be defined.
> currently only a property index for {{event.job.topic}} exists.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5836) RepoInit ITs fail - 5 bundles stuck in installed state

2016-07-12 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5836.
-
Resolution: Fixed

[r1752322|https://svn.apache.org/r1752322]

> RepoInit ITs fail - 5 bundles stuck in installed state
> --
>
> Key: SLING-5836
> URL: https://issues.apache.org/jira/browse/SLING-5836
> Project: Sling
>  Issue Type: Bug
>  Components: Extensions
>Reporter: Robert Munteanu
>Assignee: Oliver Lietz
>  Labels: sling-IT
> Attachments: error.log, repoinit-5-bundles-installed.png
>
>
> The repoinit ITs fail on Jenkins ( sling-trunk-1.7 and sling-trunk-1.8 ) and 
> locally as well.
> 5 bundles fail to start due to missing exported packages ( see full log 
> attached ).
> [~bdelacretaz] FYI



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (SLING-5836) RepoInit ITs fail - 5 bundles stuck in installed state

2016-07-12 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz reassigned SLING-5836:
---

Assignee: Oliver Lietz

> RepoInit ITs fail - 5 bundles stuck in installed state
> --
>
> Key: SLING-5836
> URL: https://issues.apache.org/jira/browse/SLING-5836
> Project: Sling
>  Issue Type: Bug
>  Components: Extensions
>Reporter: Robert Munteanu
>Assignee: Oliver Lietz
>  Labels: sling-IT
> Attachments: error.log, repoinit-5-bundles-installed.png
>
>
> The repoinit ITs fail on Jenkins ( sling-trunk-1.7 and sling-trunk-1.8 ) and 
> locally as well.
> 5 bundles fail to start due to missing exported packages ( see full log 
> attached ).
> [~bdelacretaz] FYI



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5837) Allow ResourceChangeListeners to define glob patterns for resource matching

2016-07-13 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15374831#comment-15374831
 ] 

Oliver Lietz commented on SLING-5837:
-

Our paths are resource (JCR) paths and _not_ file system paths. So I have 
concerns regarding the implementation as it uses classes from {{java.nio.file}} 
which are platform dependent and _may_ lead to different results. Can we rule 
out such cases?

* https://docs.oracle.com/javase/tutorial/essential/io/find.html
* http://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html

> Allow ResourceChangeListeners to define glob patterns for resource matching
> ---
>
> Key: SLING-5837
> URL: https://issues.apache.org/jira/browse/SLING-5837
> Project: Sling
>  Issue Type: Improvement
>  Components: API
>Affects Versions: API 2.12.0
>Reporter: Radu Cotescu
>Assignee: Radu Cotescu
> Fix For: API 2.13.0
>
> Attachments: SLING-5837.patch
>
>
> While the previous way to interact with Resource change events through 
> registering {{EventHandler}} sevices allowed defining glob patterns for 
> matching the watched paths, the current state of the 
> {{org.apache.sling.api.resource.observation.ResourceChangeListener}} only 
> allows subscribing to events for concrete paths.
> In order to allow for the same filtering flexibility, 
> {{ResourceChangeListener}} should also accept glob patterns for its 
> {{resource.paths}} configuration property.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (SLING-5834) Update Sling API to 2.12.0

2016-07-13 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5834.
---

> Update Sling API to 2.12.0
> --
>
> Key: SLING-5834
> URL: https://issues.apache.org/jira/browse/SLING-5834
> Project: Sling
>  Issue Type: Task
>  Components: Servlets
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Servlets Resolver 2.4.4
>
>
> build for use with Sling API 2.12.0 (SLING-5665)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (SLING-5694) introduce 'Slow' category to allow excluding slow running tests

2016-07-13 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5694.
---

> introduce 'Slow' category to allow excluding slow running tests
> ---
>
> Key: SLING-5694
> URL: https://issues.apache.org/jira/browse/SLING-5694
> Project: Sling
>  Issue Type: Improvement
>  Components: Commons
>Affects Versions: Commons Testing 2.0.24
>Reporter: Stefan Egli
>Assignee: Stefan Egli
> Fix For: Commons Testing 2.0.26
>
>
> As a follow up of a [discussion|http://markmail.org/message/yad5awqg53epk3ck] 
> on the list and a concrete suggestion also done as part of SLING-5598 this is 
> about introducing a junit category called {{Slow}} that can then be excluded 
> from particular bundles' test goal by default. This does not yet exclude 
> {{Slow}} in the parent/pom - we can do that separately if we deem that 
> useful. For now this is needed by SLING-5598.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (SLING-5714) ScriptEngineManagerFactory should log all available script engine factories

2016-07-13 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5714.
---

> ScriptEngineManagerFactory should log all available script engine factories
> ---
>
> Key: SLING-5714
> URL: https://issues.apache.org/jira/browse/SLING-5714
> Project: Sling
>  Issue Type: Improvement
>  Components: Scripting
>Affects Versions: Scripting Core 2.0.36
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Scripting Core 2.0.38
>
>
> Log should contain mime types and names also.
> {noformat}
> Running org.apache.sling.scripting.core.impl.ScriptEngineManagerFactoryTest
> 31 [main] INFO 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - Adding 
> ScriptEngine Dummy Scripting Engine, 1.0 for language dummy, 2.0
> 32 [main] INFO 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - Script 
> extension 'dum' is now handled by ScriptEngine 'Dummy Scripting Engine', 
> version='1.0', 
> class='org.apache.sling.scripting.core.impl.DummyScriptEngineFactory$DummyScriptEngine'
> 32 [main] INFO 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - Script 
> extension 'dummy' is now handled by ScriptEngine 'Dummy Scripting Engine', 
> version='1.0', 
> class='org.apache.sling.scripting.core.impl.DummyScriptEngineFactory$DummyScriptEngine'
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec - 
> in org.apache.sling.scripting.core.impl.ScriptEngineManagerFactoryTest
> {noformat}
> {noformat}
> Running org.apache.sling.scripting.core.impl.ScriptEngineManagerFactoryTest
> 332 [main] INFO 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - 
> ScriptEngine Oracle Nashorn/1.8.0_74 is now handling [js], 
> [application/javascript, application/ecmascript, text/javascript, 
> text/ecmascript], [nashorn, Nashorn, js, JS, JavaScript, javascript, 
> ECMAScript, ecmascript].
> 333 [main] INFO 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - 
> ScriptEngine AppleScriptEngine/1.1 is now handling [scpt, applescript, app], 
> [application/x-applescript, text/plain, text/applescript], 
> [AppleScriptEngine, AppleScript, OSA].
> 342 [main] INFO 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - Adding 
> ScriptEngine Dummy Scripting Engine/1.0 for language dummy/2.0.
> 342 [main] INFO 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - 
> ScriptEngine Dummy Scripting Engine/1.0 is now handling [dum, dummy], 
> [application/x-dummy], [Dummy, dummy].
> 342 [main] INFO 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - 
> ScriptEngine AppleScriptEngine/1.1 is now handling [scpt, applescript, app], 
> [application/x-applescript, text/plain, text/applescript], 
> [AppleScriptEngine, AppleScript, OSA].
> 342 [main] INFO 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - 
> ScriptEngine Oracle Nashorn/1.8.0_74 is now handling [js], 
> [application/javascript, application/ecmascript, text/javascript, 
> text/ecmascript], [nashorn, Nashorn, js, JS, JavaScript, javascript, 
> ECMAScript, ecmascript].
> 345 [main] INFO 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - 
> ScriptEngine Oracle Nashorn/1.8.0_74 is now handling [js], 
> [application/javascript, application/ecmascript, text/javascript, 
> text/ecmascript], [nashorn, Nashorn, js, JS, JavaScript, javascript, 
> ECMAScript, ecmascript].
> 346 [main] INFO 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory - 
> ScriptEngine AppleScriptEngine/1.1 is now handling [scpt, applescript, app], 
> [application/x-applescript, text/plain, text/applescript], 
> [AppleScriptEngine, AppleScript, OSA].
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec - 
> in org.apache.sling.scripting.core.impl.ScriptEngineManagerFactoryTest
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5252) Remove getAdministrativeResourceResolver() from Scripting Core

2016-07-13 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15374880#comment-15374880
 ] 

Oliver Lietz commented on SLING-5252:
-

[~radu.cotescu]: What are your plans? Service user for scripting? Do have a 
schedule for this issue?

> Remove getAdministrativeResourceResolver() from Scripting Core
> --
>
> Key: SLING-5252
> URL: https://issues.apache.org/jira/browse/SLING-5252
> Project: Sling
>  Issue Type: Sub-task
>  Components: Scripting
>Affects Versions: Scripting Core 2.0.34
>Reporter: Radu Cotescu
>Assignee: Radu Cotescu
> Fix For: Scripting Core 2.0.40
>
>
> 2 occurrences in {{org.apache.sling.scripting.core.impl.ScriptCacheImpl}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (SLING-5600) Fix and update Jackrabbit dependencies

2016-07-17 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5600.
---

> Fix and update Jackrabbit dependencies
> --
>
> Key: SLING-5600
> URL: https://issues.apache.org/jira/browse/SLING-5600
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Discovery Oak 1.2.8
>
>
> {noformat}
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model 
> for org.apache.sling:org.apache.sling.discovery.oak:bundle:1.2.7-SNAPSHOT
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
> be unique: org.apache.jackrabbit:jackrabbit-api:jar -> version 2.2.4 vs 
> 2.11.0 @ line 298, column 21
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they 
> threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support 
> building such malformed projects.
> [WARNING] 
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (SLING-5697) Missing null check in OakViewChecker for slingHomePath

2016-07-17 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5697.
---

> Missing null check in OakViewChecker for slingHomePath
> --
>
> Key: SLING-5697
> URL: https://issues.apache.org/jira/browse/SLING-5697
> Project: Sling
>  Issue Type: Bug
>  Components: Extensions
>Affects Versions: Discovery Oak 1.2.6
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Discovery Oak 1.2.8
>
>
> {noformat}
> 2016-04-28 21:16:39,250 | ERROR | eActionProvider) | oak  
> | 128 - org.apache.sling.discovery.oak - 1.2.7.SNAPSHOT | 
> [org.apache.sling.discovery.oak.pinger.OakViewChecker(20)] The activate 
> method has thrown an exception
> java.lang.NullPointerException: Value should not be null (key = slingHomePath)
>   at 
> org.apache.sling.jcr.resource.internal.JcrModifiableValueMap.put(JcrModifiableValueMap.java:440)
>   at 
> org.apache.sling.jcr.resource.internal.JcrModifiableValueMap.put(JcrModifiableValueMap.java:47)
>   at 
> org.apache.sling.discovery.oak.pinger.OakViewChecker.resetLeaderElectionId(OakViewChecker.java:261)
>   at 
> org.apache.sling.discovery.oak.pinger.OakViewChecker.doActivate(OakViewChecker.java:145)
>   at 
> org.apache.sling.discovery.base.commons.BaseViewChecker.activate(BaseViewChecker.java:109)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)[:1.8.0_74]
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_74]
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_74]
>   at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_74]
>   at 
> org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:222)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:615)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:295)
>   at 
> org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:302)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:113)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:866)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:833)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:774)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:347)
>   at 
> org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:247)
>   at 
> org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:344)
>   at 
> org.apache.felix.framework.Felix.getService(Felix.java:3699)[org.apache.felix.framework-5.4.0.jar:]
>   at 
> org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470)[org.apache.felix.framework-5.4.0.jar:]
>   at 
> org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:72)
>   at 
> org.apache.felix.scr.impl.helper.BindMethod.getServiceObject(BindMethod.java:646)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.java:2137)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.prebind(DependencyManager.java:1048)
>   at 
> org.apache.felix.scr.impl.manager.DependencyManager.prebind(DependencyManager.java:1457)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractComponentManager.java:983)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:812)[20:org.apache.felix.scr:2.0.2]
>   at 
> org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:724)[20:org.apache.felix.scr:2.0.2]
>   at 
> 

[jira] [Closed] (SLING-5331) HeartbeatTest.testPartitioning failed on jenkins

2016-07-17 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5331.
---

> HeartbeatTest.testPartitioning failed on jenkins
> 
>
> Key: SLING-5331
> URL: https://issues.apache.org/jira/browse/SLING-5331
> Project: Sling
>  Issue Type: Test
>  Components: Extensions
>Affects Versions: Discovery Impl 1.2.2
>Reporter: Stefan Egli
>Assignee: Stefan Egli
>Priority: Minor
> Fix For: Discovery Impl 1.2.8
>
> Attachments: HeartbeatTest.testPartitioning.extract.txt, 
> consoleText.gz, testPartitioningWithFailingScheduler.txt.gz, 
> testTwentyInstances.txt.gz
>
>
> HeartbeatTest.testPartitioning failed on jenkins:
> https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.discovery.impl/2051/testReport/junit/org.apache.sling.discovery.impl.common.heartbeat/HeartbeatTest/testPartitioning/
> {code}
> Error Message
> expected: but was:
> Stacktrace
> java.lang.AssertionError: expected: but 
> was:
>   at org.junit.Assert.fail(Assert.java:88)
>   at org.junit.Assert.failNotEquals(Assert.java:743)
>   at org.junit.Assert.assertEquals(Assert.java:118)
>   at org.junit.Assert.assertEquals(Assert.java:144)
>   at 
> org.apache.sling.discovery.impl.common.heartbeat.HeartbeatTest.doTestPartitioning(HeartbeatTest.java:337)
>   at 
> org.apache.sling.discovery.impl.common.heartbeat.HeartbeatTest.testPartitioning(HeartbeatTest.java:143)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (SLING-5527) Remove Launchpad API dependency from Discovery Oak

2016-07-17 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5527.
---

> Remove Launchpad API dependency from Discovery Oak
> --
>
> Key: SLING-5527
> URL: https://issues.apache.org/jira/browse/SLING-5527
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Discovery Oak 1.2.8
>
> Attachments: SLING-5527.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (SLING-5526) Remove Launchpad API dependency from Discovery Impl

2016-07-17 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5526.
---

> Remove Launchpad API dependency from Discovery Impl
> ---
>
> Key: SLING-5526
> URL: https://issues.apache.org/jira/browse/SLING-5526
> Project: Sling
>  Issue Type: Improvement
>  Components: Extensions
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Discovery Impl 1.2.8
>
> Attachments: SLING-5526.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5520) Update Oak to 1.4

2016-07-18 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15382134#comment-15382134
 ] 

Oliver Lietz commented on SLING-5520:
-

make use of {{Oak#withAsyncIndexing(String, long):Oak}} in branch for Oak 1.4 
([r1753211|https://svn.apache.org/r1753211])

> Update Oak to 1.4
> -
>
> Key: SLING-5520
> URL: https://issues.apache.org/jira/browse/SLING-5520
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Launchpad, Oak
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Launchpad Karaf Features 0.2.0, JCR Oak Server 1.0.2, 
> Launchpad Builder 9, JCR Oak Server 1.1.0
>
>
> Doing update in several more steps until Oak {{1.4}} is released due to major 
> changes, one of them being OAK-3842 (removed package exports, tracked in 
> SLING-5511).
> First updating to Oak {{1.3.14}} (latest pre OAK-3842 release) and then to 
> Oak {{1.3.15}}.
> Features deprecated for Oak {{1.4}} should be removed from 
> {{org.apache.sling.jcr.oak.server}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5520) Update Oak to 1.4

2016-07-18 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5520.
-
Resolution: Done

> Update Oak to 1.4
> -
>
> Key: SLING-5520
> URL: https://issues.apache.org/jira/browse/SLING-5520
> Project: Sling
>  Issue Type: Task
>  Components: JCR, Launchpad, Oak
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Launchpad Karaf Features 0.2.0, JCR Oak Server 1.0.2, 
> Launchpad Builder 9, JCR Oak Server 1.1.0
>
>
> Doing update in several more steps until Oak {{1.4}} is released due to major 
> changes, one of them being OAK-3842 (removed package exports, tracked in 
> SLING-5511).
> First updating to Oak {{1.3.14}} (latest pre OAK-3842 release) and then to 
> Oak {{1.3.15}}.
> Features deprecated for Oak {{1.4}} should be removed from 
> {{org.apache.sling.jcr.oak.server}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (SLING-5814) CVE 2015-7501 : Upgrade commons-collection jar version to 3.2.2

2016-06-27 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz resolved SLING-5814.
-
Resolution: Not A Problem

Launchpad 9-SNAPSHOT is using 3.2.2 already

> CVE 2015-7501 : Upgrade commons-collection jar version to 3.2.2
> ---
>
> Key: SLING-5814
> URL: https://issues.apache.org/jira/browse/SLING-5814
> Project: Sling
>  Issue Type: Bug
>  Components: Distribution
>Reporter: Prakash Guggilam
>
> There is a critical security issue filed against the commons-collection jar 
> version 3.2.1, related to deserialization of untrusted data. Please refer to 
> the below URL's
> https://access.redhat.com/security/vulnerabilities/2059393
> https://www.kb.cert.org/vuls/id/576313
> The latest version of sling webapp, version 8, bundles the vulnerable version 
> of commons-collection 3.2.1. 
> We should consider upgrading the version of the jar to 3.2.2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (SLING-4884) remove embedded CaptureResponseWrapper

2016-07-04 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-4884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-4884.
---

> remove embedded CaptureResponseWrapper
> --
>
> Key: SLING-4884
> URL: https://issues.apache.org/jira/browse/SLING-4884
> Project: Sling
>  Issue Type: Task
>  Components: Scripting
>Affects Versions: Scripting Thymeleaf 0.0.6
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
>Priority: Minor
> Fix For: Scripting Thymeleaf 1.0.0
>
>
> use {{org.apache.sling.scripting.core.servlet.CaptureResponseWrapper}} from 
> {{org.apache.sling.scripting.core}} (version {{2.0.30}})



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (SLING-5075) Upgrade Thymeleaf to 3.0

2016-07-04 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5075.
---

> Upgrade Thymeleaf to 3.0
> 
>
> Key: SLING-5075
> URL: https://issues.apache.org/jira/browse/SLING-5075
> Project: Sling
>  Issue Type: Task
>  Components: Scripting
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Scripting Thymeleaf 1.0.0
>
>
> * https://github.com/thymeleaf/thymeleaf
> * http://forum.thymeleaf.org/Thymeleaf-3-is-coming-td4028560.html
> * http://forum.thymeleaf.org/Thymeleaf-3-0-status-td4029243.html
> ** [New event-based template processing 
> engine|https://github.com/thymeleaf/thymeleaf/issues/389]
> ** [Full HTML5 support, new parsing 
> infrastructure|https://github.com/thymeleaf/thymeleaf/issues/390]
> ** [Thymeleaf 3.0 Template Mode 
> set|https://github.com/thymeleaf/thymeleaf/issues/391]
> ** [Inlined output 
> expressions|https://github.com/thymeleaf/thymeleaf/issues/394]
> ** [New syntax for textual template 
> modes|https://github.com/thymeleaf/thymeleaf/issues/395]
> ** [Refactoring of the inlining 
> mechanism|https://github.com/thymeleaf/thymeleaf/issues/396]
> ** [New Processor API|https://github.com/thymeleaf/thymeleaf/issues/399]
> ** [New Pre-Processor and Post-Processor 
> APIs|https://github.com/thymeleaf/thymeleaf/issues/400]
> ** [New Dialect API|https://github.com/thymeleaf/thymeleaf/issues/401]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (SLING-5663) Make Thymeleaf TemplateEngine available as service

2016-07-04 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5663.
---

> Make Thymeleaf TemplateEngine available as service
> --
>
> Key: SLING-5663
> URL: https://issues.apache.org/jira/browse/SLING-5663
> Project: Sling
>  Issue Type: New Feature
>  Components: Scripting
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Scripting Thymeleaf 1.0.0
>
>
> Sling Scripting ({{ThymeleafScriptEngine}}) is strongly tied to HTTP 
> requests. For rendering templates outside of web context service 
> {{org.thymeleaf.ITemplateEngine}} is a better choice.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (SLING-5351) Thymeleaf fails loading version from properties

2016-07-04 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5351.
---

> Thymeleaf fails loading version from properties
> ---
>
> Key: SLING-5351
> URL: https://issues.apache.org/jira/browse/SLING-5351
> Project: Sling
>  Issue Type: Bug
>  Components: Scripting
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
>Priority: Minor
> Fix For: Scripting Thymeleaf 1.0.0
>
>
> The {{Thymeleaf}} class fails loading {{thymeleaf.properties}} and parsing 
> the {{version}} property. Hence {{Thymeleaf.VERSION}} is {{null}} and so 
> {{ThymeleafScriptEngineFactory#getLanguageVersion()}} returns {{null}}.
> {noformat}
> 03.12.2015 23:01:07.519 *INFO* [Background Install ...] 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory Adding 
> ScriptEngine Apache Sling Scripting Thymeleaf, 0.1.7-SNAPSHOT for language 
> Thymeleaf, null
> [...]
> 03.12.2015 23:01:07.522 *ERROR* [Background Install ...] 
> org.apache.sling.scripting.core 
> [org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory(135)] The 
> bindScriptEngineFactory method has thrown an exception 
> (java.lang.NullPointerException)
> java.lang.NullPointerException: null
>   at java.util.Hashtable.put(Hashtable.java:459)
>   at 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory.postEvent(ScriptEngineManagerFactory.java:305)
>   at 
> org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory.bindScriptEngineFactory(ScriptEngineManagerFactory.java:263)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:497)
>   at 
> org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:222)
>   at 
> org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37)
>   at 
> org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:615)
>   at 
> org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499)
>   at 
> org.apache.felix.scr.impl.helper.BindMethod.invoke(BindMethod.java:41)
>   at 
> org.apache.felix.scr.impl.manager.DependencyManager.doInvokeBindMethod(DependencyManager.java:1660)
>   at 
> org.apache.felix.scr.impl.manager.DependencyManager.invokeBindMethod(DependencyManager.java:1636)
>   at 
> org.apache.felix.scr.impl.manager.SingleComponentManager.invokeBindMethod(SingleComponentManager.java:370)
>   at 
> org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.addedService(DependencyManager.java:319)
>   at 
> org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.addedService(DependencyManager.java:295)
>   at 
> org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1215)
>   at 
> org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1136)
>   at 
> org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:945)
>   at 
> org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:881)
>   at 
> org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1167)
>   at 
> org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:120)
>   at 
> org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:987)
>   at 
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:838)
>   at 
> org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:545)
>   at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4560)
>   at org.apache.felix.framework.Felix.registerService(Felix.java:3542)
>   at 
> org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:348)
>   at 
> org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:869)
>   at 
> org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:857)
>   at 
> org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:133)
>   at 
> org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:915)
>   at 
> 

[jira] [Closed] (SLING-5518) Get resource resolver from bindings by using SlingBindings.RESOLVER

2016-07-04 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz closed SLING-5518.
---

> Get resource resolver from bindings by using SlingBindings.RESOLVER
> ---
>
> Key: SLING-5518
> URL: https://issues.apache.org/jira/browse/SLING-5518
> Project: Sling
>  Issue Type: Improvement
>  Components: Scripting
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Scripting Thymeleaf 1.0.0
>
>
> requires {{org.apache.sling.api}} {{2.11.0}} and 
> {{org.apache.sling.scripting.core}} {{2.0.36}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SLING-5821) Fix javadoc errors and warnings

2016-07-05 Thread Oliver Lietz (JIRA)
Oliver Lietz created SLING-5821:
---

 Summary: Fix javadoc errors and warnings
 Key: SLING-5821
 URL: https://issues.apache.org/jira/browse/SLING-5821
 Project: Sling
  Issue Type: Bug
  Components: API
Affects Versions: API 2.11.0
 Environment: Java 1.8.0_74-b02
Reporter: Oliver Lietz
Priority: Blocker
 Fix For: API 2.12.0


{{mvn release:prepare -DdryRun=true}} fails with javadoc errors and warnings:

{noformat}
[...]
[INFO] 51 errors
[INFO] 100 warnings
[INFO] [INFO] 

[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] 

[...]
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLING-5692) Add Integration Tests for Scripting FreeMarker

2016-07-07 Thread Oliver Lietz (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-5692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15366129#comment-15366129
 ] 

Oliver Lietz commented on SLING-5692:
-

module {{org.apache.sling.scripting.freemarker.it}} merged into 
{{org.apache.sling.scripting.freemarker}} in 
[r1751792|https://svn.apache.org/r1751792]

> Add Integration Tests for Scripting FreeMarker
> --
>
> Key: SLING-5692
> URL: https://issues.apache.org/jira/browse/SLING-5692
> Project: Sling
>  Issue Type: Task
>  Components: Scripting, Testing
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Scripting FreeMarker 1.0.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLING-5692) Add Integration Tests for Scripting FreeMarker

2016-07-07 Thread Oliver Lietz (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-5692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz updated SLING-5692:

Fix Version/s: (was: Scripting FreeMarker 1.0.2)
   Scripting FreeMarker 1.0.0

> Add Integration Tests for Scripting FreeMarker
> --
>
> Key: SLING-5692
> URL: https://issues.apache.org/jira/browse/SLING-5692
> Project: Sling
>  Issue Type: Task
>  Components: Scripting, Testing
>Reporter: Oliver Lietz
>Assignee: Oliver Lietz
> Fix For: Scripting FreeMarker 1.0.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (SLING-5832) Update Jackrabbit to 2.12.2

2016-07-08 Thread Oliver Lietz (JIRA)
Oliver Lietz created SLING-5832:
---

 Summary: Update Jackrabbit to 2.12.2
 Key: SLING-5832
 URL: https://issues.apache.org/jira/browse/SLING-5832
 Project: Sling
  Issue Type: Task
  Components: JCR, Launchpad, Testing
Reporter: Oliver Lietz
Assignee: Oliver Lietz
 Fix For: JCR Webdav 2.3.6, Launchpad Karaf Features 0.2.0, 
Launchpad Karaf Integration Tests 0.2.0, JCR Oak Server 1.0.2, Launchpad 
Builder 9, Commons Testing 2.0.26, JCR Davex 1.3.6






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


<    4   5   6   7   8   9   10   11   12   13   >