Re: [PR] SLING-12264 only call save() if there's something to save [sling-org-apache-sling-jcr-repoinit]

2024-03-09 Thread via GitHub


sonarcloud[bot] commented on PR #52:
URL: 
https://github.com/apache/sling-org-apache-sling-jcr-repoinit/pull/52#issuecomment-1986921176

   ## [![Quality Gate 
Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png
 'Quality Gate 
Passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-jcr-repoinit=52)
 **Quality Gate passed**  
   Issues  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0 New 
issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-repoinit=52=false=true)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png
 '') [0 Accepted 
issues](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-repoinit=52=new_accepted_issues=list)
   
   Measures  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-jcr-repoinit=52=false=true)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [55.6% Coverage on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-repoinit=52=new_coverage=list)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0.0% Duplication on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-repoinit=52=new_duplicated_lines_density=list)
  
 
   [See analysis details on 
SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-jcr-repoinit=52)
   
   


-- 
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



Re: [PR] SLING-12262 use a metric to indicate repoinit failures [sling-org-apache-sling-jcr-repoinit]

2024-03-09 Thread via GitHub


sonarcloud[bot] commented on PR #51:
URL: 
https://github.com/apache/sling-org-apache-sling-jcr-repoinit/pull/51#issuecomment-1986918510

   ## [![Quality Gate 
Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png
 'Quality Gate 
Passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-jcr-repoinit=51)
 **Quality Gate passed**  
   Issues  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0 New 
issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-jcr-repoinit=51=false=true)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png
 '') [0 Accepted 
issues](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-repoinit=51=new_accepted_issues=list)
   
   Measures  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-jcr-repoinit=51=false=true)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [100.0% Coverage on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-repoinit=51=new_coverage=list)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0.0% Duplication on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-jcr-repoinit=51=new_duplicated_lines_density=list)
  
 
   [See analysis details on 
SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-jcr-repoinit=51)
   
   


-- 
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



[PR] SLING-12264 only call save() if there's something to save [sling-org-apache-sling-jcr-repoinit]

2024-03-09 Thread via GitHub


joerghoh opened a new pull request, #52:
URL: https://github.com/apache/sling-org-apache-sling-jcr-repoinit/pull/52

   (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] [Assigned] (SLING-12262) Repoinit: report failures via metrics

2024-03-09 Thread Joerg Hoh (Jira)


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

Joerg Hoh reassigned SLING-12262:
-

Assignee: Joerg Hoh

