Added space management in service.registration check.

This commit is contained in:
Christian P. MOMON 2021-03-01 01:13:38 +01:00
parent 37a04848ef
commit 6b227a9d12

View file

@ -162,7 +162,7 @@ public class PropertyChecker
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.description", STRING, PropertyMode.OPTIONAL);
this.serviceRules.add("service.registration", "^(None|Free|Member|Client)([,;+](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.install.type", "^(DISTRIBUTION|PROVIDER|PACKAGE|TOOLING|CLONEREPO|ARCHIVE|SOURCES|CONTAINER)$", PropertyMode.MANDATORY);
this.serviceRules.add("software.name", STRING, PropertyMode.MANDATORY);