Added check rule for host.server.distribution.

This commit is contained in:
Christian P. MOMON 2022-03-23 16:12:19 +01:00
parent 950d06fae7
commit c858a23e0d

View file

@ -183,6 +183,7 @@ public class PropertyChecker
this.serviceRules.add("host.name", STRING, PropertyMode.MANDATORY); this.serviceRules.add("host.name", STRING, PropertyMode.MANDATORY);
this.serviceRules.add("host.description", STRING, PropertyMode.OPTIONAL); this.serviceRules.add("host.description", STRING, PropertyMode.OPTIONAL);
this.serviceRules.add("host.server.distribution", STRING, PropertyMode.MANDATORY);
this.serviceRules.add("host.server.type", "^(NANO|PHYSICAL|VIRTUAL|SHARED|CLOUD)$", PropertyMode.MANDATORY); this.serviceRules.add("host.server.type", "^(NANO|PHYSICAL|VIRTUAL|SHARED|CLOUD)$", PropertyMode.MANDATORY);
this.serviceRules.add("host.provider.type", "^(HOME|HOSTEDBAY|HOSTEDSERVER|OUTSOURCED)$", PropertyMode.MANDATORY); this.serviceRules.add("host.provider.type", "^(HOME|HOSTEDBAY|HOSTEDSERVER|OUTSOURCED)$", PropertyMode.MANDATORY);
this.serviceRules.add("host.country.name", STRING, PropertyMode.WISHED); this.serviceRules.add("host.country.name", STRING, PropertyMode.WISHED);