panko/ceilometer/tests/unit
Mehdi Abaakouk fb0601a90d Fixes the kafka publisher
The kafka publusher is not concurrency safe at all.
And the sample/event payload cannot be serialized correctly

To fix that:
* the code now is shared with the messaging one.
* the connection to kafka is done before sending messaging to not touch
  the queue
* use jsonutils to serialize samples

Change-Id: I3fb731d2eb33cbfba38c5165ce9874af89072e34
Closes-bug: #1479976
2015-08-06 11:53:11 +02:00
..
agent Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
alarm Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
api Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
compute Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
data_processing Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
database Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
dispatcher Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
dns Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
energy Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
event Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
hardware Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
identity Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
image Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
ipmi Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
key_value_storage Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
meter Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
network Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
objectstore Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
orchestration Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
profiler Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
publisher Fixes the kafka publisher 2015-08-06 11:53:11 +02:00
storage Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
telemetry Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
volume Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
__init__.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
test_coordination.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
test_decoupled_pipeline.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
test_event_pipeline.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
test_hacking.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
test_messaging.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
test_middleware.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
test_neutronclient.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
test_novaclient.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
test_sample.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00
test_utils.py Initial separating unit and functional tests 2015-08-06 07:59:45 +03:00