aboutsummaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorHarald Musum <musum@yahoo-inc.com>2016-10-04 12:43:06 +0200
committerHarald Musum <musum@yahoo-inc.com>2016-10-04 12:43:06 +0200
commit2353a83493ee935017095d240ec5cd03c01b73b4 (patch)
treed55f23e458392525e0746a489e7299782f9c0633 /config-model
parent8c1b905743d673f614297c8e5260628f76df6937 (diff)
Add test application
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/test/cfg/application/empty_prod_region_in_deployment_xml/deployment.xml5
-rw-r--r--config-model/src/test/cfg/application/empty_prod_region_in_deployment_xml/hosts.xml9
-rw-r--r--config-model/src/test/cfg/application/empty_prod_region_in_deployment_xml/services.xml15
3 files changed, 29 insertions, 0 deletions
diff --git a/config-model/src/test/cfg/application/empty_prod_region_in_deployment_xml/deployment.xml b/config-model/src/test/cfg/application/empty_prod_region_in_deployment_xml/deployment.xml
new file mode 100644
index 00000000000..d04cc5dfd65
--- /dev/null
+++ b/config-model/src/test/cfg/application/empty_prod_region_in_deployment_xml/deployment.xml
@@ -0,0 +1,5 @@
+<deployment version="1.0">
+ <test/>
+ <staging/>
+ <prod />
+</deployment>
diff --git a/config-model/src/test/cfg/application/empty_prod_region_in_deployment_xml/hosts.xml b/config-model/src/test/cfg/application/empty_prod_region_in_deployment_xml/hosts.xml
new file mode 100644
index 00000000000..132169097cf
--- /dev/null
+++ b/config-model/src/test/cfg/application/empty_prod_region_in_deployment_xml/hosts.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<hosts>
+ <host name="localhost">
+ <alias>node1</alias>
+ </host>
+ <host name="schmocalhost">
+ <alias>node2</alias>
+ </host>
+</hosts>
diff --git a/config-model/src/test/cfg/application/empty_prod_region_in_deployment_xml/services.xml b/config-model/src/test/cfg/application/empty_prod_region_in_deployment_xml/services.xml
new file mode 100644
index 00000000000..a1702af234f
--- /dev/null
+++ b/config-model/src/test/cfg/application/empty_prod_region_in_deployment_xml/services.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<services version="1.0">
+
+ <admin version="2.0">
+ <adminserver hostalias="node1"/>
+ </admin>
+
+ <container version="1.0">
+ <nodes>
+ <node hostalias="node1" />
+ </nodes>
+ <search/>
+ </container>
+
+</services>