You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/03/31 13:00:30 UTC

[jira] [Commented] (OAK-4159) Expose an option in Oak class to enable failing of commit upon missing index editor provider

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

Chetan Mehrotra commented on OAK-4159:
--------------------------------------

{code}
 Oak oak = new Oak()
                .with(new OpenSecurityProvider())
                .with(new InitialContent())
                .with(wb)
                .with(wbProvider)
                .withFailOnMissingIndexProvider();
{code}

Behaviour can be done via {{withFailOnMissingIndexProvider}} call.

Done in [1737220|http://svn.apache.org/viewvc?rev=1737220&view=rev]

> Expose an option in Oak class to enable failing of commit upon missing index editor provider
> --------------------------------------------------------------------------------------------
>
>                 Key: OAK-4159
>                 URL: https://issues.apache.org/jira/browse/OAK-4159
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.6, 1.5.1
>
>
> Follow up of OAK-3642 to introduce a method on {{Oak}} class to enable failing of commit by default.



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