Comment 88 for bug 1581650

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/22621
Committed: http://github.org/Juniper/contrail-web-core/commit/c1817b1351738389662aced1a6feab9e196ee565
Submitter: Zuul
Branch: R3.1

commit c1817b1351738389662aced1a6feab9e196ee565
Author: Vishnu Vardhan V <email address hidden>
Date: Thu Jul 28 23:12:20 2016 +0530

Closes-Bug:#1581650
Did the following changes,
1)Using the start time and end time in query response for bucketizing the data, instead of the min & max time stamp of
response to make sure always the bars are of same width irrespective of data
2)When there is not data for a given bucket, adding 0.01 time the max value as data to improve look and feel.

Unit test results:
-----------------
Web Controller
-------------
PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 376 of 376 SUCCESS (3 mins 20.63 secs / 3 mins 7.78 secs)

Server Manager
-------------
PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 89 of 89 SUCCESS (24.105 secs / 22.555 secs)

Web Storage
-------
PhantomJS 1.9.8 (Mac OS X 0.0.0): Executed 84 of 84 SUCCESS (25.606 secs / 22.872 secs)

Change-Id: Ice947a7bff468992e111f20b64af5ba3ca5c359a
(cherry picked from commit 02b72c5f2c33a8bf197d85e0ac0422be1fed9e25)