diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2017-10-09 15:19:17 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2017-10-09 15:19:17 +0200 |
commit | e9f9e0697b8bc4789058171b3f642ea9fd18b97a (patch) | |
tree | cea2d6c0e3def9c9ae037435a89e36e83c876ae9 /config-model/src | |
parent | a9516bbd206d26180d9bc6f0ab080588b4ca52a0 (diff) |
Support blocking application changes
Diffstat (limited to 'config-model/src')
-rw-r--r-- | config-model/src/main/resources/schema/deployment.rnc | 4 | ||||
-rw-r--r-- | config-model/src/test/schema-test-files/deployment.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/main/resources/schema/deployment.rnc b/config-model/src/main/resources/schema/deployment.rnc index 16cc3acfafa..03331807d15 100644 --- a/config-model/src/main/resources/schema/deployment.rnc +++ b/config-model/src/main/resources/schema/deployment.rnc @@ -17,8 +17,8 @@ Upgrade = element upgrade { } BlockChange = element block-change { - attribute revisions { xsd:boolean }? & - attribute versions { xsd:boolean }? & + attribute revision { xsd:boolean }? & + attribute version { xsd:boolean }? & attribute days { xsd:string } & attribute hours { xsd:string } & attribute time-zone { xsd:string }? diff --git a/config-model/src/test/schema-test-files/deployment.xml b/config-model/src/test/schema-test-files/deployment.xml index 2fd6d7c3ec8..1b2a61e1a7a 100644 --- a/config-model/src/test/schema-test-files/deployment.xml +++ b/config-model/src/test/schema-test-files/deployment.xml @@ -1,7 +1,7 @@ <!-- Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. --> <deployment version='1.0'> <upgrade policy='canary'/> - <block-change revisions='true' versions='false' days="mon,tue" hours="14,15"/> + <block-change revision='true' version='false' days="mon,tue" hours="14,15"/> <block-change days="mon,tue" hours="14,15" time-zone="CET"/> <test/> <staging/> |