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

2023-09-20 Thread Carsten Ziegeler

+1

Carsten

On 19.09.2023 10:45, Robert Munteanu wrote:

Hi,

We solved 2 issues in this release:
https://issues.apache.org/jira/browse/SLING/fixforversion/12353201

Staging repository:
https://repository.apache.org/content/repositories/orgapachesling-2783/

You can use this UNIX script to download the release and verify the signatures:
https://raw.githubusercontent.com/apache/sling-tooling-release/master/check_staged_release.sh

Usage:
sh check_staged_release.sh 2783 /tmp/sling-staging

Please vote to approve this release:

   [ ] +1 Approve the release
   [ ]  0 Don't care
   [ ] -1 Don't release, because ...

This majority vote is open for at least 72 hours.

Regards,
Robert Munteanu


--
Carsten Ziegeler
Adobe
cziege...@apache.org


[GitHub] [sling-org-apache-sling-jcr-oak-server] sonarcloud[bot] commented on pull request #8: SLING-12035 bump oak dependency for compatibility with version 1.56.0

2023-09-20 Thread via GitHub


sonarcloud[bot] commented on PR #8:
URL: 
https://github.com/apache/sling-org-apache-sling-jcr-oak-server/pull/8#issuecomment-1728599711

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-jcr-oak-server=8)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-oak-server=8=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-oak-server=8=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-oak-server=8=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-oak-server=8=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-oak-server=8=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-oak-server=8=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-jcr-oak-server=8=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-jcr-oak-server=8=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-jcr-oak-server=8=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-oak-server=8=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-oak-server=8=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-oak-server=8=false=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-oak-server=8=coverage=list)
 No Coverage information  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-oak-server=8=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-oak-server=8=new_duplicated_lines_density=list)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [sling-org-apache-sling-jcr-oak-server] enapps-enorman opened a new pull request, #8: SLING-12035 bump oak dependency for compatibility with version 1.56.0

2023-09-20 Thread via GitHub


enapps-enorman opened a new pull request, #8:
URL: https://github.com/apache/sling-org-apache-sling-jcr-oak-server/pull/8

   In order for sling to work with the latest release of oak, the oak 
dependencies must be bumped to 1.56.0 or later.
   
   The oak 1.56.0 release completed the removal of the dependency on the old 
guava library which required a bump of the major version of some exported 
packages whose public api has changed.  The imports of those changed packages 
must be bumped to the new major version number in order for the bundles to 
resolve properly in the runtime.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (SLING-12035) bump oak dependency for compatibility with oak version 1.56.0

2023-09-20 Thread Eric Norman (Jira)
Eric Norman created SLING-12035:
---

 Summary: bump oak dependency for compatibility with oak version 
1.56.0
 Key: SLING-12035
 URL: https://issues.apache.org/jira/browse/SLING-12035
 Project: Sling
  Issue Type: Improvement
Reporter: Eric Norman
Assignee: Eric Norman
 Fix For: JCR Oak Server 1.3.2


In order for sling to work with the latest release of oak, the oak dependencies 
must be bumped to 1.56.0 or later.

The oak 1.56.0 release completed the removal of the dependency on the old guava 
library which required a bump of the major version of some exported packages 
whose public api has changed.  The imports of those changed packages must be 
bumped to the new major version number in order for the bundles to resolve 
properly in the runtime.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-jcr-maintenance] sonarcloud[bot] commented on pull request #3: SLING-12034 bump oak dependency for compatibility with version 1.56.0

2023-09-20 Thread via GitHub


sonarcloud[bot] commented on PR #3:
URL: 
https://github.com/apache/sling-org-apache-sling-jcr-maintenance/pull/3#issuecomment-1728586539

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-jcr-maintenance=3)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-maintenance=3=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-maintenance=3=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-maintenance=3=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-maintenance=3=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-maintenance=3=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-maintenance=3=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-jcr-maintenance=3=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-jcr-maintenance=3=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-jcr-maintenance=3=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-maintenance=3=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-maintenance=3=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-maintenance=3=false=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-maintenance=3=coverage=list)
 No Coverage information  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-maintenance=3=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-maintenance=3=new_duplicated_lines_density=list)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [sling-org-apache-sling-jcr-maintenance] enapps-enorman opened a new pull request, #3: SLING-12034 bump oak dependency for compatibility with version 1.56.0

