Fixed organization.memberof.* checks.
This commit is contained in:
parent
3eb2807347
commit
35bddb9f26
1 changed files with 4 additions and 4 deletions
|
@ -123,10 +123,10 @@ public class PropertyChecker
|
||||||
this.organizationRules.add("organization.guide.technical", URL, PropertyMode.WISHED);
|
this.organizationRules.add("organization.guide.technical", URL, PropertyMode.WISHED);
|
||||||
this.organizationRules.add("organization.startdate", DATE, PropertyMode.WISHED);
|
this.organizationRules.add("organization.startdate", DATE, PropertyMode.WISHED);
|
||||||
this.organizationRules.add("organization.enddate", DATE, PropertyMode.OPTIONAL);
|
this.organizationRules.add("organization.enddate", DATE, PropertyMode.OPTIONAL);
|
||||||
this.organizationRules.add("organization.memberof.startdate", DATE, PropertyMode.MANDATORY);
|
this.organizationRules.add("organization.memberof.*.startdate", "^organization\\.memberof\\.\\S+\\.startdate$", DATE, PropertyMode.MANDATORY);
|
||||||
this.organizationRules.add("organization.memberof.enddate", DATE, PropertyMode.OPTIONAL);
|
this.organizationRules.add("organization.memberof.*.enddate", "^organization\\.memberof\\.\\S+\\.enddate$", DATE, PropertyMode.OPTIONAL);
|
||||||
this.organizationRules.add("organization.memberof.status.level", "^(ACTIVE|IDLE|AWAY)$", PropertyMode.MANDATORY);
|
this.organizationRules.add("organization.memberof.*.status.level", "^organization\\.memberof\\.\\S+\\.status.level$", "^(ACTIVE|IDLE|AWAY)$", PropertyMode.MANDATORY);
|
||||||
this.organizationRules.add("organization.memberof.status.description", STRING, PropertyMode.OPTIONAL);
|
this.organizationRules.add("organization.memberof.*.status.description", "^organization\\.memberof\\.\\S+\\.status.description$", STRING, PropertyMode.OPTIONAL);
|
||||||
|
|
||||||
this.organizationRules.add(SUBS, URL, PropertyMode.OPTIONAL);
|
this.organizationRules.add(SUBS, URL, PropertyMode.OPTIONAL);
|
||||||
this.organizationRules.add(METRICS_NAME, STRING, PropertyMode.OPTIONAL);
|
this.organizationRules.add(METRICS_NAME, STRING, PropertyMode.OPTIONAL);
|
||||||
|
|
Loading…
Reference in a new issue