-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmarketplace-schema.yaml
350 lines (313 loc) · 9.56 KB
/
marketplace-schema.yaml
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
title: Oracle GoldenGate Microservices Edition for Oracle 19.1.0.0.201013
schemaVersion: 1.0.0
version: "1.0"
locale: "en"
groupings:
- title: "Name for New Resources"
variables:
- ${display_name}
- ${hostname_label}
- title: "Network Settings"
variables:
- ${create_new_network}
- ${vcn_compartment_id}
- ${vcn_id}
- ${subnet_compartment_id}
- ${subnet_id}
- ${vcn_dns_label}
- ${vcn_cidr_block}
- ${subnet_dns_label}
- ${subnet_cidr_block}
- title: "Instance Settings"
variables:
- ${availability_domain}
- ${compute_shape}
- ${assign_public_ip}
- ${custom_volume_sizes}
- ${boot_size_in_gbs}
- ${swap_size_in_gbs}
- ${trails_size_in_gbs}
- ${deployments_size_in_gbs}
- ${cacheManager_size_in_gbs}
- title: "Create OGG Deployments"
variables:
- ${deployment_1_name}
- ${deployment_1_dbms}
- ${deployment_1_adb}
- ${deployment_1_adb_compartment_id}
- ${deployment_1_adb_id}
- ${deployment_2_name}
- ${deployment_2_dbms}
- ${deployment_2_adb}
- ${deployment_2_adb_compartment_id}
- ${deployment_2_adb_id}
- title: "Shell Access"
variables:
- ${ssh_public_key}
- title: "Hidden Variables"
visible: false
variables:
- ${region}
- ${compartment_ocid}
- ${image_compartment_id}
- ${deployments_volume_id}
- ${trails_volume_id}
- ${cacheManager_volume_id}
- ${deployments_json}
- ${ogg_dbms}
- ${ogg_edition}
- ${ogg_version}
variables:
# Name for New Resources
display_name:
title: Display Name
description: "Display name used to identify all new OCI resources"
type: string
default: "Oracle GoldenGate Microservices Edition for Oracle 19.1.0.0.201013"
required: true
hostname_label:
title: Host DNS Name
description: "DNS host name for new instance. Leave blank for the default name or if using a Subnet with DNS disabled."
type: string
default: "ogg19cora"
pattern: "^(|[a-z][a-z0-9-]{1,14})$"
minLength: 0
maxLength: 15
required: false
# Network Settings
create_new_network:
title: Create New Network
description: "Use this field to indicate whether you want to create new network resources or use existing ones"
type: boolean
required: true
default: false
vcn_compartment_id:
title: VCN Network Compartment
description: "Compartment for new or existing Virtual Cloud Network (VCN)"
type: oci:identity:compartment:id
subnet_compartment_id:
title: Subnet Network Compartment
description: "Compartment for new or existing Subnet"
type: oci:identity:compartment:id
# Use Existing Network
vcn_id:
visible:
not:
- ${create_new_network}
title: VCN
description: "Existing VCN to use for new instance if not creating a new network"
type: oci:core:vcn:id
dependsOn:
compartmentId: ${vcn_compartment_id}
required: true
subnet_id:
visible:
not:
- ${create_new_network}
title: Subnet
description: "Existing Subnet to use for new instance if not creating a new network"
type: oci:core:subnet:id
dependsOn:
compartmentId: ${subnet_compartment_id}
vcnId: ${vcn_id}
required: true
# Create New Network
vcn_dns_label:
visible: ${create_new_network}
title: New VCN DNS Name
description: "DNS name for new VCN"
type: string
default: "vcn"
pattern: "^([a-z][a-z0-9]{1,14})$"
minLength: 1
maxLength: 15
required: true
vcn_cidr_block:
visible: ${create_new_network}
title: New VCN CIDR
description: "CIDR for new VCN. Not used if an existing network is used."
type: string
pattern: "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/(\\d|[1-2]\\d|3[0-2]))?$"
default: "10.2.0.0/16"
required: true
subnet_dns_label:
visible: ${create_new_network}
title: New Subnet DNS Name
description: "DNS name for new Subnet. Leave blank to create a Subnet with DNS disabled."
type: string
default: "subnet"
pattern: "^(|[a-z][a-z0-9]{1,14})$"
minLength: 0
maxLength: 15
required: false
subnet_cidr_block:
visible: ${create_new_network}
title: New Subnet CIDR
description: "CIDR for new Subnet. Not used if an existing network is used."
type: string
pattern: "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/(\\d|[1-2]\\d|3[0-2]))?$"
default: "10.2.1.0/24"
required: true
# Instance Settings
availability_domain:
title: Availability Domain
description: "The availability domain for the new Oracle GoldenGate instance"
type: oci:identity:availabilitydomain:name
dependsOn:
compartmentId: ${compartment_ocid}
required: true
compute_shape:
title: Compute Shape
description: "Shape of new compute instance. Supported shapes are VM.Standard2.1, VM.Standard2.4, VM.Standard2.8, VM.Standard2.16 and VM.Standard2.24"
type: enum
enum:
- "VM.Standard2.1"
- "VM.Standard2.4"
- "VM.Standard2.8"
- "VM.Standard2.16"
- "VM.Standard2.24"
default: "VM.Standard2.4"
required: true
assign_public_ip:
title: Assign Public IP
description: "Indicates if the new VM should have a public IP address"
type: boolean
required: true
default: true
custom_volume_sizes:
title: Custom Volume Sizes
description: "Use this field to customize the size of new block storage volumes"
type: boolean
required: true
default: false
# Custom Volume Sizes
boot_size_in_gbs:
visible: ${custom_volume_sizes}
title: Boot Volume Size
description: "Boot volume size, in GB"
type: integer
default: 50
minimum: 50
required: true
swap_size_in_gbs:
visible: ${custom_volume_sizes}
title: Swap Volume Size
description: "Amount of swap space to allocate, in GB"
type: integer
default: 256
minimum: 50
required: true
trails_size_in_gbs:
visible: ${custom_volume_sizes}
title: Trails Volume Size
description: "Amount of disk space to allocate for trail files, in GB"
type: integer
default: 512
minimum: 50
required: true
deployments_size_in_gbs:
visible: ${custom_volume_sizes}
title: Deployments Volume Size
description: "Amount of space to allocate for deployment data, in GB"
type: integer
default: 50
minimum: 50
required: true
cacheManager_size_in_gbs:
visible: ${custom_volume_sizes}
title: Cache Manager Volume Size
description: "Amount of space to allocate for GoldenGate Cache Manager and Bounded Recovery data, in GB"
type: integer
default: 256
minimum: 50
required: true
# Create OGG Deployments
deployment_1_name:
title: Deployment 1 - Name
description: "Name for OGG deployment 1"
pattern: "^[A-Za-z][A-Za-z0-9-_.]*$"
type: string
minLength: 1
maxLength: 32
default: "Source"
required: true
deployment_1_dbms:
title: Deployment 1 - Database
description: "Oracle RDBMS Version for deployment 1"
type: enum
enum:
- "Oracle 11g (11.2.0.4)"
- "Oracle 12c (12.1.0.2 / 12.2.0.x)"
- "Oracle 18c (18.x)"
- "Oracle 19c (19.x)"
default: "Oracle 12c (12.1.0.2 / 12.2.0.x)"
required: true
deployment_1_adb:
visible: false
title: Deployment 1 - Autonomous Database
description: "Select if deployment 1 replicates to an Autonomous Database"
type: boolean
required: true
default: false
deployment_1_adb_compartment_id:
visible: false # ${deployment_1_adb}
title: Deployment 1 - Autonomous Database Compartment
description: "Compartment that existing Autonomous Database resides in"
type: oci:identity:compartment:id
required: true
default: ""
deployment_1_adb_id:
visible: false # ${deployment_1_adb}
title: Deployment 1 - Autonomous Database Instance
description: Choose an Autonomous Database instance
type: oci:database:autonomousdatabase:id
dependsOn:
compartmentId: ${deployment_1_adb_compartment_id}
required: true
default: ""
deployment_2_name:
title: Deployment 2 - Name
description: "Name for OGG deployment 2"
pattern: "^([A-Za-z][A-Za-z0-9-_.]*|)$"
type: string
minLength: 0
maxLength: 32
default: "Target"
deployment_2_dbms:
title: Deployment 2 - Database
description: "Oracle RDBMS Version for deployment 2"
type: enum
enum:
- "Oracle 11g (11.2.0.4)"
- "Oracle 12c (12.1.0.2 / 12.2.0.x)"
- "Oracle 18c (18.x)"
- "Oracle 19c (19.x)"
default: "Oracle 18c (18.x)"
deployment_2_adb:
title: Deployment 2 - Autonomous Database
description: "Select if deployment 2 replicates to an Autonomous Database"
type: boolean
required: true
default: false
deployment_2_adb_compartment_id:
visible: ${deployment_2_adb}
title: Deployment 2 - Autonomous Database Compartment
description: "Compartment that existing Autonomous Database resides in"
type: oci:identity:compartment:id
required: true
default: ""
deployment_2_adb_id:
visible: ${deployment_2_adb}
title: Deployment 2 - Autonomous Database Instance
description: Choose an Autonomous Database instance
type: oci:database:autonomousdatabase:id
dependsOn:
compartmentId: ${deployment_2_adb_compartment_id}
required: true
default: ""
ssh_public_key:
title: SSH Public Key
description: "Public Key for allowing SSH access as the 'opc' user"
pattern: "ssh[-].*"
type: string
required: true