2023-09-20 Thread via GitHub


enapps-enorman opened a new pull request, #3:
URL: https://github.com/apache/sling-org-apache-sling-jcr-maintenance/pull/3

   In order for sling to work with the latest release of oak, the oak 
dependencies must be bumped to 1.56.0 or later.
   
   The oak 1.56.0 release completed the removal of the dependency on the old 
guava library which required a bump of the major version of some exported 
packages whose public api has changed.  The imports of those changed packages 
must be bumped to the new major version number in order for the bundles to 
resolve properly in the runtime.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (SLING-12034) bump oak dependency for compatibility with oak version 1.56.0

2023-09-20 Thread Eric Norman (Jira)
Eric Norman created SLING-12034:
---

 Summary: bump oak dependency for compatibility with oak version 
1.56.0 
 Key: SLING-12034
 URL: https://issues.apache.org/jira/browse/SLING-12034
 Project: Sling
  Issue Type: Improvement
Reporter: Eric Norman
Assignee: Eric Norman
 Fix For: JCR Maintenance 1.0.4


In order for sling to work with the latest release of oak, the oak dependencies 
must be bumped to 1.56.0 or later.

The oak 1.56.0 release completed the removal of the dependency on the old guava 
library which required a bump of the major version of some exported packages 
whose public api has changed.  The imports of those changed packages must be 
bumped to the new major version number in order for the bundles to resolve 
properly in the runtime.

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (SLING-12031) Allow auto-launch of Java agents for the container image

2023-09-20 Thread Robert Munteanu (Jira)


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

Robert Munteanu resolved SLING-12031.
-
Resolution: Fixed

> Allow auto-launch of Java agents for the container image
> 
>
> Key: SLING-12031
> URL: https://issues.apache.org/jira/browse/SLING-12031
> Project: Sling
>  Issue Type: Improvement
>  Components: Starter
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Minor
> Fix For: Starter 13
>
>
> It would be very useful to drop in Java agents in a well-known directory and 
> have them picked up by the startup script.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-starter] rombert merged pull request #236: SLING-12031 - Allow auto-launch of Java agents for the container image

2023-09-20 Thread via GitHub


rombert merged PR #236:
URL: https://github.com/apache/sling-org-apache-sling-starter/pull/236


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [sling-org-apache-sling-starter] rombert merged pull request #234: chore(deps): update dependency com.h2database:h2-mvstore to v2.2.224

2023-09-20 Thread via GitHub


rombert merged PR #234:
URL: https://github.com/apache/sling-org-apache-sling-starter/pull/234


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [sling-org-apache-sling-feature-extension-content] sonarcloud[bot] commented on pull request #22: SLING-12032 - Slf4j classes included and not relocated in the final jar

2023-09-20 Thread via GitHub


sonarcloud[bot] commented on PR #22:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-extension-content/pull/22#issuecomment-1728317752

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-feature-extension-content=22)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=22=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=22=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=22=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=22=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=22=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=22=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-extension-content=22=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-extension-content=22=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-extension-content=22=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=22=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=22=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=22=false=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-feature-extension-content=22=coverage=list)
 No Coverage information  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-feature-extension-content=22=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-feature-extension-content=22=new_duplicated_lines_density=list)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Commented] (SLING-12027) GraphQL core fails to build with Java 17

2023-09-20 Thread Andreas Schaefer (Jira)


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

Andreas Schaefer commented on SLING-12027:
--

I found the cause of the issue. During the handling of the error the 
DefaultErrorHandlerServlet.service() (line 70) is trying to find the error code 
but it is not found. So it seems there is a disconnect between when that error 
code is set in SlingServletResolver.handleError() line 387 and when it is 
looked up. 

> GraphQL core fails to build with Java 17
> 
>
> Key: SLING-12027
> URL: https://issues.apache.org/jira/browse/SLING-12027
> Project: Sling
>  Issue Type: Bug
>  Components: GraphQL
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
> Fix For: GraphQL Core 0.0.26
>
>
> 1. Mockito fails to create mocks, probably due to old version
> 2. Pax-Exam tests time out



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-graphql-core] schaefa commented on pull request #38: SLING-12027 - GraphQL core fails to build with Java 17

