gooddata 2.2.0-java → 2.3.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +5 -5
  2. data/.gdc-ii-config.yaml +42 -1
  3. data/.github/workflows/build.yml +14 -13
  4. data/.github/workflows/pre-merge.yml +13 -13
  5. data/.pronto.yml +1 -0
  6. data/.rubocop.yml +2 -14
  7. data/CHANGELOG.md +9 -0
  8. data/Dockerfile +13 -7
  9. data/Dockerfile.jruby +5 -5
  10. data/Dockerfile.ruby +5 -7
  11. data/Gemfile +4 -2
  12. data/README.md +5 -4
  13. data/Rakefile +1 -1
  14. data/SDK_VERSION +1 -1
  15. data/VERSION +1 -1
  16. data/bin/run_brick.rb +7 -0
  17. data/ci/mysql/pom.xml +6 -1
  18. data/ci/redshift/pom.xml +3 -4
  19. data/docker-compose.lcm.yml +42 -1
  20. data/docker-compose.yml +42 -0
  21. data/gooddata.gemspec +21 -22
  22. data/lcm.rake +9 -0
  23. data/lib/gooddata/bricks/base_pipeline.rb +26 -0
  24. data/lib/gooddata/bricks/brick.rb +0 -1
  25. data/lib/gooddata/bricks/middleware/execution_result_middleware.rb +3 -3
  26. data/lib/gooddata/bricks/pipeline.rb +2 -14
  27. data/lib/gooddata/cloud_resources/mysql/mysql_client.rb +18 -8
  28. data/lib/gooddata/cloud_resources/redshift/drivers/.gitkeepme +0 -0
  29. data/lib/gooddata/cloud_resources/redshift/redshift_client.rb +0 -2
  30. data/lib/gooddata/cloud_resources/snowflake/snowflake_client.rb +1 -1
  31. data/lib/gooddata/lcm/actions/base_action.rb +157 -0
  32. data/lib/gooddata/lcm/actions/collect_data_product.rb +2 -1
  33. data/lib/gooddata/lcm/actions/collect_projects_warning_status.rb +53 -0
  34. data/lib/gooddata/lcm/actions/collect_segment_clients.rb +14 -0
  35. data/lib/gooddata/lcm/actions/initialize_continue_on_error_option.rb +87 -0
  36. data/lib/gooddata/lcm/actions/migrate_gdc_date_dimension.rb +28 -2
  37. data/lib/gooddata/lcm/actions/provision_clients.rb +34 -5
  38. data/lib/gooddata/lcm/actions/synchronize_cas.rb +24 -4
  39. data/lib/gooddata/lcm/actions/synchronize_clients.rb +56 -4
  40. data/lib/gooddata/lcm/actions/synchronize_dataset_mappings.rb +28 -3
  41. data/lib/gooddata/lcm/actions/synchronize_etls_in_segment.rb +48 -11
  42. data/lib/gooddata/lcm/actions/synchronize_kd_dashboard_permission.rb +103 -0
  43. data/lib/gooddata/lcm/actions/synchronize_ldm.rb +60 -15
  44. data/lib/gooddata/lcm/actions/synchronize_ldm_layout.rb +98 -0
  45. data/lib/gooddata/lcm/actions/synchronize_pp_dashboard_permission.rb +108 -0
  46. data/lib/gooddata/lcm/actions/synchronize_schedules.rb +31 -1
  47. data/lib/gooddata/lcm/actions/synchronize_user_filters.rb +14 -9
  48. data/lib/gooddata/lcm/actions/synchronize_user_groups.rb +30 -4
  49. data/lib/gooddata/lcm/actions/synchronize_users.rb +11 -10
  50. data/lib/gooddata/lcm/actions/update_metric_formats.rb +21 -4
  51. data/lib/gooddata/lcm/exceptions/lcm_execution_warning.rb +15 -0
  52. data/lib/gooddata/lcm/helpers/check_helper.rb +19 -0
  53. data/lib/gooddata/lcm/lcm2.rb +45 -4
  54. data/lib/gooddata/lcm/user_bricks_helper.rb +9 -0
  55. data/lib/gooddata/mixins/inspector.rb +1 -1
  56. data/lib/gooddata/models/ldm_layout.rb +38 -0
  57. data/lib/gooddata/models/project.rb +197 -22
  58. data/lib/gooddata/models/project_creator.rb +83 -6
  59. data/lib/gooddata/models/segment.rb +2 -1
  60. data/lib/gooddata/models/user_filters/user_filter_builder.rb +104 -15
  61. data/lib/gooddata/rest/connection.rb +5 -3
  62. data/lib/gooddata/rest/phmap.rb +1 -0
  63. data/lib/gooddata.rb +1 -0
  64. data/lib/gooddata_brick_base.rb +35 -0
  65. data/sonar-project.properties +6 -0
  66. metadata +60 -55
  67. 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.2.0
