This repository has been archived by the owner on Dec 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update aggregate_by_status to return objects instead of arrays, add c…
…heck_resources argument Summary: This makes the following changes: - Moves default CPU and memory usage into the constants file. - Updates aggregate_by_status to return hashes of info with names, instead of an array. This makes future updates easier, and improves readability. - Adds check_resources argument that adds cpu and memory aggregate data to the hashes, at the expense of a potentially slower loading time. - Updates Changes UI to work with new format of endpoint. We can't land this until: - test properly, without mocks Test Plan: wrote tests, but a bit worried the mock test isn't enough to prove this endpoint works. Reviewers: kylec Reviewed By: kylec Subscribers: treaster, changesbot Tags: #changes_ui Differential Revision: https://tails.corp.dropbox.com/D223367
- Loading branch information
Robert Lord
committed
Aug 31, 2016
1 parent
93a0030
commit d9ca2b7
Showing
5 changed files
with
131 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters