|
6 | 6 | "definitions": {
|
7 | 7 | "ip": {
|
8 | 8 | "type": "string",
|
9 |
| - "tite": "IP Address (ex: 0.0.0.0)" |
| 9 | + "title": "IP Address (ex: 0.0.0.0)" |
| 10 | + }, |
| 11 | + "directory": { |
| 12 | + "type": "string", |
| 13 | + "title": "Filsystem Path" |
| 14 | + }, |
| 15 | + "log_level": { |
| 16 | + "type": "string", |
| 17 | + "widget": "Select", |
| 18 | + "enum": ["INFO", "WARN", "DEBUG"], |
| 19 | + "title": "Log Level", |
| 20 | + "info": ["Log Verbosity Level"] |
| 21 | + }, |
| 22 | + "bootstrap_expect": { |
| 23 | + "type": "number", |
| 24 | + "widget": "NumberSlider", |
| 25 | + "exclusiveMinimum": 0, |
| 26 | + "exclusiveMaximum": 8, |
| 27 | + "enum": [1, 3, 5, 6, 7], |
| 28 | + "view": { |
| 29 | + "marks": true, |
| 30 | + "marksLabel": " Nodes", |
| 31 | + "tooltip": "auto", |
| 32 | + "sizeXs": 10, |
| 33 | + "sizeMd": 8 |
| 34 | + }, |
| 35 | + "title": "Bootstrap Expect", |
| 36 | + "info": [ |
| 37 | + "Total number of Consul servers that must peer in order for the cluster to bootstrap" |
| 38 | + ] |
| 39 | + }, |
| 40 | + "list": { |
| 41 | + "type": "array", |
| 42 | + "widget": "GenericList", |
| 43 | + "items": { |
| 44 | + "$ref": "#/definitions/list_item" |
| 45 | + } |
| 46 | + }, |
| 47 | + "list_item": { |
| 48 | + "type": "string" |
10 | 49 | }
|
11 | 50 | },
|
12 | 51 |
|
|
16 | 55 | "title": "Node Name",
|
17 | 56 | "info": ["Human-Readable Node Name"]
|
18 | 57 | },
|
| 58 | + "node_meta": { |
| 59 | + "$ref": "#/definitions/meta_list" |
| 60 | + }, |
19 | 61 | "data_dir": {
|
20 |
| - "type": "string", |
| 62 | + "$ref": "#/definitions/directory", |
21 | 63 | "title": "Data Directory",
|
22 | 64 | "info": [
|
23 | 65 | "Local Filesystem Directory Used by Consul to Persist Data"
|
|
36 | 78 | "info": ["Client address or something"]
|
37 | 79 | },
|
38 | 80 | "log_level": {
|
39 |
| - "type": "string", |
40 |
| - "widget": "Select", |
41 |
| - "enum": ["INFO", "WARN", "DEBUG"], |
42 |
| - "title": "Log Level", |
43 |
| - "info": ["Log Verbosity Level"] |
| 81 | + "$ref": "#/definitions/log_level" |
44 | 82 | },
|
45 | 83 | "ui": {
|
46 | 84 | "type": "boolean",
|
|
58 | 96 | "properties": {
|
59 | 97 | "http": {
|
60 | 98 | "title": "Configure HTTP Listen Address(es)?",
|
61 |
| - "type": "array", |
62 |
| - "widget": "GenericList", |
63 |
| - "items": { |
64 |
| - "$ref": "#/definitions/ip" |
65 |
| - } |
| 99 | + "$ref": "#/definitions/ip" |
66 | 100 | },
|
67 | 101 | "https": {
|
68 | 102 | "title": "Configure HTTPS Listen Address(es)?",
|
69 |
| - "type": "array", |
70 |
| - "widget": "GenericList", |
71 |
| - "items": { |
72 |
| - "$ref": "#/definitions/ip" |
73 |
| - } |
| 103 | + "$ref": "#/definitions/ip" |
74 | 104 | },
|
75 | 105 | "dns": {
|
76 | 106 | "title": "Configure DNS Listen Address(es)?",
|
77 |
| - "type": "array", |
78 |
| - "widget": "GenericList", |
79 |
| - "items": { |
80 |
| - "$ref": "#/definitions/ip" |
81 |
| - } |
| 107 | + "$ref": "#/definitions/ip" |
82 | 108 | },
|
83 | 109 | "grpc": {
|
84 | 110 | "title": "Configure GRPC Listen Address(es)?",
|
85 |
| - "type": "array", |
86 |
| - "widget": "GenericList", |
87 |
| - "items": { |
88 |
| - "$ref": "#/definitions/ip" |
89 |
| - } |
| 111 | + "$ref": "#/definitions/ip" |
90 | 112 | }
|
91 | 113 | }
|
92 | 114 | }
|
|
95 | 117 | "server": {
|
96 | 118 | "properties": {
|
97 | 119 | "bootstrap_expect": {
|
98 |
| - "type": "number", |
99 |
| - "widget": "NumberSlider", |
100 |
| - "exclusiveMinimum": 0, |
101 |
| - "exclusiveMaximum": 8, |
102 |
| - "enum": [1, 3, 5, 6, 7], |
103 |
| - "view": { |
104 |
| - "marks": true, |
105 |
| - "marksLabel": " Nodes", |
106 |
| - "tooltip": "auto", |
107 |
| - "sizeXs": 10, |
108 |
| - "sizeMd": 8 |
109 |
| - }, |
110 |
| - "title": "Bootstrap Expect", |
111 |
| - "info": [ |
112 |
| - "Total number of Consul servers that must peer in order for the cluster to bootstrap" |
113 |
| - ] |
| 120 | + "$ref": "#/definitions/bootstrap_expect" |
114 | 121 | },
|
115 | 122 | "datacenter": {
|
116 | 123 | "type": "string",
|
|
0 commit comments