4
+ version: 2.3.0
5
5
  platform: java
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: 2022-02-15 00:00:00.000000000 Z
17
+ date: 2024-03-12 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  requirement: !ruby/object:Gem::Requirement
@@ -35,7 +35,7 @@ dependencies:
35
35
  requirements:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
- version: '11.1'
38
+ version: '13.0'
39
39
  name: rake
40
40
  prerelease: false
41
41
  type: :development
@@ -43,13 +43,13 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '11.1'
46
+ version: '13.0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  requirements:
50
50
  - - "~>"
51
51
  - !ruby/object:Gem::Version
52
- version: 3.5.0
52
+ version: 3.12.0
53
53
  name: rspec
54
54
  prerelease: false
55
55
  type: :development
@@ -57,13 +57,13 @@ dependencies:
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 3.5.0
60
+ version: 3.12.0
61
61
  - !ruby/object:Gem::Dependency
62
62
  requirement: !ruby/object:Gem::Requirement
63
63
  requirements:
64
64
  - - "~>"
65
65
  - !ruby/object:Gem::Version
66
- version: '3.5'
66
+ version: '3.12'
67
67
  name: rspec-expectations
68
68
  prerelease: false
69
69
  type: :development
@@ -71,13 +71,13 @@ dependencies:
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '3.5'
74
+ version: '3.12'
75
75
  - !ruby/object:Gem::Dependency
76
76
  requirement: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: 0.3.0
80
+ version: 0.6.0
81
81
  name: rspec_junit_formatter
82
82
  prerelease: false
83
83
  type: :development
@@ -85,21 +85,21 @@ dependencies:
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: 0.3.0
88
+ version: 0.6.0
89
89
  - !ruby/object:Gem::Dependency
90
90
  requirement: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - "~>"
92
+ - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: 0.59.1
94
+ version: '1.28'
95
95
  name: rubocop
96
96
  prerelease: false
97
97
  type: :development
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - "~>"
100
+ - - ">="
101
101
  - !ruby/object:Gem::Version
102
- version: 0.59.1
102
+ version: '1.28'
103
103
  - !ruby/object:Gem::Dependency
104
104
  requirement: !ruby/object:Gem::Requirement
105
105
  requirements:
@@ -201,23 +201,17 @@ dependencies:
201
201
  - !ruby/object:Gem::Dependency
202
202
  requirement: !ruby/object:Gem::Requirement
203
203
  requirements:
204
- - - ">="
205
- - !ruby/object:Gem::Version
206
- version: 5.2.4.3
207
204
  - - "<"
208
205
  - !ruby/object:Gem::Version
209
- version: '6.0'
206
+ version: 7.0.0
210
207
  name: activesupport
211
208
  prerelease: false
212
209
  type: :runtime
213
210
  version_requirements: !ruby/object:Gem::Requirement
214
211
  requirements:
215
- - - ">="
216
- - !ruby/object:Gem::Version
217
- version: 5.2.4.3
218
212
  - - "<"
219
213
  - !ruby/object:Gem::Version
220
- version: '6.0'
214
+ version: 7.0.0
221
215
  - !ruby/object:Gem::Dependency
222
216
  requirement: !ruby/object:Gem::Requirement
223
217
  requirements:
@@ -235,29 +229,23 @@ dependencies:
235
229
  - !ruby/object:Gem::Dependency
