From 5c195b433cec786f64e49bee17440768a4fc518c Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 7 Jan 2021 17:49:33 +0100 Subject: [PATCH] Added sub check for service. --- 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 0810449..eb302af 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -177,7 +177,7 @@ public class PropertyChecker this.serviceRules.add("host.country.name", STRING, PropertyMode.WISHED); this.serviceRules.add("host.country.code", STRING, PropertyMode.WISHED); - // this.serviceRules.add(SUBS, URL, PropertyMode.MANDATORY); + this.serviceRules.add(SUBS, URL, PropertyMode.OPTIONAL); this.serviceRules.add(METRICS_NAME, STRING, PropertyMode.OPTIONAL); this.serviceRules.add(METRICS_DESCRIPTION, STRING, PropertyMode.OPTIONAL); this.serviceRules.add(METRICS_YEAR, NUMERIC, PropertyMode.OPTIONAL);