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

Chetan Mehrotra edited comment on OAK-4975 at 10/21/16 10:11 AM:
-----------------------------------------------------------------

*Approach A - Only add config when DocumentNodeStore is used*

Under this 
# {{DocumentNodeStoreService}} registers the {{BundlingConfigInitializer}} as 
OSGi service
# Have a new {{WhiteboardRepositoryInitializer}} and use that in 
{{RepositoryManager}}

*Approach B - Always bootstrap the default config as part of {{InitialContent}}*

[~edivad] suggested on 
[thead|https://lists.apache.org/thread.html/6f19a1390f5c3161311815378eef7688607329ae63d891bf04a4dc62@%3Coak-dev.jackrabbit.apache.org%3E]
 to make this config part of {{InitialContent}}. It would get installed always 
but would only be effective when {{DocumentNodeStore}} is being used





was (Author: chetanm):
*Approach A - Only add config when DocumentNodeStore is used*

Under this 
# {{DocumentNodeStoreService}} registers the {{BundlingConfigInitializer}} as 
OSGi service
# Have a new {{WhiteboardRepositoryInitializer}} and use that in 
{{RepositoryManager}}

*Approach B - Always bootstrap the default config as part of {{InitialContent}}

[~edivad] suggested on 
[thead|https://lists.apache.org/thread.html/6f19a1390f5c3161311815378eef7688607329ae63d891bf04a4dc62@%3Coak-dev.jackrabbit.apache.org%3E]
 to make this config part of {{InitialContent}}. It would get installed always 
but would only be effective when {{DocumentNodeStore}} is being used




> Setup a default Bundling config
> -------------------------------
>
>                 Key: OAK-4975
>                 URL: https://issues.apache.org/jira/browse/OAK-4975
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, documentmk
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.6
>
>
> With Bundling Node feature done it would be useful to have a default bundling 
> config in Oak. Currently there is a {{BundlingConfigInitializer}} which sets 
> up config for {{nt:file}}
> This task is meant to determine 
> # What all bundling rules we define by default
> # How this bundling config is setup
> {{BundlingConfigInitializer}} is being used in 
> {{OakDocumentMemRepositoryStub}} so gets some coverage in TCK test



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

Reply via email to