gooddata 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.document +0 -0
- data/.flayignore +2 -0
- data/.travis.yml +24 -7
- data/.yardopts +0 -0
- data/CHANGELOG.md +125 -1
- data/CLI.md +0 -0
- data/Dockerfile.jruby +7 -2
- data/Dockerfile.ruby +1 -1
- data/Gemfile +0 -0
- data/Guardfile +0 -0
- data/Rakefile +23 -9
- data/TODO.md +0 -0
- data/bin/gitflow-init.sh +8 -0
- data/ci.rake +3 -3
- data/data/2008.crt +39 -0
- data/data/new_ca.cer +22 -0
- data/dependency_decisions.yml +0 -0
- data/docker-compose.lcm.yml +31 -0
- data/docker-compose.yml +4 -2
- data/gooddata.gemspec +3 -3
- data/lcm.rake +288 -0
- data/lib/gooddata.rb +1 -0
- data/lib/gooddata/bricks/base_downloader.rb +1 -1
- data/lib/gooddata/bricks/brick.rb +0 -1
- data/lib/gooddata/bricks/middleware/aws_middleware.rb +1 -1
- data/lib/gooddata/bricks/middleware/logger_middleware.rb +1 -1
- data/lib/gooddata/bricks/pipeline.rb +67 -0
- data/lib/gooddata/bricks/provisioning_brick.rb +18 -0
- data/lib/gooddata/bricks/release_brick.rb +18 -0
- data/lib/gooddata/bricks/rollout_brick.rb +14 -0
- data/lib/gooddata/bricks/user_filters_brick.rb +13 -0
- data/lib/gooddata/bricks/users_brick.rb +13 -0
- data/lib/gooddata/core/logging.rb +1 -1
- data/lib/gooddata/exceptions/maql_execution.rb +1 -1
- data/lib/gooddata/extensions/string.rb +0 -0
- data/lib/gooddata/lcm/actions/associate_clients.rb +34 -8
- data/lib/gooddata/lcm/actions/collect_data_product.rb +8 -1
- data/lib/gooddata/lcm/actions/collect_segment_clients.rb +13 -23
- data/lib/gooddata/lcm/actions/collect_segments.rb +10 -0
- data/lib/gooddata/lcm/actions/synchronize_clients.rb +3 -1
- data/lib/gooddata/lcm/actions/synchronize_ldm.rb +61 -34
- data/lib/gooddata/lcm/actions/synchronize_user_filters.rb +6 -4
- data/lib/gooddata/lcm/actions/update_release_table.rb +4 -12
- data/lib/gooddata/lcm/dsl/params_dsl.rb +0 -4
- data/lib/gooddata/lcm/dsl/type_dsl.rb +0 -4
- data/lib/gooddata/lcm/helpers/check_helper.rb +1 -1
- data/lib/gooddata/lcm/lcm2.rb +0 -2
- data/lib/gooddata/lcm/types/special/enum.rb +6 -0
- data/lib/gooddata/lcm/types/special/enum/synchronize_ldm.rb +20 -0
- data/lib/gooddata/lcm/types/special/types.rb +1 -1
- data/lib/gooddata/mixins/is_folder.rb +0 -0
- data/lib/gooddata/mixins/to_json.rb +0 -0
- data/lib/gooddata/mixins/uri_getter.rb +0 -0
- data/lib/gooddata/models/project_creator.rb +38 -30
- data/lib/gooddata/models/user_filters/user_filter_builder.rb +1 -0
- data/lib/gooddata/rest/README.md +0 -0
- data/lib/gooddata/version.rb +1 -1
- data/lib/templates/bricks/brick.rb.erb +0 -0
- data/lib/templates/bricks/main.rb.erb +0 -0
- data/lib/templates/project/Goodfile.erb +0 -0
- data/lib/templates/project/data/commits.csv +0 -0
- data/lib/templates/project/data/devs.csv +0 -0
- data/lib/templates/project/data/repos.csv +0 -0
- data/lib/templates/project/model/model.rb.erb +0 -0
- metadata +21 -451
- data/lib/gooddata/lcm/actions/ensure_data_product.rb +0 -63
- data/spec/.rubocop.yml +0 -16
- data/spec/bricks/bricks_spec.rb +0 -110
- data/spec/bricks/default-config.json +0 -8
- data/spec/data/.gooddata +0 -4
- data/spec/data/blueprints/additional_dataset_module.json +0 -32
- data/spec/data/blueprints/attribute_sort_order_blueprint.json +0 -72
- data/spec/data/blueprints/big_blueprint_not_pruned.json +0 -2079
- data/spec/data/blueprints/invalid_blueprint.json +0 -103
- data/spec/data/blueprints/m_n_model.json +0 -104
- data/spec/data/blueprints/model_module.json +0 -25
- data/spec/data/blueprints/test_blueprint.json +0 -39
- data/spec/data/blueprints/test_project_model_spec.json +0 -106
- data/spec/data/cc/data/source/commits.csv +0 -4
- data/spec/data/cc/data/source/devs.csv +0 -4
- data/spec/data/cc/data/source/repos.csv +0 -3
- data/spec/data/cc/devel.prm +0 -0
- data/spec/data/cc/graph/graph.grf +0 -11
- data/spec/data/cc/workspace.prm +0 -19
- data/spec/data/column_based_permissions.csv +0 -7
- data/spec/data/column_based_permissions2.csv +0 -6
- data/spec/data/dynamic_schedule_params_table.csv +0 -7
- data/spec/data/gd_gse_data_blueprint.json +0 -1371
- data/spec/data/gd_gse_data_manifest.json +0 -1424
- data/spec/data/gd_gse_data_model.json +0 -1772
- data/spec/data/gooddata_version_process/gooddata_version.rb +0 -9
- data/spec/data/gooddata_version_process/gooddata_version.zip +0 -0
- data/spec/data/hello_world_process/hello_world.rb +0 -9
- data/spec/data/hello_world_process/hello_world.zip +0 -0
- data/spec/data/integration_model.json +0 -252
- data/spec/data/integration_policies.csv +0 -9134
- data/spec/data/line_based_permissions.csv +0 -3
- data/spec/data/manifests/test_blueprint.json +0 -32
- data/spec/data/manifests/test_project.json +0 -107
- data/spec/data/reports/left_attr_report.json +0 -108
- data/spec/data/reports/metric_only_one_line.json +0 -83
- data/spec/data/reports/report_1.json +0 -197
- data/spec/data/reports/top_attr_report.json +0 -108
- data/spec/data/ruby_params_process/ruby_params.rb +0 -9
- data/spec/data/ruby_process/deep_files/deep_stuff.txt +0 -1
- data/spec/data/ruby_process/process.rb +0 -8
- data/spec/data/ruby_process/stuff.txt +0 -1
- data/spec/data/superfluous_titles_view.json +0 -81
- data/spec/data/test-ci-data.csv +0 -2
- data/spec/data/user_filters.csv +0 -2
- data/spec/data/users.csv +0 -12
- data/spec/data/wire_models/attribute_sort_by_model.json +0 -73
- data/spec/data/wire_models/model_view.json +0 -1775
- data/spec/data/wire_models/nu_model.json +0 -3046
- data/spec/data/wire_models/test_blueprint.json +0 -66
- data/spec/data/wire_test_project.json +0 -150
- data/spec/data/workspace_table.csv +0 -3
- data/spec/environment/default.rb +0 -43
- data/spec/environment/development.rb +0 -32
- data/spec/environment/environment.rb +0 -38
- data/spec/environment/production.rb +0 -27
- data/spec/environment/staging.rb +0 -32
- data/spec/environment/testing.rb +0 -32
- data/spec/helpers/appstore_project_helper.rb +0 -221
- data/spec/helpers/blueprint_helper.rb +0 -27
- data/spec/helpers/cli_helper.rb +0 -38
- data/spec/helpers/connection_helper.rb +0 -43
- data/spec/helpers/constants.rb +0 -32
- data/spec/helpers/crypto_helper.rb +0 -19
- data/spec/helpers/csv_helper.rb +0 -20
- data/spec/helpers/process_helper.rb +0 -35
- data/spec/helpers/project_helper.rb +0 -74
- data/spec/helpers/schedule_helper.rb +0 -33
- data/spec/helpers/spec_helper.rb +0 -17
- data/spec/integration/ads_output_stage_spec.rb +0 -45
- data/spec/integration/blueprint_updates_spec.rb +0 -107
- data/spec/integration/blueprint_with_ca_spec.rb +0 -56
- data/spec/integration/blueprint_with_grain_spec.rb +0 -74
- data/spec/integration/channel_configuration_spec.rb +0 -67
- data/spec/integration/clients_spec.rb +0 -164
- data/spec/integration/command_datawarehouse_spec.rb +0 -45
- data/spec/integration/command_projects_spec.rb +0 -32
- data/spec/integration/commands/command_projects_spec.rb +0 -22
- data/spec/integration/connection_spec.rb +0 -37
- data/spec/integration/core/connection_spec.rb +0 -56
- data/spec/integration/core/logging_spec.rb +0 -132
- data/spec/integration/core/project_spec.rb +0 -54
- data/spec/integration/create_from_template_spec.rb +0 -29
- data/spec/integration/create_project_spec.rb +0 -27
- data/spec/integration/date_dim_switch_spec.rb +0 -154
- data/spec/integration/deprecated_load_spec.rb +0 -60
- data/spec/integration/full_process_schedule_spec.rb +0 -367
- data/spec/integration/full_project_spec.rb +0 -592
- data/spec/integration/helpers_spec.rb +0 -16
- data/spec/integration/lcm_spec.rb +0 -54
- data/spec/integration/mandatory_user_filter_spec.rb +0 -53
- data/spec/integration/mixins/id_to_uri_spec.rb +0 -56
- data/spec/integration/models/data_product_spec.rb +0 -71
- data/spec/integration/models/domain_spec.rb +0 -162
- data/spec/integration/models/invitation_spec.rb +0 -17
- data/spec/integration/models/label_spec.rb +0 -49
- data/spec/integration/models/membership_spec.rb +0 -127
- data/spec/integration/models/metadata/report_spec.rb +0 -54
- data/spec/integration/models/metric_spec.rb +0 -24
- data/spec/integration/models/params_spec.rb +0 -118
- data/spec/integration/models/process_spec.rb +0 -35
- data/spec/integration/models/profile_spec.rb +0 -210
- data/spec/integration/models/project_role_spec.rb +0 -94
- data/spec/integration/models/project_spec.rb +0 -225
- data/spec/integration/models/schedule_spec.rb +0 -477
- data/spec/integration/models/unit_project_spec.rb +0 -130
- data/spec/integration/over_to_user_filters_spec.rb +0 -98
- data/spec/integration/partial_md_export_import_spec.rb +0 -41
- data/spec/integration/project_spec.rb +0 -381
- data/spec/integration/rest_spec.rb +0 -214
- data/spec/integration/schedule_spec.rb +0 -611
- data/spec/integration/segments_spec.rb +0 -100
- data/spec/integration/subscription_spec.rb +0 -88
- data/spec/integration/urn_date_dim_spec.rb +0 -53
- data/spec/integration/user_filters_spec.rb +0 -310
- data/spec/integration/user_group_spec.rb +0 -147
- data/spec/integration/variables_spec.rb +0 -189
- data/spec/integration/vcr_cassettes/GoodData_-_logging/_logger/can_assign_a_custom_logger.yml +0 -2287
- data/spec/integration/vcr_cassettes/GoodData_-_logging/_logger/client_logs_when_given_custom_message.yml +0 -2287
- data/spec/integration/vcr_cassettes/GoodData_-_logging/_logger/has_the_request_id_logged_when_I_passed_it.yml +0 -2287
- data/spec/integration/vcr_cassettes/GoodData_-_logging/_logging_off/Disables_logging.yml +0 -2287
- data/spec/integration/vcr_cassettes/GoodData_-_logging/_logging_on/Enables_logging.yml +0 -2287
- data/spec/integration/vcr_cassettes/GoodData_-_project/_project/Returns_project_assigned.yml +0 -354
- data/spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_nil.yml +0 -299
- data/spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_project_directly.yml +0 -354
- data/spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_project_using_project_ID.yml +0 -354
- data/spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_project_using_project_URL.yml +0 -354
- data/spec/integration/vcr_cassettes/GoodData_-_project/_with_project/Uses_project_specified.yml +0 -354
- data/spec/integration/vcr_cassettes/GoodData_Metric/all.yml +0 -2065
- data/spec/integration/vcr_cassettes/GoodData_Metric/should_be_able_to_update_folders.yml +0 -119
- data/spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/all.yml +0 -9812
- data/spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/should_get_json_containing_correct_id.yml +0 -174
- data/spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/should_return_nil_for_unknown_id.yml +0 -58
- data/spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/should_throw_BadRequest_for_-1.yml +0 -63
- data/spec/integration/vcr_cassettes/GoodData_Rest_Connection/_connect/Connects_using_username_and_password.yml +0 -299
- data/spec/integration/vcr_cassettes/GoodData_Rest_Connection/_disconnect/Connects_using_username_and_password.yml +0 -299
- data/spec/integration/vcr_cassettes/GoodData_Rest_Connection/_generate_request_id/Generates_a_non-empty_string.yml +0 -2287
- data/spec/integration/vcr_cassettes/GoodData_UserGroup/_/Should_list_user_groups_as_Array.yml +0 -56
- data/spec/integration/vcr_cassettes/GoodData_UserGroup/_add_members/Should_add_member.yml +0 -315
- data/spec/integration/vcr_cassettes/GoodData_UserGroup/_members/Should_return_members_as_array.yml +0 -54
- data/spec/integration/vcr_cassettes/GoodData_UserGroup/_remove_members/Should_remove_existing_members.yml +0 -258
- data/spec/integration/vcr_cassettes/GoodData_UserGroup/_save/updates_existing_group.yml +0 -159
- data/spec/integration/vcr_cassettes/GoodData_UserGroup/_set_members/Should_set_new_members.yml +0 -158
- data/spec/integration/vcr_cassettes/GoodData_UserGroup/all.yml +0 -809
- data/spec/logging_in_logging_out_spec.rb +0 -91
- data/spec/spec_helper.rb +0 -110
- data/spec/unit/actions/associate_clients_spec.rb +0 -48
- data/spec/unit/actions/collect_client_projects_spec.rb +0 -47
- data/spec/unit/actions/collect_clients_spec.rb +0 -65
- data/spec/unit/actions/collect_data_product_spec.rb +0 -58
- data/spec/unit/actions/collect_dynamic_schedule_params_spec.rb +0 -56
- data/spec/unit/actions/collect_meta_spec.rb +0 -88
- data/spec/unit/actions/collect_segment_clients_spec.rb +0 -82
- data/spec/unit/actions/collect_tagged_objects_spec.rb +0 -126
- data/spec/unit/actions/collect_users_brick_users_spec.rb +0 -36
- data/spec/unit/actions/create_segment_masters_spec.rb +0 -65
- data/spec/unit/actions/ensure_data_product_spec.rb +0 -39
- data/spec/unit/actions/ensure_technical_users_domain_spec.rb +0 -53
- data/spec/unit/actions/ensure_technical_users_project_spec.rb +0 -76
- data/spec/unit/actions/execute_schedules_spec.rb +0 -94
- data/spec/unit/actions/provision_clients_spec.rb +0 -46
- data/spec/unit/actions/purge_clients_spec.rb +0 -47
- data/spec/unit/actions/rename_existing_client_projects_spec.rb +0 -54
- data/spec/unit/actions/segments_filter_spec.rb +0 -46
- data/spec/unit/actions/shared_examples_for_user_actions.rb +0 -43
- data/spec/unit/actions/synchronize_cas_spec.rb +0 -58
- data/spec/unit/actions/synchronize_clients_spec.rb +0 -71
- data/spec/unit/actions/synchronize_etls_in_segment_spec.rb +0 -206
- data/spec/unit/actions/synchronize_ldm_spec.rb +0 -70
- data/spec/unit/actions/synchronize_user_filters_spec.rb +0 -208
- data/spec/unit/actions/synchronize_user_groups_spec.rb +0 -49
- data/spec/unit/actions/synchronize_users_spec.rb +0 -180
- data/spec/unit/bricks/bricks_spec.rb +0 -34
- data/spec/unit/bricks/middleware/aws_middelware_spec.rb +0 -98
- data/spec/unit/bricks/middleware/bench_middleware_spec.rb +0 -15
- data/spec/unit/bricks/middleware/bulk_salesforce_middleware_spec.rb +0 -15
- data/spec/unit/bricks/middleware/gooddata_middleware_spec.rb +0 -15
- data/spec/unit/bricks/middleware/logger_middleware_spec.rb +0 -30
- data/spec/unit/bricks/middleware/restforce_middleware_spec.rb +0 -15
- data/spec/unit/bricks/middleware/stdout_middleware_spec.rb +0 -15
- data/spec/unit/bricks/middleware/twitter_middleware_spec.rb +0 -15
- data/spec/unit/cli/cli_spec.rb +0 -17
- data/spec/unit/cli/commands/cmd_auth_spec.rb +0 -17
- data/spec/unit/core/nil_logger_spec.rb +0 -13
- data/spec/unit/extensions/hash_spec.rb +0 -22
- data/spec/unit/godzilla/goodzilla_spec.rb +0 -74
- data/spec/unit/helpers/check_helper_production_spec.rb +0 -34
- data/spec/unit/helpers/check_helper_spec.rb +0 -134
- data/spec/unit/helpers/csv_helper_spec.rb +0 -22
- data/spec/unit/helpers/data_helper_spec.rb +0 -67
- data/spec/unit/helpers/global_helpers_spec.rb +0 -264
- data/spec/unit/helpers_spec.rb +0 -254
- data/spec/unit/lcm/lcm2_spec.rb +0 -100
- data/spec/unit/lcm/user_bricks_helper_spec.rb +0 -58
- data/spec/unit/models/blueprint/attribute_sort_by_spec.rb +0 -20
- data/spec/unit/models/blueprint/attributes_spec.rb +0 -28
- data/spec/unit/models/blueprint/dataset_spec.rb +0 -120
- data/spec/unit/models/blueprint/label_blueprint_field_spec.rb +0 -43
- data/spec/unit/models/blueprint/project_blueprint_spec.rb +0 -642
- data/spec/unit/models/blueprint/reference_spec.rb +0 -28
- data/spec/unit/models/blueprint/schema_builder_spec.rb +0 -36
- data/spec/unit/models/blueprint/to_wire_spec.rb +0 -196
- data/spec/unit/models/dataset_blueprint.rb +0 -14
- data/spec/unit/models/execution_spec.rb +0 -109
- data/spec/unit/models/from_wire_spec.rb +0 -321
- data/spec/unit/models/metadata_spec.rb +0 -140
- data/spec/unit/models/metric_spec.rb +0 -129
- data/spec/unit/models/model_spec.rb +0 -87
- data/spec/unit/models/project_creator_spec.rb +0 -90
- data/spec/unit/models/project_spec.rb +0 -94
- data/spec/unit/models/report_result_data_spec.rb +0 -194
- data/spec/unit/models/to_manifest_spec.rb +0 -165
- data/spec/unit/models/user_filters/user_filter_builder_spec.rb +0 -149
- data/spec/unit/models/user_filters_spec.rb +0 -95
- data/spec/unit/models/variable_spec.rb +0 -280
- data/spec/unit/rest/phmap_spec.rb +0 -117
- data/spec/unit/rest/polling_spec.rb +0 -101
- data/spec/unit/rest/resource_spec.rb +0 -10
- data/spec/vcr_configurer.rb +0 -63
@@ -15,7 +15,7 @@ module GoodData
|
|
15
15
|
value = params.send(param_name)
|
16
16
|
type = specification[param_name][:type]
|
17
17
|
if value.nil? || (value.is_a?(String) && value.empty?)
|
18
|
-
if specification[param_name][:opts][:default]
|
18
|
+
if !specification[param_name][:opts][:default].nil?
|
19
19
|
if specification.select { |x| specification[x][:opts][:replacement] == param_name }.first.nil?
|
20
20
|
params[param_name] = specification[param_name][:opts][:default]
|
21
21
|
else
|
data/lib/gooddata/lcm/lcm2.rb
CHANGED
@@ -87,7 +87,6 @@ module GoodData
|
|
87
87
|
|
88
88
|
release: [
|
89
89
|
EnsureReleaseTable,
|
90
|
-
EnsureDataProduct,
|
91
90
|
CollectDataProduct,
|
92
91
|
SegmentsFilter,
|
93
92
|
CreateSegmentMasters,
|
@@ -132,7 +131,6 @@ module GoodData
|
|
132
131
|
EnsureTechnicalUsersDomain,
|
133
132
|
EnsureTechnicalUsersProject,
|
134
133
|
SynchronizeLdm,
|
135
|
-
ApplyCustomMaql,
|
136
134
|
SynchronizeClients,
|
137
135
|
SynchronizeComputedAttributes,
|
138
136
|
CollectDymanicScheduleParams,
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
#
|
3
|
+
# Copyright (c) 2010-2018 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
|
+
require_relative '../enum'
|
7
|
+
|
8
|
+
module GoodData
|
9
|
+
module LCM2
|
10
|
+
module Type
|
11
|
+
class SynchronizeLDM < EnumType
|
12
|
+
def values
|
13
|
+
%w(diff_against_clients
|
14
|
+
diff_against_master
|
15
|
+
diff_against_master_with_fallback)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
@@ -8,6 +8,7 @@ require_relative 'project'
|
|
8
8
|
require_relative 'blueprint/project_blueprint'
|
9
9
|
|
10
10
|
require 'open-uri'
|
11
|
+
require 'benchmark'
|
11
12
|
|
12
13
|
module GoodData
|
13
14
|
module Model
|
@@ -25,13 +26,13 @@ module GoodData
|
|
25
26
|
|
26
27
|
project = opts[:project] || client.create_project(opts.merge(:title => opts[:title] || spec[:title], :client => client, :environment => opts[:environment]))
|
27
28
|
|
28
|
-
|
29
|
+
_maqls, ca_maqls = migrate_datasets(spec, opts.merge(project: project, client: client))
|
29
30
|
load(p, spec)
|
30
31
|
migrate_metrics(p, spec[:metrics] || [])
|
31
32
|
migrate_reports(p, spec[:reports] || [])
|
32
33
|
migrate_dashboards(p, spec[:dashboards] || [])
|
33
34
|
execute_tests(p, spec[:assert_tests] || [])
|
34
|
-
opts[:execute_ca_scripts] ? project :
|
35
|
+
opts[:execute_ca_scripts] ? project : ca_maqls
|
35
36
|
end
|
36
37
|
|
37
38
|
def migrate_datasets(spec, opts = {})
|
@@ -42,50 +43,57 @@ module GoodData
|
|
42
43
|
_, project = GoodData.get_client_and_project(opts)
|
43
44
|
|
44
45
|
bp = ProjectBlueprint.new(spec)
|
45
|
-
|
46
|
-
|
47
|
-
|
46
|
+
response = opts[:maql_diff]
|
47
|
+
unless response
|
48
|
+
maql_diff_params = [:includeGrain]
|
49
|
+
maql_diff_params << :excludeFactRule if opts[:exclude_fact_rule]
|
50
|
+
maql_diff_time = Benchmark.realtime do
|
51
|
+
response = project.maql_diff(blueprint: bp, params: maql_diff_params)
|
52
|
+
end
|
53
|
+
GoodData.logger.debug("MAQL diff took #{maql_diff_time.round} seconds")
|
54
|
+
end
|
48
55
|
|
49
56
|
GoodData.logger.debug("projectModelDiff") { response.pretty_inspect }
|
50
57
|
chunks = response['projectModelDiff']['updateScripts']
|
51
|
-
return [] if chunks.empty?
|
58
|
+
return [], nil if chunks.empty?
|
52
59
|
|
53
60
|
ca_maql = response['projectModelDiff']['computedAttributesScript'] if response['projectModelDiff']['computedAttributesScript']
|
54
61
|
ca_chunks = ca_maql && ca_maql['maqlDdlChunks']
|
55
62
|
|
56
63
|
maqls = pick_correct_chunks(chunks, opts)
|
57
64
|
replaced_maqls = apply_replacements_on_maql(maqls, replacements)
|
65
|
+
apply_maqls(ca_chunks, project, replaced_maqls, opts) unless dry_run
|
66
|
+
[replaced_maqls, ca_maql]
|
67
|
+
end
|
58
68
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
end
|
67
|
-
rescue => e
|
68
|
-
puts "Error occured when executing MAQL, project: \"#{project.title}\" reason: \"#{e.message}\", chunks: #{replaced_maql_chunks.inspect}"
|
69
|
-
errors << e
|
70
|
-
next
|
69
|
+
def apply_maqls(ca_chunks, project, replaced_maqls, opts)
|
70
|
+
errors = []
|
71
|
+
replaced_maqls.each do |replaced_maql_chunks|
|
72
|
+
begin
|
73
|
+
replaced_maql_chunks['updateScript']['maqlDdlChunks'].each do |chunk|
|
74
|
+
GoodData.logger.debug(chunk)
|
75
|
+
project.execute_maql(chunk)
|
71
76
|
end
|
77
|
+
rescue => e
|
78
|
+
puts "Error occured when executing MAQL, project: \"#{project.title}\" reason: \"#{e.message}\", chunks: #{replaced_maql_chunks.inspect}"
|
79
|
+
errors << e
|
80
|
+
next
|
72
81
|
end
|
82
|
+
end
|
73
83
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
end
|
84
|
+
if ca_chunks && opts[:execute_ca_scripts]
|
85
|
+
begin
|
86
|
+
ca_chunks.each { |chunk| project.execute_maql(chunk) }
|
87
|
+
rescue => e
|
88
|
+
puts "Error occured when executing MAQL, project: \"#{project.title}\" reason: \"#{e.message}\", chunks: #{ca_chunks.inspect}"
|
89
|
+
errors << e
|
81
90
|
end
|
91
|
+
end
|
82
92
|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
end
|
93
|
+
if (!errors.empty?) && (errors.length == replaced_maqls.length)
|
94
|
+
messages = errors.map { |err| GoodData::Helpers.interpolate_error_messages(err.data['wTaskStatus']['messages']) }
|
95
|
+
fail MaqlExecutionError.new("Unable to migrate LDM, reason(s): \n #{messages.join("\n")}", errors)
|
87
96
|
end
|
88
|
-
replaced_maqls + (ca_maql ? [ca_maql] : [])
|
89
97
|
end
|
90
98
|
|
91
99
|
def migrate_reports(project, spec)
|
@@ -387,6 +387,7 @@ module GoodData
|
|
387
387
|
end
|
388
388
|
|
389
389
|
if dry_run
|
390
|
+
GoodData.logger.warn('Option "dry_run" specified. No user filters will be altered!')
|
390
391
|
create_results = to_create.map { |x| { status: 'dry_run', user: x.first, type: 'create' } }
|
391
392
|
delete_results = to_delete.map { |x| { status: 'dry_run', user: x.first, type: 'delete' } }
|
392
393
|
return { created: {},
|
data/lib/gooddata/rest/README.md
CHANGED
File without changes
|
data/lib/gooddata/version.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
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: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kolesnikov
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-
|
14
|
+
date: 2018-07-10 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -145,14 +145,14 @@ dependencies:
|
|
145
145
|
requirements:
|
146
146
|
- - "~>"
|
147
147
|
- !ruby/object:Gem::Version
|
148
|
-
version:
|
148
|
+
version: 2.3.1
|
149
149
|
type: :development
|
150
150
|
prerelease: false
|
151
151
|
version_requirements: !ruby/object:Gem::Requirement
|
152
152
|
requirements:
|
153
153
|
- - "~>"
|
154
154
|
- !ruby/object:Gem::Version
|
155
|
-
version:
|
155
|
+
version: 2.3.1
|
156
156
|
- !ruby/object:Gem::Dependency
|
157
157
|
name: yard
|
158
158
|
requirement: !ruby/object:Gem::Requirement
|
@@ -294,25 +294,19 @@ dependencies:
|
|
294
294
|
- !ruby/object:Gem::Version
|
295
295
|
version: 4.2.9
|
296
296
|
- !ruby/object:Gem::Dependency
|
297
|
-
name: aws-sdk
|
297
|
+
name: aws-sdk-s3
|
298
298
|
requirement: !ruby/object:Gem::Requirement
|
299
299
|
requirements:
|
300
300
|
- - "~>"
|
301
301
|
- !ruby/object:Gem::Version
|
302
|
-
version: '
|
303
|
-
- - ">="
|
304
|
-
- !ruby/object:Gem::Version
|
305
|
-
version: 2.9.42
|
302
|
+
version: '1.16'
|
306
303
|
type: :runtime
|
307
304
|
prerelease: false
|
308
305
|
version_requirements: !ruby/object:Gem::Requirement
|
309
306
|
requirements:
|
310
307
|
- - "~>"
|
311
308
|
- !ruby/object:Gem::Version
|
312
|
-
version: '
|
313
|
-
- - ">="
|
314
|
-
- !ruby/object:Gem::Version
|
315
|
-
version: 2.9.42
|
309
|
+
version: '1.16'
|
316
310
|
- !ruby/object:Gem::Dependency
|
317
311
|
name: docile
|
318
312
|
requirement: !ruby/object:Gem::Requirement
|
@@ -527,6 +521,7 @@ description: Use the GoodData::Client class to integrate GoodData into your own
|
|
527
521
|
or use the CLI to work with GoodData directly from the command line.
|
528
522
|
email: pavel@gooddata.com
|
529
523
|
executables:
|
524
|
+
- gitflow-init.sh
|
530
525
|
- gooddata
|
531
526
|
extensions: []
|
532
527
|
extra_rdoc_files:
|
@@ -556,13 +551,18 @@ files:
|
|
556
551
|
- Rakefile
|
557
552
|
- TODO.md
|
558
553
|
- authors.sh
|
554
|
+
- bin/gitflow-init.sh
|
559
555
|
- bin/gooddata
|
560
556
|
- ci.rake
|
557
|
+
- data/2008.crt
|
558
|
+
- data/new_ca.cer
|
561
559
|
- dependency_decisions.yml
|
562
560
|
- dev-gooddata-sso.pub.encrypted
|
561
|
+
- docker-compose.lcm.yml
|
563
562
|
- docker-compose.yml
|
564
563
|
- gooddata
|
565
564
|
- gooddata.gemspec
|
565
|
+
- lcm.rake
|
566
566
|
- lib/gooddata.rb
|
567
567
|
- lib/gooddata/app/app.rb
|
568
568
|
- lib/gooddata/bricks/base_downloader.rb
|
@@ -584,6 +584,11 @@ files:
|
|
584
584
|
- lib/gooddata/bricks/middleware/twitter_middleware.rb
|
585
585
|
- lib/gooddata/bricks/middleware/undot_params_middleware.rb
|
586
586
|
- lib/gooddata/bricks/pipeline.rb
|
587
|
+
- lib/gooddata/bricks/provisioning_brick.rb
|
588
|
+
- lib/gooddata/bricks/release_brick.rb
|
589
|
+
- lib/gooddata/bricks/rollout_brick.rb
|
590
|
+
- lib/gooddata/bricks/user_filters_brick.rb
|
591
|
+
- lib/gooddata/bricks/users_brick.rb
|
587
592
|
- lib/gooddata/bricks/utils.rb
|
588
593
|
- lib/gooddata/cli/cli.rb
|
589
594
|
- lib/gooddata/cli/commands/auth_cmd.rb
|
@@ -670,7 +675,6 @@ files:
|
|
670
675
|
- lib/gooddata/lcm/actions/collect_tagged_objects.rb
|
671
676
|
- lib/gooddata/lcm/actions/collect_users_brick_users.rb
|
672
677
|
- lib/gooddata/lcm/actions/create_segment_masters.rb
|
673
|
-
- lib/gooddata/lcm/actions/ensure_data_product.rb
|
674
678
|
- lib/gooddata/lcm/actions/ensure_release_table.rb
|
675
679
|
- lib/gooddata/lcm/actions/ensure_technical_users_domain.rb
|
676
680
|
- lib/gooddata/lcm/actions/ensure_technical_users_project.rb
|
@@ -739,6 +743,7 @@ files:
|
|
739
743
|
- lib/gooddata/lcm/types/special/any.rb
|
740
744
|
- lib/gooddata/lcm/types/special/array.rb
|
741
745
|
- lib/gooddata/lcm/types/special/enum.rb
|
746
|
+
- lib/gooddata/lcm/types/special/enum/synchronize_ldm.rb
|
742
747
|
- lib/gooddata/lcm/types/special/types.rb
|
743
748
|
- lib/gooddata/lcm/types/types.rb
|
744
749
|
- lib/gooddata/lcm/user_bricks_helper.rb
|
@@ -881,224 +886,6 @@ files:
|
|
881
886
|
- lib/templates/project/model/model.rb.erb
|
882
887
|
- rubydev_public.gpg.encrypted
|
883
888
|
- rubydev_secret_keys.gpg.encrypted
|
884
|
-
- spec/.rubocop.yml
|
885
|
-
- spec/bricks/bricks_spec.rb
|
886
|
-
- spec/bricks/default-config.json
|
887
|
-
- spec/data/.gooddata
|
888
|
-
- spec/data/blueprints/additional_dataset_module.json
|
889
|
-
- spec/data/blueprints/attribute_sort_order_blueprint.json
|
890
|
-
- spec/data/blueprints/big_blueprint_not_pruned.json
|
891
|
-
- spec/data/blueprints/invalid_blueprint.json
|
892
|
-
- spec/data/blueprints/m_n_model.json
|
893
|
-
- spec/data/blueprints/model_module.json
|
894
|
-
- spec/data/blueprints/test_blueprint.json
|
895
|
-
- spec/data/blueprints/test_project_model_spec.json
|
896
|
-
- spec/data/cc/data/source/commits.csv
|
897
|
-
- spec/data/cc/data/source/devs.csv
|
898
|
-
- spec/data/cc/data/source/repos.csv
|
899
|
-
- spec/data/cc/devel.prm
|
900
|
-
- spec/data/cc/graph/graph.grf
|
901
|
-
- spec/data/cc/workspace.prm
|
902
|
-
- spec/data/column_based_permissions.csv
|
903
|
-
- spec/data/column_based_permissions2.csv
|
904
|
-
- spec/data/dynamic_schedule_params_table.csv
|
905
|
-
- spec/data/gd_gse_data_blueprint.json
|
906
|
-
- spec/data/gd_gse_data_manifest.json
|
907
|
-
- spec/data/gd_gse_data_model.json
|
908
|
-
- spec/data/gooddata_version_process/gooddata_version.rb
|
909
|
-
- spec/data/gooddata_version_process/gooddata_version.zip
|
910
|
-
- spec/data/hello_world_process/hello_world.rb
|
911
|
-
- spec/data/hello_world_process/hello_world.zip
|
912
|
-
- spec/data/integration_model.json
|
913
|
-
- spec/data/integration_policies.csv
|
914
|
-
- spec/data/line_based_permissions.csv
|
915
|
-
- spec/data/manifests/test_blueprint.json
|
916
|
-
- spec/data/manifests/test_project.json
|
917
|
-
- spec/data/reports/left_attr_report.json
|
918
|
-
- spec/data/reports/metric_only_one_line.json
|
919
|
-
- spec/data/reports/report_1.json
|
920
|
-
- spec/data/reports/top_attr_report.json
|
921
|
-
- spec/data/ruby_params_process/ruby_params.rb
|
922
|
-
- spec/data/ruby_process/deep_files/deep_stuff.txt
|
923
|
-
- spec/data/ruby_process/process.rb
|
924
|
-
- spec/data/ruby_process/stuff.txt
|
925
|
-
- spec/data/superfluous_titles_view.json
|
926
|
-
- spec/data/test-ci-data.csv
|
927
|
-
- spec/data/user_filters.csv
|
928
|
-
- spec/data/users.csv
|
929
|
-
- spec/data/wire_models/attribute_sort_by_model.json
|
930
|
-
- spec/data/wire_models/model_view.json
|
931
|
-
- spec/data/wire_models/nu_model.json
|
932
|
-
- spec/data/wire_models/test_blueprint.json
|
933
|
-
- spec/data/wire_test_project.json
|
934
|
-
- spec/data/workspace_table.csv
|
935
|
-
- spec/environment/default.rb
|
936
|
-
- spec/environment/development.rb
|
937
|
-
- spec/environment/environment.rb
|
938
|
-
- spec/environment/production.rb
|
939
|
-
- spec/environment/staging.rb
|
940
|
-
- spec/environment/testing.rb
|
941
|
-
- spec/helpers/appstore_project_helper.rb
|
942
|
-
- spec/helpers/blueprint_helper.rb
|
943
|
-
- spec/helpers/cli_helper.rb
|
944
|
-
- spec/helpers/connection_helper.rb
|
945
|
-
- spec/helpers/constants.rb
|
946
|
-
- spec/helpers/crypto_helper.rb
|
947
|
-
- spec/helpers/csv_helper.rb
|
948
|
-
- spec/helpers/process_helper.rb
|
949
|
-
- spec/helpers/project_helper.rb
|
950
|
-
- spec/helpers/schedule_helper.rb
|
951
|
-
- spec/helpers/spec_helper.rb
|
952
|
-
- spec/integration/ads_output_stage_spec.rb
|
953
|
-
- spec/integration/blueprint_updates_spec.rb
|
954
|
-
- spec/integration/blueprint_with_ca_spec.rb
|
955
|
-
- spec/integration/blueprint_with_grain_spec.rb
|
956
|
-
- spec/integration/channel_configuration_spec.rb
|
957
|
-
- spec/integration/clients_spec.rb
|
958
|
-
- spec/integration/command_datawarehouse_spec.rb
|
959
|
-
- spec/integration/command_projects_spec.rb
|
960
|
-
- spec/integration/commands/command_projects_spec.rb
|
961
|
-
- spec/integration/connection_spec.rb
|
962
|
-
- spec/integration/core/connection_spec.rb
|
963
|
-
- spec/integration/core/logging_spec.rb
|
964
|
-
- spec/integration/core/project_spec.rb
|
965
|
-
- spec/integration/create_from_template_spec.rb
|
966
|
-
- spec/integration/create_project_spec.rb
|
967
|
-
- spec/integration/date_dim_switch_spec.rb
|
968
|
-
- spec/integration/deprecated_load_spec.rb
|
969
|
-
- spec/integration/full_process_schedule_spec.rb
|
970
|
-
- spec/integration/full_project_spec.rb
|
971
|
-
- spec/integration/helpers_spec.rb
|
972
|
-
- spec/integration/lcm_spec.rb
|
973
|
-
- spec/integration/mandatory_user_filter_spec.rb
|
974
|
-
- spec/integration/mixins/id_to_uri_spec.rb
|
975
|
-
- spec/integration/models/data_product_spec.rb
|
976
|
-
- spec/integration/models/domain_spec.rb
|
977
|
-
- spec/integration/models/invitation_spec.rb
|
978
|
-
- spec/integration/models/label_spec.rb
|
979
|
-
- spec/integration/models/membership_spec.rb
|
980
|
-
- spec/integration/models/metadata/report_spec.rb
|
981
|
-
- spec/integration/models/metric_spec.rb
|
982
|
-
- spec/integration/models/params_spec.rb
|
983
|
-
- spec/integration/models/process_spec.rb
|
984
|
-
- spec/integration/models/profile_spec.rb
|
985
|
-
- spec/integration/models/project_role_spec.rb
|
986
|
-
- spec/integration/models/project_spec.rb
|
987
|
-
- spec/integration/models/schedule_spec.rb
|
988
|
-
- spec/integration/models/unit_project_spec.rb
|
989
|
-
- spec/integration/over_to_user_filters_spec.rb
|
990
|
-
- spec/integration/partial_md_export_import_spec.rb
|
991
|
-
- spec/integration/project_spec.rb
|
992
|
-
- spec/integration/rest_spec.rb
|
993
|
-
- spec/integration/schedule_spec.rb
|
994
|
-
- spec/integration/segments_spec.rb
|
995
|
-
- spec/integration/subscription_spec.rb
|
996
|
-
- spec/integration/urn_date_dim_spec.rb
|
997
|
-
- spec/integration/user_filters_spec.rb
|
998
|
-
- spec/integration/user_group_spec.rb
|
999
|
-
- spec/integration/variables_spec.rb
|
1000
|
-
- spec/integration/vcr_cassettes/GoodData_-_logging/_logger/can_assign_a_custom_logger.yml
|
1001
|
-
- spec/integration/vcr_cassettes/GoodData_-_logging/_logger/client_logs_when_given_custom_message.yml
|
1002
|
-
- spec/integration/vcr_cassettes/GoodData_-_logging/_logger/has_the_request_id_logged_when_I_passed_it.yml
|
1003
|
-
- spec/integration/vcr_cassettes/GoodData_-_logging/_logging_off/Disables_logging.yml
|
1004
|
-
- spec/integration/vcr_cassettes/GoodData_-_logging/_logging_on/Enables_logging.yml
|
1005
|
-
- spec/integration/vcr_cassettes/GoodData_-_project/_project/Returns_project_assigned.yml
|
1006
|
-
- spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_nil.yml
|
1007
|
-
- spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_project_directly.yml
|
1008
|
-
- spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_project_using_project_ID.yml
|
1009
|
-
- spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_project_using_project_URL.yml
|
1010
|
-
- spec/integration/vcr_cassettes/GoodData_-_project/_with_project/Uses_project_specified.yml
|
1011
|
-
- spec/integration/vcr_cassettes/GoodData_Metric/all.yml
|
1012
|
-
- spec/integration/vcr_cassettes/GoodData_Metric/should_be_able_to_update_folders.yml
|
1013
|
-
- spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/all.yml
|
1014
|
-
- spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/should_get_json_containing_correct_id.yml
|
1015
|
-
- spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/should_return_nil_for_unknown_id.yml
|
1016
|
-
- spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/should_throw_BadRequest_for_-1.yml
|
1017
|
-
- spec/integration/vcr_cassettes/GoodData_Rest_Connection/_connect/Connects_using_username_and_password.yml
|
1018
|
-
- spec/integration/vcr_cassettes/GoodData_Rest_Connection/_disconnect/Connects_using_username_and_password.yml
|
1019
|
-
- spec/integration/vcr_cassettes/GoodData_Rest_Connection/_generate_request_id/Generates_a_non-empty_string.yml
|
1020
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/_/Should_list_user_groups_as_Array.yml
|
1021
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/_add_members/Should_add_member.yml
|
1022
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/_members/Should_return_members_as_array.yml
|
1023
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/_remove_members/Should_remove_existing_members.yml
|
1024
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/_save/updates_existing_group.yml
|
1025
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/_set_members/Should_set_new_members.yml
|
1026
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/all.yml
|
1027
|
-
- spec/logging_in_logging_out_spec.rb
|
1028
|
-
- spec/spec_helper.rb
|
1029
|
-
- spec/unit/actions/associate_clients_spec.rb
|
1030
|
-
- spec/unit/actions/collect_client_projects_spec.rb
|
1031
|
-
- spec/unit/actions/collect_clients_spec.rb
|
1032
|
-
- spec/unit/actions/collect_data_product_spec.rb
|
1033
|
-
- spec/unit/actions/collect_dynamic_schedule_params_spec.rb
|
1034
|
-
- spec/unit/actions/collect_meta_spec.rb
|
1035
|
-
- spec/unit/actions/collect_segment_clients_spec.rb
|
1036
|
-
- spec/unit/actions/collect_tagged_objects_spec.rb
|
1037
|
-
- spec/unit/actions/collect_users_brick_users_spec.rb
|
1038
|
-
- spec/unit/actions/create_segment_masters_spec.rb
|
1039
|
-
- spec/unit/actions/ensure_data_product_spec.rb
|
1040
|
-
- spec/unit/actions/ensure_technical_users_domain_spec.rb
|
1041
|
-
- spec/unit/actions/ensure_technical_users_project_spec.rb
|
1042
|
-
- spec/unit/actions/execute_schedules_spec.rb
|
1043
|
-
- spec/unit/actions/provision_clients_spec.rb
|
1044
|
-
- spec/unit/actions/purge_clients_spec.rb
|
1045
|
-
- spec/unit/actions/rename_existing_client_projects_spec.rb
|
1046
|
-
- spec/unit/actions/segments_filter_spec.rb
|
1047
|
-
- spec/unit/actions/shared_examples_for_user_actions.rb
|
1048
|
-
- spec/unit/actions/synchronize_cas_spec.rb
|
1049
|
-
- spec/unit/actions/synchronize_clients_spec.rb
|
1050
|
-
- spec/unit/actions/synchronize_etls_in_segment_spec.rb
|
1051
|
-
- spec/unit/actions/synchronize_ldm_spec.rb
|
1052
|
-
- spec/unit/actions/synchronize_user_filters_spec.rb
|
1053
|
-
- spec/unit/actions/synchronize_user_groups_spec.rb
|
1054
|
-
- spec/unit/actions/synchronize_users_spec.rb
|
1055
|
-
- spec/unit/bricks/bricks_spec.rb
|
1056
|
-
- spec/unit/bricks/middleware/aws_middelware_spec.rb
|
1057
|
-
- spec/unit/bricks/middleware/bench_middleware_spec.rb
|
1058
|
-
- spec/unit/bricks/middleware/bulk_salesforce_middleware_spec.rb
|
1059
|
-
- spec/unit/bricks/middleware/gooddata_middleware_spec.rb
|
1060
|
-
- spec/unit/bricks/middleware/logger_middleware_spec.rb
|
1061
|
-
- spec/unit/bricks/middleware/restforce_middleware_spec.rb
|
1062
|
-
- spec/unit/bricks/middleware/stdout_middleware_spec.rb
|
1063
|
-
- spec/unit/bricks/middleware/twitter_middleware_spec.rb
|
1064
|
-
- spec/unit/cli/cli_spec.rb
|
1065
|
-
- spec/unit/cli/commands/cmd_auth_spec.rb
|
1066
|
-
- spec/unit/core/nil_logger_spec.rb
|
1067
|
-
- spec/unit/extensions/hash_spec.rb
|
1068
|
-
- spec/unit/godzilla/goodzilla_spec.rb
|
1069
|
-
- spec/unit/helpers/check_helper_production_spec.rb
|
1070
|
-
- spec/unit/helpers/check_helper_spec.rb
|
1071
|
-
- spec/unit/helpers/csv_helper_spec.rb
|
1072
|
-
- spec/unit/helpers/data_helper_spec.rb
|
1073
|
-
- spec/unit/helpers/global_helpers_spec.rb
|
1074
|
-
- spec/unit/helpers_spec.rb
|
1075
|
-
- spec/unit/lcm/lcm2_spec.rb
|
1076
|
-
- spec/unit/lcm/user_bricks_helper_spec.rb
|
1077
|
-
- spec/unit/models/blueprint/attribute_sort_by_spec.rb
|
1078
|
-
- spec/unit/models/blueprint/attributes_spec.rb
|
1079
|
-
- spec/unit/models/blueprint/dataset_spec.rb
|
1080
|
-
- spec/unit/models/blueprint/label_blueprint_field_spec.rb
|
1081
|
-
- spec/unit/models/blueprint/project_blueprint_spec.rb
|
1082
|
-
- spec/unit/models/blueprint/reference_spec.rb
|
1083
|
-
- spec/unit/models/blueprint/schema_builder_spec.rb
|
1084
|
-
- spec/unit/models/blueprint/to_wire_spec.rb
|
1085
|
-
- spec/unit/models/dataset_blueprint.rb
|
1086
|
-
- spec/unit/models/execution_spec.rb
|
1087
|
-
- spec/unit/models/from_wire_spec.rb
|
1088
|
-
- spec/unit/models/metadata_spec.rb
|
1089
|
-
- spec/unit/models/metric_spec.rb
|
1090
|
-
- spec/unit/models/model_spec.rb
|
1091
|
-
- spec/unit/models/project_creator_spec.rb
|
1092
|
-
- spec/unit/models/project_spec.rb
|
1093
|
-
- spec/unit/models/report_result_data_spec.rb
|
1094
|
-
- spec/unit/models/to_manifest_spec.rb
|
1095
|
-
- spec/unit/models/user_filters/user_filter_builder_spec.rb
|
1096
|
-
- spec/unit/models/user_filters_spec.rb
|
1097
|
-
- spec/unit/models/variable_spec.rb
|
1098
|
-
- spec/unit/rest/phmap_spec.rb
|
1099
|
-
- spec/unit/rest/polling_spec.rb
|
1100
|
-
- spec/unit/rest/resource_spec.rb
|
1101
|
-
- spec/vcr_configurer.rb
|
1102
889
|
- tmp/.gitkeepme
|
1103
890
|
- yard-server.sh
|
1104
891
|
homepage: http://github.com/gooddata/gooddata-ruby
|
@@ -1121,225 +908,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1121
908
|
version: '0'
|
1122
909
|
requirements: []
|
1123
910
|
rubyforge_project:
|
1124
|
-
rubygems_version: 2.6.
|
911
|
+
rubygems_version: 2.6.8
|
1125
912
|
signing_key:
|
1126
913
|
specification_version: 4
|
1127
914
|
summary: A convenient Ruby wrapper around the GoodData RESTful API
|
1128
|
-
test_files:
|
1129
|
-
- spec/bricks/bricks_spec.rb
|
1130
|
-
- spec/bricks/default-config.json
|
1131
|
-
- spec/data/.gooddata
|
1132
|
-
- spec/data/blueprints/additional_dataset_module.json
|
1133
|
-
- spec/data/blueprints/attribute_sort_order_blueprint.json
|
1134
|
-
- spec/data/blueprints/big_blueprint_not_pruned.json
|
1135
|
-
- spec/data/blueprints/invalid_blueprint.json
|
1136
|
-
- spec/data/blueprints/m_n_model.json
|
1137
|
-
- spec/data/blueprints/model_module.json
|
1138
|
-
- spec/data/blueprints/test_blueprint.json
|
1139
|
-
- spec/data/blueprints/test_project_model_spec.json
|
1140
|
-
- spec/data/cc/data/source/commits.csv
|
1141
|
-
- spec/data/cc/data/source/devs.csv
|
1142
|
-
- spec/data/cc/data/source/repos.csv
|
1143
|
-
- spec/data/cc/devel.prm
|
1144
|
-
- spec/data/cc/graph/graph.grf
|
1145
|
-
- spec/data/cc/workspace.prm
|
1146
|
-
- spec/data/column_based_permissions.csv
|
1147
|
-
- spec/data/column_based_permissions2.csv
|
1148
|
-
- spec/data/dynamic_schedule_params_table.csv
|
1149
|
-
- spec/data/gd_gse_data_blueprint.json
|
1150
|
-
- spec/data/gd_gse_data_manifest.json
|
1151
|
-
- spec/data/gd_gse_data_model.json
|
1152
|
-
- spec/data/gooddata_version_process/gooddata_version.rb
|
1153
|
-
- spec/data/gooddata_version_process/gooddata_version.zip
|
1154
|
-
- spec/data/hello_world_process/hello_world.rb
|
1155
|
-
- spec/data/hello_world_process/hello_world.zip
|
1156
|
-
- spec/data/integration_model.json
|
1157
|
-
- spec/data/integration_policies.csv
|
1158
|
-
- spec/data/line_based_permissions.csv
|
1159
|
-
- spec/data/manifests/test_blueprint.json
|
1160
|
-
- spec/data/manifests/test_project.json
|
1161
|
-
- spec/data/reports/left_attr_report.json
|
1162
|
-
- spec/data/reports/metric_only_one_line.json
|
1163
|
-
- spec/data/reports/report_1.json
|
1164
|
-
- spec/data/reports/top_attr_report.json
|
1165
|
-
- spec/data/ruby_params_process/ruby_params.rb
|
1166
|
-
- spec/data/ruby_process/deep_files/deep_stuff.txt
|
1167
|
-
- spec/data/ruby_process/process.rb
|
1168
|
-
- spec/data/ruby_process/stuff.txt
|
1169
|
-
- spec/data/superfluous_titles_view.json
|
1170
|
-
- spec/data/test-ci-data.csv
|
1171
|
-
- spec/data/user_filters.csv
|
1172
|
-
- spec/data/users.csv
|
1173
|
-
- spec/data/wire_models/attribute_sort_by_model.json
|
1174
|
-
- spec/data/wire_models/model_view.json
|
1175
|
-
- spec/data/wire_models/nu_model.json
|
1176
|
-
- spec/data/wire_models/test_blueprint.json
|
1177
|
-
- spec/data/wire_test_project.json
|
1178
|
-
- spec/data/workspace_table.csv
|
1179
|
-
- spec/environment/default.rb
|
1180
|
-
- spec/environment/development.rb
|
1181
|
-
- spec/environment/environment.rb
|
1182
|
-
- spec/environment/production.rb
|
1183
|
-
- spec/environment/staging.rb
|
1184
|
-
- spec/environment/testing.rb
|
1185
|
-
- spec/helpers/appstore_project_helper.rb
|
1186
|
-
- spec/helpers/blueprint_helper.rb
|
1187
|
-
- spec/helpers/cli_helper.rb
|
1188
|
-
- spec/helpers/connection_helper.rb
|
1189
|
-
- spec/helpers/constants.rb
|
1190
|
-
- spec/helpers/crypto_helper.rb
|
1191
|
-
- spec/helpers/csv_helper.rb
|
1192
|
-
- spec/helpers/process_helper.rb
|
1193
|
-
- spec/helpers/project_helper.rb
|
1194
|
-
- spec/helpers/schedule_helper.rb
|
1195
|
-
- spec/helpers/spec_helper.rb
|
1196
|
-
- spec/integration/ads_output_stage_spec.rb
|
1197
|
-
- spec/integration/blueprint_updates_spec.rb
|
1198
|
-
- spec/integration/blueprint_with_ca_spec.rb
|
1199
|
-
- spec/integration/blueprint_with_grain_spec.rb
|
1200
|
-
- spec/integration/channel_configuration_spec.rb
|
1201
|
-
- spec/integration/clients_spec.rb
|
1202
|
-
- spec/integration/command_datawarehouse_spec.rb
|
1203
|
-
- spec/integration/command_projects_spec.rb
|
1204
|
-
- spec/integration/commands/command_projects_spec.rb
|
1205
|
-
- spec/integration/connection_spec.rb
|
1206
|
-
- spec/integration/core/connection_spec.rb
|
1207
|
-
- spec/integration/core/logging_spec.rb
|
1208
|
-
- spec/integration/core/project_spec.rb
|
1209
|
-
- spec/integration/create_from_template_spec.rb
|
1210
|
-
- spec/integration/create_project_spec.rb
|
1211
|
-
- spec/integration/date_dim_switch_spec.rb
|
1212
|
-
- spec/integration/deprecated_load_spec.rb
|
1213
|
-
- spec/integration/full_process_schedule_spec.rb
|
1214
|
-
- spec/integration/full_project_spec.rb
|
1215
|
-
- spec/integration/helpers_spec.rb
|
1216
|
-
- spec/integration/lcm_spec.rb
|
1217
|
-
- spec/integration/mandatory_user_filter_spec.rb
|
1218
|
-
- spec/integration/mixins/id_to_uri_spec.rb
|
1219
|
-
- spec/integration/models/data_product_spec.rb
|
1220
|
-
- spec/integration/models/domain_spec.rb
|
1221
|
-
- spec/integration/models/invitation_spec.rb
|
1222
|
-
- spec/integration/models/label_spec.rb
|
1223
|
-
- spec/integration/models/membership_spec.rb
|
1224
|
-
- spec/integration/models/metadata/report_spec.rb
|
1225
|
-
- spec/integration/models/metric_spec.rb
|
1226
|
-
- spec/integration/models/params_spec.rb
|
1227
|
-
- spec/integration/models/process_spec.rb
|
1228
|
-
- spec/integration/models/profile_spec.rb
|
1229
|
-
- spec/integration/models/project_role_spec.rb
|
1230
|
-
- spec/integration/models/project_spec.rb
|
1231
|
-
- spec/integration/models/schedule_spec.rb
|
1232
|
-
- spec/integration/models/unit_project_spec.rb
|
1233
|
-
- spec/integration/over_to_user_filters_spec.rb
|
1234
|
-
- spec/integration/partial_md_export_import_spec.rb
|
1235
|
-
- spec/integration/project_spec.rb
|
1236
|
-
- spec/integration/rest_spec.rb
|
1237
|
-
- spec/integration/schedule_spec.rb
|
1238
|
-
- spec/integration/segments_spec.rb
|
1239
|
-
- spec/integration/subscription_spec.rb
|
1240
|
-
- spec/integration/urn_date_dim_spec.rb
|
1241
|
-
- spec/integration/user_filters_spec.rb
|
1242
|
-
- spec/integration/user_group_spec.rb
|
1243
|
-
- spec/integration/variables_spec.rb
|
1244
|
-
- spec/integration/vcr_cassettes/GoodData_-_logging/_logger/can_assign_a_custom_logger.yml
|
1245
|
-
- spec/integration/vcr_cassettes/GoodData_-_logging/_logger/client_logs_when_given_custom_message.yml
|
1246
|
-
- spec/integration/vcr_cassettes/GoodData_-_logging/_logger/has_the_request_id_logged_when_I_passed_it.yml
|
1247
|
-
- spec/integration/vcr_cassettes/GoodData_-_logging/_logging_off/Disables_logging.yml
|
1248
|
-
- spec/integration/vcr_cassettes/GoodData_-_logging/_logging_on/Enables_logging.yml
|
1249
|
-
- spec/integration/vcr_cassettes/GoodData_-_project/_project/Returns_project_assigned.yml
|
1250
|
-
- spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_nil.yml
|
1251
|
-
- spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_project_directly.yml
|
1252
|
-
- spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_project_using_project_ID.yml
|
1253
|
-
- spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_project_using_project_URL.yml
|
1254
|
-
- spec/integration/vcr_cassettes/GoodData_-_project/_with_project/Uses_project_specified.yml
|
1255
|
-
- spec/integration/vcr_cassettes/GoodData_Metric/all.yml
|
1256
|
-
- spec/integration/vcr_cassettes/GoodData_Metric/should_be_able_to_update_folders.yml
|
1257
|
-
- spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/all.yml
|
1258
|
-
- spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/should_get_json_containing_correct_id.yml
|
1259
|
-
- spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/should_return_nil_for_unknown_id.yml
|
1260
|
-
- spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/should_throw_BadRequest_for_-1.yml
|
1261
|
-
- spec/integration/vcr_cassettes/GoodData_Rest_Connection/_connect/Connects_using_username_and_password.yml
|
1262
|
-
- spec/integration/vcr_cassettes/GoodData_Rest_Connection/_disconnect/Connects_using_username_and_password.yml
|
1263
|
-
- spec/integration/vcr_cassettes/GoodData_Rest_Connection/_generate_request_id/Generates_a_non-empty_string.yml
|
1264
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/_/Should_list_user_groups_as_Array.yml
|
1265
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/_add_members/Should_add_member.yml
|
1266
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/_members/Should_return_members_as_array.yml
|
1267
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/_remove_members/Should_remove_existing_members.yml
|
1268
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/_save/updates_existing_group.yml
|
1269
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/_set_members/Should_set_new_members.yml
|
1270
|
-
- spec/integration/vcr_cassettes/GoodData_UserGroup/all.yml
|
1271
|
-
- spec/logging_in_logging_out_spec.rb
|
1272
|
-
- spec/spec_helper.rb
|
1273
|
-
- spec/unit/actions/associate_clients_spec.rb
|
1274
|
-
- spec/unit/actions/collect_client_projects_spec.rb
|
1275
|
-
- spec/unit/actions/collect_clients_spec.rb
|
1276
|
-
- spec/unit/actions/collect_data_product_spec.rb
|
1277
|
-
- spec/unit/actions/collect_dynamic_schedule_params_spec.rb
|
1278
|
-
- spec/unit/actions/collect_meta_spec.rb
|
1279
|
-
- spec/unit/actions/collect_segment_clients_spec.rb
|
1280
|
-
- spec/unit/actions/collect_tagged_objects_spec.rb
|
1281
|
-
- spec/unit/actions/collect_users_brick_users_spec.rb
|
1282
|
-
- spec/unit/actions/create_segment_masters_spec.rb
|
1283
|
-
- spec/unit/actions/ensure_data_product_spec.rb
|
1284
|
-
- spec/unit/actions/ensure_technical_users_domain_spec.rb
|
1285
|
-
- spec/unit/actions/ensure_technical_users_project_spec.rb
|
1286
|
-
- spec/unit/actions/execute_schedules_spec.rb
|
1287
|
-
- spec/unit/actions/provision_clients_spec.rb
|
1288
|
-
- spec/unit/actions/purge_clients_spec.rb
|
1289
|
-
- spec/unit/actions/rename_existing_client_projects_spec.rb
|
1290
|
-
- spec/unit/actions/segments_filter_spec.rb
|
1291
|
-
- spec/unit/actions/shared_examples_for_user_actions.rb
|
1292
|
-
- spec/unit/actions/synchronize_cas_spec.rb
|
1293
|
-
- spec/unit/actions/synchronize_clients_spec.rb
|
1294
|
-
- spec/unit/actions/synchronize_etls_in_segment_spec.rb
|
1295
|
-
- spec/unit/actions/synchronize_ldm_spec.rb
|
1296
|
-
- spec/unit/actions/synchronize_user_filters_spec.rb
|
1297
|
-
- spec/unit/actions/synchronize_user_groups_spec.rb
|
1298
|
-
- spec/unit/actions/synchronize_users_spec.rb
|
1299
|
-
- spec/unit/bricks/bricks_spec.rb
|
1300
|
-
- spec/unit/bricks/middleware/aws_middelware_spec.rb
|
1301
|
-
- spec/unit/bricks/middleware/bench_middleware_spec.rb
|
1302
|
-
- spec/unit/bricks/middleware/bulk_salesforce_middleware_spec.rb
|
1303
|
-
- spec/unit/bricks/middleware/gooddata_middleware_spec.rb
|
1304
|
-
- spec/unit/bricks/middleware/logger_middleware_spec.rb
|
1305
|
-
- spec/unit/bricks/middleware/restforce_middleware_spec.rb
|
1306
|
-
- spec/unit/bricks/middleware/stdout_middleware_spec.rb
|
1307
|
-
- spec/unit/bricks/middleware/twitter_middleware_spec.rb
|
1308
|
-
- spec/unit/cli/cli_spec.rb
|
1309
|
-
- spec/unit/cli/commands/cmd_auth_spec.rb
|
1310
|
-
- spec/unit/core/nil_logger_spec.rb
|
1311
|
-
- spec/unit/extensions/hash_spec.rb
|
1312
|
-
- spec/unit/godzilla/goodzilla_spec.rb
|
1313
|
-
- spec/unit/helpers/check_helper_production_spec.rb
|
1314
|
-
- spec/unit/helpers/check_helper_spec.rb
|
1315
|
-
- spec/unit/helpers/csv_helper_spec.rb
|
1316
|
-
- spec/unit/helpers/data_helper_spec.rb
|
1317
|
-
- spec/unit/helpers/global_helpers_spec.rb
|
1318
|
-
- spec/unit/helpers_spec.rb
|
1319
|
-
- spec/unit/lcm/lcm2_spec.rb
|
1320
|
-
- spec/unit/lcm/user_bricks_helper_spec.rb
|
1321
|
-
- spec/unit/models/blueprint/attribute_sort_by_spec.rb
|
1322
|
-
- spec/unit/models/blueprint/attributes_spec.rb
|
1323
|
-
- spec/unit/models/blueprint/dataset_spec.rb
|
1324
|
-
- spec/unit/models/blueprint/label_blueprint_field_spec.rb
|
1325
|
-
- spec/unit/models/blueprint/project_blueprint_spec.rb
|
1326
|
-
- spec/unit/models/blueprint/reference_spec.rb
|
1327
|
-
- spec/unit/models/blueprint/schema_builder_spec.rb
|
1328
|
-
- spec/unit/models/blueprint/to_wire_spec.rb
|
1329
|
-
- spec/unit/models/dataset_blueprint.rb
|
1330
|
-
- spec/unit/models/execution_spec.rb
|
1331
|
-
- spec/unit/models/from_wire_spec.rb
|
1332
|
-
- spec/unit/models/metadata_spec.rb
|
1333
|
-
- spec/unit/models/metric_spec.rb
|
1334
|
-
- spec/unit/models/model_spec.rb
|
1335
|
-
- spec/unit/models/project_creator_spec.rb
|
1336
|
-
- spec/unit/models/project_spec.rb
|
1337
|
-
- spec/unit/models/report_result_data_spec.rb
|
1338
|
-
- spec/unit/models/to_manifest_spec.rb
|
1339
|
-
- spec/unit/models/user_filters/user_filter_builder_spec.rb
|
1340
|
-
- spec/unit/models/user_filters_spec.rb
|
1341
|
-
- spec/unit/models/variable_spec.rb
|
1342
|
-
- spec/unit/rest/phmap_spec.rb
|
1343
|
-
- spec/unit/rest/polling_spec.rb
|
1344
|
-
- spec/unit/rest/resource_spec.rb
|
1345
|
-
- spec/vcr_configurer.rb
|
915
|
+
test_files: []
|