aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema/version/7.x/container.rnc
blob: c16a5c4e3a510e6a3bdd8fee1b746201c8afa015 (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
45
46
47
48
49
50
51
52
# Copyright Yahoo. 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 &
   element clientBinding {text}*
}

Binding = element binding {text}
ServerBindings = Binding*

Client = element client {
   ComponentDefinition &
   element binding {text}* &
   element serverBinding {text}*
}

Server = element server {
   ComponentDefinition
}

AccessControl = element access-control {
    attribute domain { xsd:NCName }? &  # TODO Vespa 8 Remove
    attribute read { string "true" | string "false" }? & # TODO Vespa 8 Remove
    attribute write { string "true" | string "false" }? & # TODO Vespa 8 Remove
    attribute tls-handshake-client-auth {string "want" | string "need"}? &
    element vespa-domain { xsd:NCName }? & # TODO Remove after end of March 2020
    element exclude {
        Binding+
    }?
}

HttpFilterChain =
    HttpFilter* &
    ChainBaseContent &
    ServerBindings

HttpFilter = element filter {
   ComponentDefinition &
   FilterConfig?
}

FilterConfig = element filter-config {
   anyElement*
}

Renderer = element renderer {
   ComponentDefinition
}