[jira] [Resolved] (SLING-6991) Add JSR305 nullness annotations to Sling JCR API

2017-06-30 Thread Konrad Windszus (JIRA)

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

Konrad Windszus resolved SLING-6991.

   Resolution: Fixed
Fix Version/s: JCR API 2.4.2

Fixed with [r1800430|http://svn.apache.org/r1800430] and 
[r1800432|http://svn.apache.org/r1800432]

> Add JSR305 nullness annotations to Sling JCR API
> 
>
> Key: SLING-6991
> URL: https://issues.apache.org/jira/browse/SLING-6991
> Project: Sling
>  Issue Type: Improvement
>  Components: JCR
>Affects Versions: JCR API 2.4.0
>Reporter: Konrad Windszus
>Assignee: Konrad Windszus
> Fix For: JCR API 2.4.2
>
>
> Similar to SLING-4377 JSR-305 annotations should also be provided for the 
> Sling JCR API.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (SLING-6991) Add JSR305 nullness annotations to Sling JCR API

2017-06-30 Thread Konrad Windszus (JIRA)
Konrad Windszus created SLING-6991:
--

 Summary: Add JSR305 nullness annotations to Sling JCR API
 Key: SLING-6991
 URL: https://issues.apache.org/jira/browse/SLING-6991
 Project: Sling
  Issue Type: Improvement
  Components: JCR
Affects Versions: JCR API 2.4.0
Reporter: Konrad Windszus
Assignee: Konrad Windszus


Similar to SLING-4377 JSR-305 annotations should also be provided for the Sling 
JCR API.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (SLING-6990) Content Package Installer: Use service resource resolvers instead of admin resource resolver

2017-06-30 Thread Konrad Windszus (JIRA)
Konrad Windszus created SLING-6990:
--

 Summary: Content Package Installer: Use service resource resolvers 
instead of admin resource resolver
 Key: SLING-6990
 URL: https://issues.apache.org/jira/browse/SLING-6990
 Project: Sling
  Issue Type: Improvement
  Components: Installer
Reporter: Konrad Windszus
 Fix For: Installer Packages Factory 1.0.0


Currently the {{PackageTransformer}} uses an an administrative session. Instead 
{{SlingRepository.loginService()}} should be used together with an according 
service user mapping. The user needs basically write access to all locations 
which is covered by packages and {{/etc/packages}} itself.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (SLING-6989) Package Installer Factory: Prevent package upload in case of uninstallation

2017-06-30 Thread Konrad Windszus (JIRA)
Konrad Windszus created SLING-6989:
--

 Summary: Package Installer Factory: Prevent package upload in case 
of uninstallation
 Key: SLING-6989
 URL: https://issues.apache.org/jira/browse/SLING-6989
 Project: Sling
  Issue Type: Improvement
  Components: Installer
Reporter: Konrad Windszus
 Fix For: Installer Packages Factory 1.0.0


Currently in case a package is supposed to be uninstalled through the package 
installer, the package is first being uploaded to the PackageManager 
(https://github.com/apache/sling/blob/trunk/installer/factories/packages/src/main/java/org/apache/sling/installer/factory/packages/impl/PackageTransformer.java#L138).
 That should not be necessary though. Instead the package id/version should be 
extracted from the underlying resource and then should be uninstalled.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (SLING-6987) Content Package Installer: Support hollow packages

2017-06-30 Thread Konrad Windszus (JIRA)

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

Konrad Windszus edited comment on SLING-6987 at 6/30/17 2:19 PM:
-

Initial support added in [r1800415|https://svn.apache.org/r1800415].

Still outstanding: Extracting the package id in the resource transformer.


was (Author: kwin):
Initial support added in [r1800415|https://svn.apache.org/r1800415].

Still outstanding: Extracting the package

> Content Package Installer: Support hollow packages
> --
>
> Key: SLING-6987
> URL: https://issues.apache.org/jira/browse/SLING-6987
> Project: Sling
>  Issue Type: Improvement
>  Components: Installer
>Reporter: Konrad Windszus
>Assignee: Konrad Windszus
> Fix For: Installer Packages Factory 1.0.0
>
>
> With FileVault 3.1.40 support for hollow packages 
> (https://issues.apache.org/jira/browse/JCRVLT-50) has been added. Since this 
> prevents the unnecessary copying of files it should be at least optionally 
> supported.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (SLING-6987) Content Package Installer: Support hollow packages

2017-06-30 Thread Konrad Windszus (JIRA)

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

Konrad Windszus commented on SLING-6987:


Initial support added in [r1800415|https://svn.apache.org/r1800415].

> Content Package Installer: Support hollow packages
> --
>
> Key: SLING-6987
> URL: https://issues.apache.org/jira/browse/SLING-6987
> Project: Sling
>  Issue Type: Improvement
>  Components: Installer
>Reporter: Konrad Windszus
>Assignee: Konrad Windszus
> Fix For: Installer Packages Factory 1.0.0
>
>
> With FileVault 3.1.40 support for hollow packages 
> (https://issues.apache.org/jira/browse/JCRVLT-50) has been added. Since this 
> prevents the unnecessary copying of files it should be at least optionally 
> supported.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (SLING-6987) Content Package Installer: Support hollow packages

2017-06-30 Thread Konrad Windszus (JIRA)

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

Konrad Windszus edited comment on SLING-6987 at 6/30/17 2:18 PM:
-

Initial support added in [r1800415|https://svn.apache.org/r1800415].

Still outstanding: Extracting the package


was (Author: kwin):
Initial support added in [r1800415|https://svn.apache.org/r1800415].

> Content Package Installer: Support hollow packages
> --
>
> Key: SLING-6987
> URL: https://issues.apache.org/jira/browse/SLING-6987
> Project: Sling
>  Issue Type: Improvement
>  Components: Installer
>Reporter: Konrad Windszus
>Assignee: Konrad Windszus
> Fix For: Installer Packages Factory 1.0.0
>
>
> With FileVault 3.1.40 support for hollow packages 
> (https://issues.apache.org/jira/browse/JCRVLT-50) has been added. Since this 
> prevents the unnecessary copying of files it should be at least optionally 
> supported.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (SLING-6977) Improve SCD compilation by suppressing warnings

2017-06-30 Thread Tommaso Teofili (JIRA)

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

Tommaso Teofili resolved SLING-6977.

   Resolution: Fixed
Fix Version/s: Content Distribution Core 0.2.10

> Improve SCD compilation by suppressing warnings
> ---
>
> Key: SLING-6977
> URL: https://issues.apache.org/jira/browse/SLING-6977
> Project: Sling
>  Issue Type: Improvement
>  Components: Content Distribution
>Reporter: Simone Tripodi
>Assignee: Tommaso Teofili
> Fix For: Content Distribution Core 0.2.10
>
> Attachments: SLING-6977.patch
>
>
> After some cleanups, there are still compilation issues due to the fact we 
> want to be compliant to OSGi APIs that don't support generics, the incoming 
> patch will supply them in order to drastically reduce warnings in the IDEs 
> and on the compiler output.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (SLING-6977) Improve SCD compilation by suppressing warnings

2017-06-30 Thread Tommaso Teofili (JIRA)

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

Tommaso Teofili commented on SLING-6977:


thanks Simo for your patch, I've applied it in r1800389.

> Improve SCD compilation by suppressing warnings
> ---
>
> Key: SLING-6977
> URL: https://issues.apache.org/jira/browse/SLING-6977
> Project: Sling
>  Issue Type: Improvement
>  Components: Content Distribution
>Reporter: Simone Tripodi
>Assignee: Tommaso Teofili
> Fix For: Content Distribution Core 0.2.10
>
> Attachments: SLING-6977.patch
>
>
> After some cleanups, there are still compilation issues due to the fact we 
> want to be compliant to OSGi APIs that don't support generics, the incoming 
> patch will supply them in order to drastically reduce warnings in the IDEs 
> and on the compiler output.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (SLING-6988) Async delivery should create an unordererd delivery queue

2017-06-30 Thread Tommaso Teofili (JIRA)

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

Tommaso Teofili resolved SLING-6988.

Resolution: Fixed

fixed in r1800364.

> Async delivery should create an unordererd delivery queue
> -
>
> Key: SLING-6988
> URL: https://issues.apache.org/jira/browse/SLING-6988
> Project: Sling
>  Issue Type: Bug
>  Components: Content Distribution
>Reporter: Tommaso Teofili
>Assignee: Tommaso Teofili
> Fix For: Content Distribution Core 0.2.10
>
>
> Currently {{AsyncDeliveryDispatchingStrategy}} does not create a parallel 
> queue for delivery if it doesn't exist, therefore the deriving improvements 
> in throughput are less impacting than expected.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (SLING-6988) Async delivery should create an unordererd delivery queue

2017-06-30 Thread Tommaso Teofili (JIRA)
Tommaso Teofili created SLING-6988:
--

 Summary: Async delivery should create an unordererd delivery queue
 Key: SLING-6988
 URL: https://issues.apache.org/jira/browse/SLING-6988
 Project: Sling
  Issue Type: Bug
  Components: Content Distribution
Reporter: Tommaso Teofili
Assignee: Tommaso Teofili
 Fix For: Content Distribution Core 0.2.10


Currently {{AsyncDeliveryDispatchingStrategy}} does not create a parallel queue 
for delivery if it doesn't exist, therefore the deriving improvements in 
throughput are less impacting than expected.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (SLING-6987) Content Package Installer: Support hollow packages

2017-06-30 Thread Konrad Windszus (JIRA)

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

Konrad Windszus reassigned SLING-6987:
--

Assignee: Konrad Windszus

> Content Package Installer: Support hollow packages
> --
>
> Key: SLING-6987
> URL: https://issues.apache.org/jira/browse/SLING-6987
> Project: Sling
>  Issue Type: Improvement
>  Components: Installer
>Reporter: Konrad Windszus
>Assignee: Konrad Windszus
> Fix For: Installer Packages Factory 1.0.0
>
>
> With FileVault 3.1.40 support for hollow packages 
> (https://issues.apache.org/jira/browse/JCRVLT-50) has been added. Since this 
> prevents the unnecessary copying of files it should be at least optionally 
> supported.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)