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

Bertrand Delacretaz commented on SLING-5414:
--------------------------------------------

I'm fine with releasing as is, providing the model to the launchpad but medium 
term my idea is to

* a) Generate a fragment bundle at build time, that contains the provisioning 
model, and inject it in the model
* b) Provide an API to retrieve and parse the provisioning model at runtime. 
The bundle that does this uses the fragment bundle created by a)

I've tried both at 
https://datatracker.ietf.org/doc/draft-ietf-appsawg-http-problem/ but I'm not 
happy with the implementation of a) there, need to revisit this. On the other 
hand the (trivial) {{bundles/extensions/provisioning-model-provider}} that's 
there could stay as is once a) works. I probably won't have time to work again 
on this before a week, so I'm fine releasing the slingstart plugin as is if 
that's useful.

> Make the contents of the provisioning model available at runtime
> ----------------------------------------------------------------
>
>                 Key: SLING-5414
>                 URL: https://issues.apache.org/jira/browse/SLING-5414
>             Project: Sling
>          Issue Type: New Feature
>          Components: Maven Plugins and Archetypes
>    Affects Versions: Slingstart Maven Plugin 1.4.0
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Slingstart Maven Plugin 1.4.2
>
>         Attachments: SLING-5414.patch
>
>
> For SLING-5355 we need to make additional sections from the provisioning 
> model available at runtime, so that ACLs can be set at startup, and also to 
> be able to reuse their definitions later for auditing/verification purposes.
> A simple way to do that is to copy those sections in the sling_bootstrap.txt 
> file. I have created a patch that does that, will attach it here for review.
> _edit: as discussed below, we'll make the full text of the model available at 
> runtime_



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to