236
230
  requirement: !ruby/object:Gem::Requirement
237
231
  requirements:
238
- - - ">"
232
+ - - "~>"
239
233
  - !ruby/object:Gem::Version
240
234
  version: '1.1'
241
- - - "<"
242
- - !ruby/object:Gem::Version
243
- version: 1.4.0
244
235
  name: docile
245
236
  prerelease: false
246
237
  type: :runtime
247
238
  version_requirements: !ruby/object:Gem::Requirement
248
239
  requirements:
249
- - - ">"
240
+ - - "~>"
250
241
  - !ruby/object:Gem::Version
251
242
  version: '1.1'
252
- - - "<"
253
- - !ruby/object:Gem::Version
254
- version: 1.4.0
255
243
  - !ruby/object:Gem::Dependency
256
244
  requirement: !ruby/object:Gem::Requirement
257
245
  requirements:
258
246
  - - "~>"
259
247
  - !ruby/object:Gem::Version
260
- version: 1.1.0
248
+ version: '2.0'
261
249
  name: azure-storage-blob
262
250
  prerelease: false
263
251
  type: :runtime
@@ -265,13 +253,16 @@ dependencies:
265
253
  requirements:
266
254
  - - "~>"
267
255
  - !ruby/object:Gem::Version
268
- version: 1.1.0
256
+ version: '2.0'
269
257
  - !ruby/object:Gem::Dependency
270
258
  requirement: !ruby/object:Gem::Requirement
271
259
  requirements:
272
260
  - - "~>"
273
261
  - !ruby/object:Gem::Version
274
- version: 1.10.0
262
+ version: '1'
263
+ - - ">="
264
+ - !ruby/object:Gem::Version
265
+ version: 1.10.8
275
266
  name: nokogiri
276
267
  prerelease: false
277
268
  type: :runtime
@@ -279,7 +270,10 @@ dependencies:
279
270
  requirements:
280
271
  - - "~>"
281
272
  - !ruby/object:Gem::Version
282
- version: 1.10.0
273
+ version: '1'
274
+ - - ">="
275
+ - !ruby/object:Gem::Version
276
+ version: 1.10.8
283
277
  - !ruby/object:Gem::Dependency
284
278
  requirement: !ruby/object:Gem::Requirement
285
279
  requirements:
@@ -299,7 +293,7 @@ dependencies:
299
293
  requirements:
300
294
  - - "~>"
301
295
  - !ruby/object:Gem::Version
302
- version: 0.0.10
296
+ version: 0.0.11
303
297
  name: gooddata_datawarehouse
304
298
  prerelease: false
305
299
  type: :runtime
@@ -307,7 +301,7 @@ dependencies:
307
301
  requirements:
308
302
  - - "~>"
309
303
  - !ruby/object:Gem::Version
310
- version: 0.0.10
304
+ version: 0.0.11
311
305
  - !ruby/object:Gem::Dependency
312
306
  requirement: !ruby/object:Gem::Requirement
313
307
  requirements:
@@ -327,7 +321,7 @@ dependencies:
327
321
  requirements:
328
322
  - - "~>"
329
323
  - !ruby/object:Gem::Version
330
- version: '1.8'
324
+ version: '2.6'
331
325
  name: json_pure
332
326
  prerelease: false
333
327
  type: :runtime
@@ -335,7 +329,7 @@ dependencies:
335
329
  requirements:
336
330
  - - "~>"
337
331
  - !ruby/object:Gem::Version
338
- version: '1.8'
332
+ version: '2.6'
339
333
  - !ruby/object:Gem::Dependency
340
334
  requirement: !ruby/object:Gem::Requirement
341
335
  requirements:
@@ -378,6 +372,20 @@ dependencies:
378
372
  - - "~>"
379
373
  - !ruby/object:Gem::Version
380
374
  version: '1.1'
375
+ - !ruby/object:Gem::Dependency
376
+ requirement: !ruby/object:Gem::Requirement
377
+ requirements:
378
+ - - "<"
379
+ - !ruby/object:Gem::Version
380
+ version: 5.72.0
381
+ name: sequel
382
+ prerelease: false
383
+ type: :runtime
384
+ version_requirements: !ruby/object:Gem::Requirement
385
+ requirements:
386
+ - - "<"
387
+ - !ruby/object:Gem::Version
388
+ version: 5.72.0
381
389
  - !ruby/object:Gem::Dependency
382
390
  requirement: !ruby/object:Gem::Requirement
383
391
  requirements:
@@ -398,9 +406,6 @@ dependencies:
398
406
  - - ">="
399
407
  - !ruby/object:Gem::Version
400
408
  version: '2.4'
401
- - - "<"
402
- - !ruby/object:Gem::Version
403
- version: '4.0'
404
409
  name: restforce
405
410
  prerelease: false
406
411
  type: :runtime
@@ -409,9 +414,6 @@ dependencies:
409
414
  - - ">="
410
415
  - !ruby/object:Gem::Version
411
416
  version: '2.4'
412
- - - "<"
413
- - !ruby/object:Gem::Version
414
- version: '4.0'
415
417
  - !ruby/object:Gem::Dependency
416
418
  requirement: !ruby/object:Gem::Requirement
417
419
  requirements:
@@ -429,23 +431,17 @@ dependencies:
429
431
  - !ruby/object:Gem::Dependency
430
432
  requirement: !ruby/object:Gem::Requirement
431
433
  requirements:
432
- - - "~>"
433
- - !ruby/object:Gem::Version
434
- version: '1.2'
435
434
  - - ">="
436
435
  - !ruby/object:Gem::Version
437
- version: 1.2.1
436
+ version: '0'
438
437
  name: rubyzip
439
438
  prerelease: false
440
439
  type: :runtime
441
440
  version_requirements: !ruby/object:Gem::Requirement
442
441
  requirements:
443
- - - "~>"
444
- - !ruby/object:Gem::Version
445
- version: '1.2'
446
442
  - - ">="
447
443
  - !ruby/object:Gem::Version
448
- version: 1.2.1
444
+ version: '0'
449
445
  - !ruby/object:Gem::Dependency
450
446
  requirement: !ruby/object:Gem::Requirement
451
447
  requirements:
@@ -592,6 +588,7 @@ files:
592
588
  - lib/gooddata.rb
593
589
  - lib/gooddata/app/app.rb
594
590
  - lib/gooddata/bricks/base_downloader.rb
591
+ - lib/gooddata/bricks/base_pipeline.rb
595
592
  - lib/gooddata/bricks/brick.rb
596
593
  - lib/gooddata/bricks/bricks.rb
597
594
  - lib/gooddata/bricks/hello_world_brick.rb
@@ -643,7 +640,7 @@ files:
643
640
  - lib/gooddata/cloud_resources/mysql/mysql_client.rb
644
641
  - lib/gooddata/cloud_resources/postgresql/drivers/.gitkeepme
645
642
  - lib/gooddata/cloud_resources/postgresql/postgresql_client.rb
646
- - lib/gooddata/cloud_resources/redshift/drivers/log4j.properties
643
+ - lib/gooddata/cloud_resources/redshift/drivers/.gitkeepme
647
644
  - lib/gooddata/cloud_resources/redshift/redshift_client.rb
648
645
  - lib/gooddata/cloud_resources/snowflake/drivers/.gitkeepme
649
646
  - lib/gooddata/cloud_resources/snowflake/snowflake_client.rb
@@ -720,6 +717,7 @@ files:
720
717
  - lib/gooddata/lcm/actions/collect_ldm_objects.rb
721
718
  - lib/gooddata/lcm/actions/collect_meta.rb
722
719
  - lib/gooddata/lcm/actions/collect_multiple_projects_column.rb
720
+ - lib/gooddata/lcm/actions/collect_projects_warning_status.rb
723
721
  - lib/gooddata/lcm/actions/collect_segment_clients.rb
724
722
  - lib/gooddata/lcm/actions/collect_segments.rb
725
723
  - lib/gooddata/lcm/actions/collect_tagged_objects.rb
