From 0eb6af852b094a107c0028ca3b8b70f615641dc6 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 21 Jan 2021 04:52:04 +0100 Subject: [PATCH] Updated *.country.* check settings. --- src/fr/devinsy/statoolinfos/checker/PropertyChecker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java index a966525..882b02c 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -127,7 +127,7 @@ public class PropertyChecker this.organizationRules.add("organization.memberof.*.enddate", "^organization\\.memberof\\.\\S+\\.enddate$", DATE, PropertyMode.OPTIONAL); this.organizationRules.add("organization.memberof.*.status.level", "^organization\\.memberof\\.\\S+\\.status.level$", "^(ACTIVE|IDLE|AWAY)$", PropertyMode.MANDATORY); this.organizationRules.add("organization.memberof.*.status.description", "^organization\\.memberof\\.\\S+\\.status.description$", STRING, PropertyMode.OPTIONAL); - this.organizationRules.add("organization.country.name", STRING, PropertyMode.MANDATORY); + this.organizationRules.add("organization.country.name", STRING, PropertyMode.WISHED); this.organizationRules.add("organization.country.code", COUNTRY_CODE, PropertyMode.MANDATORY); this.organizationRules.add("organization.funding.*", "^organization\\.funding\\.\\S+$", STRING, PropertyMode.OPTIONAL); @@ -178,7 +178,7 @@ public class PropertyChecker 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", COUNTRY_CODE, PropertyMode.WISHED); + this.serviceRules.add("host.country.code", COUNTRY_CODE, PropertyMode.MANDATORY); this.serviceRules.add(SUBS, URL, PropertyMode.OPTIONAL); this.serviceRules.add(METRICS_NAME, STRING, PropertyMode.OPTIONAL);