gooddata 1.0.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (517) hide show
  1. checksums.yaml +7 -0
  2. data/.document +5 -0
  3. data/.editorconfig +12 -0
  4. data/.flayignore +6 -0
  5. data/.gitignore +38 -0
  6. data/.pronto.yml +3 -0
  7. data/.rspec +5 -0
  8. data/.rubocop.yml +101 -0
  9. data/.travis.yml +9 -0
  10. data/.yardopts +22 -0
  11. data/CHANGELOG.md +272 -0
  12. data/CLI.md +435 -0
  13. data/CONTRIBUTING.md +38 -0
  14. data/DEPENDENCIES.md +880 -0
  15. data/Dockerfile.jruby +17 -0
  16. data/Dockerfile.ruby +19 -0
  17. data/Gemfile +4 -0
  18. data/Guardfile +5 -0
  19. data/LICENSE +22 -0
  20. data/LICENSE.rb +5 -0
  21. data/README.md +78 -0
  22. data/Rakefile +204 -0
  23. data/TODO.md +32 -0
  24. data/authors.sh +4 -0
  25. data/bin/gooddata +7 -0
  26. data/ci.rake +47 -0
  27. data/dependency_decisions.yml +104 -0
  28. data/docker-compose.yml +34 -0
  29. data/gooddata +9 -0
  30. data/gooddata.gemspec +72 -0
  31. data/lib/gooddata.rb +34 -0
  32. data/lib/gooddata/app/app.rb +16 -0
  33. data/lib/gooddata/bricks/base_downloader.rb +86 -0
  34. data/lib/gooddata/bricks/brick.rb +37 -0
  35. data/lib/gooddata/bricks/bricks.rb +17 -0
  36. data/lib/gooddata/bricks/middleware/aws_middleware.rb +41 -0
  37. data/lib/gooddata/bricks/middleware/base_middleware.rb +57 -0
  38. data/lib/gooddata/bricks/middleware/bench_middleware.rb +25 -0
  39. data/lib/gooddata/bricks/middleware/bulk_salesforce_middleware.rb +37 -0
  40. data/lib/gooddata/bricks/middleware/decode_params_middleware.rb +21 -0
  41. data/lib/gooddata/bricks/middleware/dwh_middleware.rb +41 -0
  42. data/lib/gooddata/bricks/middleware/fs_download_middleware.rb +48 -0
  43. data/lib/gooddata/bricks/middleware/fs_upload_middleware.rb +36 -0
  44. data/lib/gooddata/bricks/middleware/gooddata_middleware.rb +112 -0
  45. data/lib/gooddata/bricks/middleware/logger_middleware.rb +33 -0
  46. data/lib/gooddata/bricks/middleware/middleware.rb +12 -0
  47. data/lib/gooddata/bricks/middleware/restforce_middleware.rb +58 -0
  48. data/lib/gooddata/bricks/middleware/stdout_middleware.rb +23 -0
  49. data/lib/gooddata/bricks/middleware/twitter_middleware.rb +29 -0
  50. data/lib/gooddata/bricks/middleware/undot_params_middleware.rb +37 -0
  51. data/lib/gooddata/bricks/pipeline.rb +25 -0
  52. data/lib/gooddata/bricks/utils.rb +18 -0
  53. data/lib/gooddata/cli/cli.rb +27 -0
  54. data/lib/gooddata/cli/commands/auth_cmd.rb +29 -0
  55. data/lib/gooddata/cli/commands/domain_cmd.rb +28 -0
  56. data/lib/gooddata/cli/commands/project_cmd.rb +28 -0
  57. data/lib/gooddata/cli/hooks.rb +56 -0
  58. data/lib/gooddata/cli/shared.rb +66 -0
  59. data/lib/gooddata/cli/terminal.rb +20 -0
  60. data/lib/gooddata/client.rb +67 -0
  61. data/lib/gooddata/commands/api.rb +64 -0
  62. data/lib/gooddata/commands/auth.rb +107 -0
  63. data/lib/gooddata/commands/base.rb +12 -0
  64. data/lib/gooddata/commands/commands.rb +12 -0
  65. data/lib/gooddata/commands/datasets.rb +148 -0
  66. data/lib/gooddata/commands/datawarehouse.rb +20 -0
  67. data/lib/gooddata/commands/domain.rb +40 -0
  68. data/lib/gooddata/commands/process.rb +67 -0
  69. data/lib/gooddata/commands/project.rb +144 -0
  70. data/lib/gooddata/commands/projects.rb +20 -0
  71. data/lib/gooddata/commands/role.rb +36 -0
  72. data/lib/gooddata/commands/runners.rb +47 -0
  73. data/lib/gooddata/commands/scaffold.rb +69 -0
  74. data/lib/gooddata/commands/user.rb +39 -0
  75. data/lib/gooddata/connection.rb +127 -0
  76. data/lib/gooddata/core/core.rb +12 -0
  77. data/lib/gooddata/core/logging.rb +105 -0
  78. data/lib/gooddata/core/nil_logger.rb +32 -0
  79. data/lib/gooddata/core/project.rb +74 -0
  80. data/lib/gooddata/core/rest.rb +149 -0
  81. data/lib/gooddata/core/user.rb +20 -0
  82. data/lib/gooddata/data/data.rb +12 -0
  83. data/lib/gooddata/data/guesser.rb +122 -0
  84. data/lib/gooddata/exceptions/attr_element_not_found.rb +16 -0
  85. data/lib/gooddata/exceptions/command_failed.rb +11 -0
  86. data/lib/gooddata/exceptions/exceptions.rb +12 -0
  87. data/lib/gooddata/exceptions/execution_limit_exceeded.rb +13 -0
  88. data/lib/gooddata/exceptions/export_clone.rb +4 -0
  89. data/lib/gooddata/exceptions/filter_maqlization.rb +16 -0
  90. data/lib/gooddata/exceptions/import_clone.rb +4 -0
  91. data/lib/gooddata/exceptions/malformed_user.rb +15 -0
  92. data/lib/gooddata/exceptions/maql_execution.rb +16 -0
  93. data/lib/gooddata/exceptions/no_project_error.rb +19 -0
  94. data/lib/gooddata/exceptions/object_migration.rb +32 -0
  95. data/lib/gooddata/exceptions/project_not_found.rb +13 -0
  96. data/lib/gooddata/exceptions/segment_not_empty.rb +18 -0
  97. data/lib/gooddata/exceptions/uncomputable_report.rb +13 -0
  98. data/lib/gooddata/exceptions/user_in_different_domain.rb +15 -0
  99. data/lib/gooddata/exceptions/validation_error.rb +16 -0
  100. data/lib/gooddata/extensions/big_decimal.rb +17 -0
  101. data/lib/gooddata/extensions/class.rb +11 -0
  102. data/lib/gooddata/extensions/enumerable.rb +39 -0
  103. data/lib/gooddata/extensions/extensions.rb +10 -0
  104. data/lib/gooddata/extensions/false.rb +23 -0
  105. data/lib/gooddata/extensions/hash.rb +49 -0
  106. data/lib/gooddata/extensions/integer.rb +5 -0
  107. data/lib/gooddata/extensions/nil.rb +19 -0
  108. data/lib/gooddata/extensions/numeric.rb +15 -0
  109. data/lib/gooddata/extensions/object.rb +31 -0
  110. data/lib/gooddata/extensions/string.rb +7 -0
  111. data/lib/gooddata/extensions/symbol.rb +15 -0
  112. data/lib/gooddata/extensions/true.rb +23 -0
  113. data/lib/gooddata/extract.rb +21 -0
  114. data/lib/gooddata/goodzilla/goodzilla.rb +160 -0
  115. data/lib/gooddata/helpers/auth_helpers.rb +75 -0
  116. data/lib/gooddata/helpers/csv_helper.rb +61 -0
  117. data/lib/gooddata/helpers/data_helper.rb +129 -0
  118. data/lib/gooddata/helpers/erb_helper.rb +23 -0
  119. data/lib/gooddata/helpers/global_helpers.rb +266 -0
  120. data/lib/gooddata/helpers/global_helpers_params.rb +292 -0
  121. data/lib/gooddata/helpers/helpers.rb +10 -0
  122. data/lib/gooddata/lcm/actions/actions.rb +12 -0
  123. data/lib/gooddata/lcm/actions/apply_custom_maql.rb +80 -0
  124. data/lib/gooddata/lcm/actions/associate_clients.rb +87 -0
  125. data/lib/gooddata/lcm/actions/base_action.rb +23 -0
  126. data/lib/gooddata/lcm/actions/collect_ca_metrics.rb +53 -0
  127. data/lib/gooddata/lcm/actions/collect_client_projects.rb +78 -0
  128. data/lib/gooddata/lcm/actions/collect_clients.rb +128 -0
  129. data/lib/gooddata/lcm/actions/collect_data_product.rb +57 -0
  130. data/lib/gooddata/lcm/actions/collect_dynamic_schedule_params.rb +62 -0
  131. data/lib/gooddata/lcm/actions/collect_ldm_objects.rb +56 -0
  132. data/lib/gooddata/lcm/actions/collect_meta.rb +88 -0
  133. data/lib/gooddata/lcm/actions/collect_segment_clients.rb +113 -0
  134. data/lib/gooddata/lcm/actions/collect_segments.rb +72 -0
  135. data/lib/gooddata/lcm/actions/collect_tagged_objects.rb +80 -0
  136. data/lib/gooddata/lcm/actions/collect_users_brick_users.rb +46 -0
  137. data/lib/gooddata/lcm/actions/create_segment_masters.rb +160 -0
  138. data/lib/gooddata/lcm/actions/ensure_data_product.rb +53 -0
  139. data/lib/gooddata/lcm/actions/ensure_release_table.rb +53 -0
  140. data/lib/gooddata/lcm/actions/ensure_segments.rb +32 -0
  141. data/lib/gooddata/lcm/actions/ensure_technical_users_domain.rb +70 -0
  142. data/lib/gooddata/lcm/actions/ensure_technical_users_project.rb +83 -0
  143. data/lib/gooddata/lcm/actions/execute_schedules.rb +128 -0
  144. data/lib/gooddata/lcm/actions/hello_world.rb +41 -0
  145. data/lib/gooddata/lcm/actions/import_object_collections.rb +60 -0
  146. data/lib/gooddata/lcm/actions/print_actions.rb +58 -0
  147. data/lib/gooddata/lcm/actions/print_modes.rb +69 -0
  148. data/lib/gooddata/lcm/actions/print_types.rb +52 -0
  149. data/lib/gooddata/lcm/actions/provision_clients.rb +89 -0
  150. data/lib/gooddata/lcm/actions/purge_clients.rb +58 -0
  151. data/lib/gooddata/lcm/actions/rename_existing_client_projects.rb +70 -0
  152. data/lib/gooddata/lcm/actions/segments_filter.rb +50 -0
  153. data/lib/gooddata/lcm/actions/synchronize_attribute_drillpaths.rb +64 -0
  154. data/lib/gooddata/lcm/actions/synchronize_cas.rb +72 -0
  155. data/lib/gooddata/lcm/actions/synchronize_clients.rb +94 -0
  156. data/lib/gooddata/lcm/actions/synchronize_color_palette.rb +67 -0
  157. data/lib/gooddata/lcm/actions/synchronize_etls_in_segment.rb +155 -0
  158. data/lib/gooddata/lcm/actions/synchronize_label_types.rb +64 -0
  159. data/lib/gooddata/lcm/actions/synchronize_ldm.rb +82 -0
  160. data/lib/gooddata/lcm/actions/synchronize_meta.rb +52 -0
  161. data/lib/gooddata/lcm/actions/synchronize_new_segments.rb +61 -0
  162. data/lib/gooddata/lcm/actions/synchronize_processes.rb +66 -0
  163. data/lib/gooddata/lcm/actions/synchronize_schedules.rb +91 -0
  164. data/lib/gooddata/lcm/actions/synchronize_tag_objects.rb +64 -0
  165. data/lib/gooddata/lcm/actions/synchronize_user_filters.rb +210 -0
  166. data/lib/gooddata/lcm/actions/synchronize_user_groups.rb +53 -0
  167. data/lib/gooddata/lcm/actions/synchronize_users.rb +336 -0
  168. data/lib/gooddata/lcm/actions/update_release_table.rb +77 -0
  169. data/lib/gooddata/lcm/data/create_lcm_release.sql.erb +6 -0
  170. data/lib/gooddata/lcm/data/insert_into_lcm_release.sql.erb +11 -0
  171. data/lib/gooddata/lcm/data/select_from_lcm_release.sql.erb +8 -0
  172. data/lib/gooddata/lcm/data/update_lcm_release.sql.erb +7 -0
  173. data/lib/gooddata/lcm/dsl/dsl.rb +50 -0
  174. data/lib/gooddata/lcm/dsl/params_dsl.rb +61 -0
  175. data/lib/gooddata/lcm/dsl/type_dsl.rb +62 -0
  176. data/lib/gooddata/lcm/helpers/check_helper.rb +41 -0
  177. data/lib/gooddata/lcm/helpers/helpers.rb +12 -0
  178. data/lib/gooddata/lcm/helpers/tags_helper.rb +36 -0
  179. data/lib/gooddata/lcm/lcm.rb +325 -0
  180. data/lib/gooddata/lcm/lcm2.rb +400 -0
  181. data/lib/gooddata/lcm/types/base_type.rb +29 -0
  182. data/lib/gooddata/lcm/types/class/ads_client.rb +35 -0
  183. data/lib/gooddata/lcm/types/class/class.rb +21 -0
  184. data/lib/gooddata/lcm/types/class/gd_client.rb +35 -0
  185. data/lib/gooddata/lcm/types/class/types.rb +12 -0
  186. data/lib/gooddata/lcm/types/complex/complex.rb +33 -0
  187. data/lib/gooddata/lcm/types/complex/release_query.rb +35 -0
  188. data/lib/gooddata/lcm/types/complex/segment.rb +40 -0
  189. data/lib/gooddata/lcm/types/complex/synchronization_info.rb +35 -0
  190. data/lib/gooddata/lcm/types/complex/tokens.rb +31 -0
  191. data/lib/gooddata/lcm/types/complex/types.rb +12 -0
  192. data/lib/gooddata/lcm/types/complex/update_preference.rb +38 -0
  193. data/lib/gooddata/lcm/types/complex/users_brick_config.rb +32 -0
  194. data/lib/gooddata/lcm/types/param.rb +16 -0
  195. data/lib/gooddata/lcm/types/scalar/bool.rb +22 -0
  196. data/lib/gooddata/lcm/types/scalar/hash.rb +22 -0
  197. data/lib/gooddata/lcm/types/scalar/integer.rb +22 -0
  198. data/lib/gooddata/lcm/types/scalar/object.rb +22 -0
  199. data/lib/gooddata/lcm/types/scalar/string.rb +22 -0
  200. data/lib/gooddata/lcm/types/scalar/types.rb +12 -0
  201. data/lib/gooddata/lcm/types/special/array.rb +33 -0
  202. data/lib/gooddata/lcm/types/special/enum.rb +15 -0
  203. data/lib/gooddata/lcm/types/special/types.rb +12 -0
  204. data/lib/gooddata/lcm/types/types.rb +12 -0
  205. data/lib/gooddata/lcm/user_bricks_helper.rb +32 -0
  206. data/lib/gooddata/mixins/author.rb +26 -0
  207. data/lib/gooddata/mixins/content_getter.rb +15 -0
  208. data/lib/gooddata/mixins/content_property_reader.rb +17 -0
  209. data/lib/gooddata/mixins/content_property_writer.rb +17 -0
  210. data/lib/gooddata/mixins/contributor.rb +20 -0
  211. data/lib/gooddata/mixins/data_getter.rb +15 -0
  212. data/lib/gooddata/mixins/data_property_reader.rb +19 -0
  213. data/lib/gooddata/mixins/data_property_writer.rb +19 -0
  214. data/lib/gooddata/mixins/inspector.rb +53 -0
  215. data/lib/gooddata/mixins/is_attribute.rb +17 -0
  216. data/lib/gooddata/mixins/is_dimension.rb +17 -0
  217. data/lib/gooddata/mixins/is_fact.rb +17 -0
  218. data/lib/gooddata/mixins/is_folder.rb +11 -0
  219. data/lib/gooddata/mixins/is_label.rb +19 -0
  220. data/lib/gooddata/mixins/links.rb +15 -0
  221. data/lib/gooddata/mixins/md_finders.rb +79 -0
  222. data/lib/gooddata/mixins/md_grantees.rb +42 -0
  223. data/lib/gooddata/mixins/md_id_to_uri.rb +39 -0
  224. data/lib/gooddata/mixins/md_json.rb +15 -0
  225. data/lib/gooddata/mixins/md_lock.rb +87 -0
  226. data/lib/gooddata/mixins/md_object_id.rb +15 -0
  227. data/lib/gooddata/mixins/md_object_indexer.rb +74 -0
  228. data/lib/gooddata/mixins/md_object_query.rb +134 -0
  229. data/lib/gooddata/mixins/md_relations.rb +43 -0
  230. data/lib/gooddata/mixins/meta_getter.rb +17 -0
  231. data/lib/gooddata/mixins/meta_property_reader.rb +19 -0
  232. data/lib/gooddata/mixins/meta_property_writer.rb +19 -0
  233. data/lib/gooddata/mixins/mixins.rb +19 -0
  234. data/lib/gooddata/mixins/not_attribute.rb +17 -0
  235. data/lib/gooddata/mixins/not_exportable.rb +15 -0
  236. data/lib/gooddata/mixins/not_fact.rb +17 -0
  237. data/lib/gooddata/mixins/not_group.rb +17 -0
  238. data/lib/gooddata/mixins/not_label.rb +19 -0
  239. data/lib/gooddata/mixins/not_metric.rb +19 -0
  240. data/lib/gooddata/mixins/obj_id.rb +15 -0
  241. data/lib/gooddata/mixins/rest_getters.rb +17 -0
  242. data/lib/gooddata/mixins/rest_resource.rb +47 -0
  243. data/lib/gooddata/mixins/root_key_getter.rb +15 -0
  244. data/lib/gooddata/mixins/root_key_setter.rb +15 -0
  245. data/lib/gooddata/mixins/timestamps.rb +19 -0
  246. data/lib/gooddata/mixins/to_json.rb +11 -0
  247. data/lib/gooddata/mixins/uri_getter.rb +9 -0
  248. data/lib/gooddata/models/ads_output_stage.rb +85 -0
  249. data/lib/gooddata/models/automated_data_distribution.rb +36 -0
  250. data/lib/gooddata/models/blueprint/anchor_field.rb +65 -0
  251. data/lib/gooddata/models/blueprint/attribute_field.rb +45 -0
  252. data/lib/gooddata/models/blueprint/blueprint.rb +11 -0
  253. data/lib/gooddata/models/blueprint/blueprint_field.rb +70 -0
  254. data/lib/gooddata/models/blueprint/dashboard_builder.rb +30 -0
  255. data/lib/gooddata/models/blueprint/dataset_blueprint.rb +455 -0
  256. data/lib/gooddata/models/blueprint/date_dimension.rb +20 -0
  257. data/lib/gooddata/models/blueprint/fact_field.rb +20 -0
  258. data/lib/gooddata/models/blueprint/label_field.rb +47 -0
  259. data/lib/gooddata/models/blueprint/project_blueprint.rb +791 -0
  260. data/lib/gooddata/models/blueprint/project_builder.rb +103 -0
  261. data/lib/gooddata/models/blueprint/reference_field.rb +43 -0
  262. data/lib/gooddata/models/blueprint/schema_blueprint.rb +160 -0
  263. data/lib/gooddata/models/blueprint/schema_builder.rb +89 -0
  264. data/lib/gooddata/models/blueprint/to_manifest.rb +185 -0
  265. data/lib/gooddata/models/blueprint/to_wire.rb +173 -0
  266. data/lib/gooddata/models/channel_configuration.rb +112 -0
  267. data/lib/gooddata/models/client.rb +236 -0
  268. data/lib/gooddata/models/client_synchronization_result.rb +31 -0
  269. data/lib/gooddata/models/client_synchronization_result_details.rb +41 -0
  270. data/lib/gooddata/models/data_product.rb +149 -0
  271. data/lib/gooddata/models/datawarehouse.rb +114 -0
  272. data/lib/gooddata/models/domain.rb +505 -0
  273. data/lib/gooddata/models/execution.rb +115 -0
  274. data/lib/gooddata/models/execution_detail.rb +81 -0
  275. data/lib/gooddata/models/from_wire.rb +173 -0
  276. data/lib/gooddata/models/invitation.rb +75 -0
  277. data/lib/gooddata/models/links.rb +50 -0
  278. data/lib/gooddata/models/membership.rb +441 -0
  279. data/lib/gooddata/models/metadata.rb +324 -0
  280. data/lib/gooddata/models/metadata/attribute.rb +155 -0
  281. data/lib/gooddata/models/metadata/dashboard.rb +120 -0
  282. data/lib/gooddata/models/metadata/dashboard/dashboard_item.rb +76 -0
  283. data/lib/gooddata/models/metadata/dashboard/filter_apply_item.rb +37 -0
  284. data/lib/gooddata/models/metadata/dashboard/filter_item.rb +64 -0
  285. data/lib/gooddata/models/metadata/dashboard/geo_chart_item.rb +56 -0
  286. data/lib/gooddata/models/metadata/dashboard/headline_item.rb +56 -0
  287. data/lib/gooddata/models/metadata/dashboard/iframe_item.rb +46 -0
  288. data/lib/gooddata/models/metadata/dashboard/report_item.rb +92 -0
  289. data/lib/gooddata/models/metadata/dashboard/text_item.rb +55 -0
  290. data/lib/gooddata/models/metadata/dashboard_tab.rb +141 -0
  291. data/lib/gooddata/models/metadata/dataset.rb +67 -0
  292. data/lib/gooddata/models/metadata/dimension.rb +57 -0
  293. data/lib/gooddata/models/metadata/fact.rb +51 -0
  294. data/lib/gooddata/models/metadata/folder.rb +49 -0
  295. data/lib/gooddata/models/metadata/label.rb +128 -0
  296. data/lib/gooddata/models/metadata/metadata.rb +12 -0
  297. data/lib/gooddata/models/metadata/metric.rb +206 -0
  298. data/lib/gooddata/models/metadata/report.rb +268 -0
  299. data/lib/gooddata/models/metadata/report_definition.rb +272 -0
  300. data/lib/gooddata/models/metadata/scheduled_mail.rb +277 -0
  301. data/lib/gooddata/models/metadata/scheduled_mail/dashboard_attachment.rb +62 -0
  302. data/lib/gooddata/models/metadata/scheduled_mail/report_attachment.rb +64 -0
  303. data/lib/gooddata/models/metadata/variable.rb +96 -0
  304. data/lib/gooddata/models/model.rb +293 -0
  305. data/lib/gooddata/models/models.rb +12 -0
  306. data/lib/gooddata/models/module_constants.rb +31 -0
  307. data/lib/gooddata/models/notification_rule.rb +113 -0
  308. data/lib/gooddata/models/process.rb +371 -0
  309. data/lib/gooddata/models/profile.rb +451 -0
  310. data/lib/gooddata/models/project.rb +2030 -0
  311. data/lib/gooddata/models/project_creator.rb +209 -0
  312. data/lib/gooddata/models/project_log_formatter.rb +204 -0
  313. data/lib/gooddata/models/project_metadata.rb +67 -0
  314. data/lib/gooddata/models/project_role.rb +79 -0
  315. data/lib/gooddata/models/report_data_result.rb +270 -0
  316. data/lib/gooddata/models/schedule.rb +538 -0
  317. data/lib/gooddata/models/segment.rb +274 -0
  318. data/lib/gooddata/models/style_setting.rb +62 -0
  319. data/lib/gooddata/models/subscription.rb +188 -0
  320. data/lib/gooddata/models/tab_builder.rb +27 -0
  321. data/lib/gooddata/models/user_filters/mandatory_user_filter.rb +76 -0
  322. data/lib/gooddata/models/user_filters/user_filter.rb +101 -0
  323. data/lib/gooddata/models/user_filters/user_filter_builder.rb +553 -0
  324. data/lib/gooddata/models/user_filters/user_filters.rb +13 -0
  325. data/lib/gooddata/models/user_filters/variable_user_filter.rb +33 -0
  326. data/lib/gooddata/models/user_group.rb +250 -0
  327. data/lib/gooddata/rest/README.md +37 -0
  328. data/lib/gooddata/rest/client.rb +396 -0
  329. data/lib/gooddata/rest/connection.rb +776 -0
  330. data/lib/gooddata/rest/object.rb +69 -0
  331. data/lib/gooddata/rest/object_factory.rb +51 -0
  332. data/lib/gooddata/rest/resource.rb +27 -0
  333. data/lib/gooddata/rest/rest.rb +24 -0
  334. data/lib/gooddata/version.rb +23 -0
  335. data/lib/templates/bricks/brick.rb.erb +7 -0
  336. data/lib/templates/bricks/main.rb.erb +5 -0
  337. data/lib/templates/project/Goodfile.erb +4 -0
  338. data/lib/templates/project/data/commits.csv +4 -0
  339. data/lib/templates/project/data/devs.csv +4 -0
  340. data/lib/templates/project/data/repos.csv +3 -0
  341. data/lib/templates/project/model/model.rb.erb +20 -0
  342. data/spec/.rubocop.yml +16 -0
  343. data/spec/bricks/bricks_spec.rb +110 -0
  344. data/spec/bricks/default-config.json +8 -0
  345. data/spec/data/.gooddata +4 -0
  346. data/spec/data/blueprints/additional_dataset_module.json +32 -0
  347. data/spec/data/blueprints/attribute_sort_order_blueprint.json +72 -0
  348. data/spec/data/blueprints/big_blueprint_not_pruned.json +2079 -0
  349. data/spec/data/blueprints/invalid_blueprint.json +103 -0
  350. data/spec/data/blueprints/m_n_model.json +104 -0
  351. data/spec/data/blueprints/model_module.json +25 -0
  352. data/spec/data/blueprints/test_blueprint.json +39 -0
  353. data/spec/data/blueprints/test_project_model_spec.json +106 -0
  354. data/spec/data/cc/data/source/commits.csv +4 -0
  355. data/spec/data/cc/data/source/devs.csv +4 -0
  356. data/spec/data/cc/data/source/repos.csv +3 -0
  357. data/spec/data/cc/devel.prm +0 -0
  358. data/spec/data/cc/graph/graph.grf +11 -0
  359. data/spec/data/cc/workspace.prm +19 -0
  360. data/spec/data/column_based_permissions.csv +7 -0
  361. data/spec/data/column_based_permissions2.csv +6 -0
  362. data/spec/data/dynamic_schedule_params_table.csv +7 -0
  363. data/spec/data/gd_gse_data_blueprint.json +1371 -0
  364. data/spec/data/gd_gse_data_manifest.json +1424 -0
  365. data/spec/data/gd_gse_data_model.json +1772 -0
  366. data/spec/data/gooddata_version_process/gooddata_version.rb +9 -0
  367. data/spec/data/gooddata_version_process/gooddata_version.zip +0 -0
  368. data/spec/data/hello_world_process/hello_world.rb +9 -0
  369. data/spec/data/hello_world_process/hello_world.zip +0 -0
  370. data/spec/data/line_based_permissions.csv +3 -0
  371. data/spec/data/manifests/test_blueprint.json +32 -0
  372. data/spec/data/manifests/test_project.json +107 -0
  373. data/spec/data/reports/left_attr_report.json +108 -0
  374. data/spec/data/reports/metric_only_one_line.json +83 -0
  375. data/spec/data/reports/report_1.json +197 -0
  376. data/spec/data/reports/top_attr_report.json +108 -0
  377. data/spec/data/ruby_params_process/ruby_params.rb +9 -0
  378. data/spec/data/ruby_process/deep_files/deep_stuff.txt +1 -0
  379. data/spec/data/ruby_process/process.rb +8 -0
  380. data/spec/data/ruby_process/stuff.txt +1 -0
  381. data/spec/data/superfluous_titles_view.json +81 -0
  382. data/spec/data/test-ci-data.csv +2 -0
  383. data/spec/data/users.csv +12 -0
  384. data/spec/data/wire_models/attribute_sort_by_model.json +73 -0
  385. data/spec/data/wire_models/model_view.json +1775 -0
  386. data/spec/data/wire_models/nu_model.json +3046 -0
  387. data/spec/data/wire_models/test_blueprint.json +66 -0
  388. data/spec/data/wire_test_project.json +150 -0
  389. data/spec/data/workspace_table.csv +3 -0
  390. data/spec/environment/default.rb +43 -0
  391. data/spec/environment/development.rb +32 -0
  392. data/spec/environment/environment.rb +38 -0
  393. data/spec/environment/production.rb +27 -0
  394. data/spec/environment/staging.rb +33 -0
  395. data/spec/environment/testing.rb +32 -0
  396. data/spec/helpers/blueprint_helper.rb +27 -0
  397. data/spec/helpers/cli_helper.rb +38 -0
  398. data/spec/helpers/connection_helper.rb +43 -0
  399. data/spec/helpers/crypto_helper.rb +19 -0
  400. data/spec/helpers/csv_helper.rb +20 -0
  401. data/spec/helpers/process_helper.rb +35 -0
  402. data/spec/helpers/project_helper.rb +74 -0
  403. data/spec/helpers/schedule_helper.rb +33 -0
  404. data/spec/helpers/spec_helper.rb +17 -0
  405. data/spec/integration/ads_output_stage_spec.rb +45 -0
  406. data/spec/integration/blueprint_updates_spec.rb +107 -0
  407. data/spec/integration/blueprint_with_ca_spec.rb +56 -0
  408. data/spec/integration/blueprint_with_grain_spec.rb +74 -0
  409. data/spec/integration/channel_configuration_spec.rb +67 -0
  410. data/spec/integration/clients_spec.rb +164 -0
  411. data/spec/integration/command_datawarehouse_spec.rb +45 -0
  412. data/spec/integration/command_projects_spec.rb +32 -0
  413. data/spec/integration/commands/command_projects_spec.rb +22 -0
  414. data/spec/integration/core/connection_spec.rb +56 -0
  415. data/spec/integration/core/logging_spec.rb +130 -0
  416. data/spec/integration/core/project_spec.rb +54 -0
  417. data/spec/integration/create_from_template_spec.rb +29 -0
  418. data/spec/integration/create_project_spec.rb +27 -0
  419. data/spec/integration/date_dim_switch_spec.rb +150 -0
  420. data/spec/integration/deprecated_load_spec.rb +60 -0
  421. data/spec/integration/full_process_schedule_spec.rb +367 -0
  422. data/spec/integration/full_project_spec.rb +592 -0
  423. data/spec/integration/helpers_spec.rb +16 -0
  424. data/spec/integration/lcm_spec.rb +54 -0
  425. data/spec/integration/mixins/id_to_uri_spec.rb +44 -0
  426. data/spec/integration/models/data_product_spec.rb +71 -0
  427. data/spec/integration/models/domain_spec.rb +162 -0
  428. data/spec/integration/models/invitation_spec.rb +17 -0
  429. data/spec/integration/models/membership_spec.rb +127 -0
  430. data/spec/integration/models/metadata/report_spec.rb +54 -0
  431. data/spec/integration/models/params_spec.rb +118 -0
  432. data/spec/integration/models/profile_spec.rb +210 -0
  433. data/spec/integration/models/project_role_spec.rb +94 -0
  434. data/spec/integration/models/project_spec.rb +225 -0
  435. data/spec/integration/models/schedule_spec.rb +485 -0
  436. data/spec/integration/models/unit_project_spec.rb +130 -0
  437. data/spec/integration/over_to_user_filters_spec.rb +98 -0
  438. data/spec/integration/partial_md_export_import_spec.rb +41 -0
  439. data/spec/integration/project_spec.rb +381 -0
  440. data/spec/integration/rest_spec.rb +214 -0
  441. data/spec/integration/schedule_spec.rb +613 -0
  442. data/spec/integration/segments_spec.rb +100 -0
  443. data/spec/integration/subscription_spec.rb +88 -0
  444. data/spec/integration/urn_date_dim_spec.rb +53 -0
  445. data/spec/integration/user_filters_spec.rb +306 -0
  446. data/spec/integration/user_group_spec.rb +147 -0
  447. data/spec/integration/variables_spec.rb +189 -0
  448. data/spec/logging_in_logging_out_spec.rb +91 -0
  449. data/spec/spec_helper.rb +66 -0
  450. data/spec/unit/actions/associate_clients_spec.rb +47 -0
  451. data/spec/unit/actions/collect_client_projects_spec.rb +47 -0
  452. data/spec/unit/actions/collect_clients_spec.rb +65 -0
  453. data/spec/unit/actions/collect_data_product_spec.rb +56 -0
  454. data/spec/unit/actions/collect_dynamic_schedule_params_spec.rb +56 -0
  455. data/spec/unit/actions/collect_meta_spec.rb +88 -0
  456. data/spec/unit/actions/collect_segment_clients_spec.rb +81 -0
  457. data/spec/unit/actions/collect_tagged_objects_spec.rb +126 -0
  458. data/spec/unit/actions/collect_users_brick_users_spec.rb +36 -0
  459. data/spec/unit/actions/create_segment_masters_spec.rb +64 -0
  460. data/spec/unit/actions/ensure_data_product_spec.rb +38 -0
  461. data/spec/unit/actions/ensure_technical_users_domain_spec.rb +51 -0
  462. data/spec/unit/actions/ensure_technical_users_project_spec.rb +72 -0
  463. data/spec/unit/actions/execute_schedules_spec.rb +94 -0
  464. data/spec/unit/actions/provision_clients_spec.rb +45 -0
  465. data/spec/unit/actions/purge_clients_spec.rb +47 -0
  466. data/spec/unit/actions/rename_existing_client_projects_spec.rb +54 -0
  467. data/spec/unit/actions/segments_filter_spec.rb +46 -0
  468. data/spec/unit/actions/shared_examples_for_user_actions.rb +26 -0
  469. data/spec/unit/actions/synchronize_cas_spec.rb +58 -0
  470. data/spec/unit/actions/synchronize_etls_in_segment_spec.rb +212 -0
  471. data/spec/unit/actions/synchronize_ldm_spec.rb +57 -0
  472. data/spec/unit/actions/synchronize_user_filters_spec.rb +146 -0
  473. data/spec/unit/actions/synchronize_user_groups_spec.rb +49 -0
  474. data/spec/unit/actions/synchronize_users_spec.rb +134 -0
  475. data/spec/unit/bricks/bricks_spec.rb +34 -0
  476. data/spec/unit/bricks/middleware/aws_middelware_spec.rb +98 -0
  477. data/spec/unit/bricks/middleware/bench_middleware_spec.rb +15 -0
  478. data/spec/unit/bricks/middleware/bulk_salesforce_middleware_spec.rb +15 -0
  479. data/spec/unit/bricks/middleware/gooddata_middleware_spec.rb +15 -0
  480. data/spec/unit/bricks/middleware/logger_middleware_spec.rb +30 -0
  481. data/spec/unit/bricks/middleware/restforce_middleware_spec.rb +15 -0
  482. data/spec/unit/bricks/middleware/stdout_middleware_spec.rb +15 -0
  483. data/spec/unit/bricks/middleware/twitter_middleware_spec.rb +15 -0
  484. data/spec/unit/cli/cli_spec.rb +17 -0
  485. data/spec/unit/cli/commands/cmd_auth_spec.rb +17 -0
  486. data/spec/unit/core/nil_logger_spec.rb +13 -0
  487. data/spec/unit/extensions/hash_spec.rb +22 -0
  488. data/spec/unit/godzilla/goodzilla_spec.rb +74 -0
  489. data/spec/unit/helpers/csv_helper_spec.rb +22 -0
  490. data/spec/unit/helpers/data_helper_spec.rb +67 -0
  491. data/spec/unit/helpers/global_helpers_spec.rb +264 -0
  492. data/spec/unit/helpers_spec.rb +254 -0
  493. data/spec/unit/lcm/user_bricks_helper_spec.rb +58 -0
  494. data/spec/unit/models/blueprint/attribute_sort_by_spec.rb +20 -0
  495. data/spec/unit/models/blueprint/attributes_spec.rb +28 -0
  496. data/spec/unit/models/blueprint/dataset_spec.rb +120 -0
  497. data/spec/unit/models/blueprint/labels_spec.rb +43 -0
  498. data/spec/unit/models/blueprint/project_blueprint_spec.rb +642 -0
  499. data/spec/unit/models/blueprint/reference_spec.rb +28 -0
  500. data/spec/unit/models/blueprint/schema_builder_spec.rb +36 -0
  501. data/spec/unit/models/blueprint/to_wire_spec.rb +195 -0
  502. data/spec/unit/models/execution_spec.rb +109 -0
  503. data/spec/unit/models/from_wire_spec.rb +301 -0
  504. data/spec/unit/models/metadata_spec.rb +140 -0
  505. data/spec/unit/models/metric_spec.rb +129 -0
  506. data/spec/unit/models/model_spec.rb +77 -0
  507. data/spec/unit/models/project_creator_spec.rb +90 -0
  508. data/spec/unit/models/project_spec.rb +94 -0
  509. data/spec/unit/models/report_result_data_spec.rb +194 -0
  510. data/spec/unit/models/to_manifest_spec.rb +136 -0
  511. data/spec/unit/models/user_filters/user_filter_builder_spec.rb +110 -0
  512. data/spec/unit/models/user_filters_spec.rb +95 -0
  513. data/spec/unit/models/variable_spec.rb +280 -0
  514. data/spec/unit/rest/polling_spec.rb +101 -0
  515. data/spec/unit/rest/resource_spec.rb +10 -0
  516. data/yard-server.sh +3 -0
  517. metadata +1207 -0
@@ -0,0 +1,280 @@
1
+ # encoding: UTF-8
2
+ #
3
+ # Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
4
+ # This source code is licensed under the BSD-style license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ require 'gooddata'
8
+
9
+ ROW_BASED_DATA = [
10
+ ['tomas@gooddata.com', 'US', 'CZ', 'KZ'],
11
+ ['petr@gooddata.com', 'US'],
12
+ ['petr@gooddata.com', 'KZ']
13
+ ]
14
+ COLUMN_BASED_DATA_WITH_HEADERS = [
15
+ {
16
+ :login => 'tomas@gooddata.com',
17
+ :country => 'US',
18
+ :age => 14
19
+ },
20
+ {
21
+ :login => 'petr@gooddata.com',
22
+ :country => 'US',
23
+ :age => 19
24
+ },
25
+ {
26
+ :login => 'petr@gooddata.com',
27
+ :country => 'KZ',
28
+ :age => 30
29
+ }
30
+ ]
31
+
32
+ COLUMN_BASED_DATA_WITH_HEADERS_AND_NIL_VAL = [
33
+ {
34
+ :login => 'tomas@gooddata.com',
35
+ :country => 'US',
36
+ :age => 14
37
+ },
38
+ {
39
+ :login => 'petr@gooddata.com',
40
+ :country => 'US',
41
+ :age => 19
42
+ },
43
+ {
44
+ :login => 'petr@gooddata.com',
45
+ :country => 'KZ',
46
+ :age => nil
47
+ }
48
+ ]
49
+
50
+ COLUMN_BASED_DATA_WITH_HEADERS_AND_EMPTY_VAL = [
51
+ {
52
+ :login => 'tomas@gooddata.com',
53
+ :country => 'US',
54
+ :age => 14
55
+ },
56
+ {
57
+ :login => 'petr@gooddata.com',
58
+ :country => 'US',
59
+ :age => 19
60
+ },
61
+ {
62
+ :login => 'petr@gooddata.com',
63
+ :country => 'KZ',
64
+ :age => ''
65
+ }
66
+ ]
67
+
68
+ describe "DSL" do
69
+ it "should pick the values from row based file" do
70
+ results = GoodData::UserFilterBuilder.get_values(ROW_BASED_DATA, :labels => [{ :label => "label/34" }])
71
+ results.should == {
72
+ "tomas@gooddata.com" => [
73
+ { :label => "label/34", :values => %w(US CZ KZ), :over => nil, :to => nil }
74
+ ],
75
+ "petr@gooddata.com" => [
76
+ { :label => "label/34", :values => ["US"], :over => nil, :to => nil },
77
+ { :label => "label/34", :values => ["KZ"], :over => nil, :to => nil }
78
+ ]
79
+ }
80
+ end
81
+
82
+ it "should pick the values from column based file" do
83
+ results = GoodData::UserFilterBuilder.get_values(
84
+ COLUMN_BASED_DATA_WITH_HEADERS,
85
+ :type => :filter,
86
+ :user_column => :login,
87
+ :labels => [{ :label => "label/34", :column => :country }]
88
+ )
89
+ results.should == {
90
+ "tomas@gooddata.com" => [
91
+ { :label => "label/34", :values => ["US"], :over => nil, :to => nil }
92
+ ],
93
+ "petr@gooddata.com" => [
94
+ { :label => "label/34", :values => ["US"], :over => nil, :to => nil },
95
+ { :label => "label/34", :values => ["KZ"], :over => nil, :to => nil }
96
+ ]
97
+ }
98
+ end
99
+
100
+ it "should pick the values from column based file with multiple columns" do
101
+ results = GoodData::UserFilterBuilder.get_values(
102
+ COLUMN_BASED_DATA_WITH_HEADERS,
103
+ :type => :filter,
104
+ :user_column => :login,
105
+ :labels => [{ :label => "label/34", :column => :country }, { :label => "label/99", :column => :age }]
106
+ )
107
+ results.should == {
108
+ "tomas@gooddata.com" => [
109
+ { :label => "label/34", :values => ["US"], :over => nil, :to => nil },
110
+ { :label => "label/99", :values => [14], :over => nil, :to => nil }
111
+ ],
112
+ "petr@gooddata.com" => [
113
+ { :label => "label/34", :values => ["US"], :over => nil, :to => nil },
114
+ { :label => "label/99", :values => [19], :over => nil, :to => nil },
115
+ { :label => "label/34", :values => ["KZ"], :over => nil, :to => nil },
116
+ { :label => "label/99", :values => [30], :over => nil, :to => nil }
117
+ ]
118
+ }
119
+ end
120
+
121
+ it "should process end to end" do
122
+ result = GoodData::UserFilterBuilder.get_filters(
123
+ COLUMN_BASED_DATA_WITH_HEADERS,
124
+ :user_column => :login,
125
+ :labels => [{ :label => { :uri => "label/34" }, :column => :country }, { :label => { :uri => "label/99" }, :column => :age }]
126
+ )
127
+ result.should == [
128
+ {
129
+ :login => "tomas@gooddata.com",
130
+ :filters => [
131
+ { :label => { :uri => "label/34" }, :values => ["US"], :over => nil, :to => nil },
132
+ { :label => { :uri => "label/99" }, :values => [14], :over => nil, :to => nil }
133
+ ]
134
+ },
135
+ {
136
+ :login => "petr@gooddata.com",
137
+ :filters => [
138
+ { :label => { :uri => "label/34" }, :values => %w(US KZ), :over => nil, :to => nil },
139
+ { :label => { :uri => "label/99" }, :values => [19, 30], :over => nil, :to => nil }
140
+ ]
141
+ }
142
+ ]
143
+ end
144
+
145
+ it "should process end to end nil value should be ignored" do
146
+ result = GoodData::UserFilterBuilder.get_filters(
147
+ COLUMN_BASED_DATA_WITH_HEADERS_AND_NIL_VAL,
148
+ :user_column => :login,
149
+ :labels => [{ :label => { :uri => "label/34" }, :column => :country }, { :label => { :uri => "label/99" }, :column => :age }]
150
+ )
151
+ result.should == [
152
+ {
153
+ :login => "tomas@gooddata.com",
154
+ :filters => [
155
+ { :label => { :uri => "label/34" }, :values => ["US"], :over => nil, :to => nil },
156
+ { :label => { :uri => "label/99" }, :values => [14], :over => nil, :to => nil }
157
+ ]
158
+ },
159
+ {
160
+ :login => "petr@gooddata.com",
161
+ :filters => [
162
+ { :label => { :uri => "label/34" }, :values => %w(US KZ), :over => nil, :to => nil },
163
+ { :label => { :uri => "label/99" }, :values => [19], :over => nil, :to => nil }
164
+ ]
165
+ }
166
+ ]
167
+ end
168
+
169
+ it "should process end to end nil value should be ignored" do
170
+ result = GoodData::UserFilterBuilder.get_filters(
171
+ COLUMN_BASED_DATA_WITH_HEADERS_AND_EMPTY_VAL,
172
+ :user_column => :login,
173
+ :labels => [
174
+ { :label => { :uri => "label/34" }, :column => :country },
175
+ { :label => { :uri => "label/99" }, :column => :age }
176
+ ]
177
+ )
178
+ result.should == [
179
+ {
180
+ :login => "tomas@gooddata.com",
181
+ :filters => [
182
+ { :label => { :uri => "label/34" }, :values => ["US"], :over => nil, :to => nil },
183
+ { :label => { :uri => "label/99" }, :values => [14], :over => nil, :to => nil }
184
+ ]
185
+ },
186
+ {
187
+ :login => "petr@gooddata.com",
188
+ :filters => [
189
+ { :label => { :uri => "label/34" }, :values => %w(US KZ), :over => nil, :to => nil },
190
+ { :label => { :uri => "label/99" }, :values => [19, ""], :over => nil, :to => nil }
191
+ ]
192
+ }
193
+ ]
194
+ end
195
+
196
+ it "should collect values for every user" do
197
+ data = {
198
+ "tomas" => [
199
+ { :label => "label/34", :values => ["US"] },
200
+ { :label => "label/34", :values => ["KZ"] },
201
+ { :label => "label/99", :values => [18] },
202
+ { :label => "label/99", :values => [20] }
203
+ ],
204
+ "petr" => [
205
+ { :label => "label/34", :values => ["US"] },
206
+ { :label => "label/99", :values => [2] },
207
+ { :label => "label/99", :values => [1] }
208
+ ]
209
+ }
210
+ result = GoodData::UserFilterBuilder.reduce_results(data)
211
+ result.should == [
212
+ {
213
+ :login => "tomas",
214
+ :filters => [
215
+ { :label => "label/34", :values => %w(US KZ), :over => nil, :to => nil },
216
+ { :label => "label/99", :values => [18, 20], :over => nil, :to => nil }
217
+ ]
218
+ },
219
+ {
220
+ :login => "petr",
221
+ :filters => [
222
+ { :label => "label/34", :values => ["US"], :over => nil, :to => nil },
223
+ { :label => "label/99", :values => [2, 1], :over => nil, :to => nil }
224
+ ]
225
+ }
226
+ ]
227
+ end
228
+
229
+ it "should collect values for every label" do
230
+ data = [
231
+ { :label => "label/34", :values => ["US"] },
232
+ { :label => "label/34", :values => ["KZ"] },
233
+ { :label => "label/99", :values => [18] },
234
+ { :label => "label/99", :values => [20] }
235
+ ]
236
+ result = GoodData::UserFilterBuilder.collect_labels(data)
237
+ result.should == [
238
+ { :label => "label/34", :values => %w(US KZ), :over => nil, :to => nil },
239
+ { :label => "label/99", :values => [18, 20], :over => nil, :to => nil }
240
+ ]
241
+ end
242
+
243
+ it "should collect values" do
244
+ data = [
245
+ { :label => "label/34", :values => ["US"] },
246
+ { :label => "label/34", :values => ["KZ"] }
247
+ ]
248
+ results = GoodData::UserFilterBuilder.collect_values(data)
249
+ results.should == %w(US KZ)
250
+ end
251
+
252
+ it "should translate filters into MAQL filters" do
253
+ data = [
254
+ {
255
+ :login => "tomas@gooddata.com",
256
+ :filters => [
257
+ { :label => "label/34", :values => ["US"] },
258
+ { :label => "label/99", :values => [14] }
259
+ ]
260
+ },
261
+ {
262
+ :login => "petr@gooddata.com",
263
+ :filters => [
264
+ { :label => "label/34", :values => %w(US KZ) },
265
+ { :label => "label/99", :values => [19] }
266
+ ]
267
+ }
268
+ ]
269
+ results = data.map do |user_data|
270
+ {
271
+ :login => user_data[:login],
272
+ :maql_filter => user_data[:filters].map { |item| "[#{item[:label]}] IN (#{item[:values].join(', ')})" }.join(" AND ")
273
+ }
274
+ end
275
+ results.should == [
276
+ { :login => "tomas@gooddata.com", :maql_filter => "[label/34] IN (US) AND [label/99] IN (14)" },
277
+ { :login => "petr@gooddata.com", :maql_filter => "[label/34] IN (US, KZ) AND [label/99] IN (19)" }
278
+ ]
279
+ end
280
+ end
@@ -0,0 +1,101 @@
1
+ # encoding: UTF-8
2
+ #
3
+ # Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
4
+ # This source code is licensed under the BSD-style license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ require 'gooddata/rest/rest'
8
+
9
+ describe 'Behavior during polling and retries' do
10
+ before :each do
11
+ WebMock.enable!
12
+
13
+ @server = GoodData::Environment::ConnectionHelper::DEFAULT_SERVER
14
+ @coef = GoodData::Rest::Connection::RETRY_TIME_COEFFICIENT
15
+ @init = GoodData::Rest::Connection::RETRY_TIME_INITIAL_VALUE
16
+ @poll = GoodData::Rest::Client::DEFAULT_SLEEP_INTERVAL
17
+
18
+ GoodData::Rest::Connection.send(:remove_const, :RETRY_TIME_COEFFICIENT) if GoodData::Rest::Connection.const_defined?(:RETRY_TIME_COEFFICIENT)
19
+ GoodData::Rest::Connection.send(:remove_const, :RETRY_TIME_INITIAL_VALUE) if GoodData::Rest::Connection.const_defined?(:RETRY_TIME_INITIAL_VALUE)
20
+ GoodData::Rest::Client.send(:remove_const, :DEFAULT_SLEEP_INTERVAL) if GoodData::Rest::Client.const_defined?(:DEFAULT_SLEEP_INTERVAL)
21
+
22
+ GoodData::Rest::Connection.const_set(:RETRY_TIME_COEFFICIENT, 1)
23
+ GoodData::Rest::Connection.const_set(:RETRY_TIME_INITIAL_VALUE, 0)
24
+ GoodData::Rest::Client.const_set(:DEFAULT_SLEEP_INTERVAL, 0)
25
+ stub_request(:get, "#{@server}/gdc")
26
+ .to_return(
27
+ :body => {
28
+ 'about' => {
29
+ 'links' => [{
30
+ 'link' => 'https://secure-di.gooddata.com/uploads',
31
+ 'summary' => 'User data staging area.',
32
+ 'category' => 'uploads',
33
+ 'title' => 'user-uploads'
34
+ }]
35
+ }
36
+ }.to_json,
37
+ :headers => { 'Content-Type' => 'application/json' }
38
+ )
39
+ stub_request(:post, "#{@server}/gdc/account/login")
40
+ .to_return(:body => { :userLogin => { :profile => "/profile/123" } }.to_json, :headers => { 'Content-Type' => "application/json" })
41
+ stub_request(:get, "#{@server}/gdc/account/token")
42
+ .to_return(:body => {}.to_json, :headers => { 'Content-Type' => "application/json" })
43
+ stub_request(:get, "#{@server}/profile/123")
44
+ .to_return(:body => {}.to_json, :headers => { 'Content-Type' => "application/json" })
45
+ stub_request(:get, "#{@server}/poll_test")
46
+ .to_return(:body => { stuff: :aaa }.to_json, :headers => { 'Content-Type' => "application/json" })
47
+ stub_request(:get, "#{@server}/too_many_reqs")
48
+ .to_return(:body => {}.to_json, :status => 429, :headers => { 'Content-Type' => "application/json" })
49
+ stub_request(:get, "#{@server}/out_of_service")
50
+ .to_return(:body => {}.to_json, :status => 503, :headers => { 'Content-Type' => "application/json" })
51
+ stub_request(:get, "#{@server}/internal_error")
52
+ .to_return(:body => {}.to_json, :status => 500, :headers => { 'Content-Type' => "application/json" })
53
+
54
+ @client = GoodData.connect('aaa', 'bbbb')
55
+ end
56
+
57
+ after :each do
58
+ WebMock.disable!
59
+ GoodData::Rest::Connection.send(:remove_const, :RETRY_TIME_COEFFICIENT) if GoodData::Rest::Connection.const_defined?(:RETRY_TIME_COEFFICIENT)
60
+ GoodData::Rest::Connection.send(:remove_const, :RETRY_TIME_INITIAL_VALUE) if GoodData::Rest::Connection.const_defined?(:RETRY_TIME_INITIAL_VALUE)
61
+ GoodData::Rest::Client.send(:remove_const, :DEFAULT_SLEEP_INTERVAL) if GoodData::Rest::Client.const_defined?(:DEFAULT_SLEEP_INTERVAL)
62
+
63
+ GoodData::Rest::Connection.const_set(:RETRY_TIME_COEFFICIENT, @coef)
64
+ GoodData::Rest::Connection.const_set(:RETRY_TIME_INITIAL_VALUE, @init)
65
+ GoodData::Rest::Client.const_set(:DEFAULT_SLEEP_INTERVAL, @poll)
66
+ end
67
+
68
+ it 'should fail a poller after timelimit passes' do
69
+ expect do
70
+ @client.poll_on_response('/poll_test', time_limit: 0.1) { |_| true }
71
+ end.to raise_error(GoodData::ExecutionLimitExceeded)
72
+ end
73
+
74
+ it 'should make MAX_REQUESTS when hitting 429' do
75
+ expect do
76
+ @client.get('/too_many_reqs')
77
+ end.to raise_error(RestClient::TooManyRequests)
78
+ expect(a_request(:get, "#{@server}/too_many_reqs")).to have_been_made.times(12)
79
+ end
80
+
81
+ it 'should make MAX_REQUESTS when hitting 503' do
82
+ expect do
83
+ @client.get('/out_of_service')
84
+ end.to raise_error(RestClient::ServiceUnavailable)
85
+ expect(a_request(:get, "#{@server}/out_of_service")).to have_been_made.times(12)
86
+ end
87
+
88
+ it 'should make 1 additional request when hitting 500' do
89
+ expect do
90
+ @client.get('/internal_error', :tries => 3)
91
+ end.to raise_error(RestClient::InternalServerError)
92
+ expect(a_request(:get, "#{@server}/internal_error")).to have_been_made.times(3)
93
+ end
94
+
95
+ it 'Number of requests can be overriden' do
96
+ expect do
97
+ @client.get('/internal_error', :tries => 4)
98
+ end.to raise_error(RestClient::InternalServerError)
99
+ expect(a_request(:get, "#{@server}/internal_error")).to have_been_made.times(4)
100
+ end
101
+ end
@@ -0,0 +1,10 @@
1
+ # encoding: UTF-8
2
+ #
3
+ # Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
4
+ # This source code is licensed under the BSD-style license found in the
5
+ # LICENSE file in the root directory of this source tree.
6
+
7
+ require 'gooddata/rest/rest'
8
+
9
+ describe GoodData::Rest::Resource do
10
+ end
@@ -0,0 +1,3 @@
1
+ #! /usr/bin/env bash
2
+ yard server --reload --docroot doc/html
3
+
metadata ADDED
@@ -0,0 +1,1207 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gooddata
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: java
6
+ authors:
7
+ - Pavel Kolesnikov
8
+ - Thomas Watson Steen
9
+ - Tomas Svarovsky
10
+ - Tomas Korcak
11
+ autorequire:
12
+ bindir: bin
13
+ cert_chain: []
14
+ date: 2018-01-03 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.14'
22
+ name: bundler
23
+ prerelease: false
24
+ type: :development
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.14'
30
+ - !ruby/object:Gem::Dependency
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '2.0'
36
+ name: license_finder
37
+ prerelease: false
38
+ type: :development
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '2.0'
44
+ - !ruby/object:Gem::Dependency
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '11.1'
50
+ name: rake
51
+ prerelease: false
52
+ type: :development
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '11.1'
58
+ - !ruby/object:Gem::Dependency
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '0.2'
64
+ name: rake-notes
65
+ prerelease: false
66
+ type: :development
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - "~>"
70
+ - !ruby/object:Gem::Version
71
+ version: '0.2'
72
+ - !ruby/object:Gem::Dependency
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - "~>"
76
+ - !ruby/object:Gem::Version
77
+ version: '3.5'
78
+ name: rspec
79
+ prerelease: false
80
+ type: :development
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: '3.5'
86
+ - !ruby/object:Gem::Dependency
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: '3.5'
92
+ name: rspec-expectations
93
+ prerelease: false
94
+ type: :development
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '3.5'
100
+ - !ruby/object:Gem::Dependency
101
+ requirement: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: 0.3.0
106
+ name: rspec_junit_formatter
107
+ prerelease: false
108
+ type: :development
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: 0.3.0
114
+ - !ruby/object:Gem::Dependency
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "<"
118
+ - !ruby/object:Gem::Version
119
+ version: '0.48'
120
+ name: rubocop
121
+ prerelease: false
122
+ type: :development
123
+ version_requirements: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - "<"
126
+ - !ruby/object:Gem::Version
127
+ version: '0.48'
128
+ - !ruby/object:Gem::Dependency
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - "~>"
132
+ - !ruby/object:Gem::Version
133
+ version: '0.12'
134
+ name: simplecov
135
+ prerelease: false
136
+ type: :development
137
+ version_requirements: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - "~>"
140
+ - !ruby/object:Gem::Version
141
+ version: '0.12'
142
+ - !ruby/object:Gem::Dependency
143
+ requirement: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - "~>"
146
+ - !ruby/object:Gem::Version
147
+ version: '1.21'
148
+ name: webmock
149
+ prerelease: false
150
+ type: :development
151
+ version_requirements: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - "~>"
154
+ - !ruby/object:Gem::Version
155
+ version: '1.21'
156
+ - !ruby/object:Gem::Dependency
157
+ requirement: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - "~>"
160
+ - !ruby/object:Gem::Version
161
+ version: '0.8'
162
+ name: yard
163
+ prerelease: false
164
+ type: :development
165
+ version_requirements: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - "~>"
168
+ - !ruby/object:Gem::Version
169
+ version: '0.8'
170
+ - !ruby/object:Gem::Dependency
171
+ requirement: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - "~>"
174
+ - !ruby/object:Gem::Version
175
+ version: '0.1'
176
+ name: yard-rspec
177
+ prerelease: false
178
+ type: :development
179
+ version_requirements: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - "~>"
182
+ - !ruby/object:Gem::Version
183
+ version: '0.1'
184
+ - !ruby/object:Gem::Dependency
185
+ requirement: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - "~>"
188
+ - !ruby/object:Gem::Version
189
+ version: '4.11'
190
+ name: ZenTest
191
+ prerelease: false
192
+ type: :development
193
+ version_requirements: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - "~>"
196
+ - !ruby/object:Gem::Version
197
+ version: '4.11'
198
+ - !ruby/object:Gem::Dependency
199
+ requirement: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - ">="
202
+ - !ruby/object:Gem::Version
203
+ version: '0'
204
+ name: pry
205
+ prerelease: false
206
+ type: :development
207
+ version_requirements: !ruby/object:Gem::Requirement
208
+ requirements:
209
+ - - ">="
210
+ - !ruby/object:Gem::Version
211
+ version: '0'
212
+ - !ruby/object:Gem::Dependency
213
+ requirement: !ruby/object:Gem::Requirement
214
+ requirements:
215
+ - - "~>"
216
+ - !ruby/object:Gem::Version
217
+ version: 4.2.9
218
+ name: activesupport
219
+ prerelease: false
220
+ type: :development
221
+ version_requirements: !ruby/object:Gem::Requirement
222
+ requirements:
223
+ - - "~>"
224
+ - !ruby/object:Gem::Version
225
+ version: 4.2.9
226
+ - !ruby/object:Gem::Dependency
227
+ requirement: !ruby/object:Gem::Requirement
228
+ requirements:
229
+ - - "~>"
230
+ - !ruby/object:Gem::Version
231
+ version: '2.9'
232
+ - - ">="
233
+ - !ruby/object:Gem::Version
234
+ version: 2.9.42
235
+ name: aws-sdk
236
+ prerelease: false
237
+ type: :runtime
238
+ version_requirements: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - "~>"
241
+ - !ruby/object:Gem::Version
242
+ version: '2.9'
243
+ - - ">="
244
+ - !ruby/object:Gem::Version
245
+ version: 2.9.42
246
+ - !ruby/object:Gem::Dependency
247
+ requirement: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - "~>"
250
+ - !ruby/object:Gem::Version
251
+ version: '1.1'
252
+ name: docile
253
+ prerelease: false
254
+ type: :runtime
255
+ version_requirements: !ruby/object:Gem::Requirement
256
+ requirements:
257
+ - - "~>"
258
+ - !ruby/object:Gem::Version
259
+ version: '1.1'
260
+ - !ruby/object:Gem::Dependency
261
+ requirement: !ruby/object:Gem::Requirement
262
+ requirements:
263
+ - - "~>"
264
+ - !ruby/object:Gem::Version
265
+ version: '2.7'
266
+ name: erubis
267
+ prerelease: false
268
+ type: :runtime
269
+ version_requirements: !ruby/object:Gem::Requirement
270
+ requirements:
271
+ - - "~>"
272
+ - !ruby/object:Gem::Version
273
+ version: '2.7'
274
+ - !ruby/object:Gem::Dependency
275
+ requirement: !ruby/object:Gem::Requirement
276
+ requirements:
277
+ - - "~>"
278
+ - !ruby/object:Gem::Version
279
+ version: '2.15'
280
+ name: gli
281
+ prerelease: false
282
+ type: :runtime
283
+ version_requirements: !ruby/object:Gem::Requirement
284
+ requirements:
285
+ - - "~>"
286
+ - !ruby/object:Gem::Version
287
+ version: '2.15'
288
+ - !ruby/object:Gem::Dependency
289
+ requirement: !ruby/object:Gem::Requirement
290
+ requirements:
291
+ - - ">="
292
+ - !ruby/object:Gem::Version
293
+ version: '0'
294
+ name: gooddata_datawarehouse
295
+ prerelease: false
296
+ type: :runtime
297
+ version_requirements: !ruby/object:Gem::Requirement
298
+ requirements:
299
+ - - ">="
300
+ - !ruby/object:Gem::Version
301
+ version: '0'
302
+ - !ruby/object:Gem::Dependency
303
+ requirement: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - '='
306
+ - !ruby/object:Gem::Version
307
+ version: 0.1.12
308
+ name: gooddata-dss-jdbc
309
+ prerelease: false
310
+ type: :runtime
311
+ version_requirements: !ruby/object:Gem::Requirement
312
+ requirements:
313
+ - - '='
314
+ - !ruby/object:Gem::Version
315
+ version: 0.1.12
316
+ - !ruby/object:Gem::Dependency
317
+ requirement: !ruby/object:Gem::Requirement
318
+ requirements:
319
+ - - '='
320
+ - !ruby/object:Gem::Version
321
+ version: 2.0.0.pre.develop.14
322
+ name: highline
323
+ prerelease: false
324
+ type: :runtime
325
+ version_requirements: !ruby/object:Gem::Requirement
326
+ requirements:
327
+ - - '='
328
+ - !ruby/object:Gem::Version
329
+ version: 2.0.0.pre.develop.14
330
+ - !ruby/object:Gem::Dependency
331
+ requirement: !ruby/object:Gem::Requirement
332
+ requirements:
333
+ - - "~>"
334
+ - !ruby/object:Gem::Version
335
+ version: '1.8'
336
+ name: json_pure
337
+ prerelease: false
338
+ type: :runtime
339
+ version_requirements: !ruby/object:Gem::Requirement
340
+ requirements:
341
+ - - "~>"
342
+ - !ruby/object:Gem::Version
343
+ version: '1.8'
344
+ - !ruby/object:Gem::Dependency
345
+ requirement: !ruby/object:Gem::Requirement
346
+ requirements:
347
+ - - "~>"
348
+ - !ruby/object:Gem::Version
349
+ version: '1.12'
350
+ name: multi_json
351
+ prerelease: false
352
+ type: :runtime
353
+ version_requirements: !ruby/object:Gem::Requirement
354
+ requirements:
355
+ - - "~>"
356
+ - !ruby/object:Gem::Version
357
+ version: '1.12'
358
+ - !ruby/object:Gem::Dependency
359
+ requirement: !ruby/object:Gem::Requirement
360
+ requirements:
361
+ - - "~>"
362
+ - !ruby/object:Gem::Version
363
+ version: '1.0'
364
+ name: parseconfig
365
+ prerelease: false
366
+ type: :runtime
367
+ version_requirements: !ruby/object:Gem::Requirement
368
+ requirements:
369
+ - - "~>"
370
+ - !ruby/object:Gem::Version
371
+ version: '1.0'
372
+ - !ruby/object:Gem::Dependency
373
+ requirement: !ruby/object:Gem::Requirement
374
+ requirements:
375
+ - - "~>"
376
+ - !ruby/object:Gem::Version
377
+ version: '1.1'
378
+ name: pmap
379
+ prerelease: false
380
+ type: :runtime
381
+ version_requirements: !ruby/object:Gem::Requirement
382
+ requirements:
383
+ - - "~>"
384
+ - !ruby/object:Gem::Version
385
+ version: '1.1'
386
+ - !ruby/object:Gem::Dependency
387
+ requirement: !ruby/object:Gem::Requirement
388
+ requirements:
389
+ - - "~>"
390
+ - !ruby/object:Gem::Version
391
+ version: '2.4'
392
+ name: restforce
393
+ prerelease: false
394
+ type: :runtime
395
+ version_requirements: !ruby/object:Gem::Requirement
396
+ requirements:
397
+ - - "~>"
398
+ - !ruby/object:Gem::Version
399
+ version: '2.4'
400
+ - !ruby/object:Gem::Dependency
401
+ requirement: !ruby/object:Gem::Requirement
402
+ requirements:
403
+ - - "~>"
404
+ - !ruby/object:Gem::Version
405
+ version: '2.0'
406
+ name: rest-client
407
+ prerelease: false
408
+ type: :runtime
409
+ version_requirements: !ruby/object:Gem::Requirement
410
+ requirements:
411
+ - - "~>"
412
+ - !ruby/object:Gem::Version
413
+ version: '2.0'
414
+ - !ruby/object:Gem::Dependency
415
+ requirement: !ruby/object:Gem::Requirement
416
+ requirements:
417
+ - - "~>"
418
+ - !ruby/object:Gem::Version
419
+ version: '1.2'
420
+ name: rubyzip
421
+ prerelease: false
422
+ type: :runtime
423
+ version_requirements: !ruby/object:Gem::Requirement
424
+ requirements:
425
+ - - "~>"
426
+ - !ruby/object:Gem::Version
427
+ version: '1.2'
428
+ - !ruby/object:Gem::Dependency
429
+ requirement: !ruby/object:Gem::Requirement
430
+ requirements:
431
+ - - "~>"
432
+ - !ruby/object:Gem::Version
433
+ version: '0.2'
434
+ name: salesforce_bulk_query
435
+ prerelease: false
436
+ type: :runtime
437
+ version_requirements: !ruby/object:Gem::Requirement
438
+ requirements:
439
+ - - "~>"
440
+ - !ruby/object:Gem::Version
441
+ version: '0.2'
442
+ - !ruby/object:Gem::Dependency
443
+ requirement: !ruby/object:Gem::Requirement
444
+ requirements:
445
+ - - "~>"
446
+ - !ruby/object:Gem::Version
447
+ version: '1.7'
448
+ name: terminal-table
449
+ prerelease: false
450
+ type: :runtime
451
+ version_requirements: !ruby/object:Gem::Requirement
452
+ requirements:
453
+ - - "~>"
454
+ - !ruby/object:Gem::Version
455
+ version: '1.7'
456
+ - !ruby/object:Gem::Dependency
457
+ requirement: !ruby/object:Gem::Requirement
458
+ requirements:
459
+ - - ">="
460
+ - !ruby/object:Gem::Version
461
+ version: '0'
462
+ name: thread_safe
463
+ prerelease: false
464
+ type: :runtime
465
+ version_requirements: !ruby/object:Gem::Requirement
466
+ requirements:
467
+ - - ">="
468
+ - !ruby/object:Gem::Version
469
+ version: '0'
470
+ - !ruby/object:Gem::Dependency
471
+ requirement: !ruby/object:Gem::Requirement
472
+ requirements:
473
+ - - ">="
474
+ - !ruby/object:Gem::Version
475
+ version: '0'
476
+ name: backports
477
+ prerelease: false
478
+ type: :runtime
479
+ version_requirements: !ruby/object:Gem::Requirement
480
+ requirements:
481
+ - - ">="
482
+ - !ruby/object:Gem::Version
483
+ version: '0'
484
+ description: Use the GoodData::Client class to integrate GoodData into your own application
485
+ or use the CLI to work with GoodData directly from the command line.
486
+ email: pavel@gooddata.com
487
+ executables:
488
+ - gooddata
489
+ extensions: []
490
+ extra_rdoc_files:
491
+ - LICENSE
492
+ - README.md
493
+ files:
494
+ - ".document"
495
+ - ".editorconfig"
496
+ - ".flayignore"
497
+ - ".gitignore"
498
+ - ".pronto.yml"
499
+ - ".rspec"
500
+ - ".rubocop.yml"
501
+ - ".travis.yml"
502
+ - ".yardopts"
503
+ - CHANGELOG.md
504
+ - CLI.md
505
+ - CONTRIBUTING.md
506
+ - DEPENDENCIES.md
507
+ - Dockerfile.jruby
508
+ - Dockerfile.ruby
509
+ - Gemfile
510
+ - Guardfile
511
+ - LICENSE
512
+ - LICENSE.rb
513
+ - README.md
514
+ - Rakefile
515
+ - TODO.md
516
+ - authors.sh
517
+ - bin/gooddata
518
+ - ci.rake
519
+ - dependency_decisions.yml
520
+ - docker-compose.yml
521
+ - gooddata
522
+ - gooddata.gemspec
523
+ - lib/gooddata.rb
524
+ - lib/gooddata/app/app.rb
525
+ - lib/gooddata/bricks/base_downloader.rb
526
+ - lib/gooddata/bricks/brick.rb
527
+ - lib/gooddata/bricks/bricks.rb
528
+ - lib/gooddata/bricks/middleware/aws_middleware.rb
529
+ - lib/gooddata/bricks/middleware/base_middleware.rb
530
+ - lib/gooddata/bricks/middleware/bench_middleware.rb
531
+ - lib/gooddata/bricks/middleware/bulk_salesforce_middleware.rb
532
+ - lib/gooddata/bricks/middleware/decode_params_middleware.rb
533
+ - lib/gooddata/bricks/middleware/dwh_middleware.rb
534
+ - lib/gooddata/bricks/middleware/fs_download_middleware.rb
535
+ - lib/gooddata/bricks/middleware/fs_upload_middleware.rb
536
+ - lib/gooddata/bricks/middleware/gooddata_middleware.rb
537
+ - lib/gooddata/bricks/middleware/logger_middleware.rb
538
+ - lib/gooddata/bricks/middleware/middleware.rb
539
+ - lib/gooddata/bricks/middleware/restforce_middleware.rb
540
+ - lib/gooddata/bricks/middleware/stdout_middleware.rb
541
+ - lib/gooddata/bricks/middleware/twitter_middleware.rb
542
+ - lib/gooddata/bricks/middleware/undot_params_middleware.rb
543
+ - lib/gooddata/bricks/pipeline.rb
544
+ - lib/gooddata/bricks/utils.rb
545
+ - lib/gooddata/cli/cli.rb
546
+ - lib/gooddata/cli/commands/auth_cmd.rb
547
+ - lib/gooddata/cli/commands/domain_cmd.rb
548
+ - lib/gooddata/cli/commands/project_cmd.rb
549
+ - lib/gooddata/cli/hooks.rb
550
+ - lib/gooddata/cli/shared.rb
551
+ - lib/gooddata/cli/terminal.rb
552
+ - lib/gooddata/client.rb
553
+ - lib/gooddata/commands/api.rb
554
+ - lib/gooddata/commands/auth.rb
555
+ - lib/gooddata/commands/base.rb
556
+ - lib/gooddata/commands/commands.rb
557
+ - lib/gooddata/commands/datasets.rb
558
+ - lib/gooddata/commands/datawarehouse.rb
559
+ - lib/gooddata/commands/domain.rb
560
+ - lib/gooddata/commands/process.rb
561
+ - lib/gooddata/commands/project.rb
562
+ - lib/gooddata/commands/projects.rb
563
+ - lib/gooddata/commands/role.rb
564
+ - lib/gooddata/commands/runners.rb
565
+ - lib/gooddata/commands/scaffold.rb
566
+ - lib/gooddata/commands/user.rb
567
+ - lib/gooddata/connection.rb
568
+ - lib/gooddata/core/core.rb
569
+ - lib/gooddata/core/logging.rb
570
+ - lib/gooddata/core/nil_logger.rb
571
+ - lib/gooddata/core/project.rb
572
+ - lib/gooddata/core/rest.rb
573
+ - lib/gooddata/core/user.rb
574
+ - lib/gooddata/data/data.rb
575
+ - lib/gooddata/data/guesser.rb
576
+ - lib/gooddata/exceptions/attr_element_not_found.rb
577
+ - lib/gooddata/exceptions/command_failed.rb
578
+ - lib/gooddata/exceptions/exceptions.rb
579
+ - lib/gooddata/exceptions/execution_limit_exceeded.rb
580
+ - lib/gooddata/exceptions/export_clone.rb
581
+ - lib/gooddata/exceptions/filter_maqlization.rb
582
+ - lib/gooddata/exceptions/import_clone.rb
583
+ - lib/gooddata/exceptions/malformed_user.rb
584
+ - lib/gooddata/exceptions/maql_execution.rb
585
+ - lib/gooddata/exceptions/no_project_error.rb
586
+ - lib/gooddata/exceptions/object_migration.rb
587
+ - lib/gooddata/exceptions/project_not_found.rb
588
+ - lib/gooddata/exceptions/segment_not_empty.rb
589
+ - lib/gooddata/exceptions/uncomputable_report.rb
590
+ - lib/gooddata/exceptions/user_in_different_domain.rb
591
+ - lib/gooddata/exceptions/validation_error.rb
592
+ - lib/gooddata/extensions/big_decimal.rb
593
+ - lib/gooddata/extensions/class.rb
594
+ - lib/gooddata/extensions/enumerable.rb
595
+ - lib/gooddata/extensions/extensions.rb
596
+ - lib/gooddata/extensions/false.rb
597
+ - lib/gooddata/extensions/hash.rb
598
+ - lib/gooddata/extensions/integer.rb
599
+ - lib/gooddata/extensions/nil.rb
600
+ - lib/gooddata/extensions/numeric.rb
601
+ - lib/gooddata/extensions/object.rb
602
+ - lib/gooddata/extensions/string.rb
603
+ - lib/gooddata/extensions/symbol.rb
604
+ - lib/gooddata/extensions/true.rb
605
+ - lib/gooddata/extract.rb
606
+ - lib/gooddata/goodzilla/goodzilla.rb
607
+ - lib/gooddata/helpers/auth_helpers.rb
608
+ - lib/gooddata/helpers/csv_helper.rb
609
+ - lib/gooddata/helpers/data_helper.rb
610
+ - lib/gooddata/helpers/erb_helper.rb
611
+ - lib/gooddata/helpers/global_helpers.rb
612
+ - lib/gooddata/helpers/global_helpers_params.rb
613
+ - lib/gooddata/helpers/helpers.rb
614
+ - lib/gooddata/lcm/actions/actions.rb
615
+ - lib/gooddata/lcm/actions/apply_custom_maql.rb
616
+ - lib/gooddata/lcm/actions/associate_clients.rb
617
+ - lib/gooddata/lcm/actions/base_action.rb
618
+ - lib/gooddata/lcm/actions/collect_ca_metrics.rb
619
+ - lib/gooddata/lcm/actions/collect_client_projects.rb
620
+ - lib/gooddata/lcm/actions/collect_clients.rb
621
+ - lib/gooddata/lcm/actions/collect_data_product.rb
622
+ - lib/gooddata/lcm/actions/collect_dynamic_schedule_params.rb
623
+ - lib/gooddata/lcm/actions/collect_ldm_objects.rb
624
+ - lib/gooddata/lcm/actions/collect_meta.rb
625
+ - lib/gooddata/lcm/actions/collect_segment_clients.rb
626
+ - lib/gooddata/lcm/actions/collect_segments.rb
627
+ - lib/gooddata/lcm/actions/collect_tagged_objects.rb
628
+ - lib/gooddata/lcm/actions/collect_users_brick_users.rb
629
+ - lib/gooddata/lcm/actions/create_segment_masters.rb
630
+ - lib/gooddata/lcm/actions/ensure_data_product.rb
631
+ - lib/gooddata/lcm/actions/ensure_release_table.rb
632
+ - lib/gooddata/lcm/actions/ensure_segments.rb
633
+ - lib/gooddata/lcm/actions/ensure_technical_users_domain.rb
634
+ - lib/gooddata/lcm/actions/ensure_technical_users_project.rb
635
+ - lib/gooddata/lcm/actions/execute_schedules.rb
636
+ - lib/gooddata/lcm/actions/hello_world.rb
637
+ - lib/gooddata/lcm/actions/import_object_collections.rb
638
+ - lib/gooddata/lcm/actions/print_actions.rb
639
+ - lib/gooddata/lcm/actions/print_modes.rb
640
+ - lib/gooddata/lcm/actions/print_types.rb
641
+ - lib/gooddata/lcm/actions/provision_clients.rb
642
+ - lib/gooddata/lcm/actions/purge_clients.rb
643
+ - lib/gooddata/lcm/actions/rename_existing_client_projects.rb
644
+ - lib/gooddata/lcm/actions/segments_filter.rb
645
+ - lib/gooddata/lcm/actions/synchronize_attribute_drillpaths.rb
646
+ - lib/gooddata/lcm/actions/synchronize_cas.rb
647
+ - lib/gooddata/lcm/actions/synchronize_clients.rb
648
+ - lib/gooddata/lcm/actions/synchronize_color_palette.rb
649
+ - lib/gooddata/lcm/actions/synchronize_etls_in_segment.rb
650
+ - lib/gooddata/lcm/actions/synchronize_label_types.rb
651
+ - lib/gooddata/lcm/actions/synchronize_ldm.rb
652
+ - lib/gooddata/lcm/actions/synchronize_meta.rb
653
+ - lib/gooddata/lcm/actions/synchronize_new_segments.rb
654
+ - lib/gooddata/lcm/actions/synchronize_processes.rb
655
+ - lib/gooddata/lcm/actions/synchronize_schedules.rb
656
+ - lib/gooddata/lcm/actions/synchronize_tag_objects.rb
657
+ - lib/gooddata/lcm/actions/synchronize_user_filters.rb
658
+ - lib/gooddata/lcm/actions/synchronize_user_groups.rb
659
+ - lib/gooddata/lcm/actions/synchronize_users.rb
660
+ - lib/gooddata/lcm/actions/update_release_table.rb
661
+ - lib/gooddata/lcm/data/create_lcm_release.sql.erb
662
+ - lib/gooddata/lcm/data/insert_into_lcm_release.sql.erb
663
+ - lib/gooddata/lcm/data/select_from_lcm_release.sql.erb
664
+ - lib/gooddata/lcm/data/update_lcm_release.sql.erb
665
+ - lib/gooddata/lcm/dsl/dsl.rb
666
+ - lib/gooddata/lcm/dsl/params_dsl.rb
667
+ - lib/gooddata/lcm/dsl/type_dsl.rb
668
+ - lib/gooddata/lcm/helpers/check_helper.rb
669
+ - lib/gooddata/lcm/helpers/helpers.rb
670
+ - lib/gooddata/lcm/helpers/tags_helper.rb
671
+ - lib/gooddata/lcm/lcm.rb
672
+ - lib/gooddata/lcm/lcm2.rb
673
+ - lib/gooddata/lcm/types/base_type.rb
674
+ - lib/gooddata/lcm/types/class/ads_client.rb
675
+ - lib/gooddata/lcm/types/class/class.rb
676
+ - lib/gooddata/lcm/types/class/gd_client.rb
677
+ - lib/gooddata/lcm/types/class/types.rb
678
+ - lib/gooddata/lcm/types/complex/complex.rb
679
+ - lib/gooddata/lcm/types/complex/release_query.rb
680
+ - lib/gooddata/lcm/types/complex/segment.rb
681
+ - lib/gooddata/lcm/types/complex/synchronization_info.rb
682
+ - lib/gooddata/lcm/types/complex/tokens.rb
683
+ - lib/gooddata/lcm/types/complex/types.rb
684
+ - lib/gooddata/lcm/types/complex/update_preference.rb
685
+ - lib/gooddata/lcm/types/complex/users_brick_config.rb
686
+ - lib/gooddata/lcm/types/param.rb
687
+ - lib/gooddata/lcm/types/scalar/bool.rb
688
+ - lib/gooddata/lcm/types/scalar/hash.rb
689
+ - lib/gooddata/lcm/types/scalar/integer.rb
690
+ - lib/gooddata/lcm/types/scalar/object.rb
691
+ - lib/gooddata/lcm/types/scalar/string.rb
692
+ - lib/gooddata/lcm/types/scalar/types.rb
693
+ - lib/gooddata/lcm/types/special/array.rb
694
+ - lib/gooddata/lcm/types/special/enum.rb
695
+ - lib/gooddata/lcm/types/special/types.rb
696
+ - lib/gooddata/lcm/types/types.rb
697
+ - lib/gooddata/lcm/user_bricks_helper.rb
698
+ - lib/gooddata/mixins/author.rb
699
+ - lib/gooddata/mixins/content_getter.rb
700
+ - lib/gooddata/mixins/content_property_reader.rb
701
+ - lib/gooddata/mixins/content_property_writer.rb
702
+ - lib/gooddata/mixins/contributor.rb
703
+ - lib/gooddata/mixins/data_getter.rb
704
+ - lib/gooddata/mixins/data_property_reader.rb
705
+ - lib/gooddata/mixins/data_property_writer.rb
706
+ - lib/gooddata/mixins/inspector.rb
707
+ - lib/gooddata/mixins/is_attribute.rb
708
+ - lib/gooddata/mixins/is_dimension.rb
709
+ - lib/gooddata/mixins/is_fact.rb
710
+ - lib/gooddata/mixins/is_folder.rb
711
+ - lib/gooddata/mixins/is_label.rb
712
+ - lib/gooddata/mixins/links.rb
713
+ - lib/gooddata/mixins/md_finders.rb
714
+ - lib/gooddata/mixins/md_grantees.rb
715
+ - lib/gooddata/mixins/md_id_to_uri.rb
716
+ - lib/gooddata/mixins/md_json.rb
717
+ - lib/gooddata/mixins/md_lock.rb
718
+ - lib/gooddata/mixins/md_object_id.rb
719
+ - lib/gooddata/mixins/md_object_indexer.rb
720
+ - lib/gooddata/mixins/md_object_query.rb
721
+ - lib/gooddata/mixins/md_relations.rb
722
+ - lib/gooddata/mixins/meta_getter.rb
723
+ - lib/gooddata/mixins/meta_property_reader.rb
724
+ - lib/gooddata/mixins/meta_property_writer.rb
725
+ - lib/gooddata/mixins/mixins.rb
726
+ - lib/gooddata/mixins/not_attribute.rb
727
+ - lib/gooddata/mixins/not_exportable.rb
728
+ - lib/gooddata/mixins/not_fact.rb
729
+ - lib/gooddata/mixins/not_group.rb
730
+ - lib/gooddata/mixins/not_label.rb
731
+ - lib/gooddata/mixins/not_metric.rb
732
+ - lib/gooddata/mixins/obj_id.rb
733
+ - lib/gooddata/mixins/rest_getters.rb
734
+ - lib/gooddata/mixins/rest_resource.rb
735
+ - lib/gooddata/mixins/root_key_getter.rb
736
+ - lib/gooddata/mixins/root_key_setter.rb
737
+ - lib/gooddata/mixins/timestamps.rb
738
+ - lib/gooddata/mixins/to_json.rb
739
+ - lib/gooddata/mixins/uri_getter.rb
740
+ - lib/gooddata/models/ads_output_stage.rb
741
+ - lib/gooddata/models/automated_data_distribution.rb
742
+ - lib/gooddata/models/blueprint/anchor_field.rb
743
+ - lib/gooddata/models/blueprint/attribute_field.rb
744
+ - lib/gooddata/models/blueprint/blueprint.rb
745
+ - lib/gooddata/models/blueprint/blueprint_field.rb
746
+ - lib/gooddata/models/blueprint/dashboard_builder.rb
747
+ - lib/gooddata/models/blueprint/dataset_blueprint.rb
748
+ - lib/gooddata/models/blueprint/date_dimension.rb
749
+ - lib/gooddata/models/blueprint/fact_field.rb
750
+ - lib/gooddata/models/blueprint/label_field.rb
751
+ - lib/gooddata/models/blueprint/project_blueprint.rb
752
+ - lib/gooddata/models/blueprint/project_builder.rb
753
+ - lib/gooddata/models/blueprint/reference_field.rb
754
+ - lib/gooddata/models/blueprint/schema_blueprint.rb
755
+ - lib/gooddata/models/blueprint/schema_builder.rb
756
+ - lib/gooddata/models/blueprint/to_manifest.rb
757
+ - lib/gooddata/models/blueprint/to_wire.rb
758
+ - lib/gooddata/models/channel_configuration.rb
759
+ - lib/gooddata/models/client.rb
760
+ - lib/gooddata/models/client_synchronization_result.rb
761
+ - lib/gooddata/models/client_synchronization_result_details.rb
762
+ - lib/gooddata/models/data_product.rb
763
+ - lib/gooddata/models/datawarehouse.rb
764
+ - lib/gooddata/models/domain.rb
765
+ - lib/gooddata/models/execution.rb
766
+ - lib/gooddata/models/execution_detail.rb
767
+ - lib/gooddata/models/from_wire.rb
768
+ - lib/gooddata/models/invitation.rb
769
+ - lib/gooddata/models/links.rb
770
+ - lib/gooddata/models/membership.rb
771
+ - lib/gooddata/models/metadata.rb
772
+ - lib/gooddata/models/metadata/attribute.rb
773
+ - lib/gooddata/models/metadata/dashboard.rb
774
+ - lib/gooddata/models/metadata/dashboard/dashboard_item.rb
775
+ - lib/gooddata/models/metadata/dashboard/filter_apply_item.rb
776
+ - lib/gooddata/models/metadata/dashboard/filter_item.rb
777
+ - lib/gooddata/models/metadata/dashboard/geo_chart_item.rb
778
+ - lib/gooddata/models/metadata/dashboard/headline_item.rb
779
+ - lib/gooddata/models/metadata/dashboard/iframe_item.rb
780
+ - lib/gooddata/models/metadata/dashboard/report_item.rb
781
+ - lib/gooddata/models/metadata/dashboard/text_item.rb
782
+ - lib/gooddata/models/metadata/dashboard_tab.rb
783
+ - lib/gooddata/models/metadata/dataset.rb
784
+ - lib/gooddata/models/metadata/dimension.rb
785
+ - lib/gooddata/models/metadata/fact.rb
786
+ - lib/gooddata/models/metadata/folder.rb
787
+ - lib/gooddata/models/metadata/label.rb
788
+ - lib/gooddata/models/metadata/metadata.rb
789
+ - lib/gooddata/models/metadata/metric.rb
790
+ - lib/gooddata/models/metadata/report.rb
791
+ - lib/gooddata/models/metadata/report_definition.rb
792
+ - lib/gooddata/models/metadata/scheduled_mail.rb
793
+ - lib/gooddata/models/metadata/scheduled_mail/dashboard_attachment.rb
794
+ - lib/gooddata/models/metadata/scheduled_mail/report_attachment.rb
795
+ - lib/gooddata/models/metadata/variable.rb
796
+ - lib/gooddata/models/model.rb
797
+ - lib/gooddata/models/models.rb
798
+ - lib/gooddata/models/module_constants.rb
799
+ - lib/gooddata/models/notification_rule.rb
800
+ - lib/gooddata/models/process.rb
801
+ - lib/gooddata/models/profile.rb
802
+ - lib/gooddata/models/project.rb
803
+ - lib/gooddata/models/project_creator.rb
804
+ - lib/gooddata/models/project_log_formatter.rb
805
+ - lib/gooddata/models/project_metadata.rb
806
+ - lib/gooddata/models/project_role.rb
807
+ - lib/gooddata/models/report_data_result.rb
808
+ - lib/gooddata/models/schedule.rb
809
+ - lib/gooddata/models/segment.rb
810
+ - lib/gooddata/models/style_setting.rb
811
+ - lib/gooddata/models/subscription.rb
812
+ - lib/gooddata/models/tab_builder.rb
813
+ - lib/gooddata/models/user_filters/mandatory_user_filter.rb
814
+ - lib/gooddata/models/user_filters/user_filter.rb
815
+ - lib/gooddata/models/user_filters/user_filter_builder.rb
816
+ - lib/gooddata/models/user_filters/user_filters.rb
817
+ - lib/gooddata/models/user_filters/variable_user_filter.rb
818
+ - lib/gooddata/models/user_group.rb
819
+ - lib/gooddata/rest/README.md
820
+ - lib/gooddata/rest/client.rb
821
+ - lib/gooddata/rest/connection.rb
822
+ - lib/gooddata/rest/object.rb
823
+ - lib/gooddata/rest/object_factory.rb
824
+ - lib/gooddata/rest/resource.rb
825
+ - lib/gooddata/rest/rest.rb
826
+ - lib/gooddata/version.rb
827
+ - lib/templates/bricks/brick.rb.erb
828
+ - lib/templates/bricks/main.rb.erb
829
+ - lib/templates/project/Goodfile.erb
830
+ - lib/templates/project/data/commits.csv
831
+ - lib/templates/project/data/devs.csv
832
+ - lib/templates/project/data/repos.csv
833
+ - lib/templates/project/model/model.rb.erb
834
+ - spec/.rubocop.yml
835
+ - spec/bricks/bricks_spec.rb
836
+ - spec/bricks/default-config.json
837
+ - spec/data/.gooddata
838
+ - spec/data/blueprints/additional_dataset_module.json
839
+ - spec/data/blueprints/attribute_sort_order_blueprint.json
840
+ - spec/data/blueprints/big_blueprint_not_pruned.json
841
+ - spec/data/blueprints/invalid_blueprint.json
842
+ - spec/data/blueprints/m_n_model.json
843
+ - spec/data/blueprints/model_module.json
844
+ - spec/data/blueprints/test_blueprint.json
845
+ - spec/data/blueprints/test_project_model_spec.json
846
+ - spec/data/cc/data/source/commits.csv
847
+ - spec/data/cc/data/source/devs.csv
848
+ - spec/data/cc/data/source/repos.csv
849
+ - spec/data/cc/devel.prm
850
+ - spec/data/cc/graph/graph.grf
851
+ - spec/data/cc/workspace.prm
852
+ - spec/data/column_based_permissions.csv
853
+ - spec/data/column_based_permissions2.csv
854
+ - spec/data/dynamic_schedule_params_table.csv
855
+ - spec/data/gd_gse_data_blueprint.json
856
+ - spec/data/gd_gse_data_manifest.json
857
+ - spec/data/gd_gse_data_model.json
858
+ - spec/data/gooddata_version_process/gooddata_version.rb
859
+ - spec/data/gooddata_version_process/gooddata_version.zip
860
+ - spec/data/hello_world_process/hello_world.rb
861
+ - spec/data/hello_world_process/hello_world.zip
862
+ - spec/data/line_based_permissions.csv
863
+ - spec/data/manifests/test_blueprint.json
864
+ - spec/data/manifests/test_project.json
865
+ - spec/data/reports/left_attr_report.json
866
+ - spec/data/reports/metric_only_one_line.json
867
+ - spec/data/reports/report_1.json
868
+ - spec/data/reports/top_attr_report.json
869
+ - spec/data/ruby_params_process/ruby_params.rb
870
+ - spec/data/ruby_process/deep_files/deep_stuff.txt
871
+ - spec/data/ruby_process/process.rb
872
+ - spec/data/ruby_process/stuff.txt
873
+ - spec/data/superfluous_titles_view.json
874
+ - spec/data/test-ci-data.csv
875
+ - spec/data/users.csv
876
+ - spec/data/wire_models/attribute_sort_by_model.json
877
+ - spec/data/wire_models/model_view.json
878
+ - spec/data/wire_models/nu_model.json
879
+ - spec/data/wire_models/test_blueprint.json
880
+ - spec/data/wire_test_project.json
881
+ - spec/data/workspace_table.csv
882
+ - spec/environment/default.rb
883
+ - spec/environment/development.rb
884
+ - spec/environment/environment.rb
885
+ - spec/environment/production.rb
886
+ - spec/environment/staging.rb
887
+ - spec/environment/testing.rb
888
+ - spec/helpers/blueprint_helper.rb
889
+ - spec/helpers/cli_helper.rb
890
+ - spec/helpers/connection_helper.rb
891
+ - spec/helpers/crypto_helper.rb
892
+ - spec/helpers/csv_helper.rb
893
+ - spec/helpers/process_helper.rb
894
+ - spec/helpers/project_helper.rb
895
+ - spec/helpers/schedule_helper.rb
896
+ - spec/helpers/spec_helper.rb
897
+ - spec/integration/ads_output_stage_spec.rb
898
+ - spec/integration/blueprint_updates_spec.rb
899
+ - spec/integration/blueprint_with_ca_spec.rb
900
+ - spec/integration/blueprint_with_grain_spec.rb
901
+ - spec/integration/channel_configuration_spec.rb
902
+ - spec/integration/clients_spec.rb
903
+ - spec/integration/command_datawarehouse_spec.rb
904
+ - spec/integration/command_projects_spec.rb
905
+ - spec/integration/commands/command_projects_spec.rb
906
+ - spec/integration/core/connection_spec.rb
907
+ - spec/integration/core/logging_spec.rb
908
+ - spec/integration/core/project_spec.rb
909
+ - spec/integration/create_from_template_spec.rb
910
+ - spec/integration/create_project_spec.rb
911
+ - spec/integration/date_dim_switch_spec.rb
912
+ - spec/integration/deprecated_load_spec.rb
913
+ - spec/integration/full_process_schedule_spec.rb
914
+ - spec/integration/full_project_spec.rb
915
+ - spec/integration/helpers_spec.rb
916
+ - spec/integration/lcm_spec.rb
917
+ - spec/integration/mixins/id_to_uri_spec.rb
918
+ - spec/integration/models/data_product_spec.rb
919
+ - spec/integration/models/domain_spec.rb
920
+ - spec/integration/models/invitation_spec.rb
921
+ - spec/integration/models/membership_spec.rb
922
+ - spec/integration/models/metadata/report_spec.rb
923
+ - spec/integration/models/params_spec.rb
924
+ - spec/integration/models/profile_spec.rb
925
+ - spec/integration/models/project_role_spec.rb
926
+ - spec/integration/models/project_spec.rb
927
+ - spec/integration/models/schedule_spec.rb
928
+ - spec/integration/models/unit_project_spec.rb
929
+ - spec/integration/over_to_user_filters_spec.rb
930
+ - spec/integration/partial_md_export_import_spec.rb
931
+ - spec/integration/project_spec.rb
932
+ - spec/integration/rest_spec.rb
933
+ - spec/integration/schedule_spec.rb
934
+ - spec/integration/segments_spec.rb
935
+ - spec/integration/subscription_spec.rb
936
+ - spec/integration/urn_date_dim_spec.rb
937
+ - spec/integration/user_filters_spec.rb
938
+ - spec/integration/user_group_spec.rb
939
+ - spec/integration/variables_spec.rb
940
+ - spec/logging_in_logging_out_spec.rb
941
+ - spec/spec_helper.rb
942
+ - spec/unit/actions/associate_clients_spec.rb
943
+ - spec/unit/actions/collect_client_projects_spec.rb
944
+ - spec/unit/actions/collect_clients_spec.rb
945
+ - spec/unit/actions/collect_data_product_spec.rb
946
+ - spec/unit/actions/collect_dynamic_schedule_params_spec.rb
947
+ - spec/unit/actions/collect_meta_spec.rb
948
+ - spec/unit/actions/collect_segment_clients_spec.rb
949
+ - spec/unit/actions/collect_tagged_objects_spec.rb
950
+ - spec/unit/actions/collect_users_brick_users_spec.rb
951
+ - spec/unit/actions/create_segment_masters_spec.rb
952
+ - spec/unit/actions/ensure_data_product_spec.rb
953
+ - spec/unit/actions/ensure_technical_users_domain_spec.rb
954
+ - spec/unit/actions/ensure_technical_users_project_spec.rb
955
+ - spec/unit/actions/execute_schedules_spec.rb
956
+ - spec/unit/actions/provision_clients_spec.rb
957
+ - spec/unit/actions/purge_clients_spec.rb
958
+ - spec/unit/actions/rename_existing_client_projects_spec.rb
959
+ - spec/unit/actions/segments_filter_spec.rb
960
+ - spec/unit/actions/shared_examples_for_user_actions.rb
961
+ - spec/unit/actions/synchronize_cas_spec.rb
962
+ - spec/unit/actions/synchronize_etls_in_segment_spec.rb
963
+ - spec/unit/actions/synchronize_ldm_spec.rb
964
+ - spec/unit/actions/synchronize_user_filters_spec.rb
965
+ - spec/unit/actions/synchronize_user_groups_spec.rb
966
+ - spec/unit/actions/synchronize_users_spec.rb
967
+ - spec/unit/bricks/bricks_spec.rb
968
+ - spec/unit/bricks/middleware/aws_middelware_spec.rb
969
+ - spec/unit/bricks/middleware/bench_middleware_spec.rb
970
+ - spec/unit/bricks/middleware/bulk_salesforce_middleware_spec.rb
971
+ - spec/unit/bricks/middleware/gooddata_middleware_spec.rb
972
+ - spec/unit/bricks/middleware/logger_middleware_spec.rb
973
+ - spec/unit/bricks/middleware/restforce_middleware_spec.rb
974
+ - spec/unit/bricks/middleware/stdout_middleware_spec.rb
975
+ - spec/unit/bricks/middleware/twitter_middleware_spec.rb
976
+ - spec/unit/cli/cli_spec.rb
977
+ - spec/unit/cli/commands/cmd_auth_spec.rb
978
+ - spec/unit/core/nil_logger_spec.rb
979
+ - spec/unit/extensions/hash_spec.rb
980
+ - spec/unit/godzilla/goodzilla_spec.rb
981
+ - spec/unit/helpers/csv_helper_spec.rb
982
+ - spec/unit/helpers/data_helper_spec.rb
983
+ - spec/unit/helpers/global_helpers_spec.rb
984
+ - spec/unit/helpers_spec.rb
985
+ - spec/unit/lcm/user_bricks_helper_spec.rb
986
+ - spec/unit/models/blueprint/attribute_sort_by_spec.rb
987
+ - spec/unit/models/blueprint/attributes_spec.rb
988
+ - spec/unit/models/blueprint/dataset_spec.rb
989
+ - spec/unit/models/blueprint/labels_spec.rb
990
+ - spec/unit/models/blueprint/project_blueprint_spec.rb
991
+ - spec/unit/models/blueprint/reference_spec.rb
992
+ - spec/unit/models/blueprint/schema_builder_spec.rb
993
+ - spec/unit/models/blueprint/to_wire_spec.rb
994
+ - spec/unit/models/execution_spec.rb
995
+ - spec/unit/models/from_wire_spec.rb
996
+ - spec/unit/models/metadata_spec.rb
997
+ - spec/unit/models/metric_spec.rb
998
+ - spec/unit/models/model_spec.rb
999
+ - spec/unit/models/project_creator_spec.rb
1000
+ - spec/unit/models/project_spec.rb
1001
+ - spec/unit/models/report_result_data_spec.rb
1002
+ - spec/unit/models/to_manifest_spec.rb
1003
+ - spec/unit/models/user_filters/user_filter_builder_spec.rb
1004
+ - spec/unit/models/user_filters_spec.rb
1005
+ - spec/unit/models/variable_spec.rb
1006
+ - spec/unit/rest/polling_spec.rb
1007
+ - spec/unit/rest/resource_spec.rb
1008
+ - tmp/.gitkeepme
1009
+ - yard-server.sh
1010
+ homepage: http://github.com/gooddata/gooddata-ruby
1011
+ licenses:
1012
+ - BSD
1013
+ metadata: {}
1014
+ post_install_message:
1015
+ rdoc_options: []
1016
+ require_paths:
1017
+ - lib
1018
+ required_ruby_version: !ruby/object:Gem::Requirement
1019
+ requirements:
1020
+ - - ">="
1021
+ - !ruby/object:Gem::Version
1022
+ version: '0'
1023
+ required_rubygems_version: !ruby/object:Gem::Requirement
1024
+ requirements:
1025
+ - - ">="
1026
+ - !ruby/object:Gem::Version
1027
+ version: '0'
1028
+ requirements: []
1029
+ rubyforge_project:
1030
+ rubygems_version: 2.6.14
1031
+ signing_key:
1032
+ specification_version: 4
1033
+ summary: A convenient Ruby wrapper around the GoodData RESTful API
1034
+ test_files:
1035
+ - spec/bricks/bricks_spec.rb
1036
+ - spec/bricks/default-config.json
1037
+ - spec/data/.gooddata
1038
+ - spec/data/blueprints/additional_dataset_module.json
1039
+ - spec/data/blueprints/attribute_sort_order_blueprint.json
1040
+ - spec/data/blueprints/big_blueprint_not_pruned.json
1041
+ - spec/data/blueprints/invalid_blueprint.json
1042
+ - spec/data/blueprints/m_n_model.json
1043
+ - spec/data/blueprints/model_module.json
1044
+ - spec/data/blueprints/test_blueprint.json
1045
+ - spec/data/blueprints/test_project_model_spec.json
1046
+ - spec/data/cc/data/source/commits.csv
1047
+ - spec/data/cc/data/source/devs.csv
1048
+ - spec/data/cc/data/source/repos.csv
1049
+ - spec/data/cc/devel.prm
1050
+ - spec/data/cc/graph/graph.grf
1051
+ - spec/data/cc/workspace.prm
1052
+ - spec/data/column_based_permissions.csv
1053
+ - spec/data/column_based_permissions2.csv
1054
+ - spec/data/dynamic_schedule_params_table.csv
1055
+ - spec/data/gd_gse_data_blueprint.json
1056
+ - spec/data/gd_gse_data_manifest.json
1057
+ - spec/data/gd_gse_data_model.json
1058
+ - spec/data/gooddata_version_process/gooddata_version.rb
1059
+ - spec/data/gooddata_version_process/gooddata_version.zip
1060
+ - spec/data/hello_world_process/hello_world.rb
1061
+ - spec/data/hello_world_process/hello_world.zip
1062
+ - spec/data/line_based_permissions.csv
1063
+ - spec/data/manifests/test_blueprint.json
1064
+ - spec/data/manifests/test_project.json
1065
+ - spec/data/reports/left_attr_report.json
1066
+ - spec/data/reports/metric_only_one_line.json
1067
+ - spec/data/reports/report_1.json
1068
+ - spec/data/reports/top_attr_report.json
1069
+ - spec/data/ruby_params_process/ruby_params.rb
1070
+ - spec/data/ruby_process/deep_files/deep_stuff.txt
1071
+ - spec/data/ruby_process/process.rb
1072
+ - spec/data/ruby_process/stuff.txt
1073
+ - spec/data/superfluous_titles_view.json
1074
+ - spec/data/test-ci-data.csv
1075
+ - spec/data/users.csv
1076
+ - spec/data/wire_models/attribute_sort_by_model.json
1077
+ - spec/data/wire_models/model_view.json
1078
+ - spec/data/wire_models/nu_model.json
1079
+ - spec/data/wire_models/test_blueprint.json
1080
+ - spec/data/wire_test_project.json
1081
+ - spec/data/workspace_table.csv
1082
+ - spec/environment/default.rb
1083
+ - spec/environment/development.rb
1084
+ - spec/environment/environment.rb
1085
+ - spec/environment/production.rb
1086
+ - spec/environment/staging.rb
1087
+ - spec/environment/testing.rb
1088
+ - spec/helpers/blueprint_helper.rb
1089
+ - spec/helpers/cli_helper.rb
1090
+ - spec/helpers/connection_helper.rb
1091
+ - spec/helpers/crypto_helper.rb
1092
+ - spec/helpers/csv_helper.rb
1093
+ - spec/helpers/process_helper.rb
1094
+ - spec/helpers/project_helper.rb
1095
+ - spec/helpers/schedule_helper.rb
1096
+ - spec/helpers/spec_helper.rb
1097
+ - spec/integration/ads_output_stage_spec.rb
1098
+ - spec/integration/blueprint_updates_spec.rb
1099
+ - spec/integration/blueprint_with_ca_spec.rb
1100
+ - spec/integration/blueprint_with_grain_spec.rb
1101
+ - spec/integration/channel_configuration_spec.rb
1102
+ - spec/integration/clients_spec.rb
1103
+ - spec/integration/command_datawarehouse_spec.rb
1104
+ - spec/integration/command_projects_spec.rb
1105
+ - spec/integration/commands/command_projects_spec.rb
1106
+ - spec/integration/core/connection_spec.rb
1107
+ - spec/integration/core/logging_spec.rb
1108
+ - spec/integration/core/project_spec.rb
1109
+ - spec/integration/create_from_template_spec.rb
1110
+ - spec/integration/create_project_spec.rb
1111
+ - spec/integration/date_dim_switch_spec.rb
1112
+ - spec/integration/deprecated_load_spec.rb
1113
+ - spec/integration/full_process_schedule_spec.rb
1114
+ - spec/integration/full_project_spec.rb
1115
+ - spec/integration/helpers_spec.rb
1116
+ - spec/integration/lcm_spec.rb
1117
+ - spec/integration/mixins/id_to_uri_spec.rb
1118
+ - spec/integration/models/data_product_spec.rb
1119
+ - spec/integration/models/domain_spec.rb
1120
+ - spec/integration/models/invitation_spec.rb
1121
+ - spec/integration/models/membership_spec.rb
1122
+ - spec/integration/models/metadata/report_spec.rb
1123
+ - spec/integration/models/params_spec.rb
1124
+ - spec/integration/models/profile_spec.rb
1125
+ - spec/integration/models/project_role_spec.rb
1126
+ - spec/integration/models/project_spec.rb
1127
+ - spec/integration/models/schedule_spec.rb
1128
+ - spec/integration/models/unit_project_spec.rb
1129
+ - spec/integration/over_to_user_filters_spec.rb
1130
+ - spec/integration/partial_md_export_import_spec.rb
1131
+ - spec/integration/project_spec.rb
1132
+ - spec/integration/rest_spec.rb
1133
+ - spec/integration/schedule_spec.rb
1134
+ - spec/integration/segments_spec.rb
1135
+ - spec/integration/subscription_spec.rb
1136
+ - spec/integration/urn_date_dim_spec.rb
1137
+ - spec/integration/user_filters_spec.rb
1138
+ - spec/integration/user_group_spec.rb
1139
+ - spec/integration/variables_spec.rb
1140
+ - spec/logging_in_logging_out_spec.rb
1141
+ - spec/spec_helper.rb
1142
+ - spec/unit/actions/associate_clients_spec.rb
1143
+ - spec/unit/actions/collect_client_projects_spec.rb
1144
+ - spec/unit/actions/collect_clients_spec.rb
1145
+ - spec/unit/actions/collect_data_product_spec.rb
1146
+ - spec/unit/actions/collect_dynamic_schedule_params_spec.rb
1147
+ - spec/unit/actions/collect_meta_spec.rb
1148
+ - spec/unit/actions/collect_segment_clients_spec.rb
1149
+ - spec/unit/actions/collect_tagged_objects_spec.rb
1150
+ - spec/unit/actions/collect_users_brick_users_spec.rb
1151
+ - spec/unit/actions/create_segment_masters_spec.rb
1152
+ - spec/unit/actions/ensure_data_product_spec.rb
1153
+ - spec/unit/actions/ensure_technical_users_domain_spec.rb
1154
+ - spec/unit/actions/ensure_technical_users_project_spec.rb
1155
+ - spec/unit/actions/execute_schedules_spec.rb
1156
+ - spec/unit/actions/provision_clients_spec.rb
1157
+ - spec/unit/actions/purge_clients_spec.rb
1158
+ - spec/unit/actions/rename_existing_client_projects_spec.rb
1159
+ - spec/unit/actions/segments_filter_spec.rb
1160
+ - spec/unit/actions/shared_examples_for_user_actions.rb
1161
+ - spec/unit/actions/synchronize_cas_spec.rb
1162
+ - spec/unit/actions/synchronize_etls_in_segment_spec.rb
1163
+ - spec/unit/actions/synchronize_ldm_spec.rb
1164
+ - spec/unit/actions/synchronize_user_filters_spec.rb
1165
+ - spec/unit/actions/synchronize_user_groups_spec.rb
1166
+ - spec/unit/actions/synchronize_users_spec.rb
1167
+ - spec/unit/bricks/bricks_spec.rb
1168
+ - spec/unit/bricks/middleware/aws_middelware_spec.rb
1169
+ - spec/unit/bricks/middleware/bench_middleware_spec.rb
1170
+ - spec/unit/bricks/middleware/bulk_salesforce_middleware_spec.rb
1171
+ - spec/unit/bricks/middleware/gooddata_middleware_spec.rb
1172
+ - spec/unit/bricks/middleware/logger_middleware_spec.rb
1173
+ - spec/unit/bricks/middleware/restforce_middleware_spec.rb
1174
+ - spec/unit/bricks/middleware/stdout_middleware_spec.rb
1175
+ - spec/unit/bricks/middleware/twitter_middleware_spec.rb
1176
+ - spec/unit/cli/cli_spec.rb
1177
+ - spec/unit/cli/commands/cmd_auth_spec.rb
1178
+ - spec/unit/core/nil_logger_spec.rb
1179
+ - spec/unit/extensions/hash_spec.rb
1180
+ - spec/unit/godzilla/goodzilla_spec.rb
1181
+ - spec/unit/helpers/csv_helper_spec.rb
1182
+ - spec/unit/helpers/data_helper_spec.rb
1183
+ - spec/unit/helpers/global_helpers_spec.rb
1184
+ - spec/unit/helpers_spec.rb
1185
+ - spec/unit/lcm/user_bricks_helper_spec.rb
1186
+ - spec/unit/models/blueprint/attribute_sort_by_spec.rb
1187
+ - spec/unit/models/blueprint/attributes_spec.rb
1188
+ - spec/unit/models/blueprint/dataset_spec.rb
1189
+ - spec/unit/models/blueprint/labels_spec.rb
1190
+ - spec/unit/models/blueprint/project_blueprint_spec.rb
1191
+ - spec/unit/models/blueprint/reference_spec.rb
1192
+ - spec/unit/models/blueprint/schema_builder_spec.rb
1193
+ - spec/unit/models/blueprint/to_wire_spec.rb
1194
+ - spec/unit/models/execution_spec.rb
1195
+ - spec/unit/models/from_wire_spec.rb
1196
+ - spec/unit/models/metadata_spec.rb
1197
+ - spec/unit/models/metric_spec.rb
1198
+ - spec/unit/models/model_spec.rb
1199
+ - spec/unit/models/project_creator_spec.rb
1200
+ - spec/unit/models/project_spec.rb
1201
+ - spec/unit/models/report_result_data_spec.rb
1202
+ - spec/unit/models/to_manifest_spec.rb
1203
+ - spec/unit/models/user_filters/user_filter_builder_spec.rb
1204
+ - spec/unit/models/user_filters_spec.rb
1205
+ - spec/unit/models/variable_spec.rb
1206
+ - spec/unit/rest/polling_spec.rb
1207
+ - spec/unit/rest/resource_spec.rb