diff --git a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java index 81b3d88..81e5607 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -164,6 +164,13 @@ public class PropertyChecker this.serviceRules.add("software.version", STRING, PropertyMode.WISHED); this.serviceRules.add("software.source.url", URL, PropertyMode.WISHED); + this.serviceRules.add("host.name", STRING, PropertyMode.MANDATORY); + this.serviceRules.add("host.description", STRING, PropertyMode.WISHED); + 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.country.name", STRING, PropertyMode.WISHED); + this.serviceRules.add("host.country.code", STRING, PropertyMode.WISHED); + // this.serviceRules.add(SUBS, URL, PropertyMode.MANDATORY); this.serviceRules.add(METRICS_NAME, STRING, PropertyMode.OPTIONAL); this.serviceRules.add(METRICS_DESCRIPTION, STRING, PropertyMode.OPTIONAL);