deploy_rolling.json 9.32 KB
Newer Older
Anamika Agrawal's avatar
Anamika Agrawal committed
1
{
2
3
4
   "$schema": "http://json-schema.org/draft-04/schema#",
   "messages": {
      "$i18n": "locales.yml"
Anamika Agrawal's avatar
Anamika Agrawal committed
5
   },
6
   "title": {
Anamika Agrawal's avatar
Anamika Agrawal committed
7
      "$ref": "#/messages/deploy.rolling.title"
Anamika Agrawal's avatar
Anamika Agrawal committed
8
   },
9
10
   "description": {
      "$ref": "#/messages/deploy.rolling.longDescription"
Anamika Agrawal's avatar
Anamika Agrawal committed
11
   },
12
13
   "longDescription": {
      "$ref": "#/messages/deploy.rolling.longDescription"
Anamika Agrawal's avatar
Anamika Agrawal committed
14
   },
15
16
17
18
19
   "type": "object",
   "properties": {
      "api-key": {
         "description": {
            "$ref": "#/messages/deploy.apikeyDescription"
Anamika Agrawal's avatar
Anamika Agrawal committed
20
         },
21
22
23
24
         "type": "string",
         "pattern": "\\S",
         "validator": {
            "v-type": "api-key"
Anamika Agrawal's avatar
Anamika Agrawal committed
25
26
         }
      },
27
28
29
      "vpcRegion": {
         "description": {
            "$ref": "#/messages/deploy.vpcRegionLabel"
Anamika Agrawal's avatar
Anamika Agrawal committed
30
         },
31
32
         "type": "string",
         "validator": {
Anamika Agrawal's avatar
Anamika Agrawal committed
33
            "v-type": "vpc-region",
34
            "params": [
Anamika Agrawal's avatar
Anamika Agrawal committed
35
36
37
38
               "api-key"
            ]
         }
      },
Anamika Agrawal's avatar
Anamika Agrawal committed
39
40
41
42
43
44
45
46
      "vpcName": {
         "description": {
            "$ref": "#/messages/deploy.vpcNameLabel"
         },
         "type": "string",
         "validator": {
            "v-type": "vpc-name",
            "params": [
47
               "vpcRegion"
Anamika Agrawal's avatar
Anamika Agrawal committed
48
49
50
            ]
         }
      },
51
52
53
      "loadbalancer": {
         "description": {
            "$ref": "#/messages/deploy.vpcRegionLabel"
Anamika Agrawal's avatar
Anamika Agrawal committed
54
         },
55
56
         "type": "string",
         "validator": {
Akshay Vijapur's avatar
Akshay Vijapur committed
57
            "v-type": "alb-instance",
58
            "params": [
Anamika Agrawal's avatar
Anamika Agrawal committed
59
               "vpcRegion"
60
61
62
63
64
65
66
67
68
            ]
         }
      },
      "loadbalancerpool": {
         "description": {
            "$ref": "#/messages/deploy.vpcRegionLabel"
         },
         "type": "string",
         "validator": {
Akshay Vijapur's avatar
Akshay Vijapur committed
69
            "v-type": "alb-pool",
70
            "params": [
71
               "loadbalancer"
72
73
74
75
76
77
78
79
80
            ]
         }
      },
      "bastion-host-user-name": {
         "description": {
            "$ref": "#/messages/deploy.bastionUsernameVirtualServer"
         },
         "title": {
            "$ref": "#/messages/deploy.bastionUsernameVirtualServer"
Anamika Agrawal's avatar
Anamika Agrawal committed
81
         },
82
         "type": "string"
Anamika Agrawal's avatar
Anamika Agrawal committed
83
      },
84
85
86
      "bastion-host-ssh-keys": {
         "description": {
            "$ref": "#/messages/deploy.bastionSshVirtualServer"
Anamika Agrawal's avatar
Anamika Agrawal committed
87
         },
88
89
         "title": {
            "$ref": "#/messages/deploy.bastionSshVirtualServer"
Anamika Agrawal's avatar
Anamika Agrawal committed
90
         },
91
         "type": "password"
Anamika Agrawal's avatar
Anamika Agrawal committed
92
      },
93
94
95
      "app-name": {
         "description": {
            "$ref": "#/messages/deploy.appDescription"
Anamika Agrawal's avatar
Anamika Agrawal committed
96
         },
97
98
         "type": "string",
         "pattern": "\\S"
Anamika Agrawal's avatar
Anamika Agrawal committed
99
      },
100
101
102
      "virtual-server-instance": {
         "description": {
            "$ref": "#/messages/deploy.bastionLabel"
Anamika Agrawal's avatar
Anamika Agrawal committed
103
         },
104
         "validator": {
Akshay Vijapur's avatar
Akshay Vijapur committed
105
            "v-type": "vsi-instance",
106
            "params": [
Anamika Agrawal's avatar
Anamika Agrawal committed
107
               "vpcName"
Anamika Agrawal's avatar
Anamika Agrawal committed
108
109
            ]
         },
110
111
         "type": "string",
         "pattern": "\\S"
Anamika Agrawal's avatar
Anamika Agrawal committed
112
113
      }
   },
114
   "required": [
Anamika Agrawal's avatar
Anamika Agrawal committed
115
116
117
      "app-name",
      "api-key",
      "vpcRegion",
Anamika Agrawal's avatar
Anamika Agrawal committed
118
119
120
121
122
      "virtual-server-instance",
      "bastion-host-ssh-keys",
      "bastion-host-user-name",
      "loadbalancer",
      "loadbalancerpool"
Anamika Agrawal's avatar
Anamika Agrawal committed
123
   ],
124
   "form": [
Anamika Agrawal's avatar
Anamika Agrawal committed
125
      {
126
127
         "type": "validator",
         "url": "/devops/validator/validator-v1.html"
Anamika Agrawal's avatar
Anamika Agrawal committed
128
129
      },
      {
130
131
132
133
         "type": "text",
         "readonly": false,
         "title": {
            "$ref": "#/messages/deploy.appName"
Anamika Agrawal's avatar
Anamika Agrawal committed
134
         },
135
         "key": "app-name"
Anamika Agrawal's avatar
Anamika Agrawal committed
136
137
      },
      {
138
139
140
141
         "type": "text",
         "readonly": false,
         "title": {
            "$ref": "#/messages/deploy.apikey"
Anamika Agrawal's avatar
Anamika Agrawal committed
142
         },
143
         "key": "api-key"
Anamika Agrawal's avatar
Anamika Agrawal committed
144
      },
PIYUSH MUNDRA's avatar
PIYUSH MUNDRA committed
145
146
147
148
149
150
      {
         "type": "info",
         "text": {
            "$ref": "#/messages/deploy.vpc"
         }
      },
Anamika Agrawal's avatar
Anamika Agrawal committed
151
      {
152
153
154
         "type": "table",
         "columnCount": 3,
         "widths": [
Anamika Agrawal's avatar
Anamika Agrawal committed
155
            "37%",
Anamika Agrawal's avatar
Anamika Agrawal committed
156
            "3%",
Anamika Agrawal's avatar
Anamika Agrawal committed
157
            "60%"
Anamika Agrawal's avatar
Anamika Agrawal committed
158
         ],
159
         "items": [
Anamika Agrawal's avatar
Anamika Agrawal committed
160
            {
161
162
               "type": "label",
               "description": {
Anamika Agrawal's avatar
Anamika Agrawal committed
163
                  "$ref": "#/messages/deploy.vsiRegionTitle"
164
165
               },
               "title": {
Anamika Agrawal's avatar
Anamika Agrawal committed
166
                  "$ref": "#/messages/deploy.vsiRegionTitle"
Anamika Agrawal's avatar
Anamika Agrawal committed
167
168
169
               }
            },
            {
170
171
               "type": "label",
               "title": ""
Anamika Agrawal's avatar
Anamika Agrawal committed
172
173
            },
            {
174
175
               "type": "label",
               "description": {
Anamika Agrawal's avatar
Anamika Agrawal committed
176
                  "$ref": "#/messages/deploy.vsiNameTitle"
177
178
               },
               "title": {
Anamika Agrawal's avatar
Anamika Agrawal committed
179
                  "$ref": "#/messages/deploy.vsiNameTitle"
Anamika Agrawal's avatar
Anamika Agrawal committed
180
181
182
               }
            },
            {
Anamika Agrawal's avatar
Anamika Agrawal committed
183
               "type": "text",
184
               "title": {
Anamika Agrawal's avatar
Anamika Agrawal committed
185
                  "$ref": "#/messages/deploy.vsiRegionTitle"
Anamika Agrawal's avatar
Anamika Agrawal committed
186
               },
187
               "placeholder": {
Anamika Agrawal's avatar
Anamika Agrawal committed
188
                  "$ref": "#/messages/deploy.vsiRegionPlaceHolder"
Anamika Agrawal's avatar
Anamika Agrawal committed
189
               },
190
               "key": "vpcRegion"
Anamika Agrawal's avatar
Anamika Agrawal committed
191
192
            },
            {
193
194
               "type": "label",
               "title": ""
Anamika Agrawal's avatar
Anamika Agrawal committed
195
196
            },
            {
Anamika Agrawal's avatar
Anamika Agrawal committed
197
               "type": "text",
198
               "title": {
Anamika Agrawal's avatar
Anamika Agrawal committed
199
                  "$ref": "#/messages/deploy.deploy.vsiNameTitle"
Anamika Agrawal's avatar
Anamika Agrawal committed
200
               },
201
               "placeholder": {
Anamika Agrawal's avatar
Anamika Agrawal committed
202
                  "$ref": "#/messages/deploy.vsiNamePlaceHolder"
Anamika Agrawal's avatar
Anamika Agrawal committed
203
               },
Anamika Agrawal's avatar
Anamika Agrawal committed
204
               "key": "vpcName"
Anamika Agrawal's avatar
Anamika Agrawal committed
205
206
            }
         ]
207
      },
Anamika Agrawal's avatar
Anamika Agrawal committed
208
      {
209
210
211
         "type": "table",
         "columnCount": 3,
         "widths": [
Anamika Agrawal's avatar
Anamika Agrawal committed
212
            "37%",
213
            "3%",
Anamika Agrawal's avatar
Anamika Agrawal committed
214
            "60%"
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
         ],
         "items": [
            {
               "type": "label",
               "description": {
                  "$ref": "#/messages/deploy.bastionUsernameVirtualServer"
               },
               "title": {
                  "$ref": "#/messages/deploy.bastionUsernameVirtualServer"
               }
            },
            {
               "type": "label",
               "title": ""
            },
            {
               "type": "label",
               "description": {
                  "$ref": "#/messages/deploy.bastionSshVirtualServer"
               },
               "title": {
                  "$ref": "#/messages/deploy.bastionSshVirtualServer"
               }
            },
            {
               "type": "text",
               "title": {
                  "$ref": "#/messages/deploy.bastionUsernameVirtualServer"
Anamika Agrawal's avatar
Anamika Agrawal committed
243
               },
244
245
               "placeholder": {
                  "$ref": "#/messages/deploy.bastionUsernamePlaceHolder"
Anamika Agrawal's avatar
Anamika Agrawal committed
246
               },
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
               "key": "bastion-host-user-name"
            },
            {
               "type": "label",
               "title": ""
            },
            {
               "type": "password",
               "description": {
                  "$ref": "#/messages/deploy.bastionSshVirtualServer"
               },
               "title": {
                  "$ref": "#/messages/deploy.bastionSshVirtualServer"
               },
               "placeholder": {
                  "$ref": "#/messages/deploy.bastionSshVirtualServerPlaceHolder"
               },
               "key": "bastion-host-ssh-keys"
            }
         ]
      },
Anamika Agrawal's avatar
Anamika Agrawal committed
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
      {
         "type": "info",
         "text": {
            "$ref": "#/messages/deploy.bastionHost"
         }
      },
      {
         "type": "select",
         "title": {
            "$ref": "#/messages/deploy.bastion"
         },
         "placeholder": {
            "$ref": "#/messages/deploy.vsiPlaceHolder"
         },
         "key": "virtual-server-instance"
      },
Anamika Agrawal's avatar
Anamika Agrawal committed
284
      {
285
286
287
288
         "type": "info",
         "text": {
            "$ref": "#/messages/deploy.loadBalancer"
         }
Anamika Agrawal's avatar
Anamika Agrawal committed
289
      },
Anamika Agrawal's avatar
Anamika Agrawal committed
290
      {
291
292
293
         "type": "table",
         "columnCount": 3,
         "widths": [
Anamika Agrawal's avatar
Anamika Agrawal committed
294
            "47%",
Anamika Agrawal's avatar
Anamika Agrawal committed
295
            "3%",
Anamika Agrawal's avatar
Anamika Agrawal committed
296
            "50%"
Anamika Agrawal's avatar
Anamika Agrawal committed
297
         ],
298
         "items": [
Anamika Agrawal's avatar
Anamika Agrawal committed
299
            {
300
301
302
303
304
305
               "type": "label",
               "description": {
                  "$ref": "#/messages/deploy.loadBalancerName"
               },
               "title": {
                  "$ref": "#/messages/deploy.loadBalancerName"
Anamika Agrawal's avatar
Anamika Agrawal committed
306
307
308
               }
            },
            {
309
310
               "type": "label",
               "title": ""
Anamika Agrawal's avatar
Anamika Agrawal committed
311
312
            },
            {
313
314
315
316
317
318
               "type": "label",
               "description": {
                  "$ref": "#/messages/deploy.loadBalancerName"
               },
               "title": {
                  "$ref": "#/messages/deploy.poolName"
Anamika Agrawal's avatar
Anamika Agrawal committed
319
320
321
               }
            },
            {
322
323
324
325
               "type": "select",
               "readonly": true,
               "title": {
                  "$ref": "#/messages/deploy.loadBalancerName"
Anamika Agrawal's avatar
Anamika Agrawal committed
326
               },
327
328
               "placeholder": {
                  "$ref": "#/messages/deploy.loadBalancerPlaceHolder"
Anamika Agrawal's avatar
Anamika Agrawal committed
329
               },
330
               "key": "loadbalancer"
Anamika Agrawal's avatar
Anamika Agrawal committed
331
332
            },
            {
333
334
               "type": "label",
               "title": ""
Anamika Agrawal's avatar
Anamika Agrawal committed
335
336
            },
            {
337
338
339
340
               "type": "select",
               "readonly": true,
               "title": {
                  "$ref": "#/messages/deploy.poolName"
Anamika Agrawal's avatar
Anamika Agrawal committed
341
               },
342
343
               "placeholder": {
                  "$ref": "#/messages/deploy.poolNamePlaceHolder"
Anamika Agrawal's avatar
Anamika Agrawal committed
344
               },
345
               "key": "loadbalancerpool"
Anamika Agrawal's avatar
Anamika Agrawal committed
346
347
            }
         ]
Anamika Agrawal's avatar
Anamika Agrawal committed
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
      },
      {
         "type": "notification",
         "display": {
           "style": "warning",
           "title": {
             "$ref": "#/messages/wizard.fetcher.warning.title"
           },
           "subtitle": {
             "$ref": "#/messages/wizard.fetcher.warning.subtitle"
           },
           "showInAdvancedMode": true,
           "advancedModePosition": "bottom"
         },
         "visible": true
       }       
Anamika Agrawal's avatar
Anamika Agrawal committed
364
   ]
Akshay Vijapur's avatar
Akshay Vijapur committed
365
}