diff options
author | gjoranv <gv@verizonmedia.com> | 2020-02-18 11:27:41 +0100 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2020-02-18 11:27:41 +0100 |
commit | 2c91925f741655a821de9aefadf26bcf66494b71 (patch) | |
tree | 99b7a887068861ba1d42f6d2d3bf09d51daf5e74 /config-model/src/main/resources | |
parent | 17c5ae02ee13cf47516788263aa1792414a8c6a6 (diff) |
Add xml schema for 'cloudwatch' element.
Diffstat (limited to 'config-model/src/main/resources')
-rw-r--r-- | config-model/src/main/resources/schema/admin.rnc | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/config-model/src/main/resources/schema/admin.rnc b/config-model/src/main/resources/schema/admin.rnc index 7a3e2916f94..055f57dd7c0 100644 --- a/config-model/src/main/resources/schema/admin.rnc +++ b/config-model/src/main/resources/schema/admin.rnc @@ -82,10 +82,25 @@ Metrics = element metrics { element metric { attribute id { xsd:Name } & attribute display-name { xsd:Name }? - }* + }* & + Cloudwatch? }+ } +Cloudwatch = element cloudwatch { + attribute region { xsd:Name } & + attribute namespace { xsd:Name } & + ( + ( + element access-key-name { xsd:Name } & + element secret-key-name { xsd:Name } + ) + | + element profile { xsd:Name } + )? + +} + ClusterControllers = element cluster-controllers { attribute standalone-zookeeper { xsd:string }? & element cluster-controller { |