Added organization.memberof.* checks.

This commit is contained in:
Christian P. MOMON 2021-01-07 00:46:53 +01:00
parent 83fa3a6b02
commit 3eb2807347

View file

@ -123,6 +123,10 @@ public class PropertyChecker
this.organizationRules.add("organization.guide.technical", URL, PropertyMode.WISHED);
this.organizationRules.add("organization.startdate", DATE, PropertyMode.WISHED);
this.organizationRules.add("organization.enddate", DATE, PropertyMode.OPTIONAL);
this.organizationRules.add("organization.memberof.startdate", DATE, PropertyMode.MANDATORY);
this.organizationRules.add("organization.memberof.enddate", DATE, PropertyMode.OPTIONAL);
this.organizationRules.add("organization.memberof.status.level", "^(ACTIVE|IDLE|AWAY)$", PropertyMode.MANDATORY);
this.organizationRules.add("organization.memberof.status.description", STRING, PropertyMode.OPTIONAL);
this.organizationRules.add(SUBS, URL, PropertyMode.OPTIONAL);
this.organizationRules.add(METRICS_NAME, STRING, PropertyMode.OPTIONAL);