2023-09-20 Thread via GitHub


schaefa commented on PR #38:
URL: 
https://github.com/apache/sling-org-apache-sling-graphql-core/pull/38#issuecomment-1728302859

   There is a problem where the initial Error Code of 400 is turned into an 
Internal Server Error (500). This is happening between setting the error code 
SlingServletResolver.handleError() line 387 and obtaining the Error Code in 
DefaultErrorHandlerServlet.service() line 70. Because it cannot find it it will 
set the error code to 500.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Commented] (SLING-12027) GraphQL core fails to build with Java 17

2023-09-20 Thread Andreas Schaefer (Jira)


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

Andreas Schaefer commented on SLING-12027:
--

Here are some excerpts of the output:

a) Where the invalid query is discovered:
Caused by: org.apache.sling.api.resource.ResourceNotFoundException: Resource at 
'/graphql/two.gql/persisted' not found: No resource found
at 
org.apache.sling.servlets.get.impl.DefaultGetServlet.doGet(DefaultGetServlet.java:288)
at 
org.apache.sling.api.servlets.SlingSafeMethodsServlet.mayService(SlingSafeMethodsServlet.java:266)
at 
org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:342)
at 
org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:374)
at 
org.apache.sling.graphql.core.schema.DefaultSchemaProvider.getSchema(DefaultSchemaProvider.java:67)
at 
org.apache.sling.graphql.core.schema.RankedSchemaProviders.getSchema(RankedSchemaProviders.java:58)
at 
org.apache.sling.graphql.core.engine.DefaultQueryExecutor.prepareSchemaDefinition(DefaultQueryExecutor.java:339)
... 61 more
org.apache.sling.graphql.core[org.apache.sling.graphql.core.servlet.GraphQLServlet]
 : Is Query Valid: 'false'
org.apache.sling.graphql.core[org.apache.sling.graphql.core.servlet.GraphQLServlet]
 : Invalid GraphQL query: Schema provider failed
 
b) Looking for sling/nonexisting
org.apache.sling.jcr.resource[org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResourceFactory]
 : createResource: No JCR Item exists at path '/apps/sling/nonexisting'
org.apache.sling.resourceresolver[org.apache.sling.resourceresolver.impl.helper.ResourceResolverControl]
 : Resource null /apps/sling/nonexisting 
org.apache.sling.resourceresolver[org.apache.sling.resourceresolver.impl.ResourceResolverImpl]
 : getResourceInternal: Cannot resolve path '/apps/sling/nonexisting' to a 
resource
 
c) Looking for sling/servlet/errorhandler
org.apache.sling.jcr.resource[org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResourceFactory]
 : createResource: No JCR Item exists at path '/apps/sling/servlet/errorhandler'
org.apache.sling.resourceresolver[org.apache.sling.resourceresolver.impl.helper.ResourceResolverControl]
 : Resource null /apps/sling/servlet/errorhandler 
org.apache.sling.resourceresolver[org.apache.sling.resourceresolver.impl.ResourceResolverImpl]
 : getResourceInternal: Cannot resolve path '/apps/sling/servlet/errorhandler' 
to a resource
org.apache.sling.jcr.resource[org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResourceFactory]
 : createResource: No JCR Item exists at path '/apps/sling/servlet/errorhandler'
org.apache.sling.servlets.resolver[org.apache.sling.servlets.resolver.internal.SlingServletResolver]
 : Accepting servlet at '/apps/sling/servlet/errorhandler.servlet' as there are 
no configured execution paths.
org.apache.sling.jcr.resource[org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResourceFactory]
 : createResource: No JCR Item exists at path 
'/apps/sling/servlet/errorhandler.servlet'
org.apache.sling.resourceresolver[org.apache.sling.resourceresolver.impl.helper.ResourceResolverControl]
 : Resource null /apps/sling/servlet/errorhandler.servlet 
org.apache.sling.resourceresolver[org.apache.sling.resourceresolver.impl.ResourceResolverImpl]
 : getResourceInternal: Cannot resolve path 