> Repoinit: report failures via metrics
> -
>
> Key: SLING-12262
> URL: https://issues.apache.org/jira/browse/SLING-12262
> Project: Sling
>  Issue Type: Task
>  Components: Repoinit
>Affects Versions: Repoinit JCR 1.1.46
>Reporter: Joerg Hoh
>Assignee: Joerg Hoh
>Priority: Major
>
> When a repoinit statement fails (and for that reason the SlingRepository 
> service cannot be started, repoinit should expose this as a metric.



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


[jira] [Created] (SLING-12264) check save() operations

2024-03-09 Thread Joerg Hoh (Jira)
Joerg Hoh created SLING-12264:
-

 Summary: check save() operations
 Key: SLING-12264
 URL: https://issues.apache.org/jira/browse/SLING-12264
 Project: Sling
  Issue Type: Task
  Components: Repoinit
Affects Versions: Repoinit JCR 1.1.46
Reporter: Joerg Hoh


Before doing a session.save() operation, it should always be checked if there 
is something to save at all. 
This can speed up the execution of individual repoinit statements if the 
repoinit statement does not need to be applied.



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


[PR] SLING-12262 use a metric to indicate repoinit failures [sling-org-apache-sling-jcr-repoinit]

2024-03-09 Thread via GitHub


joerghoh opened a new pull request, #51:
URL: https://github.com/apache/sling-org-apache-sling-jcr-repoinit/pull/51

   (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



[Jenkins] Sling » Modules » sling-org-apache-sling-starter » master #1292 is BROKEN

2024-03-09 Thread Apache Jenkins Server
Please see 
https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-starter/job/master/1292/
 for details.

No further emails will be sent until the status of the build is changed.
Build log follows below:

[...truncated 48350 lines...]
.Home-Grid .Main-Content {
padding: 0 16px 0 0
}
}

@media (min-width: 62em) {
.Home-Grid .Main-Content {
padding: 0
}
}

.Home-Grid ul {
margin: 0 0 1em;
padding: 0;
list-style: none
}







https://sling.apache.org; target="_blank" rel="noopener"  
id="sling-logo" title="Visit the Apache Sling website">


https://apache.org; target="_blank" rel="noopener"  
id="asf-logo" title="Visit the Apache Software Foundation website">






Apache Sling is starting up
To get started with Sling, see our https://sling.apache.org/; target="_blank"
 title="Visit the 
Apache Sling website">website
or the https://sling.apache.org/site/discover-sling-in-15-minutes.html; 
target="_blank">Sling in 15 minutes
tutorial.



Resources
Reference

https://sling.apache.org/apidocs/sling12/index.html; target="_blank" 
rel="noopener"  title="Visit the Apache Sling Javadocs">API
Documentation
https://sling.apache.org/project-information.html#mailing-lists; 
target="_blank" rel="noopener" 
   title="View available Apache Sling mailing 
lists">Mailing Lists
https://sling.apache.org/documentation/tutorials-how-tos.html; 
target="_blank" rel="noopener" 
   title="View Apache Sling Developer 
Tutorials">Tutorials
https://github.com/apache?utf8=%E2%9C%93=sling-=source; 
target="_blank" rel="noopener" 
   title="View the Apache Sling source code on 
Github">Source Code
https://github.com/apache/sling-samples; 
target="_blank" rel="noopener" 
   title="View Apache Sling sample applications on 
Github">Sample Applications






) expected:<201> but was:<503>
[ERROR]   
PostServletAtCopyTest.testCopyAncestor:232->HttpTestBase.assertPostStatus:412 
Expecting status 409 expected:<409> but was:<503>
[ERROR]   PostServletAtDeleteTest.setUp:50->HttpTestBase.assertHttpStatus:383 
Path must not exist before test: 
http://localhost:39407/sling-tests/PostServletAtDeleteTest/1709983640628 
expected:<404> but was:<503>
[ERROR]   PostServletAtDeleteTest.setUp:50->HttpTestBase.assertHttpStatus:383 
Path must not exist before test: 
http://localhost:39407/sling-tests/PostServletAtDeleteTest/1709983640622 
expected:<404> but was:<503>
[ERROR]   
PostServletCreateTest.testCreateNodeWithInvalidExactName:196->HttpTestBase.assertPostStatus:410
 expected:<409> but was:<503>
[ERROR]   
PostServletCreateTest.testPostPathIsUnique:45->HttpTestBase.assertHttpStatus:383
 Path must not exist before test: 
http://localhost:39407/sling-tests/1709983641499 expected:<404> but was:<503>
[ERROR]   PostServletDeleteTest.setUp:39->HttpTestBase.assertHttpStatus:383 
Path must not exist before test: 
http://localhost:39407/sling-tests/PostServletDeleteTest/1709983642094 
expected:<404> but was:<503>
[ERROR]   PostServletDeleteTest.setUp:39->HttpTestBase.assertHttpStatus:383 
Path must not exist before test: 
http://localhost:39407/sling-tests/PostServletDeleteTest/1709983642085 
expected:<404> but was:<503>
[ERROR]   PostServletDeleteTest.setUp:39->HttpTestBase.assertHttpStatus:383 
Path must not exist before test: 
http://localhost:39407/sling-tests/PostServletDeleteTest/1709983642067 
expected:<404> but was:<503>
[ERROR]   PostServletDeleteTest.setUp:39->HttpTestBase.assertHttpStatus:383 
Path must not exist before test: 
http://localhost:39407/sling-tests/PostServletDeleteTest/1709983642075 
expected:<404> but was:<503>
[ERROR]   PostServletDeleteTest.setUp:39->HttpTestBase.assertHttpStatus:383 
Path must not exist before test: 
http://localhost:39407/sling-tests/PostServletDeleteTest/1709983642100 
expected:<404> but was:<503>
[ERROR]   
PostServletMoveTest.testMoveAtRoot:487->HttpTestBase.assertHttpStatus:392->HttpTestBase.assertHttpStatus:381
 http://localhost:39407/PostServletMoveTest_A expected:<404> but was:<503>
[ERROR]   PostServletNopTest.testDefault:31->post:73 expected:<200> but 
was:<503>
[ERROR]   PostServletNopTest.testStatus1234:49->post:73 expected:<200> but 
was:<503>
[ERROR]   PostServletNopTest.testStatus200:35->post:58->post:73 expected:<200> 
but was:<503>
[ERROR]