monasca-log-api/monasca_log_api/reference
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
..
common Ensure and verify utf-8 support 2017-06-30 03:58:42 +00:00
v2 Make monasca-log-api work with Python 3.5 2017-01-18 13:41:29 +01:00
v3 Make monasca-log-api work with Python 3.5 2017-01-18 13:41:29 +01:00
__init__.py Moving unversioned endpoints 2016-03-11 08:21:47 +00:00
healthchecks.py Moving unversioned endpoints 2016-03-11 08:21:47 +00:00
versions.py Make monasca-log-api work with Python 3.5 2017-01-18 13:41:29 +01:00