gooddata 2.1.14-java → 2.1.15-java
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/CHANGELOG.md +4 -0
- data/Dockerfile +2 -2
- data/SDK_VERSION +1 -1
- data/dev-gooddata-sso.pub.encrypted +40 -40
- data/gdc_fossa_ruby_sdk.yaml +1 -0
- data/gooddata.gemspec +1 -1
- data/k8s/charts/lcm-bricks/Chart.yaml +1 -1
- data/k8s/charts/lcm-bricks/templates/prometheus/alertingRules.yaml +11 -1
- data/lib/gooddata.rb +2 -0
- data/lib/gooddata/lcm/actions/base_action.rb +0 -2
- data/lib/gooddata/lcm/lcm2.rb +0 -2
- data/lib/gooddata/lcm/types/base_type.rb +0 -2
- data/lib/gooddata/models/blueprint/project_blueprint.rb +0 -2
- data/lib/gooddata/models/data_source.rb +662 -0
- data/lib/gooddata/models/domain.rb +0 -1
- data/lib/gooddata/models/project.rb +25 -4
- data/lib/gooddata/models/user_filters/user_filter_builder.rb +0 -1
- data/lib/gooddata/models/user_group.rb +0 -1
- data/rubydev_public.gpg.encrypted +51 -51
- data/rubydev_secret_keys.gpg.encrypted +109 -109
- metadata +3 -3
- data/lib/gooddata/helpers/data_source_helpers.rb +0 -47
@@ -13,7 +13,6 @@ require 'zip'
|
|
13
13
|
require 'net/smtp'
|
14
14
|
|
15
15
|
require 'active_support/core_ext/hash/except'
|
16
|
-
require 'active_support/core_ext/hash/compact'
|
17
16
|
require 'active_support/core_ext/hash/slice'
|
18
17
|
|
19
18
|
require_relative '../exceptions/no_project_error'
|
@@ -336,7 +335,7 @@ module GoodData
|
|
336
335
|
|
337
336
|
def get_data_source_alias(data_source_id, client, aliases)
|
338
337
|
unless aliases[data_source_id]
|
339
|
-
data_source = GoodData::
|
338
|
+
data_source = GoodData::DataSource.from_id(data_source_id, client: client)
|
340
339
|
if data_source&.dig('dataSource', 'alias')
|
341
340
|
aliases[data_source_id] = {
|
342
341
|
:type => get_data_source_type(data_source),
|
@@ -355,7 +354,7 @@ module GoodData
|
|
355
354
|
component = process_data.dig(:process, :component)
|
356
355
|
if component&.dig(:configLocation, :dataSourceConfig)
|
357
356
|
the_alias = aliases[component[:configLocation][:dataSourceConfig][:id]]
|
358
|
-
process_data[:process][:component][:configLocation][:dataSourceConfig][:id] =
|
357
|
+
process_data[:process][:component][:configLocation][:dataSourceConfig][:id] = verify_data_source_alias(the_alias, client)
|
359
358
|
end
|
360
359
|
process_data[:process][:dataSources] = replace_data_source_ids(process_data[:process][:dataSources], client, aliases)
|
361
360
|
process_data
|
@@ -365,13 +364,35 @@ module GoodData
|
|
365
364
|
array_data_sources = []
|
366
365
|
if data_sources && !data_sources.empty?
|
367
366
|
data_sources.map do |data_source|
|
368
|
-
new_id =
|
367
|
+
new_id = verify_data_source_alias(aliases[data_source[:id]], client)
|
369
368
|
array_data_sources.push(:id => new_id)
|
370
369
|
end
|
371
370
|
end
|
372
371
|
array_data_sources
|
373
372
|
end
|
374
373
|
|
374
|
+
# Verify whether the data source exists in the domain using its alias
|
375
|
+
#
|
376
|
+
# @param [String] ds_alias The data source's alias
|
377
|
+
# @param [Object] client The Rest Client object
|
378
|
+
# @return [String] Id of the data source or failed with the reason
|
379
|
+
def verify_data_source_alias(ds_alias, client)
|
380
|
+
domain = client.connection.server.url
|
381
|
+
fail "The data source alias is empty, check your data source configuration." unless ds_alias
|
382
|
+
|
383
|
+
uri = "/gdc/dataload/dataSources/internal/availableAlias?alias=#{ds_alias[:alias]}"
|
384
|
+
res = client.get(uri)
|
385
|
+
fail "Unable to get information about the Data Source '#{ds_alias[:alias]}' in the domain '#{domain}'" unless res
|
386
|
+
fail "Unable to find the #{ds_alias[:type]} Data Source '#{ds_alias[:alias]}' in the domain '#{domain}'" if res['availableAlias']['available']
|
387
|
+
|
388
|
+
ds_type = res['availableAlias']['existingDataSource']['type']
|
389
|
+
if ds_type && ds_type != ds_alias[:type]
|
390
|
+
fail "Wrong Data Source type - the '#{ds_type}' type is expected but the Data Source '#{ds_alias[:alias]}' in the domain '#{domain}' has the '#{ds_alias[:type]}' type"
|
391
|
+
else
|
392
|
+
res['availableAlias']['existingDataSource']['id']
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
375
396
|
def transfer_user_groups(from_project, to_project)
|
376
397
|
from_project.user_groups.map do |ug|
|
377
398
|
# migrate groups
|
@@ -1,51 +1,51 @@
|
|
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
|
-
|
1
|
+
WX5YSUEbFPPD1bbGFJCkV/mUvZe41EFHmDd60AQo4+Pw6ejd2BVzZSJTtUez
|
2
|
+
UXYABeTg7+j/vo3HPBRVO8zm5+qzpBniWM24Vyzijp70/Gpiam2Yj+J7EqCX
|
3
|
+
HPpusljVkJXDQPZUNHMAMN8fuqJusHlj69KFW01TPjNzi8/AYVhu9bfgUYRa
|
4
|
+
HqZeIFpPMX/l7V4Xm2l5CRqUVoLYsHh842PUjyr1bab09t3nOtuMeWcPFxWD
|
5
|
+
ZTNzjjnhqJAZM5UJr4VEtNVSkjCbdPo7Dl6Sc8czZ3xJem64cEF5kwKSrVpR
|
6
|
+
cYu62qc4zUSAANRJUH8lRXnfelrYCH0PBvMZoHX2cFLSMSfM5tzBfsBzx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
|
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
|
-
|
1
|
+
f/6ADADEOrfczI29Df5NbXDYsQXc8T1KYuVC3adRcHoqc9cWowRtWmajg4p3
|
2
|
+
be3D+FoHr7AzxqqUlRa1FUJSs5IJ7xp1Ayoq0iEqmtewRjUhLm5xgxnr5UYl
|
3
|
+
s8UOWL6xNMONcRx1BJKo1ZVr6XEPav3ln9Q/NKP+A1E06e6+9PfCpVUMr4Q0
|
4
|
+
ZI9JUOOGNqHjKpMsehP1fb4IcJC+EOFdoSkf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v6dDik0UJmbdAZnIfkHZqrMV6830I
|
98
|
+
t2i7dyP87bfCVIvgpUIR1EWeH/07VUJbnevkyjmyxKHugwPnNOrk8t/EYvIi
|
99
|
+
YOL9xbzK2V4xOTKCR6GsfzSPwv/T18GQ+81sGf4Fr+VMp3THiThX/HNcYAwx
|
100
|
+
LUT44yZLCaMAgasqEWIwvScw7GZcYHcsUcDtmvrgmhFuqofJ4PVvBd77vKOo
|
101
|
+
1Vzb3DlWux7C7+/U05xJJ7W69Z73i0BAYOLJ6XsyTJ+1jTkWFu5cdxIbGfZW
|
102
|
+
rpkFT7OGGfx0rXierUEP30p7dx2K6SNWZv/3v0kbBVPZdXgKpIMvLnYokMGM
|
103
|
+
Y8Dfqu9M3Wd8eK5vVVfFyJd7HSGf2GxDIeZ/DKP5+hBDuN2MJSXeuVS18EpP
|
104
|
+
ypdRaohs1Eh3Xi6D6qh0vLXuMRVT+rVblprqBejrrhAlnurdQSOdKY9dEIlh
|
105
|
+
hfaqtrKqDmZAZnxTIeGZrwppEk5zbt8XDRlOw7fAjO4GDW3aGXRtyoRFNncm
|
106
|
+
JFXW2vFtopodg0/9QbUSt561uInMrCh6+AEnFtdUAzXrLXRLVqrsWSUp1eRF
|
107
|
+
FF0Z5PjgQ49cwvjX4klkINU6oCpQ0aLElGbBsm5TKFQvhNoyjNjj4PPwVQ9d
|
108
|
+
uGZ5jN631SgnqMj28v3CiaJ72ORIEPiiBAboDYSo3Lm3O27nTfmW6d9NeEzD
|
109
|
+
5UICsw==
|
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.1.
|
4
|
+
version: 2.1.15
|
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:
|
17
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
requirement: !ruby/object:Gem::Requirement
|
@@ -687,7 +687,6 @@ files:
|
|
687
687
|
- lib/gooddata/helpers/crypto_helper.rb
|
688
688
|
- lib/gooddata/helpers/csv_helper.rb
|
689
689
|
- lib/gooddata/helpers/data_helper.rb
|
690
|
-
- lib/gooddata/helpers/data_source_helpers.rb
|
691
690
|
- lib/gooddata/helpers/erb_helper.rb
|
692
691
|
- lib/gooddata/helpers/global_helpers.rb
|
693
692
|
- lib/gooddata/helpers/global_helpers_params.rb
|
@@ -852,6 +851,7 @@ files:
|
|
852
851
|
- lib/gooddata/models/client_synchronization_result.rb
|
853
852
|
- lib/gooddata/models/client_synchronization_result_details.rb
|
854
853
|
- lib/gooddata/models/data_product.rb
|
854
|
+
- lib/gooddata/models/data_source.rb
|
855
855
|
- lib/gooddata/models/datawarehouse.rb
|
856
856
|
- lib/gooddata/models/domain.rb
|
857
857
|
- lib/gooddata/models/execution.rb
|
@@ -1,47 +0,0 @@
|
|
1
|
-
# encoding: UTF-8
|
2
|
-
# frozen_string_literal: true
|
3
|
-
#
|
4
|
-
# Copyright (c) 2010-2020 GoodData Corporation. All rights reserved.
|
5
|
-
# This source code is licensed under the BSD-style license found in the
|
6
|
-
# LICENSE file in the root directory of this source tree.
|
7
|
-
# frozen_string_literal: false
|
8
|
-
|
9
|
-
module GoodData
|
10
|
-
module Helpers
|
11
|
-
class << self
|
12
|
-
# Get a data source information from server by id
|
13
|
-
#
|
14
|
-
# @param [String] data_source_id The data source ID
|
15
|
-
# @param [Object] client The Rest Client object
|
16
|
-
# @return [Hash] Returns Data source
|
17
|
-
def get_data_source_by_id(data_source_id, client)
|
18
|
-
unless data_source_id.blank?
|
19
|
-
uri = "/gdc/dataload/dataSources/#{data_source_id}"
|
20
|
-
client.get(uri)
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
# Verify to see if the data source exists in the domain using its alias
|
25
|
-
#
|
26
|
-
# @param [String] ds_alias The data source's alias
|
27
|
-
# @param [Object] client The Rest Client object
|
28
|
-
# @return [String] Id of the data source or failed with the reason
|
29
|
-
def verify_data_source_alias(ds_alias, client)
|
30
|
-
domain = client.connection.server.url
|
31
|
-
fail "The data source alias is empty, check your data source configuration." unless ds_alias
|
32
|
-
|
33
|
-
uri = "/gdc/dataload/dataSources/internal/availableAlias?alias=#{ds_alias[:alias]}"
|
34
|
-
res = client.get(uri)
|
35
|
-
fail "Unable to get information about the Data Source '#{ds_alias[:alias]}' in the domain '#{domain}'" unless res
|
36
|
-
fail "Unable to find the #{ds_alias[:type]} Data Source '#{ds_alias[:alias]}' in the domain '#{domain}'" if res['availableAlias']['available']
|
37
|
-
|
38
|
-
ds_type = res['availableAlias']['existingDataSource']['type']
|
39
|
-
if ds_type && ds_type != ds_alias[:type]
|
40
|
-
fail "Wrong Data Source type - the '#{ds_type}' type is expected but the Data Source '#{ds_alias[:alias]}' in the domain '#{domain}' has the '#{ds_alias[:type]}' type"
|
41
|
-
else
|
42
|
-
res['availableAlias']['existingDataSource']['id']
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|