diff options
author | Jon Bratseth <bratseth@gmail.com> | 2023-05-12 17:26:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-12 17:26:57 +0200 |
commit | adb58e0d4ffca0fdd590f99f10b10e424d8d42c9 (patch) | |
tree | 2620435bb2d7c050b0bb40e2e53a8254e59638e3 | |
parent | f2334d2df98f96eb66bf097a1c4bbc0f89ef4b3e (diff) | |
parent | 14349a9424c85ee665bc102a95271f84aa356ea1 (diff) |
Merge pull request #27085 from vespa-engine/bratseth/allow-no-groups
Allow no groups MERGEOK
-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> |