Fixes resource name problem in "Resources Usage" tab
This patch replaces the resource id with resource name in the
""Resources Usage" Tab when selecting the "Group By" Filter to
"--".
In this fix i has created a mapping between the meter_name and the
api_type and upon depending the meter_name, the code make the
appropriate api call by passing the resource_id.
Reviewed: https:/ /review. openstack. org/125307 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=8225d2a33bc cdf3ed5a8e37046 aefa2091feef50
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8225d2a33bccdf3 ed5a8e37046aefa 2091feef50
Author: nikunj2512 <email address hidden>
Date: Wed Oct 1 14:06:25 2014 +0530
Fixes resource name problem in "Resources Usage" tab
This patch replaces the resource id with resource name in the
""Resources Usage" Tab when selecting the "Group By" Filter to
"--".
In this fix i has created a mapping between the meter_name and the
api_type and upon depending the meter_name, the code make the
appropriate api call by passing the resource_id.
Closes-bug: #1271342
Change-Id: Ie851cb34c9f16c 47ddd7eed4a19c7 7398e350048