From 77c77dada45e9a416b2e17d3aaf66ea7ad5efa1e Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 15 Apr 2021 05:24:16 +0200 Subject: [PATCH] Changed service.startdate to mandatory. --- 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 98d4358..d0329f3 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -158,7 +158,7 @@ public class PropertyChecker this.serviceRules.add("service.legal.url", URL, PropertyMode.WISHED); this.serviceRules.add("service.guide.user", URL, PropertyMode.WISHED); this.serviceRules.add("service.guide.technical", URL, PropertyMode.WISHED); - this.serviceRules.add("service.startdate", DATE, PropertyMode.WISHED); + this.serviceRules.add("service.startdate", DATE, PropertyMode.MANDATORY); 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);