Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15182 Rewrite V2 APIs using annotation framework
  3. SOLR-15745

Rewrite v2 core-admin APIs using annotation framework

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.1, main (10.0)
    • v2 API

    Description

      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

      Attachments

        Activity

          People

            gerlowskija Jason Gerlowski
            gerlowskija Jason Gerlowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 8h 50m
                8h 50m