'/apps/sling/servlet/errorhandler.servlet' to a resource
org.apache.sling.jcr.resource[org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResourceFactory]
 : createResource: No JCR Item exists at path '/libs/sling/servlet/errorhandler'
org.apache.sling.resourceresolver[org.apache.sling.resourceresolver.impl.helper.ResourceResolverControl]
 : Resolved Synthetic /libs/sling/servlet/errorhandler
 
d) Writing out the Internal Server Error:
org.apache.felix.http.jetty[org.eclipse.jetty.server.HttpOutput] : write(array 
HeapByteBuffer@5a63afc1[p=0,l=50,c=512,r=50]=\{<<<>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00})
org.apache.felix.http.jetty[org.eclipse.jetty.server.HttpOutput] : write(array) 
s=OPEN,api=BLOCKING,sc=false,e=null aggregated !flush 
DirectByteBuffer@fd5949f[p=0,l=50,c=32768,r=50]=\{<<<>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00}
org.apache.felix.http.jetty[org.eclipse.jetty.server.HttpOutput] : write(array 
HeapByteBuffer@fd4c2d3[p=0,l=1,c=512,r=1]=\{<<<\n>>>!DOCTYPE 
...\x00\x00\x00\x00\x00\x00\x00})
...
org.apache.felix.http.jetty[org.eclipse.jetty.server.HttpOutput] : write(array 
HeapByteBuffer@516d7550[p=0,l=1,c=512,r=1]=\{<<< >>>00tle>PE 
...\x00\x00\x00\x00\x00\x00\x00})
org.apache.felix.http.jetty[org.eclipse.jetty.server.HttpOutput] : write(array) 
s=OPEN,api=BLOCKING,sc=false,e=null aggregated !flush 
DirectByteBuffer@fd5949f[p=0,l=76,c=32768,r=76]=\{<<<\n\n500 
>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00}

[jira] [Created] (SLING-12033) Create end-to-end test for the content extraction

2023-09-20 Thread Robert Munteanu (Jira)
Robert Munteanu created SLING-12033:
---

 Summary: Create end-to-end test for the content extraction
 Key: SLING-12033
 URL: https://issues.apache.org/jira/browse/SLING-12033
 Project: Sling
  Issue Type: Test
  Components: Feature Model
Reporter: Robert Munteanu
 Fix For: Feature Model Content Extension 1.0.12


A couple of regressions snuck in the 
https://github.com/apache/sling-org-apache-sling-feature-extension-content 
module due to the complicated embedding/shading setup that we have.

It would be great to catch these with an integration tests that executes the 
content extraction using the packaged Jar instead of a unit test.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (SLING-12033) Create end-to-end test for the content extraction

2023-09-20 Thread Robert Munteanu (Jira)


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

Robert Munteanu commented on SLING-12033:
-

[~dsuess] / [~kwin] - you worked on this module before, it would be great if 
you could come up with some ideas about how to implement this.

> Create end-to-end test for the content extraction
> -
>
> Key: SLING-12033
> URL: https://issues.apache.org/jira/browse/SLING-12033
> Project: Sling
>  Issue Type: Test
>  Components: Feature Model
>Reporter: Robert Munteanu
>Priority: Major
> Fix For: Feature Model Content Extension 1.0.12
>
>
> A couple of regressions snuck in the 
> https://github.com/apache/sling-org-apache-sling-feature-extension-content 
> module due to the complicated embedding/shading setup that we have.
> It would be great to catch these with an integration tests that executes the 
> content extraction using the packaged Jar instead of a unit test.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-feature-extension-content] rombert opened a new pull request, #22: SLING-12032 - Slf4j classes included and not relocated in the final jar

2023-09-20 Thread via GitHub


rombert opened a new pull request, #22:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-extension-content/pull/22

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [sling-org-apache-sling-starter] rombert opened a new pull request, #236: SLING-12031 - Allow auto-launch of Java agents for the container image

2023-09-20 Thread via GitHub


rombert opened a new pull request, #236:
URL: https://github.com/apache/sling-org-apache-sling-starter/pull/236

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Commented] (SLING-12027) GraphQL core fails to build with Java 17

2023-09-20 Thread Andreas Schaefer (Jira)


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

Andreas Schaefer commented on SLING-12027:
--

