Noble Paul created SOLR-13710:
---------------------------------

             Summary: Persist package jars locally & expose them over http
                 Key: SOLR-13710
                 URL: https://issues.apache.org/jira/browse/SOLR-13710
             Project: Solr
          Issue Type: Sub-task
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Noble Paul


* All jars for packages downloaded are stored in a dir SOLR_HOME/blobs. 
* The file names will be the sha512 hash of the files.
* Before downloading the a jar from a location, it's first checked in the local 
directory

* A new API end point {{http://localhost://8983/api/blobs}} will list the 
available jars

example
{code:json}
{
"blobs":["d01b51de67ae1680a84a813983b1de3b592fc32f1a22b662fc9057da5953abd1b72476388ba342cad21671cd0b805503c78ab9075ff2f3951fdf75fa16981420",
"bc5ce45ad281b6a08fb7e529b1eb475040076834816570902acb6ebdd809410e31006efdeaa7f78a6c35574f3504963f5f7e4d92247d0eb4db3fc9abdda5d417"]
}
{code}
* The jar will be downloadable at 
{{http://localhost://8983//api/blobs/<sha512>}} 






--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to