ceilometer/ceilometer
Chris Dent 7d8aae08e7 Make ceilometer work correctly when hosted with a SCRIPT_NAME
In the past ceilometer was generaly hosted at / and URL generation
was relatively straightforward. It should also be possible to host
at /foobar or /telemetry and for URL generation to still work. This
changeset adds tests to confirm prefixed requests can work and fixes
the small number of issues that were found.

Note that because the ceilometer api has the temerity to not set
location headers, we can't test that those are working, because
there aren't any. In general that's the place where SCRIPT_NAME
mounting would show bugs.

But we can confirm that content-location headers are okay.

Closes-Bug: #1468796
Change-Id: I6e5cf440bc3bd8ffb4cc5c86aa19225b3c5f87ed
2015-07-08 12:41:08 +00:00
..
agent Remove the unused get_targets method of plugin base 2015-06-24 16:52:21 +08:00
alarm drop use of oslo.db private attribute 2015-06-23 15:33:55 -04:00
api Make ceilometer work correctly when hosted with a SCRIPT_NAME 2015-07-08 12:41:08 +00:00
cmd Merge "Remove unnecessary wrapping of transformer ExtentionManager" 2015-06-24 02:15:11 +00:00
compute Fixes DiskInfoPollster AttributeError exception 2015-05-29 14:17:04 -07:00
data_processing Drop use of 'oslo' namespace package. 2015-04-28 16:22:05 +00:00
dispatcher Gnocchi Dispatcher support in Ceilometer 2015-06-17 10:04:33 -04:00
energy use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
event Replaces methods deprecated in pymongo3.0 2015-06-24 10:27:58 +03:00
hacking enable oslo namespace check for ceilometer project 2015-02-11 16:09:19 +08:00
hardware use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
identity Fixing event types pattern for Role Noti. handler 2015-05-22 21:12:39 +00:00
image Drop use of 'oslo' namespace package. 2015-04-28 16:22:05 +00:00
ipmi Port IPMI to Python 3 2015-06-12 18:11:42 +02:00
key_value_storage Drop use of 'oslo' namespace package. 2015-04-28 16:22:05 +00:00
locale Imported Translations from Transifex 2015-06-23 06:14:25 +00:00
network Fix the meter unit types to be consistent 2015-06-15 15:37:37 +00:00
objectstore Remove deprecated Swift middleware 2015-06-09 18:05:19 +02:00
openstack Switch to oslo.service 2015-06-23 06:41:00 +02:00
orchestration Drop use of 'oslo' namespace package. 2015-04-28 16:22:05 +00:00
profiler Drop use of 'oslo' namespace package. 2015-04-28 16:22:05 +00:00
publisher use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
storage Improve doc strings after changing method for index creation 2015-07-02 18:53:09 +03:00
telemetry Add handler of sample creation notification 2015-06-24 17:11:59 +08:00
tests Make ceilometer work correctly when hosted with a SCRIPT_NAME 2015-07-08 12:41:08 +00:00
transformer Remove unnecessary wrapping of transformer ExtentionManager 2015-06-22 21:11:37 +08:00
volume Remove snapshot.update events as they are not sent 2015-06-03 16:30:36 -04:00
__init__.py Disable eventlet monkey-patching of DNS 2015-01-19 12:45:23 +00:00
collector.py Switch to oslo.service 2015-06-23 06:41:00 +02:00
coordination.py use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
i18n.py switch to oslo_i18n 2015-01-12 20:16:20 +08:00
keystone_client.py alarming: add gnocchi alarm rules 2015-02-23 16:57:43 +01:00
messaging.py Remove old oslo.messaging aliases 2015-06-08 11:04:37 +02:00
middleware.py Drop use of 'oslo' namespace package. 2015-04-28 16:22:05 +00:00
neutron_client.py use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
notification.py Switch to oslo.service 2015-06-23 06:41:00 +02:00
nova_client.py use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
opts.py Fix oslo.service configuration options building 2015-06-23 20:18:07 +02:00
pipeline.py drop deprecated pipeline 2015-07-02 21:39:39 -04:00
sample.py Add handler of sample creation notification 2015-06-24 17:11:59 +08:00
service.py use oslo.log instead of oslo-incubator code 2015-05-28 11:08:02 -04:00
utils.py add event listener to collector 2015-02-02 11:00:47 -05:00