The current PR for this ticket is: 
[https://github.com/apache/sling-org-apache-sling-graphql-core/pull/38]

Looking at the failure in the GraphQLServletIT.testPersistingInvalidQueries() 
is that the GraphQLServlet.doPostPersistedQuery() is failing the query 
validation and sets the Response Error Code to SC_BAD_REQUEST.
That said in the output I see that after looking for 'sling/nonexisting' and 
then 'sling/servlet/errorhandler' is failing.
After that I see that the 
org.apache.felix.http.jetty[org.eclipse.jetty.server.HttpOutput] is writing an 
Internal Server Error which is then returned to the client.

So this is not a GraphQL issue but rather a testing setup issue.

> GraphQL core fails to build with Java 17
> 
>
> Key: SLING-12027
> URL: https://issues.apache.org/jira/browse/SLING-12027
> Project: Sling
>  Issue Type: Bug
>  Components: GraphQL
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
> Fix For: GraphQL Core 0.0.26
>
>
> 1. Mockito fails to create mocks, probably due to old version
> 2. Pax-Exam tests time out



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-feature-extension-content] rombert merged pull request #21: SLING-12030 - Invalid class name when trying to execute extension

2023-09-20 Thread via GitHub


rombert merged PR #21:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-extension-content/pull/21


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (SLING-12031) Allow auto-launch of Java agents for the container image

2023-09-20 Thread Robert Munteanu (Jira)
Robert Munteanu created SLING-12031:
---

 Summary: Allow auto-launch of Java agents for the container image
 Key: SLING-12031
 URL: https://issues.apache.org/jira/browse/SLING-12031
 Project: Sling
  Issue Type: Improvement
  Components: Starter
Reporter: Robert Munteanu
Assignee: Robert Munteanu
 Fix For: Starter 13


It would be very useful to drop in Java agents in a well-known directory and 
have them picked up by the startup script.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-feature-extension-content] rombert merged pull request #20: SLING-12029 - Make strictMode configurable

2023-09-20 Thread via GitHub


rombert merged PR #20:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-extension-content/pull/20


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (SLING-12032) Slf4j classes included and not relocated in the final jar

2023-09-20 Thread Robert Munteanu (Jira)
Robert Munteanu created SLING-12032:
---

 Summary: Slf4j classes included and not relocated in the final jar
 Key: SLING-12032
 URL: https://issues.apache.org/jira/browse/SLING-12032
 Project: Sling
  Issue Type: Bug
  Components: Feature Model
Reporter: Robert Munteanu
Assignee: Robert Munteanu
 Fix For: Feature Model Content Extension 1.0.12


For some reason the following jars are pulled in and not relocated

{noformat}
[INFO] Including org.slf4j:slf4j-api:jar:1.7.25 in the shaded jar.
[INFO] Including org.slf4j:jcl-over-slf4j:jar:1.7.25 in the shaded jar.
{noformat}

This can lead to classpath conflicts and must be avoided. Relocating might 
work, but right now I don't see a good reason for shipping a copy of the slf4j 
so we should just filter out these packages.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


SLING-12027: GraphQLServletIT.testPersistingInvalidQueries() failure

2023-09-20 Thread Andreas Schaefer
Hi

I was asked to review PR: 
https://github.com/apache/sling-org-apache-sling-graphql-core/pull/38 and I 
cannot debug the issue.

So from the output I see this:

