summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/schema-test-files/services-hosted-infrastructure.xml
diff options
context:
space:
mode:
authorgjoranv <gv@yahoo-inc.com>2017-01-27 15:47:25 +0100
committergjoranv <gv@yahoo-inc.com>2017-01-27 15:47:25 +0100
commit308c9f1ff7091cbfd9421b5991cb1c5dcc1f526c (patch)
tree823814b0cfbb9712c6f1d98e445ecf62551be550 /config-model/src/test/schema-test-files/services-hosted-infrastructure.xml
parentc9e5fba7843eebf917415ebeb2ce52d45366917e (diff)
Add 'application-type' attribute on 'services'
- If present, only allowed value is 'hosted-infrastructure'.
Diffstat (limited to 'config-model/src/test/schema-test-files/services-hosted-infrastructure.xml')
-rw-r--r--config-model/src/test/schema-test-files/services-hosted-infrastructure.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/config-model/src/test/schema-test-files/services-hosted-infrastructure.xml b/config-model/src/test/schema-test-files/services-hosted-infrastructure.xml
new file mode 100644
index 00000000000..5f68dee03ff
--- /dev/null
+++ b/config-model/src/test/schema-test-files/services-hosted-infrastructure.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!-- Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
+<services version="1.0" application-type="hosted-infrastructure">
+
+ <admin version="4.0">
+ <slobroks><nodes count="3" flavor="small"/></slobroks>
+ <logservers><nodes count="1" dedicated="true"/></logservers>
+ <yamas systemname="vespa.routing" interval="60" />
+ <metric-consumers>
+ <consumer name="yamas">
+ <metric name="upstreams_generated" />
+ <metric name="upstreams_nginx_reloads" />
+ <metric name="upstreams_nginx_reloads_succeeded" />
+ <metric name="upstreams_configuration_age.last" />
+ <metric name="nginx.upstreams.up.last" output-name="nginx.upstreams.up"/>
+ <metric name="nginx.upstreams.down.last" output-name="nginx.upstreams.down"/>
+ </consumer>
+ </metric-consumers>
+ </admin>
+
+ <jdisc id="container" version="1.0">
+ <nodes count="5" flavor="medium"/>
+ </jdisc>
+
+ <content id="search" version="1.0">
+ <redundancy>2</redundancy>
+ <controllers><nodes count="3" dedicated="true"/></controllers>
+ <nodes count="7" flavor="large" groups="12"/>
+ </content>
+
+</services>