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 2017/05/11 10:14:04 UTC

[jira] [Commented] (OAK-6210) Provide a consistent and extensible way to handle oak-run options while creating NodeStore

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

Chetan Mehrotra commented on OAK-6210:
--------------------------------------

[~mreutegg] [~amitj_76] [~mduerig] Can you review the way NodeStoreFixtureProvider and BlobStoreFixtureProvider do construction of respective stores. Also any feedback in general would be helpful!

> Provide a consistent and extensible way to handle oak-run options while creating NodeStore
> ------------------------------------------------------------------------------------------
>
>                 Key: OAK-6210
>                 URL: https://issues.apache.org/jira/browse/OAK-6210
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: run
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.8
>
>         Attachments: OAK-6210-v1.patch
>
>
> Currently in oak-run commands are using different ways to interpret the command line arguments while constructing a NodeStore instance. For example see 
> # Utils
> # NodeStoreOpener
> # Console command
> # Tika command etc etc
> This leads to following issues
> # Incomplete support for different BlobStore - Many command only support FileDataStore and not support other stores. Utils now has a generic method but its not used in all places
> # Not easy to modularise options and allow list of all options 
> To simplify this and make it consistent we should 
> # use a common and extensible way to handle command line options 
> # construct NodeStore and BlobStore instance in a common way (wherever code deals with NodeStore API)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)