summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema/deployment.rnc
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2017-05-09 10:47:44 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2017-05-09 10:47:44 +0200
commit20b6883ae868ca9d9e5e7b7050fea3150f30d4e7 (patch)
tree2346fe2e9f4232001cce3ba170eb7e12a72dbf16 /config-model/src/main/resources/schema/deployment.rnc
parentd8dfc4f76766cf313d19693aa0b9c971d2a30f4e (diff)
Add upgrade to deployment.xml schema + deployment test
Diffstat (limited to 'config-model/src/main/resources/schema/deployment.rnc')
-rw-r--r--config-model/src/main/resources/schema/deployment.rnc5
1 files changed, 5 insertions, 0 deletions
diff --git a/config-model/src/main/resources/schema/deployment.rnc b/config-model/src/main/resources/schema/deployment.rnc
index 22ceab4efa5..c8bd11d7184 100644
--- a/config-model/src/main/resources/schema/deployment.rnc
+++ b/config-model/src/main/resources/schema/deployment.rnc
@@ -3,11 +3,16 @@
start = element deployment {
attribute version { "1.0" } &
+ Upgrade? &
Test? &
Staging? &
Prod*
}
+Upgrade = element upgrade {
+ attribute policy { xsd:string }
+}
+
Test = element test {
text
}