You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: framework/quota/src/main/java/org/apache/cloudstack/quota/activationrule/presetvariables/ComputeOffering.java
@PresetVariableDefinition(description = "A boolean informing if the cluster configuration force.ha is enabled or not.", supportedTypes = {QuotaTypes.RUNNING_VM})
Copy file name to clipboardexpand all lines: framework/quota/src/main/java/org/apache/cloudstack/quota/activationrule/presetvariables/PresetVariableHelper.java
Copy file name to clipboardexpand all lines: framework/quota/src/main/java/org/apache/cloudstack/quota/activationrule/presetvariables/PresetVariables.java
+11
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,9 @@ public class PresetVariables {
39
39
@PresetVariableDefinition(description = "Zone where the resource is.")
40
40
privateGenericPresetVariablezone;
41
41
42
+
@PresetVariableDefinition(description = "Configurations of the resource.")
43
+
privateConfigurationconfiguration;
44
+
42
45
@PresetVariableDefinition(description = "A list containing the tariffs ordered by the field 'position'.")
43
46
privateList<Tariff> lastTariffs;
44
47
@@ -90,6 +93,14 @@ public void setZone(GenericPresetVariable zone) {
Copy file name to clipboardexpand all lines: framework/quota/src/test/java/org/apache/cloudstack/quota/activationrule/presetvariables/PresetVariableHelperTest.java
+64-3
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,8 @@
27
27
importjava.util.Map;
28
28
importjava.util.Set;
29
29
30
+
importcom.cloud.dc.ClusterDetailsDao;
31
+
importcom.cloud.dc.ClusterDetailsVO;
30
32
importcom.cloud.host.HostTagVO;
31
33
importcom.cloud.hypervisor.Hypervisor;
32
34
importcom.cloud.storage.StoragePoolTagVO;
@@ -123,6 +125,9 @@ public class PresetVariableHelperTest {
0 commit comments