Updated *.country.* check settings.

This commit is contained in:
Christian P. MOMON 2021-01-21 04:52:04 +01:00
parent a083687777
commit 0eb6af852b

View file

@ -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);