gooddata 2.1.19 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gdc-ii-config.yaml +42 -1
- data/.github/workflows/build.yml +67 -0
- data/.github/workflows/pre-merge.yml +72 -0
- data/.pronto.yml +1 -0
- data/.rubocop.yml +2 -14
- data/CHANGELOG.md +47 -0
- data/Dockerfile +27 -14
- data/Dockerfile.jruby +5 -15
- data/Dockerfile.ruby +5 -7
- data/Gemfile +4 -2
- data/LICENSE +4409 -16
- data/README.md +6 -6
- data/Rakefile +1 -1
- data/SDK_VERSION +1 -1
- data/VERSION +1 -1
- data/bin/run_brick.rb +7 -0
- data/ci/mssql/pom.xml +62 -0
- data/ci/mysql/pom.xml +62 -0
- data/ci/redshift/pom.xml +4 -5
- data/docker-compose.lcm.yml +42 -4
- data/docker-compose.yml +42 -0
- data/gooddata.gemspec +21 -21
- data/k8s/charts/lcm-bricks/Chart.yaml +1 -1
- data/lcm.rake +11 -8
- data/lib/gooddata/bricks/base_pipeline.rb +26 -0
- data/lib/gooddata/bricks/brick.rb +0 -1
- data/lib/gooddata/bricks/middleware/aws_middleware.rb +35 -9
- data/lib/gooddata/bricks/middleware/execution_result_middleware.rb +3 -3
- data/lib/gooddata/bricks/pipeline.rb +2 -14
- data/lib/gooddata/cloud_resources/blobstorage/blobstorage_client.rb +98 -0
- data/lib/gooddata/cloud_resources/mssql/drivers/.gitkeepme +0 -0
- data/lib/gooddata/cloud_resources/mssql/mssql_client.rb +122 -0
- data/lib/gooddata/cloud_resources/mysql/drivers/.gitkeepme +0 -0
- data/lib/gooddata/cloud_resources/mysql/mysql_client.rb +121 -0
- data/lib/gooddata/cloud_resources/postgresql/postgresql_client.rb +0 -1
- data/lib/gooddata/cloud_resources/redshift/drivers/.gitkeepme +0 -0
- data/lib/gooddata/cloud_resources/redshift/redshift_client.rb +0 -2
- data/lib/gooddata/cloud_resources/snowflake/snowflake_client.rb +18 -1
- data/lib/gooddata/helpers/data_helper.rb +9 -4
- data/lib/gooddata/lcm/actions/base_action.rb +157 -0
- data/lib/gooddata/lcm/actions/collect_data_product.rb +2 -1
- data/lib/gooddata/lcm/actions/collect_meta.rb +3 -1
- data/lib/gooddata/lcm/actions/collect_projects_warning_status.rb +53 -0
- data/lib/gooddata/lcm/actions/collect_segment_clients.rb +14 -0
- data/lib/gooddata/lcm/actions/initialize_continue_on_error_option.rb +87 -0
- data/lib/gooddata/lcm/actions/migrate_gdc_date_dimension.rb +31 -4
- data/lib/gooddata/lcm/actions/provision_clients.rb +34 -5
- data/lib/gooddata/lcm/actions/synchronize_cas.rb +24 -4
- data/lib/gooddata/lcm/actions/synchronize_clients.rb +112 -11
- data/lib/gooddata/lcm/actions/synchronize_dataset_mappings.rb +89 -0
- data/lib/gooddata/lcm/actions/synchronize_etls_in_segment.rb +48 -11
- data/lib/gooddata/lcm/actions/synchronize_kd_dashboard_permission.rb +103 -0
- data/lib/gooddata/lcm/actions/synchronize_ldm.rb +79 -23
- data/lib/gooddata/lcm/actions/synchronize_ldm_layout.rb +98 -0
- data/lib/gooddata/lcm/actions/synchronize_pp_dashboard_permission.rb +108 -0
- data/lib/gooddata/lcm/actions/synchronize_schedules.rb +31 -1
- data/lib/gooddata/lcm/actions/synchronize_user_filters.rb +26 -18
- data/lib/gooddata/lcm/actions/synchronize_user_groups.rb +30 -4
- data/lib/gooddata/lcm/actions/synchronize_users.rb +11 -10
- data/lib/gooddata/lcm/actions/update_metric_formats.rb +202 -0
- data/lib/gooddata/lcm/data/delete_from_lcm_release.sql.erb +5 -0
- data/lib/gooddata/lcm/exceptions/lcm_execution_warning.rb +15 -0
- data/lib/gooddata/lcm/helpers/check_helper.rb +19 -0
- data/lib/gooddata/lcm/helpers/release_table_helper.rb +42 -8
- data/lib/gooddata/lcm/lcm2.rb +50 -4
- data/lib/gooddata/lcm/user_bricks_helper.rb +9 -0
- data/lib/gooddata/mixins/inspector.rb +1 -1
- data/lib/gooddata/mixins/md_object_query.rb +1 -0
- data/lib/gooddata/models/data_source.rb +5 -1
- data/lib/gooddata/models/dataset_mapping.rb +36 -0
- data/lib/gooddata/models/ldm_layout.rb +38 -0
- data/lib/gooddata/models/metadata/label.rb +26 -27
- data/lib/gooddata/models/project.rb +230 -30
- data/lib/gooddata/models/project_creator.rb +83 -6
- data/lib/gooddata/models/schedule.rb +13 -1
- data/lib/gooddata/models/segment.rb +2 -1
- data/lib/gooddata/models/user_filters/user_filter_builder.rb +162 -68
- data/lib/gooddata/rest/connection.rb +5 -3
- data/lib/gooddata/rest/phmap.rb +2 -0
- data/lib/gooddata.rb +1 -0
- data/lib/gooddata_brick_base.rb +35 -0
- data/sonar-project.properties +6 -0
- metadata +100 -68
- data/lib/gooddata/bricks/middleware/bulk_salesforce_middleware.rb +0 -37
- data/lib/gooddata/cloud_resources/redshift/drivers/log4j.properties +0 -15
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gooddata
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pavel Kolesnikov
|
|
@@ -14,7 +14,7 @@ authors:
|
|
|
14
14
|
autorequire:
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
|
-
date:
|
|
17
|
+
date: 2024-03-12 00:00:00.000000000 Z
|
|
18
18
|
dependencies:
|
|
19
19
|
- !ruby/object:Gem::Dependency
|
|
20
20
|
name: license_finder
|
|
@@ -36,14 +36,14 @@ dependencies:
|
|
|
36
36
|
requirements:
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '
|
|
39
|
+
version: '13.0'
|
|
40
40
|
type: :development
|
|
41
41
|
prerelease: false
|
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: '
|
|
46
|
+
version: '13.0'
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: redcarpet
|
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -64,56 +64,56 @@ dependencies:
|
|
|
64
64
|
requirements:
|
|
65
65
|
- - "~>"
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: 3.
|
|
67
|
+
version: 3.12.0
|
|
68
68
|
type: :development
|
|
69
69
|
prerelease: false
|
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - "~>"
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: 3.
|
|
74
|
+
version: 3.12.0
|
|
75
75
|
- !ruby/object:Gem::Dependency
|
|
76
76
|
name: rspec-expectations
|
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
|
78
78
|
requirements:
|
|
79
79
|
- - "~>"
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: '3.
|
|
81
|
+
version: '3.12'
|
|
82
82
|
type: :development
|
|
83
83
|
prerelease: false
|
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
|
85
85
|
requirements:
|
|
86
86
|
- - "~>"
|
|
87
87
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: '3.
|
|
88
|
+
version: '3.12'
|
|
89
89
|
- !ruby/object:Gem::Dependency
|
|
90
90
|
name: rspec_junit_formatter
|
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
|
92
92
|
requirements:
|
|
93
93
|
- - "~>"
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: 0.
|
|
95
|
+
version: 0.6.0
|
|
96
96
|
type: :development
|
|
97
97
|
prerelease: false
|
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
|
99
99
|
requirements:
|
|
100
100
|
- - "~>"
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: 0.
|
|
102
|
+
version: 0.6.0
|
|
103
103
|
- !ruby/object:Gem::Dependency
|
|
104
104
|
name: rubocop
|
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
|
106
106
|
requirements:
|
|
107
|
-
- - "
|
|
107
|
+
- - ">="
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
|
-
version:
|
|
109
|
+
version: '1.28'
|
|
110
110
|
type: :development
|
|
111
111
|
prerelease: false
|
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
|
113
113
|
requirements:
|
|
114
|
-
- - "
|
|
114
|
+
- - ">="
|
|
115
115
|
- !ruby/object:Gem::Version
|
|
116
|
-
version:
|
|
116
|
+
version: '1.28'
|
|
117
117
|
- !ruby/object:Gem::Dependency
|
|
118
118
|
name: simplecov
|
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -202,42 +202,42 @@ dependencies:
|
|
|
202
202
|
name: pronto
|
|
203
203
|
requirement: !ruby/object:Gem::Requirement
|
|
204
204
|
requirements:
|
|
205
|
-
- - "
|
|
205
|
+
- - ">="
|
|
206
206
|
- !ruby/object:Gem::Version
|
|
207
207
|
version: '0.10'
|
|
208
208
|
type: :development
|
|
209
209
|
prerelease: false
|
|
210
210
|
version_requirements: !ruby/object:Gem::Requirement
|
|
211
211
|
requirements:
|
|
212
|
-
- - "
|
|
212
|
+
- - ">="
|
|
213
213
|
- !ruby/object:Gem::Version
|
|
214
214
|
version: '0.10'
|
|
215
215
|
- !ruby/object:Gem::Dependency
|
|
216
216
|
name: pronto-rubocop
|
|
217
217
|
requirement: !ruby/object:Gem::Requirement
|
|
218
218
|
requirements:
|
|
219
|
-
- - "
|
|
219
|
+
- - ">="
|
|
220
220
|
- !ruby/object:Gem::Version
|
|
221
221
|
version: '0.9'
|
|
222
222
|
type: :development
|
|
223
223
|
prerelease: false
|
|
224
224
|
version_requirements: !ruby/object:Gem::Requirement
|
|
225
225
|
requirements:
|
|
226
|
-
- - "
|
|
226
|
+
- - ">="
|
|
227
227
|
- !ruby/object:Gem::Version
|
|
228
228
|
version: '0.9'
|
|
229
229
|
- !ruby/object:Gem::Dependency
|
|
230
230
|
name: pronto-reek
|
|
231
231
|
requirement: !ruby/object:Gem::Requirement
|
|
232
232
|
requirements:
|
|
233
|
-
- - "
|
|
233
|
+
- - ">="
|
|
234
234
|
- !ruby/object:Gem::Version
|
|
235
235
|
version: '0.9'
|
|
236
236
|
type: :development
|
|
237
237
|
prerelease: false
|
|
238
238
|
version_requirements: !ruby/object:Gem::Requirement
|
|
239
239
|
requirements:
|
|
240
|
-
- - "
|
|
240
|
+
- - ">="
|
|
241
241
|
- !ruby/object:Gem::Version
|
|
242
242
|
version: '0.9'
|
|
243
243
|
- !ruby/object:Gem::Dependency
|
|
@@ -286,22 +286,16 @@ dependencies:
|
|
|
286
286
|
name: activesupport
|
|
287
287
|
requirement: !ruby/object:Gem::Requirement
|
|
288
288
|
requirements:
|
|
289
|
-
- - ">="
|
|
290
|
-
- !ruby/object:Gem::Version
|
|
291
|
-
version: 5.2.4.3
|
|
292
289
|
- - "<"
|
|
293
290
|
- !ruby/object:Gem::Version
|
|
294
|
-
version:
|
|
291
|
+
version: 7.0.0
|
|
295
292
|
type: :runtime
|
|
296
293
|
prerelease: false
|
|
297
294
|
version_requirements: !ruby/object:Gem::Requirement
|
|
298
295
|
requirements:
|
|
299
|
-
- - ">="
|
|
300
|
-
- !ruby/object:Gem::Version
|
|
301
|
-
version: 5.2.4.3
|
|
302
296
|
- - "<"
|
|
303
297
|
- !ruby/object:Gem::Version
|
|
304
|
-
version:
|
|
298
|
+
version: 7.0.0
|
|
305
299
|
- !ruby/object:Gem::Dependency
|
|
306
300
|
name: aws-sdk-s3
|
|
307
301
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -320,22 +314,50 @@ dependencies:
|
|
|
320
314
|
name: docile
|
|
321
315
|
requirement: !ruby/object:Gem::Requirement
|
|
322
316
|
requirements:
|
|
323
|
-
- - "
|
|
317
|
+
- - "~>"
|
|
318
|
+
- !ruby/object:Gem::Version
|
|
319
|
+
version: '1.1'
|
|
320
|
+
type: :runtime
|
|
321
|
+
prerelease: false
|
|
322
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
323
|
+
requirements:
|
|
324
|
+
- - "~>"
|
|
324
325
|
- !ruby/object:Gem::Version
|
|
325
326
|
version: '1.1'
|
|
326
|
-
|
|
327
|
+
- !ruby/object:Gem::Dependency
|
|
328
|
+
name: azure-storage-blob
|
|
329
|
+
requirement: !ruby/object:Gem::Requirement
|
|
330
|
+
requirements:
|
|
331
|
+
- - "~>"
|
|
327
332
|
- !ruby/object:Gem::Version
|
|
328
|
-
version:
|
|
333
|
+
version: '2.0'
|
|
329
334
|
type: :runtime
|
|
330
335
|
prerelease: false
|
|
331
336
|
version_requirements: !ruby/object:Gem::Requirement
|
|
332
337
|
requirements:
|
|
333
|
-
- - "
|
|
338
|
+
- - "~>"
|
|
334
339
|
- !ruby/object:Gem::Version
|
|
335
|
-
version: '
|
|
336
|
-
|
|
340
|
+
version: '2.0'
|
|
341
|
+
- !ruby/object:Gem::Dependency
|
|
342
|
+
name: nokogiri
|
|
343
|
+
requirement: !ruby/object:Gem::Requirement
|
|
344
|
+
requirements:
|
|
345
|
+
- - "~>"
|
|
337
346
|
- !ruby/object:Gem::Version
|
|
338
|
-
version: 1
|
|
347
|
+
version: '1'
|
|
348
|
+
- - ">="
|
|
349
|
+
- !ruby/object:Gem::Version
|
|
350
|
+
version: 1.10.8
|
|
351
|
+
type: :runtime
|
|
352
|
+
prerelease: false
|
|
353
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
354
|
+
requirements:
|
|
355
|
+
- - "~>"
|
|
356
|
+
- !ruby/object:Gem::Version
|
|
357
|
+
version: '1'
|
|
358
|
+
- - ">="
|
|
359
|
+
- !ruby/object:Gem::Version
|
|
360
|
+
version: 1.10.8
|
|
339
361
|
- !ruby/object:Gem::Dependency
|
|
340
362
|
name: gli
|
|
341
363
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -370,14 +392,14 @@ dependencies:
|
|
|
370
392
|
requirements:
|
|
371
393
|
- - "~>"
|
|
372
394
|
- !ruby/object:Gem::Version
|
|
373
|
-
version: '
|
|
395
|
+
version: '2.6'
|
|
374
396
|
type: :runtime
|
|
375
397
|
prerelease: false
|
|
376
398
|
version_requirements: !ruby/object:Gem::Requirement
|
|
377
399
|
requirements:
|
|
378
400
|
- - "~>"
|
|
379
401
|
- !ruby/object:Gem::Version
|
|
380
|
-
version: '
|
|
402
|
+
version: '2.6'
|
|
381
403
|
- !ruby/object:Gem::Dependency
|
|
382
404
|
name: multi_json
|
|
383
405
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -420,6 +442,20 @@ dependencies:
|
|
|
420
442
|
- - "~>"
|
|
421
443
|
- !ruby/object:Gem::Version
|
|
422
444
|
version: '1.1'
|
|
445
|
+
- !ruby/object:Gem::Dependency
|
|
446
|
+
name: sequel
|
|
447
|
+
requirement: !ruby/object:Gem::Requirement
|
|
448
|
+
requirements:
|
|
449
|
+
- - "<"
|
|
450
|
+
- !ruby/object:Gem::Version
|
|
451
|
+
version: 5.72.0
|
|
452
|
+
type: :runtime
|
|
453
|
+
prerelease: false
|
|
454
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
455
|
+
requirements:
|
|
456
|
+
- - "<"
|
|
457
|
+
- !ruby/object:Gem::Version
|
|
458
|
+
version: 5.72.0
|
|
423
459
|
- !ruby/object:Gem::Dependency
|
|
424
460
|
name: remote_syslog_logger
|
|
425
461
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -441,9 +477,6 @@ dependencies:
|
|
|
441
477
|
- - ">="
|
|
442
478
|
- !ruby/object:Gem::Version
|
|
443
479
|
version: '2.4'
|
|
444
|
-
- - "<"
|
|
445
|
-
- !ruby/object:Gem::Version
|
|
446
|
-
version: '4.0'
|
|
447
480
|
type: :runtime
|
|
448
481
|
prerelease: false
|
|
449
482
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -451,9 +484,6 @@ dependencies:
|
|
|
451
484
|
- - ">="
|
|
452
485
|
- !ruby/object:Gem::Version
|
|
453
486
|
version: '2.4'
|
|
454
|
-
- - "<"
|
|
455
|
-
- !ruby/object:Gem::Version
|
|
456
|
-
version: '4.0'
|
|
457
487
|
- !ruby/object:Gem::Dependency
|
|
458
488
|
name: rest-client
|
|
459
489
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -472,36 +502,16 @@ dependencies:
|
|
|
472
502
|
name: rubyzip
|
|
473
503
|
requirement: !ruby/object:Gem::Requirement
|
|
474
504
|
requirements:
|
|
475
|
-
- - "~>"
|
|
476
|
-
- !ruby/object:Gem::Version
|
|
477
|
-
version: '1.2'
|
|
478
505
|
- - ">="
|
|
479
506
|
- !ruby/object:Gem::Version
|
|
480
|
-
version:
|
|
507
|
+
version: '0'
|
|
481
508
|
type: :runtime
|
|
482
509
|
prerelease: false
|
|
483
510
|
version_requirements: !ruby/object:Gem::Requirement
|
|
484
511
|
requirements:
|
|
485
|
-
- - "~>"
|
|
486
|
-
- !ruby/object:Gem::Version
|
|
487
|
-
version: '1.2'
|
|
488
512
|
- - ">="
|
|
489
513
|
- !ruby/object:Gem::Version
|
|
490
|
-
version:
|
|
491
|
-
- !ruby/object:Gem::Dependency
|
|
492
|
-
name: salesforce_bulk_query
|
|
493
|
-
requirement: !ruby/object:Gem::Requirement
|
|
494
|
-
requirements:
|
|
495
|
-
- - "~>"
|
|
496
|
-
- !ruby/object:Gem::Version
|
|
497
|
-
version: '0.2'
|
|
498
|
-
type: :runtime
|
|
499
|
-
prerelease: false
|
|
500
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
501
|
-
requirements:
|
|
502
|
-
- - "~>"
|
|
503
|
-
- !ruby/object:Gem::Version
|
|
504
|
-
version: '0.2'
|
|
514
|
+
version: '0'
|
|
505
515
|
- !ruby/object:Gem::Dependency
|
|
506
516
|
name: terminal-table
|
|
507
517
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -584,6 +594,8 @@ files:
|
|
|
584
594
|
- ".flayignore"
|
|
585
595
|
- ".gdc-ii-config-chart.yaml"
|
|
586
596
|
- ".gdc-ii-config.yaml"
|
|
597
|
+
- ".github/workflows/build.yml"
|
|
598
|
+
- ".github/workflows/pre-merge.yml"
|
|
587
599
|
- ".gitignore"
|
|
588
600
|
- ".pronto.yml"
|
|
589
601
|
- ".rspec"
|
|
@@ -623,6 +635,8 @@ files:
|
|
|
623
635
|
- bin/users.sh
|
|
624
636
|
- ci.rake
|
|
625
637
|
- ci/bigquery/pom.xml
|
|
638
|
+
- ci/mssql/pom.xml
|
|
639
|
+
- ci/mysql/pom.xml
|
|
626
640
|
- ci/postgresql/pom.xml
|
|
627
641
|
- ci/redshift/pom.xml
|
|
628
642
|
- ci/snowflake/pom.xml
|
|
@@ -644,6 +658,7 @@ files:
|
|
|
644
658
|
- lib/gooddata.rb
|
|
645
659
|
- lib/gooddata/app/app.rb
|
|
646
660
|
- lib/gooddata/bricks/base_downloader.rb
|
|
661
|
+
- lib/gooddata/bricks/base_pipeline.rb
|
|
647
662
|
- lib/gooddata/bricks/brick.rb
|
|
648
663
|
- lib/gooddata/bricks/bricks.rb
|
|
649
664
|
- lib/gooddata/bricks/hello_world_brick.rb
|
|
@@ -651,7 +666,6 @@ files:
|
|
|
651
666
|
- lib/gooddata/bricks/middleware/aws_middleware.rb
|
|
652
667
|
- lib/gooddata/bricks/middleware/base_middleware.rb
|
|
653
668
|
- lib/gooddata/bricks/middleware/bench_middleware.rb
|
|
654
|
-
- lib/gooddata/bricks/middleware/bulk_salesforce_middleware.rb
|
|
655
669
|
- lib/gooddata/bricks/middleware/context_logger_decorator.rb
|
|
656
670
|
- lib/gooddata/bricks/middleware/context_manager.rb
|
|
657
671
|
- lib/gooddata/bricks/middleware/decode_params_middleware.rb
|
|
@@ -686,12 +700,17 @@ files:
|
|
|
686
700
|
- lib/gooddata/client.rb
|
|
687
701
|
- lib/gooddata/cloud_resources/bigquery/bigquery_client.rb
|
|
688
702
|
- lib/gooddata/cloud_resources/bigquery/drivers/.gitkeepme
|
|
703
|
+
- lib/gooddata/cloud_resources/blobstorage/blobstorage_client.rb
|
|
689
704
|
- lib/gooddata/cloud_resources/cloud_resource_client.rb
|
|
690
705
|
- lib/gooddata/cloud_resources/cloud_resource_factory.rb
|
|
691
706
|
- lib/gooddata/cloud_resources/cloud_resources.rb
|
|
707
|
+
- lib/gooddata/cloud_resources/mssql/drivers/.gitkeepme
|
|
708
|
+
- lib/gooddata/cloud_resources/mssql/mssql_client.rb
|
|
709
|
+
- lib/gooddata/cloud_resources/mysql/drivers/.gitkeepme
|
|
710
|
+
- lib/gooddata/cloud_resources/mysql/mysql_client.rb
|
|
692
711
|
- lib/gooddata/cloud_resources/postgresql/drivers/.gitkeepme
|
|
693
712
|
- lib/gooddata/cloud_resources/postgresql/postgresql_client.rb
|
|
694
|
-
- lib/gooddata/cloud_resources/redshift/drivers
|
|
713
|
+
- lib/gooddata/cloud_resources/redshift/drivers/.gitkeepme
|
|
695
714
|
- lib/gooddata/cloud_resources/redshift/redshift_client.rb
|
|
696
715
|
- lib/gooddata/cloud_resources/snowflake/drivers/.gitkeepme
|
|
697
716
|
- lib/gooddata/cloud_resources/snowflake/snowflake_client.rb
|
|
@@ -768,6 +787,7 @@ files:
|
|
|
768
787
|
- lib/gooddata/lcm/actions/collect_ldm_objects.rb
|
|
769
788
|
- lib/gooddata/lcm/actions/collect_meta.rb
|
|
770
789
|
- lib/gooddata/lcm/actions/collect_multiple_projects_column.rb
|
|
790
|
+
- lib/gooddata/lcm/actions/collect_projects_warning_status.rb
|
|
771
791
|
- lib/gooddata/lcm/actions/collect_segment_clients.rb
|
|
772
792
|
- lib/gooddata/lcm/actions/collect_segments.rb
|
|
773
793
|
- lib/gooddata/lcm/actions/collect_tagged_objects.rb
|
|
@@ -780,6 +800,7 @@ files:
|
|
|
780
800
|
- lib/gooddata/lcm/actions/hello_world.rb
|
|
781
801
|
- lib/gooddata/lcm/actions/help.rb
|
|
782
802
|
- lib/gooddata/lcm/actions/import_object_collections.rb
|
|
803
|
+
- lib/gooddata/lcm/actions/initialize_continue_on_error_option.rb
|
|
783
804
|
- lib/gooddata/lcm/actions/migrate_gdc_date_dimension.rb
|
|
784
805
|
- lib/gooddata/lcm/actions/provision_clients.rb
|
|
785
806
|
- lib/gooddata/lcm/actions/purge_clients.rb
|
|
@@ -790,20 +811,26 @@ files:
|
|
|
790
811
|
- lib/gooddata/lcm/actions/synchronize_cas.rb
|
|
791
812
|
- lib/gooddata/lcm/actions/synchronize_clients.rb
|
|
792
813
|
- lib/gooddata/lcm/actions/synchronize_color_palette.rb
|
|
814
|
+
- lib/gooddata/lcm/actions/synchronize_dataset_mappings.rb
|
|
793
815
|
- lib/gooddata/lcm/actions/synchronize_etls_in_segment.rb
|
|
816
|
+
- lib/gooddata/lcm/actions/synchronize_kd_dashboard_permission.rb
|
|
794
817
|
- lib/gooddata/lcm/actions/synchronize_label_types.rb
|
|
795
818
|
- lib/gooddata/lcm/actions/synchronize_ldm.rb
|
|
819
|
+
- lib/gooddata/lcm/actions/synchronize_ldm_layout.rb
|
|
796
820
|
- lib/gooddata/lcm/actions/synchronize_meta.rb
|
|
797
821
|
- lib/gooddata/lcm/actions/synchronize_new_segments.rb
|
|
822
|
+
- lib/gooddata/lcm/actions/synchronize_pp_dashboard_permission.rb
|
|
798
823
|
- lib/gooddata/lcm/actions/synchronize_processes.rb
|
|
799
824
|
- lib/gooddata/lcm/actions/synchronize_schedules.rb
|
|
800
825
|
- lib/gooddata/lcm/actions/synchronize_tag_objects.rb
|
|
801
826
|
- lib/gooddata/lcm/actions/synchronize_user_filters.rb
|
|
802
827
|
- lib/gooddata/lcm/actions/synchronize_user_groups.rb
|
|
803
828
|
- lib/gooddata/lcm/actions/synchronize_users.rb
|
|
829
|
+
- lib/gooddata/lcm/actions/update_metric_formats.rb
|
|
804
830
|
- lib/gooddata/lcm/actions/update_release_table.rb
|
|
805
831
|
- lib/gooddata/lcm/brick_logger.rb
|
|
806
832
|
- lib/gooddata/lcm/data/create_lcm_release.sql.erb
|
|
833
|
+
- lib/gooddata/lcm/data/delete_from_lcm_release.sql.erb
|
|
807
834
|
- lib/gooddata/lcm/data/insert_into_lcm_release.sql.erb
|
|
808
835
|
- lib/gooddata/lcm/data/select_from_lcm_release.sql.erb
|
|
809
836
|
- lib/gooddata/lcm/data/update_lcm_release.sql.erb
|
|
@@ -811,6 +838,7 @@ files:
|
|
|
811
838
|
- lib/gooddata/lcm/dsl/params_dsl.rb
|
|
812
839
|
- lib/gooddata/lcm/dsl/type_dsl.rb
|
|
813
840
|
- lib/gooddata/lcm/exceptions/lcm_execution_error.rb
|
|
841
|
+
- lib/gooddata/lcm/exceptions/lcm_execution_warning.rb
|
|
814
842
|
- lib/gooddata/lcm/helpers/check_helper.rb
|
|
815
843
|
- lib/gooddata/lcm/helpers/helpers.rb
|
|
816
844
|
- lib/gooddata/lcm/helpers/release_table_helper.rb
|
|
@@ -917,12 +945,14 @@ files:
|
|
|
917
945
|
- lib/gooddata/models/client_synchronization_result_details.rb
|
|
918
946
|
- lib/gooddata/models/data_product.rb
|
|
919
947
|
- lib/gooddata/models/data_source.rb
|
|
948
|
+
- lib/gooddata/models/dataset_mapping.rb
|
|
920
949
|
- lib/gooddata/models/datawarehouse.rb
|
|
921
950
|
- lib/gooddata/models/domain.rb
|
|
922
951
|
- lib/gooddata/models/execution.rb
|
|
923
952
|
- lib/gooddata/models/execution_detail.rb
|
|
924
953
|
- lib/gooddata/models/from_wire.rb
|
|
925
954
|
- lib/gooddata/models/invitation.rb
|
|
955
|
+
- lib/gooddata/models/ldm_layout.rb
|
|
926
956
|
- lib/gooddata/models/links.rb
|
|
927
957
|
- lib/gooddata/models/membership.rb
|
|
928
958
|
- lib/gooddata/models/metadata.rb
|
|
@@ -986,6 +1016,7 @@ files:
|
|
|
986
1016
|
- lib/gooddata/rest/rest.rb
|
|
987
1017
|
- lib/gooddata/rest/rest_aggregator.rb
|
|
988
1018
|
- lib/gooddata/version.rb
|
|
1019
|
+
- lib/gooddata_brick_base.rb
|
|
989
1020
|
- lib/templates/bricks/brick.rb.erb
|
|
990
1021
|
- lib/templates/bricks/main.rb.erb
|
|
991
1022
|
- lib/templates/project/Goodfile.erb
|
|
@@ -995,6 +1026,7 @@ files:
|
|
|
995
1026
|
- lib/templates/project/model/model.rb.erb
|
|
996
1027
|
- rubydev_public.gpg.encrypted
|
|
997
1028
|
- rubydev_secret_keys.gpg.encrypted
|
|
1029
|
+
- sonar-project.properties
|
|
998
1030
|
- tmp/.gitkeepme
|
|
999
1031
|
- yard-server.sh
|
|
1000
1032
|
homepage: http://github.com/gooddata/gooddata-ruby
|
|
@@ -1016,7 +1048,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1016
1048
|
- !ruby/object:Gem::Version
|
|
1017
1049
|
version: '0'
|
|
1018
1050
|
requirements: []
|
|
1019
|
-
rubygems_version: 3.
|
|
1051
|
+
rubygems_version: 3.4.6
|
|
1020
1052
|
signing_key:
|
|
1021
1053
|
specification_version: 4
|
|
1022
1054
|
summary: A convenient Ruby wrapper around the GoodData RESTful API
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# encoding: UTF-8
|
|
2
|
-
#
|
|
3
|
-
# Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
|
|
4
|
-
# This source code is licensed under the BSD-style license found in the
|
|
5
|
-
# LICENSE file in the root directory of this source tree.
|
|
6
|
-
|
|
7
|
-
require 'salesforce_bulk_query'
|
|
8
|
-
|
|
9
|
-
require_relative 'base_middleware'
|
|
10
|
-
|
|
11
|
-
module GoodData
|
|
12
|
-
module Bricks
|
|
13
|
-
class BulkSalesforceMiddleware < Bricks::Middleware
|
|
14
|
-
DEFAULT_VERSION = '29.0'.freeze
|
|
15
|
-
|
|
16
|
-
def self.create_client(params)
|
|
17
|
-
salesforce = nil
|
|
18
|
-
if params['salesforce_client']
|
|
19
|
-
|
|
20
|
-
client = params['salesforce_client']
|
|
21
|
-
client.authenticate!
|
|
22
|
-
|
|
23
|
-
salesforce = SalesforceBulkQuery::Api.new(client, logger: params['GDC_LOGGER'])
|
|
24
|
-
# SalesforceBulkQuery adds its own Restforce logging so turn it off
|
|
25
|
-
Restforce.log = false if params['GDC_LOGGER']
|
|
26
|
-
end
|
|
27
|
-
params.merge('salesforce_bulk_client' => salesforce)
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
def call(params)
|
|
31
|
-
params = params.to_hash
|
|
32
|
-
params = self.class.create_client(params)
|
|
33
|
-
@app.call(params)
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Copyright (C) 2007-2019, GoodData(R) Corporation. All rights reserved.
|
|
3
|
-
#
|
|
4
|
-
|
|
5
|
-
#=======================================================================================================================
|
|
6
|
-
# Root Logger
|
|
7
|
-
#=======================================================================================================================
|
|
8
|
-
#log4j.rootCategory=INFO, Syslog, Console
|
|
9
|
-
log4j.rootCategory=INFO
|
|
10
|
-
|
|
11
|
-
#=======================================================================================================================
|
|
12
|
-
# Logger with Higher Verbosity
|
|
13
|
-
#=======================================================================================================================
|
|
14
|
-
log4j.logger.com.amazonaws=INFO
|
|
15
|
-
|