[ 
https://issues.apache.org/jira/browse/SOLR-15745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17461953#comment-17461953
 ] 

ASF subversion and git services commented on SOLR-15745:
--------------------------------------------------------

Commit 7e39a5d5336c23be376afe62eb8da2c71ae34ce8 in solr's branch 
refs/heads/main from Jason Gerlowski
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=7e39a5d ]

SOLR-15745: Convert corestatus APIs to annotations (#455)

Solr has historically supported two frameworks for definings its v2
APIs: a JSON-based 'apispec' framework, and a more modern replacement
that relies on JAX-RS-like annotations to specify endpoints and
parameters.

The community is in the process of migrating to the annotation based
approach, but many apispec APIs remain.

This commit converts GET /v2/cores and GET /v2/cores/coreName over to
the annotation framework.

> Rewrite v2 core-admin APIs using annotation framework
> -----------------------------------------------------
>
>                 Key: SOLR-15745
>                 URL: https://issues.apache.org/jira/browse/SOLR-15745
>             Project: Solr
>          Issue Type: Sub-task
>          Components: v2 API
>            Reporter: Jason Gerlowski
>            Priority: Major
>              Labels: V2
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Solr's v2 APIs can be implemented in 1 of 2 possible ways: an apispec (i.e. 
> JSON file) based approach that was originally conceived when the v2 APIs were 
> created, and an approach that relies on annotated POJO objects which has come 
> into favor more recently as it results in less duplication and inches our 
> APIs ones step towards a more strongly-typed future.
> The consensus has emerged across several JIRAs that the annotated-POJO 
> approach is the one that should be used going forward, and that existing v2 
> APIs should be cut over as convenient.
> It's worth noting that this will cause the introspection output to lose the 
> "description" text for these APIs and their parameters, as there's no support 
> for this yet for annotation-based v2 APIs. See SOLR-15117 for more details.
> This ticket aims to tackle this conversion for the v2 equivalents of the v1 
> "Core Admin" APIs



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to