[
https://issues.apache.org/jira/browse/SOLR-16392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641370#comment-17641370
]
ASF subversion and git services commented on SOLR-16392:
--------------------------------------------------------
Commit b8ed5504f2ea5838cc6aee2074e508ec86cd4fde in solr's branch
refs/heads/branch_9x from Jason Gerlowski
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=b8ed5504f2e ]
SOLR-16392: Refactor and update v2 DELETEREPLICAPROP API (#1053)
This commit modifies the existing DeleteReplicaPropertyAPI definition to
be more REST-ful, and use the new JAX-RS framework. Specifically, this
commit changes the API from:
POST /collections/collName
{"delete-replica-property" : {...}}
to
DELETE /collections/<coll>/shards/<shard>/replicas/<replica>/properties/<prop>
This is a breaking change for users of the v2 API, but one that is
allowed because of v2's "experimental" designation.
In support of this, this commit also refactors DeleteReplicaPropertyAPI
to use the new JAX-RS framework.
> Cosmetic, REST-fulness improvements to v2 shard, replica, and replicaprop
> CRUD APIs
> -----------------------------------------------------------------------------------
>
> Key: SOLR-16392
> URL: https://issues.apache.org/jira/browse/SOLR-16392
> Project: Solr
> Issue Type: Sub-task
> Components: v2 API
> Affects Versions: main (10.0)
> Reporter: Jason Gerlowski
> Assignee: Jason Gerlowski
> Priority: Major
> Labels: newdev
> Time Spent: 6h 50m
> Remaining Estimate: 0h
>
> As mentioned on SOLR-15781, the v2 API currently has an experimental
> designation, and the community has expressed an interest in using this period
> to update our v2 endpoints to be more REST-ful and consistent. The current
> plan is to follow the
> specific changes laid out in [this
> spreadsheet|https://docs.google.com/spreadsheets/d/1HAoBBFPpSiT8mJmgNZKkZAPwfCfPvlc08m5jz3fQBpA/edit?usp=sharing],
> though of course nothing there is set in stone and there are still warts to
> be worked out.
>
> This ticket plans to tackle making the changes required for Solr's shard,
> replica and replica-prop CRUD APIs, as described in that spreadsheet.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]