From e14e6da6aa7bb144f7d9f2345f120e632f12b502 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 15 Apr 2021 03:56:56 +0200 Subject: [PATCH] Added service.registration.load check. --- src/fr/devinsy/statoolinfos/checker/PropertyChecker.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java index 076410d..98d4358 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -163,6 +163,7 @@ public class PropertyChecker 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.load", "^(open|full)$", 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);