Added sub check for service.

This commit is contained in:
Christian P. MOMON 2021-01-07 17:49:33 +01:00
parent 0ac6c42fc2
commit 5c195b433c

View file

@ -177,7 +177,7 @@ public class PropertyChecker
this.serviceRules.add("host.country.name", STRING, PropertyMode.WISHED); this.serviceRules.add("host.country.name", STRING, PropertyMode.WISHED);
this.serviceRules.add("host.country.code", 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_NAME, STRING, PropertyMode.OPTIONAL);
this.serviceRules.add(METRICS_DESCRIPTION, STRING, PropertyMode.OPTIONAL); this.serviceRules.add(METRICS_DESCRIPTION, STRING, PropertyMode.OPTIONAL);
this.serviceRules.add(METRICS_YEAR, NUMERIC, PropertyMode.OPTIONAL); this.serviceRules.add(METRICS_YEAR, NUMERIC, PropertyMode.OPTIONAL);