Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6210

Provide a consistent and extensible way to handle oak-run options while creating NodeStore

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0, 1.8.0
    • Component/s: run
    • Labels:
      None

      Description

      Currently in oak-run commands are using different ways to interpret the command line arguments while constructing a NodeStore instance. For example see

      1. Utils
      2. NodeStoreOpener
      3. Console command
      4. Tika command etc etc

      This leads to following issues

      1. 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
      2. Not easy to modularise options and allow list of all options

      To simplify this and make it consistent we should

      1. use a common and extensible way to handle command line options
      2. construct NodeStore and BlobStore instance in a common way (wherever code deals with NodeStore API)

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              chetanm Chetan Mehrotra
              Reporter:
              chetanm Chetan Mehrotra

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment