From 2965b61dd079aeceab87477de8b838dfda503e44 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Tue, 22 Jun 2021 12:38:33 +0200 Subject: [PATCH] Fixed service.registration property check. --- src/fr/devinsy/statoolinfos/checker/PropertyChecker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java index 776d771..cedc891 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -166,7 +166,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)\\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.install.type", "^(DISTRIBUTION|PROVIDER|PACKAGE|TOOLING|CLONEREPO|ARCHIVE|SOURCES|CONTAINER)$", PropertyMode.MANDATORY);