-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the slow rest api, get boot parameters (#42)
Made the following improvements when getting boot parameters by name, nid, or mac. - Changed to first look up the name directly in the etcd data. In most cases the request is going to be for an x name and so this check will be the fastest way to satisfy the request. - Changed to use the values it gets in its initial getting of etcd data. The previous implementation was only using the names, and then re-getting the value on a per name case. - Changed to only get the kernel and initrd data once per http request. - Added an "ID to SMComponent" map for the cached state manager data. The previous implementation was looping through this data for each boot parameter entry. Jira: CASMHMS-4540
- Loading branch information
Showing
5 changed files
with
180 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.13.0 | ||
1.14.0 |
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