- GraphQLServlet.doPostPersistedQuery() fails because the Query validation 
returns false
- Response.setError BAD REQUEST
- SlingServletResolver tries to find 
/libs/sling/servlet/errorhandler/default.servlet and fails
- org.apache.felix.http.jetty[org.eclipse.jetty.server.HttpOutput writes a 
Internal Server Error 
- IT Test receives a 500 response status code

I am not versed in the handling of the Error Handler and if that is causing the 
issue.

What I see is that even though the BAD Request is set as Error the code is 
still returning the Server Error instead.

So this is not a GraphQL issue but rather a testing issue.

Any help is appreciated.

- Andy

[jira] [Resolved] (SLING-12030) Invalid class name when trying to execute extension

2023-09-20 Thread Robert Munteanu (Jira)


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

Robert Munteanu resolved SLING-12030.
-
Resolution: Fixed

> Invalid class name when trying to execute extension 
> 
>
> Key: SLING-12030
> URL: https://issues.apache.org/jira/browse/SLING-12030
> Project: Sling
>  Issue Type: Bug
>  Components: Feature Model
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
> Fix For: Feature Model Content Extension 1.0.12
>
>
> When trying to run a the latest master version I get the following error
> {noformat}ception in thread "Thread-39" java.lang.ClassFormatError: Illegal 
> class name "relocated-for-contentpackage/javax/jcr/RepositoryException" in 
> class file relocated-for-contentpackage/javax/jcr/RepositoryException
> at java.base/java.lang.ClassLoader.defineClass1(Native Method)
> at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022)
> at 
> java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
> at 
> java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
> at 
> java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
> at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
> at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
> at 
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
> at 
> org.apache.sling.feature.extension.content.ContentHandler.buildExecutionPlan(ContentHandler.java:74)
> at 
> org.apache.sling.feature.extension.content.ContentHandler.handle(ContentHandler.java:118)
> at 
> org.apache.sling.feature.launcher.impl.FeatureProcessor.prepareLauncher(FeatureProcessor.java:196)
> at 
> org.apache.sling.feature.launcher.impl.Bootstrap.runWithException(Bootstrap.java:157)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (SLING-12029) Make strictMode configurable

2023-09-20 Thread Robert Munteanu (Jira)


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

Robert Munteanu resolved SLING-12029.
-
Resolution: Fixed

> Make strictMode configurable
> 
>
> Key: SLING-12029
> URL: https://issues.apache.org/jira/browse/SLING-12029
> Project: Sling
>  Issue Type: Improvement
>  Components: Feature Model
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
> Fix For: Feature Model Content Extension 1.0.12
>
>
> With SLING-10417 we always install the content packages in strict mode. To 
> ease transition, we should default to strictMode = false and make this an 
> opt-in.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-feature-extension-content] sonarcloud[bot] commented on pull request #21: SLING-12030 - Invalid class name when trying to execute extension

2023-09-20 Thread via GitHub


sonarcloud[bot] commented on PR #21:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-extension-content/pull/21#issuecomment-1727367024

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-feature-extension-content=21)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=21=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=21=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=21=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=21=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=21=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=21=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-extension-content=21=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-extension-content=21=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-extension-content=21=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=21=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=21=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=21=false=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-feature-extension-content=21=coverage=list)
 No Coverage information  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-feature-extension-content=21=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-feature-extension-content=21=new_duplicated_lines_density=list)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Commented] (SLING-12030) Invalid class name when trying to execute extension

2023-09-20 Thread Robert Munteanu (Jira)


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

Robert Munteanu commented on SLING-12030:
-

The shade pattern was changed with SLING-10405, this is the likely cause.

> Invalid class name when trying to execute extension 
> 
>
> Key: SLING-12030
> URL: https://issues.apache.org/jira/browse/SLING-12030
> Project: Sling
>  Issue Type: Bug
>  Components: Feature Model
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
> Fix For: Feature Model Content Extension 1.0.12
>
>
> When trying to run a the latest master version I get the following error
> {noformat}ception in thread "Thread-39" java.lang.ClassFormatError: Illegal 
> class name "relocated-for-contentpackage/javax/jcr/RepositoryException" in 
> class file relocated-for-contentpackage/javax/jcr/RepositoryException
> at java.base/java.lang.ClassLoader.defineClass1(Native Method)
> at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022)
> at 
> java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
> at 
> java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
> at 
> java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
> at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
> at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
> at 
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
> at 
> org.apache.sling.feature.extension.content.ContentHandler.buildExecutionPlan(ContentHandler.java:74)
> at 
> org.apache.sling.feature.extension.content.ContentHandler.handle(ContentHandler.java:118)
> at 
> org.apache.sling.feature.launcher.impl.FeatureProcessor.prepareLauncher(FeatureProcessor.java:196)
> at 
> org.apache.sling.feature.launcher.impl.Bootstrap.runWithException(Bootstrap.java:157)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (SLING-12030) Invalid class name when trying to execute extension

