[
https://issues.apache.org/jira/browse/SOLR-16488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Gerlowski updated SOLR-16488:
-----------------------------------
Description:
EDIT: This description originally described creating a plan for creating v2
APIs equivalent to the current v1 /admin/zookeeper endpoints. But it turns out
that equivalent v2 APIs already largely exist in ZookeeperReadAPI. The
description has updated to reflect this.
The ZookeeperReadAPI APIs should be migrated to JAX-RS and be tweaked to be
more REST-ful and in line with the direction we're pushing v2 in. See the
comments below for a discussion of specific tweaks to the HTTP path,
parameters, etc. for these APIs.
was:
The /admin/zookeeper APIs have no equivalent in the v2 paradigm. We should
close this gap, ideally with APIs similar to those below:
* Get all ZK "Files"
** Current v1 API: GET /solr/admin/zookeeper
** Proposed v2 API: GET /api/cluster/zookeeper/files
** Spreadsheet Ref: Tab 7, Line 25
* Get Single ZK "File"
** Current v1 API: GET /solr/admin/zookeeper?detail=true&path=someZkPath
** Proposed v2 API: GET /api/cluster/zookeeper/files/someZkPath
** Spreadsheet Ref: Tab 7, Line 26
* Get Zk Status/health
** Current v1 API: GET /solr/admin/zookeeper/status
** Proposed v2 API: GET /api/cluster/zookeeper/status
** Spreadsheet Ref: Tab 7, Line 27
"Spreadsheet References" are to the Google Sheet available
[here|https://docs.google.com/spreadsheets/d/1HAoBBFPpSiT8mJmgNZKkZAPwfCfPvlc08m5jz3fQBpA/edit?usp=sharing],
which includes additional information about each API, such as the hosting
RequestHandler.
> Migrate ZookeeperReadAPI to JAX-RS
> ----------------------------------
>
> Key: SOLR-16488
> URL: https://issues.apache.org/jira/browse/SOLR-16488
> Project: Solr
> Issue Type: Sub-task
> Components: v2 API
> Affects Versions: 9.1, main (10.0)
> Reporter: Jason Gerlowski
> Priority: Major
> Labels: newdev
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> EDIT: This description originally described creating a plan for creating v2
> APIs equivalent to the current v1 /admin/zookeeper endpoints. But it turns
> out that equivalent v2 APIs already largely exist in ZookeeperReadAPI. The
> description has updated to reflect this.
> The ZookeeperReadAPI APIs should be migrated to JAX-RS and be tweaked to be
> more REST-ful and in line with the direction we're pushing v2 in. See the
> comments below for a discussion of specific tweaks to the HTTP path,
> parameters, etc. for these APIs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]