{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6359","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6359/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6359/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6359/events","html_url":"https://github.com/ManageIQ/manageiq/pull/6359","id":129101601,"number":6359,"title":"Selectable rate details","user":{"login":"amaurygonzalez","id":14124243,"avatar_url":"https://avatars.githubusercontent.com/u/14124243?v=3","gravatar_id":"","url":"https://api.github.com/users/amaurygonzalez","html_url":"https://github.com/amaurygonzalez","followers_url":"https://api.github.com/users/amaurygonzalez/followers","following_url":"https://api.github.com/users/amaurygonzalez/following{/other_user}","gists_url":"https://api.github.com/users/amaurygonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/amaurygonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaurygonzalez/subscriptions","organizations_url":"https://api.github.com/users/amaurygonzalez/orgs","repos_url":"https://api.github.com/users/amaurygonzalez/repos","events_url":"https://api.github.com/users/amaurygonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/amaurygonzalez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/chargeback","name":"chargeback","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/ui","name":"ui","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-27T10:36:54Z","updated_at":"2016-02-08T17:25:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/6359","html_url":"https://github.com/ManageIQ/manageiq/pull/6359","diff_url":"https://github.com/ManageIQ/manageiq/pull/6359.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/6359.patch"},"body":"# Selectable and dynamic Rates\r\nWith this pull request we aim to make clearer the process of setting up a rate and leave open the possibility of adding more levels of pricing in the future (to charging for Envelope, OpenShift users etc.)\r\n## Compute and Storage Rate joined together in one Rate with his rate details\r\nFirst of all we will change the rate view to show one rate that groups the Compute metrics and the Storage metrics. It is maintained the class models and the actual assignments process. This implies changes in the accordion and the rate views. \r\n\r\n_Compute and Storage Rate joined together in one Rate:_\r\n![](http://res.cloudinary.com/ddtbdqfq7/image/upload/v1452873040/Captura_de_pantalla_de_2016-01-15_16-50-14_wnuxb4.png)\r\n## Selectable metrics for a rate\r\nAt present, the CF rate has a predefined rate metrics in a table way. With this part of the new feature the admin can choose the metrics that he want in the CF rate. Also can delete the metrics that not need in the rate:\r\n\r\n_View of the new functionality:_\r\n![](http://res.cloudinary.com/ddtbdqfq7/image/upload/v1452780299/pull-request-enero_2_yukcyw.png)\r\n\r\n## Selectable columns for a Chargeback report\r\nIn a report based on Chargeback the columns that are shown must be the same that are selected on a rate.  A compute rate is defined with Allocated CPU Metrics and DiskIO metric, this columns are the only that the chargeback report show for to select."},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/181485560","html_url":"https://github.com/ManageIQ/manageiq/pull/6359#issuecomment-181485560","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/6359","id":181485560,"user":{"login":"h-kataria","id":3450808,"avatar_url":"https://avatars.githubusercontent.com/u/3450808?v=3","gravatar_id":"","url":"https://api.github.com/users/h-kataria","html_url":"https://github.com/h-kataria","followers_url":"https://api.github.com/users/h-kataria/followers","following_url":"https://api.github.com/users/h-kataria/following{/other_user}","gists_url":"https://api.github.com/users/h-kataria/gists{/gist_id}","starred_url":"https://api.github.com/users/h-kataria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h-kataria/subscriptions","organizations_url":"https://api.github.com/users/h-kataria/orgs","repos_url":"https://api.github.com/users/h-kataria/repos","events_url":"https://api.github.com/users/h-kataria/events{/privacy}","received_events_url":"https://api.github.com/users/h-kataria/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T17:25:33Z","updated_at":"2016-02-08T17:25:33Z","body":"@amaurygonzalez marking this PR as WIP since you are working on redesigning and fixing issues."}}