2023-09-20 Thread Robert Munteanu (Jira)
Robert Munteanu created SLING-12030:
---

 Summary: Invalid class name when trying to execute extension 
 Key: SLING-12030
 URL: https://issues.apache.org/jira/browse/SLING-12030
 Project: Sling
  Issue Type: Bug
  Components: Feature Model
Reporter: Robert Munteanu
Assignee: Robert Munteanu
 Fix For: Feature Model Content Extension 1.0.12


When trying to run a the latest master version I get the following error

{noformat}ception in thread "Thread-39" java.lang.ClassFormatError: Illegal 
class name "relocated-for-contentpackage/javax/jcr/RepositoryException" in 
class file relocated-for-contentpackage/javax/jcr/RepositoryException
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022)
at 
java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at 
java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
at 
java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
at 
java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
at 
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
at 
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
at 
org.apache.sling.feature.extension.content.ContentHandler.buildExecutionPlan(ContentHandler.java:74)
at 
org.apache.sling.feature.extension.content.ContentHandler.handle(ContentHandler.java:118)
at 
org.apache.sling.feature.launcher.impl.FeatureProcessor.prepareLauncher(FeatureProcessor.java:196)
at 
org.apache.sling.feature.launcher.impl.Bootstrap.runWithException(Bootstrap.java:157)
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [sling-org-apache-sling-feature-extension-content] sonarcloud[bot] commented on pull request #20: SLING-12029 - Make strictMode configurable

2023-09-20 Thread via GitHub


sonarcloud[bot] commented on PR #20:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-extension-content/pull/20#issuecomment-1727311883

   SonarCloud Quality Gate failed.  [![Quality Gate 
failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png
 'Quality Gate 
failed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-feature-extension-content=20)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-extension-content=20=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-extension-content=20=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-extension-content=20=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=CODE_SMELL)
 