@@ -732,6 +730,7 @@ files:
732
730
  - lib/gooddata/lcm/actions/hello_world.rb
733
731
  - lib/gooddata/lcm/actions/help.rb
734
732
  - lib/gooddata/lcm/actions/import_object_collections.rb
733
+ - lib/gooddata/lcm/actions/initialize_continue_on_error_option.rb
735
734
  - lib/gooddata/lcm/actions/migrate_gdc_date_dimension.rb
736
735
  - lib/gooddata/lcm/actions/provision_clients.rb
737
736
  - lib/gooddata/lcm/actions/purge_clients.rb
@@ -744,10 +743,13 @@ files:
744
743
  - lib/gooddata/lcm/actions/synchronize_color_palette.rb
745
744
  - lib/gooddata/lcm/actions/synchronize_dataset_mappings.rb
746
745
  - lib/gooddata/lcm/actions/synchronize_etls_in_segment.rb
746
+ - lib/gooddata/lcm/actions/synchronize_kd_dashboard_permission.rb
747
747
  - lib/gooddata/lcm/actions/synchronize_label_types.rb
748
748
  - lib/gooddata/lcm/actions/synchronize_ldm.rb
749
+ - lib/gooddata/lcm/actions/synchronize_ldm_layout.rb
749
750
  - lib/gooddata/lcm/actions/synchronize_meta.rb
750
751
  - lib/gooddata/lcm/actions/synchronize_new_segments.rb
752
+ - lib/gooddata/lcm/actions/synchronize_pp_dashboard_permission.rb
751
753
  - lib/gooddata/lcm/actions/synchronize_processes.rb
752
754
  - lib/gooddata/lcm/actions/synchronize_schedules.rb
753
755
  - lib/gooddata/lcm/actions/synchronize_tag_objects.rb
@@ -766,6 +768,7 @@ files:
766
768
  - lib/gooddata/lcm/dsl/params_dsl.rb
767
769
  - lib/gooddata/lcm/dsl/type_dsl.rb
768
770
  - lib/gooddata/lcm/exceptions/lcm_execution_error.rb
771
+ - lib/gooddata/lcm/exceptions/lcm_execution_warning.rb
769
772
  - lib/gooddata/lcm/helpers/check_helper.rb
770
773
  - lib/gooddata/lcm/helpers/helpers.rb
771
774
  - lib/gooddata/lcm/helpers/release_table_helper.rb
@@ -879,6 +882,7 @@ files:
879
882
  - lib/gooddata/models/execution_detail.rb
880
883
  - lib/gooddata/models/from_wire.rb
881
884
  - lib/gooddata/models/invitation.rb
885
+ - lib/gooddata/models/ldm_layout.rb
882
886
  - lib/gooddata/models/links.rb
883
887
  - lib/gooddata/models/membership.rb
884
888
  - lib/gooddata/models/metadata.rb
@@ -942,6 +946,7 @@ files:
942
946
  - lib/gooddata/rest/rest.rb
943
947
  - lib/gooddata/rest/rest_aggregator.rb
944
948
  - lib/gooddata/version.rb
949
+ - lib/gooddata_brick_base.rb
945
950
  - lib/templates/bricks/brick.rb.erb
946
951
  - lib/templates/bricks/main.rb.erb
947
952
  - lib/templates/project/Goodfile.erb
@@ -951,6 +956,7 @@ files:
951
956
  - lib/templates/project/model/model.rb.erb
952
957
  - rubydev_public.gpg.encrypted
953
958
  - rubydev_secret_keys.gpg.encrypted
959
+ - sonar-project.properties
954
960
  - tmp/.gitkeepme
955
961
  - yard-server.sh
956
962
  homepage: http://github.com/gooddata/gooddata-ruby
@@ -972,8 +978,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
972
978
  - !ruby/object:Gem::Version
973
979
  version: '0'
974
980
  requirements: []
975
- rubyforge_project:
976
- rubygems_version: 2.6.14.1
981
+ rubygems_version: 3.3.25
977
982
  signing_key:
978
983
  specification_version: 4
979
984
  summary: A convenient Ruby wrapper around the GoodData RESTful API
@@ -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
-