Extended property check for service with host properties.
This commit is contained in:
parent
27d864c752
commit
149c425f53
1 changed files with 7 additions and 0 deletions
|
@ -164,6 +164,13 @@ public class PropertyChecker
|
|||
this.serviceRules.add("software.version", STRING, PropertyMode.WISHED);
|
||||
this.serviceRules.add("software.source.url", URL, PropertyMode.WISHED);
|
||||
|
||||
this.serviceRules.add("host.name", STRING, PropertyMode.MANDATORY);
|
||||
this.serviceRules.add("host.description", STRING, PropertyMode.WISHED);
|
||||
this.serviceRules.add("host.server.type", "^(NANO|PHYSICAL|VIRTUAL|SHARED|CLOUD)$", PropertyMode.MANDATORY);
|
||||
this.serviceRules.add("host.provider.type", "^(HOME|HOSTEDBAY|HOSTEDSERVER|OUTSOURCED)$", PropertyMode.MANDATORY);
|
||||
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(METRICS_NAME, STRING, PropertyMode.OPTIONAL);
|
||||
this.serviceRules.add(METRICS_DESCRIPTION, STRING, PropertyMode.OPTIONAL);
|
||||
|
|
Loading…
Reference in a new issue