From f7e86c290bc2497f2aeef52fa4a4a054f5bc4d0e Mon Sep 17 00:00:00 2001 From: He Jie Xu <hejie.xu@intel.com> Date: Wed, 19 Jul 2017 11:06:41 +0800 Subject: [PATCH] Use plain routes list for versions instead of stevedore This patch adds versions related routes by a plain list, instead of using stevedore. After all the Nova API endpoints moves to the plain routes list, the usage of stevedore for API loading will be removed from Nova To support the redirection from '' to '/', this patch also enables to put a target patch instead of a dict with supported methods in the ROUTE_LIST. Partial-implement-blueprint api-no-more-extensions-pike Change-Id: Iba340c5dd66cf9d006e2e8d3d0674b2140915014 --- setup.cfg | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 3b913a287..1c86c2d2c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -73,9 +73,6 @@ wsgi_scripts = nova-api-wsgi = nova.api.openstack.compute.wsgi:init_application nova-metadata-wsgi = nova.api.metadata.wsgi:init_application -nova.api.v21.extensions = - versions = nova.api.openstack.compute.versionsV21:Versions - nova.api.v21.test_extensions = basic = nova.tests.unit.api.openstack.compute.basic:Basic microversions = nova.tests.unit.api.openstack.compute.microversions:Microversions