← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1609932] Re: Added API extensions to detect sorting/pagination features

 

** Also affects: openstack-api-site
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1609932

Title:
      Added API extensions to detect sorting/pagination features

Status in neutron:
  New
Status in openstack-api-site:
  New

Bug description:
  https://review.openstack.org/329474
  Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
  Your project "openstack/neutron" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.

  commit 5e0878f476d7116bc4e0c29c7929718f379b36c2
  Author: Ihar Hrachyshka <ihrachys@xxxxxxxxxx>
  Date:   Tue Jun 14 16:16:06 2016 +0200

      Added API extensions to detect sorting/pagination features
      
      Those features are available only when allow_sorting and
      allow_pagination options are enabled (the current default is False).
      
      They don't depend on plugin support, because when plugins don't
      implement them natively, emulated mode is applied by API router itself.
      So to make it plugin agnostic, we introduce a way to register custom
      per-extension checks to override support detection for cases like that
      one.
      
      Now that we have a way to detect support for those features via API,
      there is little reason to keep tempest configuration options to enable
      those features. Instead, just inspect [network-feature-enabled]
      api_extensions option in tempest.conf.
      
      Now that DEFAULT_ALLOW_SORTING/DEFAULT_ALLOW_PAGINATION constants are
      used in a single place only (in allow_sorting/allow_pagination
      definitions), removed them and replaced with a literal.
      
      Added first in-tree API tests for /extensions entry point.
      
      DocImpact Update API documentation to cover new extensions.
      APIImpact Document the new extensions.
      Related-Bug: #1566514
      Change-Id: I0aaaa037a8ad52060a68dd75c0a1accc6add238e

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1609932/+subscriptions


References