monasca-log-api/monasca_log_api
Tomasz Trębski 20ed6513ee 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

(cherry-picked from commit 21493ac9cf)
Depends-On: I5cc2ab2fd28ce8f82a9983ffb5ebb03a834d64ff
Change-Id: I36e3c2f1ea5788ecb19089089d84924b7d6666bf
2017-06-30 03:58:42 +00:00
..
api Integration with oslo.context 2017-01-09 05:36:03 +00:00
healthcheck Updated from global requirements 2017-01-26 08:02:03 +01:00
middleware Replace LOG.warn with LOG.warning 2016-11-17 03:42:16 +00: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-30 03:58:42 +00:00
tests Ensure and verify utf-8 support 2017-06-30 03:58:42 +00:00
wsgi Adding WSGI support 2017-03-15 09:26:41 +00:00
.gitignore monasca-log-api python 2015-10-08 10:38:12 +02:00
__init__.py monasca-log-api python 2015-10-08 10:38:12 +02:00
server.py Make monasca-log-api work with Python 3.5 2017-01-18 13:41:29 +01:00
uri_map.py Mark /v2.0/log/single as deprecated 2016-03-24 10:58:23 +00:00