@@ -434,9 +434,9 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
434434 public static final ConfigKey <Boolean > SET_HOST_DOWN_TO_MAINTENANCE = new ConfigKey <Boolean >(Boolean .class , "set.host.down.to.maintenance" , "Advanced" , "false" ,
435435 "Indicates whether the host in down state can be put into maintenance state so thats its not enabled after it comes back." ,
436436 true , ConfigKey .Scope .Zone , null );
437- public static final ConfigKey <Boolean > EnableAccountSettingsForDomain = new ConfigKey <Boolean >(Boolean .class , "enable.account.settings.for.domain" , "Advanced" , "false" ,
437+ public static final ConfigKey <Boolean > ENABLE_ACCOUNT_SETTINGS_FOR_DOMAIN = new ConfigKey <Boolean >(Boolean .class , "enable.account.settings.for.domain" , "Advanced" , "false" ,
438438 "Indicates whether to add account settings for domain. If true, account settings will be added to domain settings, all accounts in the domain will inherit the domain setting if account setting is not set." , true , ConfigKey .Scope .Global , null );
439- public static final ConfigKey <Boolean > EnableDomainSettingsForChildDomain = new ConfigKey <Boolean >(Boolean .class , "enable.domain.settings.for.child.domain" , "Advanced" , "false" ,
439+ public static final ConfigKey <Boolean > ENABLE_DOMAIN_SETTINGS_FOR_CHILD_DOMAIN = new ConfigKey <Boolean >(Boolean .class , "enable.domain.settings.for.child.domain" , "Advanced" , "false" ,
440440 "Indicates whether the settings of parent domain should be applied for child domain. If true, the child domain will get value from parent domain if its not configured in child domain else global value is taken." ,
441441 true , ConfigKey .Scope .Global , null );
442442
@@ -879,7 +879,7 @@ private String validateConfigurationValue(final String name, String value, final
879879 final String configScope = cfg .getScope ();
880880 if (scope != null ) {
881881 if (!configScope .contains (scope ) &&
882- !(EnableAccountSettingsForDomain .value () && configScope .contains (ConfigKey .Scope .Account .toString ()) &&
882+ !(ENABLE_ACCOUNT_SETTINGS_FOR_DOMAIN .value () && configScope .contains (ConfigKey .Scope .Account .toString ()) &&
883883 scope .equals (ConfigKey .Scope .Domain .toString ()))) {
884884 s_logger .error ("Invalid scope id provided for the parameter " + name );
885885 return "Invalid scope id provided for the parameter " + name ;
@@ -6557,7 +6557,7 @@ public ConfigKey<?>[] getConfigKeys() {
65576557 return new ConfigKey <?>[] {SystemVMUseLocalStorage , IOPS_MAX_READ_LENGTH , IOPS_MAX_WRITE_LENGTH ,
65586558 BYTES_MAX_READ_LENGTH , BYTES_MAX_WRITE_LENGTH , ADD_HOST_ON_SERVICE_RESTART_KVM , SET_HOST_DOWN_TO_MAINTENANCE , VM_SERVICE_OFFERING_MAX_CPU_CORES ,
65596559 VM_SERVICE_OFFERING_MAX_RAM_SIZE , VM_USERDATA_MAX_LENGTH , MIGRATE_VM_ACROSS_CLUSTERS ,
6560- EnableAccountSettingsForDomain , EnableDomainSettingsForChildDomain
6560+ ENABLE_ACCOUNT_SETTINGS_FOR_DOMAIN , ENABLE_DOMAIN_SETTINGS_FOR_CHILD_DOMAIN
65616561 };
65626562 }
65636563}
0 commit comments