Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.4
    • None
    • None

    Description

      Package store is a storage managed by Solr that holds the package artifacts. This is replicated across nodes.

      Design is here: https://docs.google.com/document/d/15b3m3i3NFDKbhkhX_BN0MgvPGZaBj34TKNF2-UNC3U8/edit?ts=5d86a8ad#

      The package store is powered by an underlying filestore. This filestore is a fully replicated p2p filesystem storage for artifacts.

      The APIs are as follows

      # add a file
      POST  /api/cluster/files/path/to/file.jar
      
      #retrieve a file
      GET /api/cluster/files/path/to/file.jar
      
      #list files in the /path/to directory
      GET /api/cluster/files/path/to
      
      #GET meta info of the jar
      GET /api/cluster/files/path/to/file.jar?meta=true
      

      This store keeps 2 files per file

      1. The actual file say myplugin.jar
      2. A metadata file .myplugin.jar.json in the same directory

      The contenbts of the metadata file is

      {
      "sha512" : "<sha512-of the file>"
      "sig": {
      "<key-name>" :"<signature>"
      }}
      

      Attachments

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              ichattopadhyaya Ishan Chattopadhyaya
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h