diff options
author | Jon Bratseth <bratseth@vespa.ai> | 2023-05-11 22:57:17 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@vespa.ai> | 2023-05-11 22:57:17 +0200 |
commit | 14349a9424c85ee665bc102a95271f84aa356ea1 (patch) | |
tree | 74deb7aafb67d17e7d1a19a7c8dd25cacd6944ed | |
parent | 5a80d77bc5d6df103e9beb7ca9b21fd8b8670234 (diff) |
Allow no groups
-rw-r--r-- | config-model/src/main/resources/schema/deployment.rnc | 2 | ||||
-rw-r--r-- | config-model/src/test/schema-test-files/deployment-with-instances.xml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/config-model/src/main/resources/schema/deployment.rnc b/config-model/src/main/resources/schema/deployment.rnc index 48a5c6bf25a..ede05ad65ef 100644 --- a/config-model/src/main/resources/schema/deployment.rnc +++ b/config-model/src/main/resources/schema/deployment.rnc @@ -174,7 +174,7 @@ Endpoints = element endpoints { Bcp = element bcp { attribute deadline { xsd:string }? & - Group+ + Group* } Group = element group { diff --git a/config-model/src/test/schema-test-files/deployment-with-instances.xml b/config-model/src/test/schema-test-files/deployment-with-instances.xml index 2d319197e79..3b872f4c1cf 100644 --- a/config-model/src/test/schema-test-files/deployment-with-instances.xml +++ b/config-model/src/test/schema-test-files/deployment-with-instances.xml @@ -60,6 +60,7 @@ <endpoints> <endpoint container-id="barz" /> </endpoints> + <bcp deadline="1d"/> </instance> </parallel> |