Thanks Bertrand.

I know (a little) about both the provisioning model and the repoinit
feature. Your link [1] points to the launchpad, which as I understand
uses the provisioning model to bootstrap the instance.

What I am missing so far is a way to inject my own provisioning model
(and ideally repoinit) into the launchpad I am starting in an
integration test. Do you have any pointers to that?

Please also let me know if my understanding is flawed ;) Thanks.

Regards
Julian


On Mon, Nov 7, 2016 at 12:03 PM, Bertrand Delacretaz
<[email protected]> wrote:
> Hi Julian,
>
> On Mon, Nov 7, 2016 at 11:59 AM, Julian Sedding <[email protected]> wrote:
>> ...I am currently struggling to get the Sling Content Distribution ITs
>> (based on launchpad 9-SNAPSHOT) to run due to the blocked
>> loginAdministrative....
>
> For tests you can configure a regexp for whitelisted bundles in the
> org.apache.sling.jcr.base.internal.LoginAdminWhitelistImpl config  as
> done in [1].
>
> If you need service users and ACLs in tests you can use the repoinit
> mechanism, [2]
>
> -Bertrand
>
> [1] 
> https://svn.apache.org/repos/asf/sling/trunk/launchpad/testing/src/main/provisioning/model.txt
> [2] 
> https://sling.apache.org/documentation/bundles/repository-initialization.html

Reply via email to