gerlowskija commented on PR #1160:
URL: https://github.com/apache/solr/pull/1160#issuecomment-1426163774

   Hi @calvnce , thanks for the PR!
   
   At a glance I agree with David - this "resource" file is a great start but 
we'll need to register this somewhere for it to actually get detected and 
wired-up at runtime.  Typically this works by linking the V2 API to the v1 
"RequestHandler".  RequestHandlers have a `getJerseyResources` method for this 
purpose.  (See the example 
[here](https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/handler/admin/CollectionsHandler.java#L2220)
 for reference, which links the AddReplicaPropertyAPI to CollectionsHandler.)
   
   For the API you're addressing in this PR, you'd need to add a similar 
`getJerseyResources` method to Solr's `LoggingHandler` class.
   
   Let me know if there's anything else I can do to help!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to