You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "cziegeler (via GitHub)" <gi...@apache.org> on 2024/07/11 07:14:32 UTC
[PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
cziegeler opened a new pull request, #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56
(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-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56#issuecomment-2455686197
## [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56) **Quality Gate failed**
Failed conditions
 [78.1% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-models-impl&pullRequest=56&metric=new_coverage&view=list) (required ≥ 80%)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56)
--
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: commits-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56#issuecomment-2223097907
## [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56) **Quality Gate failed**
Failed conditions
 [66.7% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-models-impl&pullRequest=56&metric=new_coverage&view=list) (required ≥ 80%)
 [E Reliability Rating on New Code](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56) (required ≥ A)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56)
##
 Catch issues before they fail your Quality Gate with our IDE extension  [SonarLint](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=pull-request)
--
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-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56#issuecomment-2431933451
## [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56) **Quality Gate failed**
Failed conditions
 [78.1% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-models-impl&pullRequest=56&metric=new_coverage&view=list) (required ≥ 80%)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56)
--
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-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
Posted by "cziegeler (via GitHub)" <gi...@apache.org>.
cziegeler commented on PR #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56#issuecomment-2222293226
not disagreeing, lets see if we can come up with something that is better than the previous solution
--
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-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56#issuecomment-2442639483
## [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56) **Quality Gate failed**
Failed conditions
 [78.1% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-models-impl&pullRequest=56&metric=new_coverage&view=list) (required ≥ 80%)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56)
--
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: commits-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56#issuecomment-2226872322
## [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56) **Quality Gate failed**
Failed conditions
 [78.1% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-models-impl&pullRequest=56&metric=new_coverage&view=list) (required ≥ 80%)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56)
--
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-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56#issuecomment-2224943915
## [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56) **Quality Gate failed**
Failed conditions
 [E Reliability Rating on New Code](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56) (required ≥ A)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56)
##
 Catch issues before they fail your Quality Gate with our IDE extension  [SonarLint](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=pull-request)
--
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-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
Posted by "stefanseifert (via GitHub)" <gi...@apache.org>.
stefanseifert commented on PR #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56#issuecomment-2222290816
it's a valid use case, although probably rare, to use sling models outside a request...
--
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-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
Posted by "cziegeler (via GitHub)" <gi...@apache.org>.
cziegeler commented on PR #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56#issuecomment-2222283721
Then this code blows up with a NullPointerException...the same is true when using an administrative resource resolver
--
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-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
Posted by "stefanseifert (via GitHub)" <gi...@apache.org>.
stefanseifert commented on PR #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56#issuecomment-2222255381
what happens if sling models is used outside a request context, e.g. in a background job with a resource resolver created via `getServiceResourceResolver`?
--
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-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56#issuecomment-2222223052
## [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56) **Quality Gate failed**
Failed conditions
 [73.8% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-models-impl&pullRequest=56&metric=new_coverage&view=list) (required ≥ 80%)
 [E Reliability Rating on New Code](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56) (required ≥ A)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56)
##
 Catch issues before they fail your Quality Gate with our IDE extension  [SonarLint](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=pull-request)
--
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-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] SLING-12376 : Use per thread resource resolver for disposable callbacks [sling-org-apache-sling-models-impl]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #56:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/56#issuecomment-2224980188
## [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56) **Quality Gate passed**
Issues
 [3 New issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-models-impl&pullRequest=56&resolved=false&sinceLeakPeriod=true)
 [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-models-impl&pullRequest=56&resolutions=WONTFIX)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-models-impl&pullRequest=56&resolved=false&sinceLeakPeriod=true)
 [81.2% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-models-impl&pullRequest=56&metric=new_coverage&view=list)
 [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-models-impl&pullRequest=56&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-models-impl&pullRequest=56)
--
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-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org