Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-16 Thread via GitHub
stefanseifert merged PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31 -- 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-m

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-16 Thread via GitHub
stefanseifert commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1764497387 thanks, i will merge it! (the jenkins CI tests on windows are flaky, but that is not related to this PR, we have to take care of this separately)

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-16 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1764457971 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1762271679 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1762258563 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
adamcin commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1762169343 > this is taking good shape, thanks for all the work you put into this. is anything functional missing from your side? it would be good to update the documen

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1762141102 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1762131325 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1762055560 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1762042557 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1761654081 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1761633529 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1761601260 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1761573164 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1761124869 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
stefanseifert commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1761093876 this is taking good shape, thanks for all the work you put into this. is anything functional missing from your side? it would be good to update the d

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
stefanseifert commented on code in PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#discussion_r1357913099 ## core/src/main/java/org/apache/sling/testing/mock/osgi/config/annotations/ConfigType.java: ## @@ -0,0 +1,79 @@ +/* + * Licensed to

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
stefanseifert commented on code in PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#discussion_r1357912860 ## core/src/main/java/org/apache/sling/testing/mock/osgi/config/annotations/UpdateConfig.java: ## @@ -0,0 +1,61 @@ +/* + * Licensed

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-13 Thread via GitHub
stefanseifert commented on code in PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#discussion_r1357894613 ## core/src/main/java/org/apache/sling/testing/mock/osgi/config/annotations/ConfigType.java: ## @@ -0,0 +1,79 @@ +/* + * Licensed to

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1760673192 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1760493385 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1760130888 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1760127171 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
adamcin commented on code in PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#discussion_r1357070456 ## core/src/main/java/org/apache/sling/testing/mock/osgi/config/annotations/ConfigType.java: ## @@ -0,0 +1,79 @@ +/* + * Licensed to the A

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
adamcin commented on code in PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#discussion_r1357065904 ## core/src/main/java/org/apache/sling/testing/mock/osgi/config/annotations/ConfigType.java: ## @@ -0,0 +1,79 @@ +/* + * Licensed to the A

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
adamcin commented on code in PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#discussion_r1357065561 ## core/src/main/java/org/apache/sling/testing/mock/osgi/config/annotations/UpdateConfig.java: ## @@ -0,0 +1,61 @@ +/* + * Licensed to the

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
adamcin commented on code in PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#discussion_r1357002996 ## core/src/main/java/org/apache/sling/testing/mock/osgi/config/annotations/UpdateConfig.java: ## @@ -0,0 +1,61 @@ +/* + * Licensed to the

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
stefanseifert commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1759729953 > The existing annotations are all inheritable and locally overridable, in their own way. sounds great, we should mention this in the documentati

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
adamcin commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1759710542 > which brings me to another question: consider you have the use case to apply a certain osgi config to all tests in a test class. can you apply the config a

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
adamcin commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1759690025 > i like the `@AutoConfig(MyService.class)` proposal. do you have to apply this annotation on test class level, or is it alternatively also possible to apply

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
stefanseifert commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1759683521 i like the `@AutoConfig(MyService.class)` proposal. do you have to apply this annotation on test class level, or is it alternatively also possible to a

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
adamcin commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1759672317 > can you come up with a small code snipped how this would look in the unit test as example how you envision this? @stefanseifert Like this: ```

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
stefanseifert commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1759283538 > > 2. but it think it's very important that this new way of defining OSGi configurations also works together with the current approach of OSGi mock usi

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
stefanseifert commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1759279603 > > i'm not so fond of having to place and explicit @retention(RetentionPolicy.RUNTIME) to the annotation class, though - changing the production code

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
stefanseifert commented on code in PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#discussion_r1356562016 ## junit5/pom.xml: ## @@ -47,6 +47,25 @@ tests test + +org.apache.sling +

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-12 Thread via GitHub
stefanseifert commented on code in PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#discussion_r1356540400 ## core/src/main/java/org/apache/sling/testing/mock/osgi/config/annotations/ConfigType.java: ## @@ -0,0 +1,79 @@ +/* + * Licensed to

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-11 Thread via GitHub
adamcin commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1758809026 > 2. but it think it's very important that this new way of defining OSGi configurations also works together with the current approach of OSGi mock using regi

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-11 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1758764292 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-11 Thread via GitHub
adamcin commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1758743454 > 1. you propose to use this new features as lightweight alternative to the SCR metadata-based approach, making it easy to construct OSGI annotations filled

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-11 Thread via GitHub
adamcin commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1758297579 @stefanseifert in reply to: > 4. you added a couple of methods to `OsgiContextImpl`. this class is the primary API class developers interact with when writ

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-11 Thread via GitHub
adamcin commented on code in PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#discussion_r1355415498 ## junit5/pom.xml: ## @@ -47,6 +47,25 @@ tests test + +org.apache.sling +

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-11 Thread via GitHub
stefanseifert commented on code in PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#discussion_r1354569056 ## core/src/main/java/org/apache/sling/testing/mock/osgi/config/package-info.java: ## @@ -0,0 +1,20 @@ +/* + * Licensed to the Apach

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-11 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1757303111 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-11 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1757228224 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-11 Thread via GitHub
stefanseifert commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1757216063 the goal `javadoc:javadoc` fails on this PR due to malformed javadocs in some places - please check and fix (we should include this in our jenkins c

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-10 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1756215255 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-10 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1756134992 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-10 Thread via GitHub
adamcin commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1756120569 > From a code perspective, this looks really clean and I at least can't spot any obvious bugs. > > The challenge I'm having here is grokking the featur

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-09 Thread via GitHub
kwin commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1753490229 @klcodanr Got it now. I was reading too much in it I guess, sorry for that. -- This is an automated message from the Apache Git Service. To respond to the mess

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-09 Thread via GitHub
klcodanr commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1753461616 @kwin I believe we are agreeing on the request. I am not suggesting in any way that this contribution is for an audience outside of all consumers of a

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-09 Thread via GitHub
kwin commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1753441976 Regarding > assuming your audience isn't already familiar with the feature There is no such thing as “your" or “my” audience when it comes to Sling.

Re: [PR] SLING-12038 add support for reified OSGi config annotations as test parameters [sling-org-apache-sling-testing-osgi-mock]

2023-10-04 Thread via GitHub
sonarcloud[bot] commented on PR #31: URL: https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/pull/31#issuecomment-1747973868 Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGa