This repository has been archived by the owner on May 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathschema.yaml
executable file
·478 lines (416 loc) · 12.6 KB
/
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
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
## Copyright © 2020, Oracle and/or its affiliates.
## All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl
title: "Create Oracle Streaming Service, Oracle Service Connector Hub, Oracle Data Flow and Oracle Data Science in Oracle Cloud Infrastructure"
stackDescription: "Deploy Oracle Streaming Service, Oracle Service Connector Hub, Oracle Data Flow and Oracle Data Science in Oracle Cloud Infrastructure."
schemaVersion: 1.1.0
version: "20210305"
locale: "en"
variableGroups:
- title: General Configuration
visible: false
variables:
- tenancy_ocid
- release
- title: Required Configuration
visible: true
variables:
- compartment_ocid
- region
- show_advanced
- ocir_repo_name
- ocir_user_name
- ocir_user_password
- title: Bucket Optional Configuration
visible:
and:
- show_advanced
variables:
- bucket_name
- bucket_access_type
- bucket_storage_tier
- bucket_versioning
- title: Catalog Optional Configuration
visible:
and:
- show_advanced
variables:
- catalog_display_name
- title: Data Science Optional Configuration
visible:
and:
- show_advanced
variables:
- project_description
- project_display_name
- notebook_session_display_name
- notebook_session_notebook_session_configuration_details_shape
- notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs
- title: Stream Optional Configuration
visible:
and:
- show_advanced
variables:
- stream_pool_name
- stream_name
- stream_partitions
- stream_retention_in_hours
- title: Data Flow Optional Configuration
visible:
and:
- show_advanced
variables:
- dataflow_logs_bucket_name
- application_display_name
- application_driver_shape
- application_executor_shape
- application_file_uri
- application_language
- application_num_executors
- application_spark_version
- application_class_name
- application_description
- title: Service Connector Optional Configuration
visible:
and:
- show_advanced
variables:
- service_connector_display_name
- service_connector_source_kind
- service_connector_source_cursor_kind
- service_connector_target_kind
- service_connector_target_bucket
- service_connector_target_batch_rollover_size_in_mbs
- service_connector_target_batch_rollover_time_in_ms
- service_connector_target_object_name_prefix
- service_connector_description
- service_connector_tasks_kind
- service_connector_tasks_batch_size_in_kbs
- service_connector_tasks_batch_time_in_sec
variables:
compartment_ocid:
type: oci:identity:compartment:id
required: true
visibile: true
title: Compartment
description: "Compartment where you want to create the solution resources"
region:
type: oci:identity:region:name
required: true
visibile: true
title: Region
description: "Region where you want to deploy the resources defined by this stack."
show_advanced:
type: boolean
title: "Show advanced options?"
description: "Shows advanced options, allowing you to modify the default parameters for Streaming, Data Flow, Service Connector Hub, and Data Science"
visible: true
# Optional Configuration
# Bucket Variables
bucket_name:
type: string
default: "data_bucket"
visible: true
required: true
title: "Name for Object Storage Bucket"
description: "Name for Object Storage Bucket"
bucket_access_type:
type: string
default: "NoPublicAccess"
visible: true
required: true
title: "Access Type for Object Storage Bucket"
description: "Access Type for Object Storage Bucket"
bucket_storage_tier:
type: string
default: "Standard"
visible: true
required: true
title: "Tier for Object Storage Bucket"
description: "Tier for Object Storage Bucket"
bucket_versioning:
type: string
default: "Disabled"
visible: true
required: true
title: "Versioning for Object Storage Bucket"
description: "Versioning for Object Storage Bucket"
# Data Catalog Variables
catalog_display_name:
type: string
default: "My_Data_Catalog"
visible: true
required: true
title: "Name for Data Catalog"
description: "Name for Data Catalog"
# Data Science Variables
project_description:
type: string
default: "Test_Project"
visible: true
required: true
title: "Project Description for Data Science Project"
description: "Project Description for Data Science Project"
project_display_name:
type: string
default: "My Data Science Project"
visible: true
required: true
title: "Project Display Name for Data Science Project"
description: "Project Display Name for Data Science Project"
notebook_session_display_name:
type: string
default: "Test Notebook Session"
visible: true
required: true
title: "Notebook Session Display Name for Data Science Project"
description: "Notebook Session Display Name for Data Science Project"
notebook_session_notebook_session_configuration_details_shape:
type: oci:core:instanceshape:name
default: VM.Standard2.1
visible: true
required: true
title: "VM Shape for Data Science Project"
description: "VM Shape for Data Science Project"
dependsOn:
compartmentId: compartment_ocid
notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs:
type: number
minimum: 50
maximum: 1024
multipleOf: 1
default: 50
visible: true
required: true
title: "Block Storage Size for Data Science Project"
description: "Block Storage Size for Data Science Project"
# Streams Variables
stream_pool_name:
type: string
default: "Test_Stream_Pool"
visible: true
required: true
title: "Stream Pool Name for Streaming"
description: "Stream Pool Name for Streaming"
stream_name:
type: string
default: "Test_Stream"
visible: true
required: true
title: "Stream Name for Streaming"
description: "Stream Name for Streaming"
stream_partitions:
type: number
minimum: 1
maximum: 25
multipleOf: 1
default: 1
visible: true
required: true
title: "Number of Stream Partitions for Streaming"
description: "Number of Stream Partitions for Streaming"
stream_retention_in_hours:
type: number
minimum: 24
maximum: 168
multipleOf: 1
default: 24
visible: true
required: true
title: "Stream Retention in Hours"
description: "Stream Retention in Hours"
# Data Flow variables
dataflow_logs_bucket_name:
type: string
default: "dataflow-logs"
visible: true
required: true
title: "Log Bucket for Data Flow"
description: "Log Bucket for Data Flow"
application_display_name:
type: string
default: "Test data flow app"
visible: true
required: true
title: "Application Display Name for Data Flow"
description: "Application Display Name for Data Flow"
application_driver_shape:
type: oci:core:instanceshape:name
default: "VM.Standard2.1"
visible: true
required: true
title: "Application Driver Shape for Data Flow"
description: "Application Driver Shape for Data Flow"
dependsOn:
compartmentId: compartment_ocid
application_executor_shape:
type: oci:core:instanceshape:name
default: "VM.Standard2.1"
visible: true
required: true
title: "Application Executor Shape for Data Flow"
description: "Application Executor Shape for Data Flow"
dependsOn:
compartmentId: compartment_ocid
application_file_uri:
type: string
default: "oci://oow_2019_dataflow_lab@bigdatadatasciencelarge/usercontent/oow-lab-2019-java-etl-1.0-SNAPSHOT.jar"
visible: true
required: false
title: "Application File URI for Data Flow"
description: "Application File URI for Data Flow"
application_language:
type: string
default: "Java"
visible: true
required: true
title: "Application Language for Data Flow"
description: "Application Language for Data Flow"
application_num_executors:
type: number
minimum: 1
maximum: 100
multipleOf: 1
default: 1
visible: true
required: true
title: "Number of Executors for Data Flow Application"
description: "Number of Executors for Data Flow Application"
application_spark_version:
type: string
default: "2.4.4"
visible: true
required: true
title: "Application Spark Version for Data Flow"
description: "Application Spark Version for Data Flow"
application_class_name:
type: string
default: "convert.Convert"
visible: true
required: true
title: "Application Class Name for Data Flow"
description: "Application Class Name for Data Flow"
application_description:
type: string
default: "Test Java Application"
visible: true
required: true
title: "Application Description for Data Flow"
description: "Application Description for Data Flow"
# Service Connector Hub Variables
service_connector_display_name:
type: string
default: "Test_Service_Connector"
visible: true
required: true
title: "Service Connector Hub Display Name"
description: "Service Connector Hub Display Name"
#Source Information
service_connector_source_kind:
type: string
default: "streaming"
visible: true
required: true
title: "Source Kind for Service Connector Hub"
description: "Source Kind for Service Connector Hub"
service_connector_source_cursor_kind:
type: string
default: "TRIM_HORIZON"
visible: true
required: true
title: "Cursor Kind for Service Connector Hub"
description: "Starts consuming from the oldest available message in the stream."
service_connector_target_kind:
type: string
default: "objectStorage"
visible: true
required: true
title: "Target Kind for Service Connector Hub"
description: "Selecting the target of object storage."
service_connector_target_bucket:
type: string
default: "data_bucket"
visible: true
required: true
title: "Bucket Target for Service Connector Hub"
description: "Selecting the target of data_bucket."
service_connector_target_batch_rollover_size_in_mbs:
type: number
minimum: 1
maximum: 100
default: 10
visible: true
required: true
title: "Target Batch Rollover Size in MBs"
description: "Setting target batch rollover size in megabytes."
service_connector_target_batch_rollover_time_in_ms:
type: number
minimum: 60000
maximum: 420000
default: 60000
visible: true
required: true
title: "Target Batch Rollover Time in Milliseconds"
description: "Setting the target batch rollover time in milliseconds."
service_connector_target_object_name_prefix:
type: string
default: "data"
visible: true
required: true
title: "Object Name Prefix for Service Connector Hub"
description: "Setting object name prefix of data pulled from the Streaming service."
service_connector_description:
type: string
default: "Used to connect streaming to object storage"
visible: true
required: true
title: "Service Connector Hub Description"
description: "Describes the use case for the Service Connector Hub."
service_connector_tasks_kind:
type: string
default: "function"
visible: true
required: true
title: "Service Connector Hub Task Kind"
description: "The kind of task used between the source and target."
service_connector_tasks_batch_size_in_kbs:
type: number
minimum: 1
maximum: 6143
default: 5120
visible: true
required: true
title: "Task Batch Size in KBs"
description: "Setting task batch sixe in kilobytes."
service_connector_tasks_batch_time_in_sec:
type: number
minimum: 60
maximum: 600
default: 60
visible: true
required: true
title: "Task Batch Time in Seconds"
description: "Setting task batch time in seconds."
#OCIR Variables
ocir_repo_name:
type: string
required: true
visibile: true
title: "OCIR repository name"
description: "Oracle Cloud Infrastructure Registry repository name"
ocir_user_name:
type: string
required: true
visibile: true
title: "OCIR username"
description: "Oracle Cloud Infrastructure Registry username (your OCI username)"
ocir_user_password:
type: password
required: true
visibile: true
title: "OCIR user password"
description: "Oracle Cloud Infrastructure Registry user password (your OCI user authtoken)"
release:
type: string
required: false
visible: false
title: "Reference Architecture Release (OCI Architecture Center)"