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 06:57:04 UTC

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

Chetan Mehrotra created OAK-6210:
------------------------------------

             Summary: 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


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)