summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-11-04 16:21:07 +0100
committerMartin Polden <mpolden@mpolden.no>2021-11-04 16:21:07 +0100
commitd9e4c7e1543ed96a2ddd29ec8c693366d9b85dfb (patch)
tree5dc0a1c5dbe8a09c415e91d5415566ec7a8571f4 /config-model
parente5bc78b971380cb1245e9c6a36c2b3ea0fe6eebf (diff)
Finalize application-level endpoint syntax
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/resources/schema/deployment.rnc11
1 files changed, 8 insertions, 3 deletions
diff --git a/config-model/src/main/resources/schema/deployment.rnc b/config-model/src/main/resources/schema/deployment.rnc
index ecd43d1ad28..f24750bde8b 100644
--- a/config-model/src/main/resources/schema/deployment.rnc
+++ b/config-model/src/main/resources/schema/deployment.rnc
@@ -113,15 +113,20 @@ Delay = element delay {
}
EndpointRegion = element region {
- attribute instance { xsd:string }? &
- attribute weight { xsd:long }? &
+ text
+}
+
+EndpointInstance = element instance {
+ attribute weight { xsd:long } &
text
}
Endpoint = element endpoint {
attribute id { xsd:string }? &
attribute container-id { xsd:string } &
- EndpointRegion*
+ attribute region { xsd:string }? &
+ EndpointRegion* &
+ EndpointInstance*
}
Endpoints = element endpoints {