placement/placement
Chris Dent d2b452d7f5 Simplify placement.microversion:_fully_qualified_name
_fully_qualified_name was copied from Twisted. The original
version does more than Placement needs. We only need to
handle module-level classes and functions (and really only
functions). No nested of those, nor object methods in any
form.

This is because we only use the method for finding the
right microversioned handler of a method with the same
name and placement HTTP handlers are universally functions.

The previous version of the method had code that was never
called. Here, that dead code is removed and the remainder
is simplified.

If it is called incorrectly there will be an (intentionally)
untrapped TypeError during running of the tests.

N.B.: This was discovered while reviewing coverage data.

Change-Id: Id8f96801116818dda6c68c301619aee185e8fbff
2019-07-12 14:27:41 +01:00
..
cmd Change "Missing Root Provider IDs" upgrade check to a failure 2019-05-22 14:45:36 -04:00
conf Modernize CORS config and setup 2019-05-29 10:31:14 +01:00
db Add a blocker migration for missing consumer records 2019-06-12 12:08:55 +01:00
handlers Support `same_subtree` queryparam 2019-07-09 07:21:53 +00:00
objects Merge "Support `same_subtree` queryparam" 2019-07-09 22:49:26 +00:00
policies Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
schemas Support `same_subtree` queryparam 2019-07-09 07:21:53 +00:00
tests Merge "Add a test for granular member_of not flowing down" 2019-07-10 07:23:35 +00:00
__init__.py Move the placement code to the base 2018-09-04 10:31:23 -05:00
auth.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
context.py Add online-data-migration DB commands 2019-01-18 14:13:25 +00:00
db_api.py Make the PlacementFixture usable without intercept 2019-03-04 20:55:22 +00:00
deploy.py Add support for osprofiler in wsgi 2019-06-20 13:53:19 +00:00
direct.py Remove pep8 whitespace ignores 2019-03-05 18:18:30 -06:00
errors.py Add query.duplicate_key and .bad_value in api-ref 2019-07-09 10:32:45 +00:00
exception.py Miscellaneous doc/comment/log cleanups 2019-06-25 08:33:28 -05:00
fault_wrap.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
handler.py Remove use of oslo.i18n and translation 2019-03-25 16:59:21 +00:00
lib.py Merge "Support `same_subtree` queryparam" 2019-07-09 22:49:26 +00:00
microversion.py Simplify placement.microversion:_fully_qualified_name 2019-07-12 14:27:41 +01:00
policy.py Make policy init more threadsafe 2019-03-12 11:14:41 +00:00
requestlog.py Remove pep8 whitespace ignores 2019-03-05 18:18:30 -06:00
resource_class_cache.py Trivial: Fix docs for functions 2019-07-09 07:44:39 +00:00
rest_api_version_history.rst Support `same_subtree` queryparam 2019-07-09 07:21:53 +00:00
util.py Negative member_of query with microversion 1.32 2019-03-29 05:14:27 +00:00
wsgi.py Add support for osprofiler in wsgi 2019-06-20 13:53:19 +00:00
wsgi_wrapper.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00