-
Notifications
You must be signed in to change notification settings - Fork 613
/
jboss-infinispan-endpoint_9_2.xsd
553 lines (514 loc) · 25.9 KB
/
jboss-infinispan-endpoint_9_2.xsd
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:infinispan:server:endpoint:9.2" xmlns:tns="urn:infinispan:server:endpoint:9.2" elementFormDefault="qualified"
attributeFormDefault="unqualified" version="9.2">
<xs:element name="subsystem" type="tns:subsystemType" />
<xs:complexType name="subsystemType">
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="hotrod-connector" type="tns:hotrod-connector" />
<xs:element name="memcached-connector" type="tns:memcached-connector" />
<xs:element name="rest-connector" type="tns:rest-connector" />
<xs:element name="websocket-connector" type="tns:websocket-connector" />
<xs:element name="router-connector" type="tns:router-connector" />
</xs:choice>
</xs:complexType>
<xs:complexType name="protocol-connector" abstract="true">
<xs:attribute name="socket-binding" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The socket on which this connector will bind itself. If missing, the server will not listen to TCP connections</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ignored-caches" type="tns:ignored-caches">
<xs:annotation>
<xs:documentation>The list of ignored caches for this connector</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="cache-container" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the cache container which will be exposed by this connector</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The logical name to give to this connector. This attribute is required when there are more connectors of the same type defined.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="worker-threads" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>Sets the number of worker threads. Defaults to 160</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="idle-timeout" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>Specifies the maximum time in seconds that connections from clients will be kept open without activity. Defaults to 0 (no timeout) </xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="tcp-nodelay" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>Affects TCP NODELAY on the TCP stack. Defaults to enabled</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="send-buffer-size" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>Sets the size of the send buffer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="receive-buffer-size" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>Sets the size of the receive buffer.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="hotrod-connector">
<xs:complexContent>
<xs:extension base="tns:protocol-connector">
<xs:all>
<xs:element name="topology-state-transfer" type="tns:topology-state-transfer" minOccurs="0" maxOccurs="1" />
<xs:element name="authentication" type="tns:authentication" minOccurs="0" maxOccurs="1" />
<xs:element name="encryption" type="tns:encryption" minOccurs="0" maxOccurs="1" />
</xs:all>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="router-connector">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="multi-tenancy">
<xs:annotation>
<xs:documentation>Multi-tenancy settings for the router</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="hotrod" type="tns:router-hotrod" maxOccurs="unbounded"/>
<xs:element name="rest" type="tns:router-rest" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="hotrod-socket-binding" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The socket on which HotRod router will bind itself</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="rest-socket-binding" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The socket on which REST router will bind itself</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The logical name to give to this connector. This attribute is required when there are more connectors of the same type defined.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="tcp-nodelay" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>Affects TCP NODELAY on the TCP stack. Defaults to enabled</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="keep-alive" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>Affects TCP KEEP-ALIVE on the TCP stack. Defaults to disabled</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="send-buffer-size" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>Sets the size of the send buffer.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="receive-buffer-size" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>Sets the size of the receive buffer.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="memcached-connector">
<xs:complexContent>
<xs:extension base="tns:protocol-connector">
<xs:attribute name="cache" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The name of the cache to use for the Memcached connector. Defaults to memcachedCache</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="rest-connector">
<xs:all>
<xs:element name="authentication" type="tns:rest-authentication" minOccurs="0" maxOccurs="1" />
<xs:element name="encryption" type="tns:encryption" minOccurs="0" maxOccurs="1" />
</xs:all>
<xs:attribute name="name" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The logical name to give to this connector. This attribute is required when there are more connectors of the same type defined.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="cache-container" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the cache container which will be exposed by this connector</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="socket-binding" type="xs:string">
<xs:annotation>
<xs:documentation>The socket on which this connector will bind itself. If missing, the server will not listen to TCP connections</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="context-path" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The context path on which to register the REST connector. Defaults to '' (the root context)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="extended-headers" type="tns:extended-headers" use="optional" default="ON_DEMAND">
<xs:annotation>
<xs:documentation>Whether to enable extended headers. Can be NEVER or ON_DEMAND. Defaults to ON_DEMAND</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ignored-caches" type="tns:ignored-caches">
<xs:annotation>
<xs:documentation>The list of ignored caches for this connector</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="max-content-length" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>Sets the maximum allowed content length.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="websocket-connector">
<xs:complexContent>
<xs:extension base="tns:protocol-connector" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="topology-state-transfer">
<xs:attribute name="cache-suffix" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Deprecated</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="lock-timeout" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>Configures the lock acquisition timeout for the topology cache. Defaults to 10 seconds</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="replication-timeout" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>Configures the replication timeout for the topology cache. Defaults to 10 seconds</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="update-timeout" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>This setting has been deprecated and will be ignored.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="external-host" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Sets the external address of this node, i.e. the address which clients will connect to. Defaults to the server's socket-binding address</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="external-port" type="xs:int" use="optional">
<xs:annotation>
<xs:documentation>Sets the external port of this node, i.e. the port which clients will connect to. Defaults to the server's socket-binding port</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="lazy-retrieval" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>Configures whether to enable state transfer for the topology cache. If disabled, a ClusterCacheLoader will be used to lazily retrieve topology information from the
other nodes. Defaults to true.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="await-initial-retrieval" type="xs:boolean" use="optional" default="${Server.TopologyStateTransfer.await-initial-retrieval}">
<xs:annotation>
<xs:documentation>Configures whether to initial state retrieval should happen immediately at startup. Only applies when lazy-retrieval is false. Defaults to true.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="router-hotrod">
<xs:sequence>
<xs:element name="sni" type="tns:sni" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>HotRod connector name</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="router-rest">
<xs:sequence>
<xs:element name="prefix" type="tns:prefix" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>REST connector name</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="authentication">
<xs:all>
<xs:element name="sasl" type="tns:sasl" minOccurs="0" />
</xs:all>
<xs:attribute name="security-realm" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the security realm to use for obtaining the SSL keystore</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="sasl">
<xs:annotation>
<xs:documentation>
<![CDATA[
The configuration of the SASL authentication layer for this server.
The optional nested "include-mechanisms" element contains a whitelist of allowed SASL mechanism names.
No mechanisms will be allowed which are not present in this list.
The optional nested "qop" element contains a list of quality-of-protection values, in decreasing order
of preference.
The optional nested "strength" element contains a list of cipher strength values, in decreasing order
of preference.
The optional nested "policy" boolean element specifies a policy to use to narrow down the available set
of mechanisms.
The optional nested "property" elements specify additional properties required by the specified mechanisms
]]>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="policy" type="tns:policy" minOccurs="0" />
<xs:element name="property" type="tns:property" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="server-context-name" type="xs:string">
<xs:annotation>
<xs:documentation>The name of the login context to be used to retrieve a server subject for certain SASL mechs (i.e. GSSAPI)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="server-name" type="xs:string">
<xs:annotation>
<xs:documentation>The name the server which is exposed to clients</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="mechanisms" type="tns:name-list" />
<xs:attribute name="qop" type="tns:qop-list"/>
<xs:attribute name="strength" type="tns:strength" />
</xs:complexType>
<xs:complexType name="policy">
<xs:annotation>
<xs:documentation>
<![CDATA[
Policy criteria items to use in order to choose a SASL mechanism.
The optional nested "forward-secrecy" element contains a boolean value which specifies whether mechanisms
that implement forward secrecy between sessions are required. Forward secrecy means that breaking into
one session will not automatically provide information for breaking into future sessions.
The optional nested "no-active" element contains a boolean value which specifies whether mechanisms
susceptible to active (non-dictionary) attacks are not permitted. "false" to permit, "true" to deny.
The optional nested "no-anonymous" element contains a boolean value which specifies whether mechanisms
that accept anonymous login are permitted. "false" to permit, "true" to deny.
The optional nested "no-dictionary" element contains a boolean value which specifies whether mechanisms
susceptible to passive dictionary attacks are permitted. "false" to permit, "true" to deny.
The optional nested "no-plain-text" element contains a boolean value which specifies whether mechanisms
susceptible to simple plain passive attacks (e.g., "PLAIN") are not permitted. "false" to permit, "true" to deny.
The optional nested "pass-credentials" element contains a boolean value which specifies whether
mechanisms that pass client credentials are required.
]]>
</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name="forward-secrecy" type="tns:boolean-element" minOccurs="0" />
<xs:element name="no-active" type="tns:boolean-element" minOccurs="0" />
<xs:element name="no-anonymous" type="tns:boolean-element" minOccurs="0" />
<xs:element name="no-dictionary" type="tns:boolean-element" minOccurs="0" />
<xs:element name="no-plain-text" type="tns:boolean-element" minOccurs="0" />
<xs:element name="pass-credentials" type="tns:boolean-element" minOccurs="0" />
</xs:all>
</xs:complexType>
<xs:complexType name="property">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Defines the name of a property.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="boolean-element">
<xs:annotation>
<xs:documentation>
<![CDATA[
An element specifying a boolean value.
]]>
</xs:documentation>
</xs:annotation>
<xs:attribute name="value" type="xs:boolean" use="required" />
</xs:complexType>
<xs:complexType name="name-listType">
<xs:annotation>
<xs:documentation>
<![CDATA[
An element specifying a string list.
]]>
</xs:documentation>
</xs:annotation>
<xs:attribute name="value" type="tns:name-list" use="required" />
</xs:complexType>
<xs:simpleType name="name-list">
<xs:annotation>
<xs:documentation>
<![CDATA[
A set of string items.
]]>
</xs:documentation>
</xs:annotation>
<xs:list itemType="xs:string" />
</xs:simpleType>
<xs:complexType name="qop-listType">
<xs:annotation>
<xs:documentation>
<![CDATA[
An element specifying a qop list.
]]>
</xs:documentation>
</xs:annotation>
<xs:attribute name="value" type="tns:qop-list" use="required" />
</xs:complexType>
<xs:simpleType name="qop-list">
<xs:annotation>
<xs:documentation>
<![CDATA[
The SASL quality-of-protection value list. See http://download.oracle.com/docs/cd/E17409_01/javase/6/docs/api/javax/security/sasl/Sasl.html#QOP
for more information.
]]>
</xs:documentation>
</xs:annotation>
<xs:list>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="auth" />
<xs:enumeration value="auth-int" />
<xs:enumeration value="auth-conf" />
</xs:restriction>
</xs:simpleType>
</xs:list>
</xs:simpleType>
<xs:simpleType name="strength">
<xs:annotation>
<xs:documentation>
<![CDATA[
The SASL strength value list. See http://download.oracle.com/docs/cd/E17409_01/javase/6/docs/api/javax/security/sasl/Sasl.html#STRENGTH
for more information.
]]>
</xs:documentation>
</xs:annotation>
<xs:list>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="low" />
<xs:enumeration value="medium" />
<xs:enumeration value="high" />
</xs:restriction>
</xs:simpleType>
</xs:list>
</xs:simpleType>
<xs:complexType name="rest-authentication">
<xs:attribute name="security-realm" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The security realm to use for authentication/authorization purposes. Defaults to none (no authentication)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="auth-method" type="tns:auth-method" use="optional" default="NONE">
<xs:annotation>
<xs:documentation>The authentication method to require. Can be NONE, BASIC, DIGEST, CLIENT_CERT, SPNEGO. Defaults to NONE. Setting it to a different value requires enabling a security-realm.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="encryption">
<xs:sequence>
<xs:element name="sni" type="tns:sni" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="require-ssl-client-auth" type="xs:boolean" use="optional" default="${Server.Encryption.require-ssl-client-auth}">
<xs:annotation>
<xs:documentation>Whether to require client certificate authentication. Defaults to false.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="security-realm" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The name of the security realm to use for obtaining the SSL keystore</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="sni">
<xs:annotation>
<xs:documentation>
<![CDATA[
An element specifying a TLS SNI mapping.
]]>
</xs:documentation>
</xs:annotation>
<xs:attribute name="host-name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>TLS SNI host name</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="security-realm" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A corresponding security realm. If none is specified, the default will be used.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="prefix">
<xs:annotation>
<xs:documentation>
<![CDATA[
An element specifying REST prefix.
]]>
</xs:documentation>
</xs:annotation>
<xs:attribute name="path" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Path for REST prefix</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:simpleType name="auth-method">
<xs:restriction base="xs:token">
<xs:enumeration value="NONE">
<xs:annotation>
<xs:documentation>Client authentication is disabled</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="BASIC">
<xs:annotation>
<xs:documentation>Client authentication will be performed using the Basic scheme</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DIGEST">
<xs:annotation>
<xs:documentation>Client authentication will be performed using the Digest scheme</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CLIENT_CERT">
<xs:annotation>
<xs:documentation>Client authentication will be use the peer's certificate</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="SPNEGO">
<xs:annotation>
<xs:documentation>Client authentication will be use the SPNEGO scheme</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="extended-headers">
<xs:restriction base="xs:token">
<xs:enumeration value="NEVER">
<xs:annotation>
<xs:documentation>Never return extended headers</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ON_DEMAND">
<xs:annotation>
<xs:documentation>Return extended headers on demand (i.e. when the 'extendend' query parameter is present on the request)</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ignored-caches">
<xs:annotation>
<xs:documentation>The list of ignored caches</xs:documentation>
</xs:annotation>
<xs:list itemType="xs:string"/>
</xs:simpleType>
</xs:schema>