-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add new resource origin ComputeAttributesOrigin (available during host creation) * In ResourceOrigins, iterate hosts by name instead of id (new host has no id) * Add resource quota exception classes * Add host managed extensions test * Add host managed factory extensions * Fix resource to string and tests * Fix deepCopy null error * Fix autoload filepaths
- Loading branch information
1 parent
b908290
commit 3613596
Showing
18 changed files
with
669 additions
and
192 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# frozen_string_literal: true | ||
|
||
module ForemanResourceQuota | ||
module Exceptions | ||
class HostResourceQuotaEmptyException < Foreman::Exception | ||
end | ||
|
||
class ResourceLimitException < Foreman::Exception | ||
end | ||
|
||
class HostResourcesException < Foreman::Exception | ||
end | ||
|
||
class ResourceQuotaUtilizationException < Foreman::Exception | ||
end | ||
end | ||
end |
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
Oops, something went wrong.