gooddata 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (285) hide show
  1. checksums.yaml +4 -4
  2. data/.document +0 -0
  3. data/.flayignore +2 -0
  4. data/.travis.yml +24 -7
  5. data/.yardopts +0 -0
  6. data/CHANGELOG.md +125 -1
  7. data/CLI.md +0 -0
  8. data/Dockerfile.jruby +7 -2
  9. data/Dockerfile.ruby +1 -1
  10. data/Gemfile +0 -0
  11. data/Guardfile +0 -0
  12. data/Rakefile +23 -9
  13. data/TODO.md +0 -0
  14. data/bin/gitflow-init.sh +8 -0
  15. data/ci.rake +3 -3
  16. data/data/2008.crt +39 -0
  17. data/data/new_ca.cer +22 -0
  18. data/dependency_decisions.yml +0 -0
  19. data/docker-compose.lcm.yml +31 -0
  20. data/docker-compose.yml +4 -2
  21. data/gooddata.gemspec +3 -3
  22. data/lcm.rake +288 -0
  23. data/lib/gooddata.rb +1 -0
  24. data/lib/gooddata/bricks/base_downloader.rb +1 -1
  25. data/lib/gooddata/bricks/brick.rb +0 -1
  26. data/lib/gooddata/bricks/middleware/aws_middleware.rb +1 -1
  27. data/lib/gooddata/bricks/middleware/logger_middleware.rb +1 -1
  28. data/lib/gooddata/bricks/pipeline.rb +67 -0
  29. data/lib/gooddata/bricks/provisioning_brick.rb +18 -0
  30. data/lib/gooddata/bricks/release_brick.rb +18 -0
  31. data/lib/gooddata/bricks/rollout_brick.rb +14 -0
  32. data/lib/gooddata/bricks/user_filters_brick.rb +13 -0
  33. data/lib/gooddata/bricks/users_brick.rb +13 -0
  34. data/lib/gooddata/core/logging.rb +1 -1
  35. data/lib/gooddata/exceptions/maql_execution.rb +1 -1
  36. data/lib/gooddata/extensions/string.rb +0 -0
  37. data/lib/gooddata/lcm/actions/associate_clients.rb +34 -8
  38. data/lib/gooddata/lcm/actions/collect_data_product.rb +8 -1
  39. data/lib/gooddata/lcm/actions/collect_segment_clients.rb +13 -23
  40. data/lib/gooddata/lcm/actions/collect_segments.rb +10 -0
  41. data/lib/gooddata/lcm/actions/synchronize_clients.rb +3 -1
  42. data/lib/gooddata/lcm/actions/synchronize_ldm.rb +61 -34
  43. data/lib/gooddata/lcm/actions/synchronize_user_filters.rb +6 -4
  44. data/lib/gooddata/lcm/actions/update_release_table.rb +4 -12
  45. data/lib/gooddata/lcm/dsl/params_dsl.rb +0 -4
  46. data/lib/gooddata/lcm/dsl/type_dsl.rb +0 -4
  47. data/lib/gooddata/lcm/helpers/check_helper.rb +1 -1
  48. data/lib/gooddata/lcm/lcm2.rb +0 -2
  49. data/lib/gooddata/lcm/types/special/enum.rb +6 -0
  50. data/lib/gooddata/lcm/types/special/enum/synchronize_ldm.rb +20 -0
  51. data/lib/gooddata/lcm/types/special/types.rb +1 -1
  52. data/lib/gooddata/mixins/is_folder.rb +0 -0
  53. data/lib/gooddata/mixins/to_json.rb +0 -0
  54. data/lib/gooddata/mixins/uri_getter.rb +0 -0
  55. data/lib/gooddata/models/project_creator.rb +38 -30
  56. data/lib/gooddata/models/user_filters/user_filter_builder.rb +1 -0
  57. data/lib/gooddata/rest/README.md +0 -0
  58. data/lib/gooddata/version.rb +1 -1
  59. data/lib/templates/bricks/brick.rb.erb +0 -0
  60. data/lib/templates/bricks/main.rb.erb +0 -0
  61. data/lib/templates/project/Goodfile.erb +0 -0
  62. data/lib/templates/project/data/commits.csv +0 -0
  63. data/lib/templates/project/data/devs.csv +0 -0
  64. data/lib/templates/project/data/repos.csv +0 -0
  65. data/lib/templates/project/model/model.rb.erb +0 -0
  66. metadata +21 -451
  67. data/lib/gooddata/lcm/actions/ensure_data_product.rb +0 -63
  68. data/spec/.rubocop.yml +0 -16
  69. data/spec/bricks/bricks_spec.rb +0 -110
  70. data/spec/bricks/default-config.json +0 -8
  71. data/spec/data/.gooddata +0 -4
  72. data/spec/data/blueprints/additional_dataset_module.json +0 -32
  73. data/spec/data/blueprints/attribute_sort_order_blueprint.json +0 -72
  74. data/spec/data/blueprints/big_blueprint_not_pruned.json +0 -2079
  75. data/spec/data/blueprints/invalid_blueprint.json +0 -103
  76. data/spec/data/blueprints/m_n_model.json +0 -104
  77. data/spec/data/blueprints/model_module.json +0 -25
  78. data/spec/data/blueprints/test_blueprint.json +0 -39
  79. data/spec/data/blueprints/test_project_model_spec.json +0 -106
  80. data/spec/data/cc/data/source/commits.csv +0 -4
  81. data/spec/data/cc/data/source/devs.csv +0 -4
  82. data/spec/data/cc/data/source/repos.csv +0 -3
  83. data/spec/data/cc/devel.prm +0 -0
  84. data/spec/data/cc/graph/graph.grf +0 -11
  85. data/spec/data/cc/workspace.prm +0 -19
  86. data/spec/data/column_based_permissions.csv +0 -7
  87. data/spec/data/column_based_permissions2.csv +0 -6
  88. data/spec/data/dynamic_schedule_params_table.csv +0 -7
  89. data/spec/data/gd_gse_data_blueprint.json +0 -1371
  90. data/spec/data/gd_gse_data_manifest.json +0 -1424
  91. data/spec/data/gd_gse_data_model.json +0 -1772
  92. data/spec/data/gooddata_version_process/gooddata_version.rb +0 -9
  93. data/spec/data/gooddata_version_process/gooddata_version.zip +0 -0
  94. data/spec/data/hello_world_process/hello_world.rb +0 -9
  95. data/spec/data/hello_world_process/hello_world.zip +0 -0
  96. data/spec/data/integration_model.json +0 -252
  97. data/spec/data/integration_policies.csv +0 -9134
  98. data/spec/data/line_based_permissions.csv +0 -3
  99. data/spec/data/manifests/test_blueprint.json +0 -32
  100. data/spec/data/manifests/test_project.json +0 -107
  101. data/spec/data/reports/left_attr_report.json +0 -108
  102. data/spec/data/reports/metric_only_one_line.json +0 -83
  103. data/spec/data/reports/report_1.json +0 -197
  104. data/spec/data/reports/top_attr_report.json +0 -108
  105. data/spec/data/ruby_params_process/ruby_params.rb +0 -9
  106. data/spec/data/ruby_process/deep_files/deep_stuff.txt +0 -1
  107. data/spec/data/ruby_process/process.rb +0 -8
  108. data/spec/data/ruby_process/stuff.txt +0 -1
  109. data/spec/data/superfluous_titles_view.json +0 -81
  110. data/spec/data/test-ci-data.csv +0 -2
  111. data/spec/data/user_filters.csv +0 -2
  112. data/spec/data/users.csv +0 -12
  113. data/spec/data/wire_models/attribute_sort_by_model.json +0 -73
  114. data/spec/data/wire_models/model_view.json +0 -1775
  115. data/spec/data/wire_models/nu_model.json +0 -3046
  116. data/spec/data/wire_models/test_blueprint.json +0 -66
  117. data/spec/data/wire_test_project.json +0 -150
  118. data/spec/data/workspace_table.csv +0 -3
  119. data/spec/environment/default.rb +0 -43
  120. data/spec/environment/development.rb +0 -32
  121. data/spec/environment/environment.rb +0 -38
  122. data/spec/environment/production.rb +0 -27
  123. data/spec/environment/staging.rb +0 -32
  124. data/spec/environment/testing.rb +0 -32
  125. data/spec/helpers/appstore_project_helper.rb +0 -221
  126. data/spec/helpers/blueprint_helper.rb +0 -27
  127. data/spec/helpers/cli_helper.rb +0 -38
  128. data/spec/helpers/connection_helper.rb +0 -43
  129. data/spec/helpers/constants.rb +0 -32
  130. data/spec/helpers/crypto_helper.rb +0 -19
  131. data/spec/helpers/csv_helper.rb +0 -20
  132. data/spec/helpers/process_helper.rb +0 -35
  133. data/spec/helpers/project_helper.rb +0 -74
  134. data/spec/helpers/schedule_helper.rb +0 -33
  135. data/spec/helpers/spec_helper.rb +0 -17
  136. data/spec/integration/ads_output_stage_spec.rb +0 -45
  137. data/spec/integration/blueprint_updates_spec.rb +0 -107
  138. data/spec/integration/blueprint_with_ca_spec.rb +0 -56
  139. data/spec/integration/blueprint_with_grain_spec.rb +0 -74
  140. data/spec/integration/channel_configuration_spec.rb +0 -67
  141. data/spec/integration/clients_spec.rb +0 -164
  142. data/spec/integration/command_datawarehouse_spec.rb +0 -45
  143. data/spec/integration/command_projects_spec.rb +0 -32
  144. data/spec/integration/commands/command_projects_spec.rb +0 -22
  145. data/spec/integration/connection_spec.rb +0 -37
  146. data/spec/integration/core/connection_spec.rb +0 -56
  147. data/spec/integration/core/logging_spec.rb +0 -132
  148. data/spec/integration/core/project_spec.rb +0 -54
  149. data/spec/integration/create_from_template_spec.rb +0 -29
  150. data/spec/integration/create_project_spec.rb +0 -27
  151. data/spec/integration/date_dim_switch_spec.rb +0 -154
  152. data/spec/integration/deprecated_load_spec.rb +0 -60
  153. data/spec/integration/full_process_schedule_spec.rb +0 -367
  154. data/spec/integration/full_project_spec.rb +0 -592
  155. data/spec/integration/helpers_spec.rb +0 -16
  156. data/spec/integration/lcm_spec.rb +0 -54
  157. data/spec/integration/mandatory_user_filter_spec.rb +0 -53
  158. data/spec/integration/mixins/id_to_uri_spec.rb +0 -56
  159. data/spec/integration/models/data_product_spec.rb +0 -71
  160. data/spec/integration/models/domain_spec.rb +0 -162
  161. data/spec/integration/models/invitation_spec.rb +0 -17
  162. data/spec/integration/models/label_spec.rb +0 -49
  163. data/spec/integration/models/membership_spec.rb +0 -127
  164. data/spec/integration/models/metadata/report_spec.rb +0 -54
  165. data/spec/integration/models/metric_spec.rb +0 -24
  166. data/spec/integration/models/params_spec.rb +0 -118
  167. data/spec/integration/models/process_spec.rb +0 -35
  168. data/spec/integration/models/profile_spec.rb +0 -210
  169. data/spec/integration/models/project_role_spec.rb +0 -94
  170. data/spec/integration/models/project_spec.rb +0 -225
  171. data/spec/integration/models/schedule_spec.rb +0 -477
  172. data/spec/integration/models/unit_project_spec.rb +0 -130
  173. data/spec/integration/over_to_user_filters_spec.rb +0 -98
  174. data/spec/integration/partial_md_export_import_spec.rb +0 -41
  175. data/spec/integration/project_spec.rb +0 -381
  176. data/spec/integration/rest_spec.rb +0 -214
  177. data/spec/integration/schedule_spec.rb +0 -611
  178. data/spec/integration/segments_spec.rb +0 -100
  179. data/spec/integration/subscription_spec.rb +0 -88
  180. data/spec/integration/urn_date_dim_spec.rb +0 -53
  181. data/spec/integration/user_filters_spec.rb +0 -310
  182. data/spec/integration/user_group_spec.rb +0 -147
  183. data/spec/integration/variables_spec.rb +0 -189
  184. data/spec/integration/vcr_cassettes/GoodData_-_logging/_logger/can_assign_a_custom_logger.yml +0 -2287
  185. data/spec/integration/vcr_cassettes/GoodData_-_logging/_logger/client_logs_when_given_custom_message.yml +0 -2287
  186. data/spec/integration/vcr_cassettes/GoodData_-_logging/_logger/has_the_request_id_logged_when_I_passed_it.yml +0 -2287
  187. data/spec/integration/vcr_cassettes/GoodData_-_logging/_logging_off/Disables_logging.yml +0 -2287
  188. data/spec/integration/vcr_cassettes/GoodData_-_logging/_logging_on/Enables_logging.yml +0 -2287
  189. data/spec/integration/vcr_cassettes/GoodData_-_project/_project/Returns_project_assigned.yml +0 -354
  190. data/spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_nil.yml +0 -299
  191. data/spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_project_directly.yml +0 -354
  192. data/spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_project_using_project_ID.yml +0 -354
  193. data/spec/integration/vcr_cassettes/GoodData_-_project/_project_/Assigns_project_using_project_URL.yml +0 -354
  194. data/spec/integration/vcr_cassettes/GoodData_-_project/_with_project/Uses_project_specified.yml +0 -354
  195. data/spec/integration/vcr_cassettes/GoodData_Metric/all.yml +0 -2065
  196. data/spec/integration/vcr_cassettes/GoodData_Metric/should_be_able_to_update_folders.yml +0 -119
  197. data/spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/all.yml +0 -9812
  198. data/spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/should_get_json_containing_correct_id.yml +0 -174
  199. data/spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/should_return_nil_for_unknown_id.yml +0 -58
  200. data/spec/integration/vcr_cassettes/GoodData_Mixin_MdIdToUri/should_throw_BadRequest_for_-1.yml +0 -63
  201. data/spec/integration/vcr_cassettes/GoodData_Rest_Connection/_connect/Connects_using_username_and_password.yml +0 -299
  202. data/spec/integration/vcr_cassettes/GoodData_Rest_Connection/_disconnect/Connects_using_username_and_password.yml +0 -299
  203. data/spec/integration/vcr_cassettes/GoodData_Rest_Connection/_generate_request_id/Generates_a_non-empty_string.yml +0 -2287
  204. data/spec/integration/vcr_cassettes/GoodData_UserGroup/_/Should_list_user_groups_as_Array.yml +0 -56
  205. data/spec/integration/vcr_cassettes/GoodData_UserGroup/_add_members/Should_add_member.yml +0 -315
  206. data/spec/integration/vcr_cassettes/GoodData_UserGroup/_members/Should_return_members_as_array.yml +0 -54
  207. data/spec/integration/vcr_cassettes/GoodData_UserGroup/_remove_members/Should_remove_existing_members.yml +0 -258
  208. data/spec/integration/vcr_cassettes/GoodData_UserGroup/_save/updates_existing_group.yml +0 -159
  209. data/spec/integration/vcr_cassettes/GoodData_UserGroup/_set_members/Should_set_new_members.yml +0 -158
  210. data/spec/integration/vcr_cassettes/GoodData_UserGroup/all.yml +0 -809
  211. data/spec/logging_in_logging_out_spec.rb +0 -91
  212. data/spec/spec_helper.rb +0 -110
  213. data/spec/unit/actions/associate_clients_spec.rb +0 -48
  214. data/spec/unit/actions/collect_client_projects_spec.rb +0 -47
  215. data/spec/unit/actions/collect_clients_spec.rb +0 -65
  216. data/spec/unit/actions/collect_data_product_spec.rb +0 -58
  217. data/spec/unit/actions/collect_dynamic_schedule_params_spec.rb +0 -56
  218. data/spec/unit/actions/collect_meta_spec.rb +0 -88
  219. data/spec/unit/actions/collect_segment_clients_spec.rb +0 -82
  220. data/spec/unit/actions/collect_tagged_objects_spec.rb +0 -126
  221. data/spec/unit/actions/collect_users_brick_users_spec.rb +0 -36
  222. data/spec/unit/actions/create_segment_masters_spec.rb +0 -65
  223. data/spec/unit/actions/ensure_data_product_spec.rb +0 -39
  224. data/spec/unit/actions/ensure_technical_users_domain_spec.rb +0 -53
  225. data/spec/unit/actions/ensure_technical_users_project_spec.rb +0 -76
  226. data/spec/unit/actions/execute_schedules_spec.rb +0 -94
  227. data/spec/unit/actions/provision_clients_spec.rb +0 -46
  228. data/spec/unit/actions/purge_clients_spec.rb +0 -47
  229. data/spec/unit/actions/rename_existing_client_projects_spec.rb +0 -54
  230. data/spec/unit/actions/segments_filter_spec.rb +0 -46
  231. data/spec/unit/actions/shared_examples_for_user_actions.rb +0 -43
  232. data/spec/unit/actions/synchronize_cas_spec.rb +0 -58
  233. data/spec/unit/actions/synchronize_clients_spec.rb +0 -71
  234. data/spec/unit/actions/synchronize_etls_in_segment_spec.rb +0 -206
  235. data/spec/unit/actions/synchronize_ldm_spec.rb +0 -70
  236. data/spec/unit/actions/synchronize_user_filters_spec.rb +0 -208
  237. data/spec/unit/actions/synchronize_user_groups_spec.rb +0 -49
  238. data/spec/unit/actions/synchronize_users_spec.rb +0 -180
  239. data/spec/unit/bricks/bricks_spec.rb +0 -34
  240. data/spec/unit/bricks/middleware/aws_middelware_spec.rb +0 -98
  241. data/spec/unit/bricks/middleware/bench_middleware_spec.rb +0 -15
  242. data/spec/unit/bricks/middleware/bulk_salesforce_middleware_spec.rb +0 -15
  243. data/spec/unit/bricks/middleware/gooddata_middleware_spec.rb +0 -15
  244. data/spec/unit/bricks/middleware/logger_middleware_spec.rb +0 -30
  245. data/spec/unit/bricks/middleware/restforce_middleware_spec.rb +0 -15
  246. data/spec/unit/bricks/middleware/stdout_middleware_spec.rb +0 -15
  247. data/spec/unit/bricks/middleware/twitter_middleware_spec.rb +0 -15
  248. data/spec/unit/cli/cli_spec.rb +0 -17
  249. data/spec/unit/cli/commands/cmd_auth_spec.rb +0 -17
  250. data/spec/unit/core/nil_logger_spec.rb +0 -13
  251. data/spec/unit/extensions/hash_spec.rb +0 -22
  252. data/spec/unit/godzilla/goodzilla_spec.rb +0 -74
  253. data/spec/unit/helpers/check_helper_production_spec.rb +0 -34
  254. data/spec/unit/helpers/check_helper_spec.rb +0 -134
  255. data/spec/unit/helpers/csv_helper_spec.rb +0 -22
  256. data/spec/unit/helpers/data_helper_spec.rb +0 -67
  257. data/spec/unit/helpers/global_helpers_spec.rb +0 -264
  258. data/spec/unit/helpers_spec.rb +0 -254
  259. data/spec/unit/lcm/lcm2_spec.rb +0 -100
  260. data/spec/unit/lcm/user_bricks_helper_spec.rb +0 -58
  261. data/spec/unit/models/blueprint/attribute_sort_by_spec.rb +0 -20
  262. data/spec/unit/models/blueprint/attributes_spec.rb +0 -28
  263. data/spec/unit/models/blueprint/dataset_spec.rb +0 -120
  264. data/spec/unit/models/blueprint/label_blueprint_field_spec.rb +0 -43
  265. data/spec/unit/models/blueprint/project_blueprint_spec.rb +0 -642
  266. data/spec/unit/models/blueprint/reference_spec.rb +0 -28
  267. data/spec/unit/models/blueprint/schema_builder_spec.rb +0 -36
  268. data/spec/unit/models/blueprint/to_wire_spec.rb +0 -196
  269. data/spec/unit/models/dataset_blueprint.rb +0 -14
  270. data/spec/unit/models/execution_spec.rb +0 -109
  271. data/spec/unit/models/from_wire_spec.rb +0 -321
  272. data/spec/unit/models/metadata_spec.rb +0 -140
  273. data/spec/unit/models/metric_spec.rb +0 -129
  274. data/spec/unit/models/model_spec.rb +0 -87
  275. data/spec/unit/models/project_creator_spec.rb +0 -90
  276. data/spec/unit/models/project_spec.rb +0 -94
  277. data/spec/unit/models/report_result_data_spec.rb +0 -194
  278. data/spec/unit/models/to_manifest_spec.rb +0 -165
  279. data/spec/unit/models/user_filters/user_filter_builder_spec.rb +0 -149
  280. data/spec/unit/models/user_filters_spec.rb +0 -95
  281. data/spec/unit/models/variable_spec.rb +0 -280
  282. data/spec/unit/rest/phmap_spec.rb +0 -117
  283. data/spec/unit/rest/polling_spec.rb +0 -101
  284. data/spec/unit/rest/resource_spec.rb +0 -10
  285. data/spec/vcr_configurer.rb +0 -63
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87fd95bf9ef838870bdd5e260a82cdf926814248
4
- data.tar.gz: d95f3d0ce97004d782dbba7b49436943be0d0849
3
+ metadata.gz: ca928964100ff2c8876574b6757f395f622679b1
4
+ data.tar.gz: 6bdbad807041115c010baa5fed18542081f79fe8
5
5
  SHA512:
