[
https://issues.apache.org/jira/browse/SOLR-16738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18076625#comment-18076625
]
ASF subversion and git services commented on SOLR-16738:
--------------------------------------------------------
Commit 730398a940c3287a157590d7b899bd3591d4f516 in solr's branch
refs/heads/main from Jason Gerlowski
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=730398a940c ]
SOLR-16738: Refactor AdminHandlersProxy for better extensibility (#3991)
Replaces the static AdminHandlersProxy utility with an OOP hierarchy
under a new 'proxy' package. RemoteRequestProxy provides the core
proxying logic; GenericV1RequestProxy and V2SolrRequestBasedProxy
handle v1 and v2 requests respectively. Callers can now customize
per-endpoint behaviour (response handling, param names, request
construction) via subclassing rather than branching in a single class.
Also adds WrappedSolrRequest, a delegating SolrRequest decorator used
by V2SolrRequestBasedProxy to strip internal params before proxying.
> Add v2 API support to AdminHandlersProxy
> ----------------------------------------
>
> Key: SOLR-16738
> URL: https://issues.apache.org/jira/browse/SOLR-16738
> Project: Solr
> Issue Type: Sub-task
> Reporter: Jason Gerlowski
> Priority: Minor
> Labels: V2, pull-request-available
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Solr uses AdminHandlersProxy to forward certain v1 'admin' APIs from the
> receiving node to a selection of nodes in the cluster, and then aggregate the
> responses.
> This functionality should be expanded to cover our more strongly-typed v2
> APIs, which can't easily reuse AdminHandlersProxy as-is.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]