Changed host.description from wished to optional.

This commit is contained in:
Christian P. MOMON 2020-11-23 05:33:39 +01:00
parent c6eecdc424
commit 2166819c24

View file

@ -165,7 +165,7 @@ public class PropertyChecker
this.serviceRules.add("software.source.url", URL, PropertyMode.WISHED); this.serviceRules.add("software.source.url", URL, PropertyMode.WISHED);
this.serviceRules.add("host.name", STRING, PropertyMode.MANDATORY); this.serviceRules.add("host.name", STRING, PropertyMode.MANDATORY);
this.serviceRules.add("host.description", STRING, PropertyMode.WISHED); this.serviceRules.add("host.description", STRING, PropertyMode.OPTIONAL);
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);