6
- metadata.gz: 58bbb2765f2cca7f39b73505f9a4b104f3cae680b26feb92a7fe4a808ca39aa7e0d19c4b75c32e37c5bf5373919de72d07570c02231b6ce4dc65ea7dd5ce566f
7
- data.tar.gz: 3322d7d0e58d3cb860ad3ceb715cd5fedf378e8e65a8f3897a39a9c9c5cf62d4a08554caec0b9e34fa51e2834e02fff486d31831f2b698773b9613c8eecd1668
6
+ metadata.gz: a1e8943363562b82306516371852c63e2dcee0fa2608df9284d968e961906061e39e82e741b34fedc05539ad3136433d32870511a9f82997f725fc2d0aa7da25
7
+ data.tar.gz: be0361842e51a8e54ff31752450b96ba981e2f1c11b694f54fe0cd72d1b11debdf83b2d1f8816b17f921dec9d58310dfd35e5943f66561d0fa43be2de9dc1636
data/.document CHANGED
File without changes
@@ -5,3 +5,5 @@ lib/gooddata/lcm/actions/collect_data_product.rb
5
5
  # TMA-652
6
6
  lib/gooddata/lcm/actions/synchronize_user_filters.rb
7
7
  spec/integration/date_dim_switch_spec.rb
8
+ spec/unit/actions/collect_segments_spec.rb
9
+ spec/unit/actions/collect_segment_clients_spec.rb
@@ -1,9 +1,26 @@
1
1
  language: ruby
