Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15086 SIP-12 Implementation Umbrella
  3. SOLR-15118

Make /v2/collections APIs annotation-based

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.0
    • 9.0, 8.9
    • v2 API
    • None

    Description

      The ApiBag class used to register v2 APIs (and the PathTrie object underlying it) only holds a single Api object for a given "method" and "path" combination. In short this means that API commands with the same method and path must be declared homogenously: they either have to all be in the JSON spec, or all be in annotated Java classes.

      The SIP-12 proposal calls for new "list-backups" and "delete-backups" APIs. For these v2 APIs to be annotation-based, as is preferred going forward, all of the existing /v2/collections APIs must be changed to be annotation-based as well.

      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.

      Attachments

        Issue Links

          Activity

            People

              gerlowskija Jason Gerlowski
              gerlowskija Jason Gerlowski
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 3h 20m
                  3h 20m