|
67 | 67 | "default": { |
68 | 68 | "IRIS": { |
69 | 69 | "webServer": { |
| 70 | + "scheme": "http", |
70 | 71 | "host": "127.0.0.1", |
71 | | - "port": 52773, |
72 | | - "scheme": "http" |
| 72 | + "port": 52773 |
73 | 73 | }, |
74 | | - "comment": "Connection to default local InterSystems IRIS™ installation. Delete if unwanted." |
| 74 | + "description": "Connection to default local InterSystems IRIS™ installation. Delete if unwanted." |
75 | 75 | }, |
76 | 76 | "CACHE": { |
77 | 77 | "webServer": { |
| 78 | + "scheme": "http", |
78 | 79 | "host": "127.0.0.1", |
79 | | - "port": 57772, |
80 | | - "scheme": "http" |
| 80 | + "port": 57772 |
81 | 81 | }, |
82 | | - "comment": "Connection to default local InterSystems Caché® installation. Delete if unwanted." |
| 82 | + "description": "Connection to default local InterSystems Caché® installation. Delete if unwanted." |
83 | 83 | }, |
84 | 84 | "ENSEMBLE": { |
85 | 85 | "webServer": { |
| 86 | + "scheme": "http", |
86 | 87 | "host": "127.0.0.1", |
87 | | - "port": 57772, |
88 | | - "scheme": "http" |
| 88 | + "port": 57772 |
89 | 89 | }, |
90 | | - "comment": "Connection to default local InterSystems Ensemble® installation. Delete if unwanted." |
| 90 | + "description": "Connection to default local InterSystems Ensemble® installation. Delete if unwanted." |
91 | 91 | }, |
92 | 92 | "/default": "IRIS" |
93 | 93 | }, |
|
100 | 100 | "type": "object", |
101 | 101 | "description": "Web server publishing an InterSystems® server's web services.", |
102 | 102 | "properties": { |
| 103 | + "scheme": { |
| 104 | + "type": "string", |
| 105 | + "description": "Protocol used for connections.", |
| 106 | + "enum": ["http", "https"], |
| 107 | + "default": "http" |
| 108 | + }, |
103 | 109 | "host": { |
104 | 110 | "type": "string", |
105 | 111 | "description": "Hostname or IP address of the web server. Often the same as the InterSystems® server host.", |
|
123 | 129 | "maximum": 65535, |
124 | 130 | "default": 52773 |
125 | 131 | }, |
126 | | - "instanceName": { |
| 132 | + "pathPrefix": { |
127 | 133 | "type": "string", |
128 | | - "description": "Optional prefix for the path to the resource. Only needed when one web server publishes services of multiple InterSystems® servers.", |
129 | | - "default": "" |
130 | | - }, |
131 | | - "scheme": { |
132 | | - "type": "string", |
133 | | - "description": "Protocol used for connections.", |
134 | | - "anyOf": [ |
135 | | - { |
136 | | - "string": "http" |
137 | | - }, |
138 | | - { |
139 | | - "string": "https" |
140 | | - } |
141 | | - ], |
142 | | - "default": "http" |
| 134 | + "description": "Optional prefix for the path to the resource. Only needed when one web server publishes services on behalf of multiple InterSystems® servers." |
143 | 135 | } |
144 | | - } |
| 136 | + }, |
| 137 | + "required": ["host", "port"], |
| 138 | + "additionalProperties": false |
145 | 139 | }, |
146 | 140 | "username": { |
147 | 141 | "type": "string", |
|
151 | 145 | "type": "string", |
152 | 146 | "description": "Password of username. If not set here it must be provided when connecting." |
153 | 147 | }, |
154 | | - "comment": { |
| 148 | + "description": { |
155 | 149 | "type": "string", |
156 | | - "description": "Optional comment about the server." |
| 150 | + "description": "Optional description of the server." |
157 | 151 | } |
158 | | - } |
| 152 | + }, |
| 153 | + "required": ["webServer"], |
| 154 | + "additionalProperties": false |
159 | 155 | } |
160 | 156 | }, |
161 | 157 | "properties": { |
|
0 commit comments