2
2
  cache: bundler
3
-
4
- rvm:
5
- - 2.2
6
- - jruby-9.1.7
7
-
8
- script:
9
- - bundle exec rake test:unit
3
+ stages:
4
+ - unit
5
+ - name: integration
6
+ if: type = api
7
+ jobs:
8
+ include:
9
+ - stage: unit
10
+ script: bundle exec rake test:unit
11
+ rvm:
12
+ - 2.2
13
+ - jruby-9.1.7
14
+ - stage: integration
15
+ script: |
16
+ bundle exec rake -f lcm.rake docker:build
17
+ bundle exec rake -f lcm.rake docker:bundle
18
+ bundle exec rake -f lcm.rake test:integration:docker
19
+ rvm:
20
+ - jruby-9.1.7
21
+ - stage: integration
22
+ script: bundle exec rake test:sdk
23
+ rvm: jruby-9.1.7
24
+ - stage: integration
25
+ script: bundle exec rake test:project
26
+ rvm: jruby-9.1.7
data/.yardopts CHANGED
File without changes
@@ -1,7 +1,94 @@
1
1
  # GoodData Ruby SDK Changelog
2
- ## 1.1.0
2
+ ## 1.2.0
3
+ - * TMA-484: Perform MAQL diff only once in rollout
4
+ - Use the latest aws sdk gem (#1237)
5
+ - fixed lcm.rake file
6
+ - Limit logging (#1238)
7
+ - TMA-969 brick does not ends when run with nonsensical delete params (or mode)
8
+ - Add a readme for LCM specs (#1224)
9
+ - Added VCR_ON to the docker compose env variables
10
+ - fixed rake task for load tests
11
+ - Load webmock only when VCR is on
12
+ - Deduplicate environments
13
+ - fix: clean up logger in logging_spec
14
+ - TMA-950: VCRize user_filters_spec
15
+ - TMA-950: VCR for over_to_user_filters_spec
16
+ - TMA-950: VCR for mandatory_user_filter_spec
17
+ - modified docker-compose commpands in rake file to solve the localstack problem
18
+ - TMA-939: VCRize domain_spec
19
+ - TMA-939: VCRize profile_spec
20
+ - changed localstack image in docker compose
21
+ - Run project specs in test:integration task
22
+ - TMA-900: VCR for full_project_spec
23
+ - TMA-900: VCR for full_process_schedule_spec
24
+ - TMA-900: VCR for variables_spec
25
+ - TMA-900: VCR for urn_date_dim_spec
26
+ - TMA-900: VCR for subscription_spec
27
+ - TMA-900: VCR for segment_spec
28
+ - TMA-900: VCR for partial_md_export_import_spec
29
+ - TMA-900: VCR for lcm_spec
30
+ - TMA-900: VCR for deprecated_load_spec
31
+ - TMA-900: VCR for date_dim_switch_spec
32
+ - TMA-900: VCR for create_project_spec
33
+ - TMA-900: VCR for create_from_template_spec
34
+ - TMA-900: VCR for connection_spec
35
+ - TMA-900: VCR for schedule_spec
36
+ - fixed cyclic decrypting of encrypted password
37
+ - TRIVIAL: remove redundant if
38
+ - TMA-900: VCR for command_projects_spec
39
+ - TMA-900: VCR for command_datawarehouse_spec
40
+ - TMA-900: VCR for clients_spec
41
+ - TMA-900: VCR for channel_configuration_spec
42
+ - TMA-900: VCR for unit_project_spec
43
+ - TMA-900: VCR for models project_spec
44
+ - TMA-900: VCR for project_role_spec
45
+ - TMA-900: VCR for report_spec
46
+ - TMA-900: VCR for process_spec
47
+ - TMA-900: VCR for membership_spec
48
+ - TMA-900: VCR for label_spec
49
+ - delete empty invitation_spec
50
+ - TMA-900: VCR for data_product_spec
51
+ - fix: delete domain users at one place
52
+ - fix: temporarily remove domain_spec from VCR
53
+ - fix: temporarily remove vcr for user groups
54
+ - fix rspec before example
55
+ - fixup! Skip sleep only when vcr_record_mode=none
56
+ - TMA-928: delete temporary user profiles
57
+ - Skip sleep only when vcr_record_mode=none
58
+ - TMA-705 deprecated delete_projects and delete_extra param and added new delete_mode (#1196)
59
+ - Enable VCR under ruby >= 2.4
60
+ - Add task for configuring git-flow extension
61
+ - Revert "Fail when decrypting using an empty key" (#1197)
62
+ - SETI-1082 localstack container now uses unique name and s3 the force_path_style param
63
+ - fix VCR_ON evaluation
64
+ - Refactor decrypting passwords (#1194)
65
+ - TRIVIAL: move to vcr_enabled logic to single if
66
+ - TMA-900: setup VCR for blueprint_with_grain_spec
67
+ - TMA-900: setup VCR for blueprint_with_ca_spec
68
+ - TMA-900: setup VCR for blueprint_updates_spec
69
+ - TMA-900: setup VCR for ads_output_stage_spec
70
+ - TMA-900: setup VCR for commands_projects_spec
71
+ - TMA-831: create default dataproduct if it does not exist yet
72
+ - Don't skip sleep when recording cassettes
73
+ - Enable vcr for params spec
74
+ - Split integration tests in two stages
75
+ - Fail when decrypting using an empty key
76
+ - Use travis to run integration tests
77
+ - TMA-560: Merge appstore repo to gooddata-ruby
78
+ - changelog:update doesn't rely on last tagged object
3
79
  - fix project role spec for new role implementation (#1188)
80
+ - PI is viable environment for running tests
81
+ - TMA-892: Fix passing results of sync_domain_client_workspaces
82
+ - TMA-892: Fix user filters dry run when false
83
+ - TMA-868: deprecated flag now propagates the value to the replacement param if the type is compatible
84
+ - TMA-892: User filters brick dry run (#1156)
85
+ - fix recovery from provision clients error
86
+ - make sso backwards compatible
87
+ - TMA-920: self contained goodfile spec
88
+
89
+ ## 1.1.0
4
90
  - TMA-860: use new roles API (#1169)
91
+ - test passed locally
5
92
  - Avoid polling idle time in VCR tests
6
93
  - Enable vcr for metric specs
7
94
  - TMA-832: support for pluggable component process type
@@ -12,12 +99,49 @@
12
99
  - TMA-900: add VCR to connection_spec
13
100
  - TRIVIAL: add idea moudle to gitignore
14
101
  - TMA-904: allow to enable/disable VCR completely by ENV
102
+ - TMA-712 if not run by test, the check_helper now only warns, not fails
15
103
  - TMA-895: MUFs work when shared between users
104
+ - TMA-898: users brick deletes users from domain
105
+ - Document the VCR usage in contribution guide
106
+ - TMA-904: allow to set VCR record mode from environment
107
+ - TEST: TMA-376 use VCR by user_group_spec
108
+ - TEST: TMA-376 introduce VCR for integration testing
16
109
  - TMA-868: deprecated flag now propagates the value to the replacement param if the type is compatible
110
+ - TMA-604: can put metrics in folders
111
+ - TMA-843: avoid abuse of obj resource in partial md import export
17
112
  - TMA-892: User filters brick dry run (#1156)
18
113
  - * TMA-892: User filters brick dry run
114
+ - TMA-761: add support for manual schedule execution
19
115
  - fix recovery from provision clients error
20
116
  - make sso backwards compatible
117
+ - TMA-799: Introduce HLL functionality to LCM bricks
118
+ - TMA-811 fixed wrong type in params specification in synchronize users action
119
+ - rotate integration test projects
120
+ - TMA-846 fixed bug in specification in synchronize_users action, unified access to the smart hash properties to symbol and fixed bug which caused some of the variablent to slip unchecked
121
+ - TMA-601: Remove CLIENT_ID setting from LCM bricks
122
+ - TMA-764: use POST for SSO
123
+ - SETI-1643: rotated password for rubydevadmin account
124
+ - No rake-notes quickfix
125
+ - Rotated project tokens and rubydev admin password
126
+ - TEST: introduce unit test for REST placeholders
127
+ - TMA-732: all sync_multiple actions fail when filter set is empty
128
+ - TMA-788: req of yard library ~> 0.9.11
129
+ - TMA-683: add missing stats placeholders
130
+ - * replace word and dash matching with not slash matching
131
+ - * for domain dataproducts
132
+ - * for outputStage
133
+ - * for userGroups
134
+ - TMA-819: requests to the profile/email@addr API always use downcase
135
+ - This reverts commit 66b4b7ac5dc943e11c0e179490d27d6699603386.
136
+ - Align active maintainers with reality
137
+ - TMA- 712 actions now fail when unspecified param is acessed
138
+ - TMA-785: Support excludeFactRule parameter
139
+ - SETI-1595: rotating passwords
140
+ - Make activesupport a runtime dependency
141
+ - TMA-836: release brick takes deprecated objects into account
142
+ - TMA-816: Make .execute_mufs work with symbolized hashes
143
+ - TMA-824: Test filters created with .get_filters
144
+ - TMA-818: executing mufs fails if api returns errors
21
145
 
22
146
  ## 1.0.2
23
147
  - TMA-775: smart attribute polling
data/CLI.md CHANGED
File without changes
@@ -5,7 +5,7 @@ MAINTAINER Tomas Korcak <korczis@gmail.com>
5
5
  RUN apk add --no-cache curl make gcc git g++ python linux-headers binutils-gold gnupg libstdc++
6
6
 
7
7
  # Switch to directory with sources
8
- WORKDIR /var/lib/jenkins-slave
8
+ WORKDIR /src
9
9
 
10
10
  RUN gem update --system \
11
11
  && gem install bundler
@@ -14,4 +14,9 @@ ENV BUNDLE_PATH=/bundle
14
14
 
15
15
  ADD . .
16
16
 
17
- CMD ["./bin/gooddata"]
17
+ # Import GoodData certificate to Java. This is needed for connection to ADS.
18
+ # https://jira.intgdc.com/browse/TMA-300
19
+ RUN keytool -importcert -alias gooddata-2008 -file "./data/2008.crt" -keystore $JAVA_HOME/lib/security/cacerts -trustcacerts -storepass 'changeit' -noprompt
20
+ RUN keytool -importcert -alias gooddata-int -file "./data/new_ca.cer" -keystore $JAVA_HOME/lib/security/cacerts -trustcacerts -storepass 'changeit' -noprompt
21
+
22
+ CMD ["bundle", "exec", "rspec spec/lcm/integration"]
@@ -7,7 +7,7 @@ RUN apk add --no-cache curl make gcc git g++ python linux-headers binutils-gold
7
7
  RUN ln -s /usr/bin/make /usr/bin/gmake
8
8
 
9
9
  # Switch to directory with sources
10
- WORKDIR /var/lib/jenkins-slave
10
+ WORKDIR /src
11
11
 
12
12
  RUN gem update --system \
13
13
  && gem install bundler
data/Gemfile CHANGED
File without changes
data/Guardfile CHANGED
File without changes
data/Rakefile CHANGED
@@ -148,14 +148,14 @@ namespace :changelog do
148
148
  require_relative 'lib/gooddata/version'
149
149
  new_version = GoodData::VERSION
150
150
  changelog = File.read('CHANGELOG.md')
151
+ changelog_header = '# GoodData Ruby SDK Changelog'
152
+ changelog.slice! changelog_header
151
153
  fail 'the version is already mentioned in the changelog' if changelog =~ /## #{new_version}/
152
154
  puts "Creating changelog for version #{new_version}"
153
155
  current_commit = `git rev-parse HEAD`.chomp
154
- last_release = %x(git describe --tags `git rev-list --tags --max-count=1`)
156
+ last_release = changelog.split("\n").reject(&:empty?).first.delete('## ').chomp
155
157
  last_release_commit = `git rev-parse #{last_release}`.chomp
156
158
  changes = `git log --format=%B --no-merges #{last_release_commit}..#{current_commit}`.split("\n").reject(&:empty?)
157
- changelog_header = '# GoodData Ruby SDK Changelog'
158
- changelog.slice! changelog_header
159
159
  File.open('CHANGELOG.md', 'w+') do |file|
160
160
  file.puts changelog_header + "\n"
161
161
  file.puts "## #{new_version}"
@@ -174,13 +174,19 @@ namespace :test do
174
174
  end
175
175
 
176
176
  desc 'Run integration tests'
177
- RSpec::Core::RakeTask.new(:integration) do |t|
177
+ RSpec::Core::RakeTask.new(:sdk) do |t|
178
178
  t.pattern = 'spec/integration/**/*.rb'
179
179
  end
180
180
 
181
- desc 'Run legacy tests'
182
- RSpec::Core::RakeTask.new(:legacy) do |t|
183
- t.pattern = 'test/**/test_*.rb'
181
+ desc 'Run LCM tests'
182
+ RSpec::Core::RakeTask.new(:lcm) do |t|
183
+ t.pattern = 'spec/lcm/integration/**/*.rb'
184
+ end
185
+
186
+ desc 'Run project-related tests. Separated from test:sdk so that ' \
187
+ 'it is possible to save time by running the tasks in parallel.'
188
+ RSpec::Core::RakeTask.new(:project) do |t|
189
+ t.pattern = 'spec/project/**/*.rb'
184
190
  end
185
191
 
186
192
  desc 'Run coding style tests'
@@ -188,8 +194,9 @@ namespace :test do
188
194
  Rake::Task['cop'].invoke
189
195
  end
190
196
 
191
- task :all => [:unit, :integration, :cop]
192
- task :ci => [:unit, :integration]
197
+ task :all => [:unit, :integration, :cop, :lcm, :project]
198
+ task :ci => [:unit, :integration, :lcm, :project]
199
+ task :integration => [:sdk, :project]
193
200
  end
194
201
 
195
202
  desc 'Run all tests'
@@ -202,3 +209,10 @@ end
202
209
  YARD::Rake::YardocTask.new
203
210
 
204
211
  task :default => [:usage]
212
+
213
+ namespace :gitflow do
214
+ task :init do
215
+ file_path = File.join(File.dirname(__FILE__), 'bin/gitflow-init.sh')
216
+ system(file_path) || fail('Initializing git-flow failed!')
217
+ end
218
+ end
data/TODO.md CHANGED
File without changes
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+
3
+ git flow init -d -f
4
+ git config gitflow.branch.production "release"
5
+ git config gitflow.prefix.feature "feature-"
6
+ git config gitflow.prefix.release "release-"
7
+ git config gitflow.prefix.hotfix "hotfix-"
8
+ git config gitflow.prefix.support "support-"
data/ci.rake CHANGED
@@ -25,7 +25,7 @@ end
25
25
  namespace :pronto do
26
26
  desc 'Performs automated code review on the PR'
27
27
  task :ci do
28
- system('docker-compose run gooddata-ruby bundle exec pronto run -f github_pr -c origin/develop --exit-code') ||
28
+ system('docker-compose run gooddata-ruby bundle exec pronto run -f github_pr -c origin/master --exit-code') ||
29
29
  fail('Pronto execution failed!')
30
30
  end
31
31
  end
@@ -33,14 +33,14 @@ end
33
33
  namespace :test do
34
34
  namespace :unit do
35
35
  task :docker do
36
- system('docker-compose run -u 1002:1002 -e HOME=/var/lib/jenkins-slave gooddata-ruby bundle exec rake test:unit') ||
36
+ system('docker-compose run -u $(id -u):$(id -g) -e GNUPGHOME=/tmp gooddata-ruby bundle exec rake test:unit') ||
37
37
  fail('Test execution failed!')
38
38
  end
39
39
  end
40
40
 
41
41
  namespace :integration do
42
42
  task :docker do
43
- system('docker-compose run -u 1002:1002 -e HOME=/var/lib/jenkins-slave gooddata-jruby bundle exec rake test:integration') ||
43
+ system('docker-compose run -u $(id -u):$(id -g) -e GNUPGHOME=/tmp gooddata-jruby bundle exec rake test:integration') ||
44
44
  fail('Test execution failed!')
45
45
  end
46
46
  end
@@ -0,0 +1,39 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIGvTCCBKWgAwIBAgIJAOZ0c7Y3OVdlMA0GCSqGSIb3DQEBBQUAMIGaMQswCQ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G
12
+ A1UdIwQYMBaAFEYiCwoxCY8vSpSRKHyAYyVhBhzxMB0GA1UdDgQWBBRGIgsKMQmP
13
+ L0qUkSh8gGMlYQYc8TAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBxjBC
14
+ BggrBgEFBQcBAQQ2MDQwMgYIKwYBBQUHMAGGJmh0dHA6Ly9mcmVlaXBhMDMuaW50
15
+ Z2RjLmNvbTo4MC9jYS9vY3NwMA0GCSqGSIb3DQEBCwUAA4IBAQByJwyGjliN500j
16
+ PocT4limQ4A4QFIoJycM91pM4doE6neN0HC6cm29TM2NAkHFikA5zZbVSTi4bHdO
17
+ TDZ0zpHR5UjePss/YFroCidAKqdTByGIfE4sU59I1GVj8OWZLTRoD4uY/J94a3R5
18
+ 1EM/TEyXPT/zDgB9IeEHPn/nFmGG8Fp714Vl+W9mzQ5I7lW0hfhI1AlIHA8YDcbY
19
+ xQVdsoXK9ELki0ZcWhTmykfq1iQ1jxA7B7S/yJC8pze3HnjOJ2a9Z/Xz4J/Eiv0m
20
+ nC8nx51TPbjhkIZ6GfwezLPc2pNFxmChsP+HT5OsdzMyXbUSepOIezSvpKR8oAjx
21
+ JHRg/wkX
22
+ -----END CERTIFICATE-----
File without changes
@@ -0,0 +1,31 @@
1
+ version: '2'
2
+ services:
3
+ appstore:
4
+ image: gooddata/appstore
5
+ build:
6
+ context: .
7
+ dockerfile: Dockerfile.jruby
8
+ links:
9
+ - localstack
10
+ environment:
11
+ - GD_ENV
12
+ - GDC_LOG_LEVEL
13
+ - JRUBY_OPTS=-J-Xmx1g
14
+ - GD_SPEC_PASSWORD
15
+ - VCR_ON
16
+ volumes:
17
+ - .:/src
18
+ volumes_from:
19
+ - bundle
20
+ mem_limit: 2500m
21
+ localstack:
22
+ image: hahihula/localstack_dockerfile
23
+ container_name: testbucket.localstack
24
+ expose:
25
+ - "4572"
26
+ environment:
27
+ - SERVICES=s3:4572
28
+ bundle:
29
+ image: busybox
30
+ volumes:
31
+ - /bundle
@@ -9,9 +9,10 @@ services:
9
9
  - PRONTO_GITHUB_ACCESS_TOKEN
10
10
  - PRONTO_PULL_REQUEST_ID
11
11
  - GD_ENV
12
+ - VCR_ON
12
13
  volumes:
13
14
  - /etc/passwd:/etc/passwd:ro
14
- - .:/var/lib/jenkins-slave
15
+ - .:/src
15
16
  volumes_from:
16
17
  - bundle
17
18
  gooddata-jruby:
@@ -23,9 +24,10 @@ services:
23
24
  - GD_PROJECT_TOKEN
24
25
  - GD_SPEC_PASSWORD
25
26
  - GD_ENV
27
+ - VCR_ON
26
28
  volumes:
27
29
  - /etc/passwd:/etc/passwd:ro
28
- - .:/var/lib/jenkins-slave
30
+ - .:/src
29
31
  volumes_from:
30
32
  - bundle
31
33
  bundle: