monasca-api/monasca_api
Ryan Brandt b94e959f89 Fix Influx statistics and Alarm History behavior
Fix influx statistics query to include the timestamp offset

Fix monasca_tempest_tests.tests.api.test_statistics.TestStatistics.test_list_statistics_with_offset_limit by
assuming offset is an opaque value and making sure it is urldecoded and urlencoded as it should be. Also,
previously, the test was trying to use an offset returned by measurement-list and apply it to metric-statistics.
That is not required to work by the API definition and should not be attempted

There was a bug in the Java parsing of timestamps which was causing
2016-08-05T17:33:13.310Z to be converted to 2016-08-05T17:33:13.031Z. This caused
Alarm Histories to be appear to be out of order which caused the tests to fail randomly.
Fixed that bug and added unit tests

Change-Id: Iedccae6584e01c56cc05dcc45f9b124cb7d61109
2016-08-18 16:26:30 -06:00
..
api Adds support for notification plugins in monacaapi 2016-08-01 12:49:05 -07:00
common Fix Influx statistics and Alarm History behavior 2016-08-18 16:26:30 -06:00
expression_parser (Non)deterministic support for alarms 2016-06-08 09:24:21 +02:00
middleware Clean up removed hacking rule from [flake8] ignore lists 2016-01-24 20:45:08 +08:00
tests Merge "Enable Cassandra Database" 2016-08-04 13:17:34 +00:00
v2 Add monasca api read-only user role 2016-08-04 10:30:48 -06:00
__init__.py Updated for Falcon 0.2 and clean-up 2015-06-06 21:47:03 -06:00