aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema/container.rnc
blob: f8d4896538379093a756ef807f2927dc732ac8ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
# Schema for common container options

include "processing.rnc"

Handler = element handler {
   ComponentDefinition &
   ServerBindings
}

Binding = element binding {text}
ServerBindings = Binding*

Server = element server {
   ComponentDefinition
}

AccessControl = element access-control {
    attribute domain { xsd:NCName }? & # TODO(tokle,bjorncs) Vespa > 8: Remove
    attribute read { string "true" | string "false" }? &  # TODO(tokle,bjorncs) Vespa > 8: Remove
    attribute write { string "true" | string "false" }? &  # TODO(tokle,bjorncs) Vespa > 8: Remove
    attribute tls-handshake-client-auth {string "want" | string "need"}? &
    element exclude {
        Binding+
    }?
}

HttpFilterChain =
    HttpFilter* &
    ChainBaseContent &
    ServerBindings

HttpFilter = element filter {
   ComponentDefinition &
   FilterConfig?
}

FilterConfig = element filter-config {
   anyElement*
}

Renderer = element renderer {
   ComponentDefinition
}