[![B](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/B-16px.png
 
'B')](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=CODE_SMELL)
 [1 Code 
Smell](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=CODE_SMELL)
   
   
[![100.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/100-16px.png
 
'100.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-feature-extension-content=20=new_coverage=list)
 [100.0% 
Coverage](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-feature-extension-content=20=new_coverage=list)
  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-feature-extension-content=20=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-feature-extension-content=20=new_duplicated_lines_density=list)
   
   
   
   
![idea](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/light_bulb-16px.png
 'idea') Catch issues before they fail your Quality Gate with our IDE extension 
![sonarlint](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/sonarlint-16px.png
 'sonarlint') 
[SonarLint](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=sonarcloud-welcome)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [sling-org-apache-sling-feature-extension-content] rombert commented on pull request #20: SLING-12029 - Make strictMode configurable

2023-09-20 Thread via GitHub


rombert commented on PR #20:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-extension-content/pull/20#issuecomment-1727537926

   > SonarCloud Quality Gate failed.[![Quality Gate 
failed](https://camo.githubusercontent.com/4ea51c1f64ee3746f631653a02ab678ca6a3efb5f5cb474402faed2e3dcf90b5/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f5175616c6974794761746542616467652f6661696c65642d313670782e706e67)](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-feature-extension-content=20)
   > 
   > 
[![Bug](https://camo.githubusercontent.com/4c6102327f5a954f9c8acaf2e2714183157a9e41717b371b2cd585cf25057310/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f6275672d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=BUG)
 
[![A](https://camo.githubusercontent.com/1cba125a897d7fa47033a3b3b2be2bbee680d34d4f004a215564659b853fb201/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f526174696e6742616467652f412d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=fa
 lse=BUG) 
[![Vulnerability](https://camo.githubusercontent.com/3ba1ee49636ffc3427e38649a9f8a65ee392f28e8a662fcf96ce24cefbb520e9/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f76756c6e65726162696c6974792d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=VULNERABILITY)
 
[![A](https://camo.githubusercontent.com/1cba125a897d7fa47033a3b3b2be2bbee680d34d4f004a215564659b853fb201/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f526174696e6742616467652f412d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=VULNERABILITY)
 [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sli
 
ng-org-apache-sling-feature-extension-content=20=false=VULNERABILITY)
 [![Security 
Hotspot](https://camo.githubusercontent.com/fb735cbe76f8d5e1679c76ce83b740ceb1eaf62de4f7bf88623dc9953261aff7/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f73656375726974795f686f7473706f742d313670782e706e67)](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-extension-content=20=false=SECURITY_HOTSPOT)
 
[![A](https://camo.githubusercontent.com/1cba125a897d7fa47033a3b3b2be2bbee680d34d4f004a215564659b853fb201/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f526174696e6742616467652f412d313670782e706e67)](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-extension-content
 equest=20=false=SECURITY_HOTSPOT) [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-feature-extension-content=20=false=SECURITY_HOTSPOT)
 [![Code 
Smell](https://camo.githubusercontent.com/8fe18b2dfb6f7d4e44582f281b29f617eb5ae07c248d2002ca586e91da219212/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f636f64655f736d656c6c2d313670782e706e67)](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=CODE_SMELL)
 
[![B](https://camo.githubusercontent.com/ee7f8cac547e3e28ad7e683c451c8caf2f19d70bc37d6bcba574dac8ff86d194/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636865636b732f526174696e6742616467652f422d313670782e706e67)](https://sona
 
rcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=CODE_SMELL)
 [1 Code 
Smell](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-feature-extension-content=20=false=CODE_SMELL)
   > 
   > 

[GitHub] [sling-org-apache-sling-feature-extension-content] rombert opened a new pull request, #20: SLING-12029 - Make strictMode configurable

2023-09-20 Thread via GitHub


rombert opened a new pull request, #20:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-extension-content/pull/20

   Make strictMode configurable and document the way to configure it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Created] (SLING-12029) Make strictMode configurable

2023-09-20 Thread Robert Munteanu (Jira)
Robert Munteanu created SLING-12029:
---

 Summary: Make strictMode configurable
 Key: SLING-12029
 URL: https://issues.apache.org/jira/browse/SLING-12029
 Project: Sling
  Issue Type: Improvement
  Components: Feature Model
Reporter: Robert Munteanu
Assignee: Robert Munteanu
 Fix For: Feature Model Content Extension 1.0.12


With SLING-10417 we always install the content packages in strict mode. To ease 
transition, we should default to strictMode = false and make this an opt-in.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (SLING-12028) Content Deployment Extension tests fail on Windows

2023-09-20 Thread Robert Munteanu (Jira)


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

Robert Munteanu resolved SLING-12028.
-
Resolution: Fixed

> Content Deployment Extension tests fail on Windows
> --
>
> Key: SLING-12028
> URL: https://issues.apache.org/jira/browse/SLING-12028
> Project: Sling
>  Issue Type: Bug
>  Components: Feature Model
>Reporter: Robert Munteanu
>Assignee: Robert Munteanu
>Priority: Major
> Fix For: Feature Model Content Extension 1.0.12
>
>
> {noformat}
> [ERROR] 
> org.apache.sling.feature.extension.content.ContentHandlerTest.testMultipleStartOrders
>   Time elapsed: 0.617 s  <<< FAILURE!
> org.junit.ComparisonFailure: 
> expected:<...t5731559958083209794[\]executedplans.file> but 
> was:<...t5731559958083209794[/]executedplans.file>
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (SLING-10405) Update embedded jackrabbit vault to version 3.5.0

2023-09-20 Thread Robert Munteanu (Jira)


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

Robert Munteanu commented on SLING-10405:
-

For the record - these are changes between the two versions - 
https://github.com/apache/jackrabbit-filevault/compare/jackrabbit-filevault-3.2.6...jackrabbit-filevault-3.5.0

> Update embedded jackrabbit vault to version 3.5.0
> -
>
> Key: SLING-10405
> URL: https://issues.apache.org/jira/browse/SLING-10405
> Project: Sling
>  Issue Type: Improvement
>  Components: Feature Model
>Affects Versions: Feature Model Content Extension 1.0.10
>Reporter: Karl Pauls
>Assignee: Konrad Windszus
>Priority: Major
> Fix For: Feature Model Content Extension 1.0.12
>
>
> The extension currently uses (and embeds) an old version of vault - namely, 
> 3.2.6. We should update to a newer version.
> https://github.com/apache/sling-org-apache-sling-feature-extension-content/blob/master/pom.xml#L104



--
This message was sent by Atlassian Jira
(v8.20.10#820010)