magnum/magnum/tests/unit/common
Tovin Seven 32d088b2c1 Integrate OSProfiler in Magnum
* Add osprofiler wsgi middleware. This middleware is used for 2 things:
  1) It checks that person who wants to trace is trusted and knows
     secret HMAC key.
  2) It starts tracing in case of proper trace headers
     and adds first wsgi trace point, with info about HTTP request

* Add initialization of osprofiler at start of service
  Currently that includes oslo.messaging notifer instance creation
  to send Ceilometer backend notifications.

* Traces HTTP/RPC/DB API calls

Demo: https://hieulq.github.io/cluster-create-false-new-html.html

Co-Authored-By: Hieu LE <hieulq@vn.fujitsu.com>
Implements: blueprint osprofiler-support-in-magnum
Change-Id: I7d68995aab81d365433950aada078ef1fcd5469b
2017-01-24 07:43:31 +07:00
..
cert_manager Replace naked exceptions in barbican_cert_manager 2016-10-17 15:35:15 -04:00
x509 Remove unnecessary setUp and tearDown 2016-09-20 11:59:08 +08:00
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
test_clients.py Fix compatibility with novaclient 7.0.0 2017-01-20 20:06:54 +05:30
test_context.py Fix the incorrect initialization of context roles 2017-01-07 23:35:08 -06:00
test_docker_utils.py Centralize config option: docker section 2016-09-22 05:57:31 +00:00
test_exception.py Remove redundant exceptions code 2016-05-25 09:45:51 +01:00
test_keystone.py Centralize config option: keystone_auth section 2016-09-22 05:57:53 +00:00
test_profiler.py Integrate OSProfiler in Magnum 2017-01-24 07:43:31 +07:00
test_rpc.py Integrate OSProfiler in Magnum 2017-01-24 07:43:31 +07:00
test_service.py Improve unit test coverage for common/service.py 2016-08-12 00:42:52 +00:00
test_short_id.py Do not use translate to delete chars 2016-02-29 14:34:07 +08:00
test_urlfetch.py Fix order of arguments in assertEqual 2015-10-10 18:11:18 +08:00
test_utils.py Use function is_valid_mac from oslo.utils 2016-10-21 13:41:38 +08:00