Jason Gerlowski created SOLR-15823:
--------------------------------------
Summary: Split v2 /node/logging API into separate GET and PUT APIs
Key: SOLR-15823
URL: https://issues.apache.org/jira/browse/SOLR-15823
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Jason Gerlowski
Currently, the /v2/node/logging API (and it's v1 counterpart:
/solr/admin/info/logging) use the same API to both set and get log-level
information.
In the v2 world at least, this could be split up to depend on the HTTP verb,
using POST or PUT for changes to log-levels, and GET for retrieval of log-level
information.
Doing so would be more consistent with the HTTP-verb-aware design of the v2
API. Practically though, it'd also help us get around a limitation of the
current annotation framework, where each API can only be governed by a single
{{PermissionNameProvider.Name}} value. Splitting the APIs into different verbs
lets us govern them with the appropriate permissions in v2-land.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]