Hey all, I'm looking to convert some of Solr's "Package Store" APIs over to the JAX-RS framework, but I'm having some trouble finding the backing code.
Some of the APIs were pretty easy to find. For instance I see `POST /api/cluster/package`, `GET /api/cluster/package`, and `GET /api/clusteer/package/somePackageName` implemented in "org.apache.solr.pkg.PackageAPI". But I can see other APIs getting called by the PackageTool code. `RepositoryManager` uses a SolrClient to "POST" to `/package/somePackageName/someVersion/someFileName`. [1] It also makes a similar request to `/package/somePackageName/someVersion/manifest.json`. [2] I wondered for awhile whether these might be requests to the external package repository, and not to Solr itself. But the requests are made using a SolrClient, and it uses a Solr base URL as far as I can tell. Does anyone know where the code for these additional APIs might live? Or whether I'm misinterpreting them, and they really are requests made to the repository (and not Solr)? If the latter - is there a reason the code uses a SolrClient instead of a Jetty or Apache HttpClient directly? Thanks in advance for any pointers in the right direction! Best, Jason [1] https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/packagemanager/RepositoryManager.java#L207-L216 [2] https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/packagemanager/RepositoryManager.java#L198-L202 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org For additional commands, e-mail: dev-h...@solr.apache.org