Fixed service.registration property check.

This commit is contained in:
Christian P. MOMON 2021-06-22 12:38:33 +02:00
parent 3dfeb9626f
commit 2965b61dd0

View file

@ -166,7 +166,7 @@ public class PropertyChecker
this.serviceRules.add("service.enddate", DATE, PropertyMode.OPTIONAL); this.serviceRules.add("service.enddate", DATE, PropertyMode.OPTIONAL);
this.serviceRules.add("service.status.level", "^(OK|WARNING|ALERT|ERROR|OVER|VOID)$", PropertyMode.MANDATORY); this.serviceRules.add("service.status.level", "^(OK|WARNING|ALERT|ERROR|OVER|VOID)$", PropertyMode.MANDATORY);
this.serviceRules.add("service.status.description", STRING, PropertyMode.OPTIONAL); this.serviceRules.add("service.status.description", STRING, PropertyMode.OPTIONAL);
this.serviceRules.add("service.registration", "^(None|Free|Member|Client)\\s*([,;+]\\s*(None|Free|Member|Client))?$", PropertyMode.MANDATORY); this.serviceRules.add("service.registration", "^(None|Free|Member|Client)(\\s*[,;+]\\s*(None|Free|Member|Client))*$", PropertyMode.MANDATORY);
this.serviceRules.add("service.registration.load", "^(open|full)$", PropertyMode.MANDATORY); this.serviceRules.add("service.registration.load", "^(open|full)$", PropertyMode.MANDATORY);
this.serviceRules.add("service.install.type", "^(DISTRIBUTION|PROVIDER|PACKAGE|TOOLING|CLONEREPO|ARCHIVE|SOURCES|CONTAINER)$", PropertyMode.MANDATORY); this.serviceRules.add("service.install.type", "^(DISTRIBUTION|PROVIDER|PACKAGE|TOOLING|CLONEREPO|ARCHIVE|SOURCES|CONTAINER)$", PropertyMode.MANDATORY);