The most of objects are removed from the extensions module. The last
thing is the expected_errors decorator, but that decorator is nothing
about the extensions. So move the decorator to the wsgi module where
is the place put the other decorator also. Then we can remove the
extensions module entirely.
Partial implement bp api-extensions-merge-queens
Change-Id: I4802c5b38001a756448d4feb9ca336908821f591
This patch adds os-cloudpipe 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.
Partial-implement-blueprint api-no-more-extensions-pike
Change-Id: Id02d878867dec642fab72981cd0b492c62c846fb
This commit removes the cloudpipe API from nova. This has been
deprecated since change I415760ff634dd85974f0c3f79e788e633852efb5 and no
longer works without nova-cert and the pending removal of the deprecated
nova-network.
Implements bp remove-nova-cert
Change-Id: Ifd1fb13a5953cc66f9cc2561d30a9efcd3f4c92e
Adds 'fatal' argument (with default value True) to context.
If the argument is False, if a nova.exception.Forbidden
is raised, False is returned instead. This is the equivalent of
soft_authorize.
Adds docstring to nova.context.RequestContext.can.
Adds unit tests for nova.context.RequestContext.can.
Partially-Implements: bp policy-in-code
Change-Id: Ib6388822da3d3eb9b8fbd9b5c341cd8efeb790fe
The skip_policy_check flag is used to skip the legacy v2 API
policy check points in the v2.1 API. The legacy v2 API is removed
and all the old policy check points removed also. This flag is
useless anymore, this patch cleanup them.
Partially implements blueprint remove-legacy-v2-api-code
Change-Id: Ia4a8d9954bf456253101b936f8b4ff513aaa73b2
Move all crypto configuration into [crypto] group. Update references to
these configuration options to reflect new group.
Change-Id: I660b5c20e2b33f276a9d4c49b0e6279d7d8e41c7
The config options of the "nova.conf" section "crypto"
got moved to the new central location "nova/conf/crypto.py"
Change-Id: Ia5e970694d384ef39a6050efb5db2f61e6f4205b
Implements: blueprint centralize-config-options-newton
Since oslo 1.6.0 timeutils.isotime() and timeutils.strtime() methods
are deprecated.
DeprecationWarning: Using function/method
'oslo_utils.timeutils.strtime()' is deprecated in version '1.6' and
will be removed in a future version: use either
datetime.datetime.isoformat() or datetime.datetime.strftime() instead
Change-Id: If69bd8a6bee052556ba8853afef3941bcd1e7b13
Closes-Bug: 1479056
Co-Authored-By: Diana Clarke <diana.joan.clarke@gmail.com>
This is step 4 of the remove v3 process. It moves the v2.1
json-schemas out of v3 directory, and also corrects all the
references.
Change-Id: Ibf88c38df951ed755b7431846cca7496f861c1dd
Partial-Bug: #1462901