monasca-log-api/monasca_log_api
Tomasz Trębski 21493ac9cf Ensure and verify utf-8 support
Added proper handling of unicode messages by expiclit
usage of unicode and utf-8 encoding for Python2.
For Python3 it was just sufficient to ensure that message
is properly UTF-8 encoded. Results of that change can be examined
inside Kibana (or using link [2]).

To prevent any regression, a set of unicode messages has been
added. It contains:

* 'Unicode is evil...' sentence translated to several languages
* border conditions of UnicodeStressTest [1]
* some funnier examples just because programming is fun

Extra:
* unified setting up API test case

[1]: http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt
[2]: https://pasteboard.co/x9gQqicR.png

Story: 2001084
Task: 4734

Change-Id: I36e3c2f1ea5788ecb19089089d84924b7d6666bf
2017-06-23 09:54:04 +02:00
..
api Fix cross-tenant logs submission 2017-06-03 14:19:52 +02:00
app Composite paste for monasca-log-api 2017-06-02 14:20:43 +00:00
db Internal interfaces for log listing API implementation 2017-03-24 11:19:01 +00:00
healthcheck Composite paste for monasca-log-api 2017-06-02 14:20:43 +00:00
middleware Fix cross-tenant logs submission 2017-06-03 14:19:52 +02:00
monitoring Replace LOG.warn with LOG.warning 2016-11-17 03:42:16 +00:00
reference Ensure and verify utf-8 support 2017-06-23 09:54:04 +02:00
tests Ensure and verify utf-8 support 2017-06-23 09:54:04 +02:00
__init__.py monasca-log-api python 2015-10-08 10:38:12 +02:00
version.py Composite paste for monasca-log-api 2017-06-02 14:20:43 +00:00