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

    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

        1. OAK-6210-v1.patch
          39 kB
          Chetan Mehrotra

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                chetanm Chetan Mehrotra
                Reporter:
                chetanm Chetan Mehrotra
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: