streamsets 6.2.0.dev0__tar.gz → 6.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) hide show
  1. streamsets-6.3/.gitignore +66 -0
  2. streamsets-6.3/Dockerfile +12 -0
  3. {streamsets-6.2.0.dev0 → streamsets-6.3}/HISTORY.rst +28 -0
  4. streamsets-6.3/Makefile +74 -0
  5. streamsets-6.3/PKG-INFO +21 -0
  6. streamsets-6.3/build_requirements.txt +2 -0
  7. streamsets-6.3/docs/_static/add_snowflake_credentials.png +0 -0
  8. streamsets-6.3/docs/_static/click_snowflake_settings.png +0 -0
  9. streamsets-6.3/docs/_static/css/docs_theme.css +67 -0
  10. streamsets-6.3/docs/_static/favicon.ico +0 -0
  11. streamsets-6.3/docs/_static/full-streamsets-logo.svg +1 -0
  12. streamsets-6.3/docs/_static/images/build/error_records_configuration.png +0 -0
  13. streamsets-6.3/docs/_static/images/build/error_records_main.png +0 -0
  14. streamsets-6.3/docs/_static/images/run/activate_sequence.png +0 -0
  15. streamsets-6.3/docs/_static/images/run/add_job_modal.png +0 -0
  16. streamsets-6.3/docs/_static/images/run/add_jobs_to_job_sequence.png +0 -0
  17. streamsets-6.3/docs/_static/images/run/create_job_sequence.png +0 -0
  18. streamsets-6.3/docs/_static/images/run/delete_job_sequence.png +0 -0
  19. streamsets-6.3/docs/_static/images/run/disable_sequence.png +0 -0
  20. streamsets-6.3/docs/_static/images/run/get_job_sequence_steps.png +0 -0
  21. streamsets-6.3/docs/_static/images/run/get_job_sequences.png +0 -0
  22. streamsets-6.3/docs/_static/images/run/move_step.png +0 -0
  23. streamsets-6.3/docs/_static/images/run/three_dots_sequence.png +0 -0
  24. streamsets-6.3/docs/_static/images/run/view_history.png +0 -0
  25. streamsets-6.3/docs/_static/saved_snowflake_credential.png +0 -0
  26. streamsets-6.3/docs/_static/snowflake_credentials_modal.png +0 -0
  27. streamsets-6.3/docs/_static/snowflake_pipeline_defaults.png +0 -0
  28. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/api/sch_api.rst +13 -19
  29. streamsets-6.3/docs/build/error_record_handling.rst +99 -0
  30. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/build.rst +1 -0
  31. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/monitor.rst +0 -1
  32. streamsets-6.3/docs/requirements.txt +9 -0
  33. streamsets-6.3/docs/run/job_sequences.rst +394 -0
  34. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/run/job_templates.rst +2 -2
  35. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/run.rst +1 -0
  36. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/connections/connections.rst +91 -0
  37. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/deployments/self_managed_deployments.rst +21 -0
  38. streamsets-6.3/evergreen/.flake8 +5 -0
  39. streamsets-6.3/evergreen/.pre-commit-config.yaml +24 -0
  40. streamsets-6.3/evergreen/Dockerfile +17 -0
  41. streamsets-6.3/evergreen/Jenkinsfile +196 -0
  42. streamsets-6.3/evergreen/pyproject.toml +29 -0
  43. streamsets-6.3/pyproject.toml +34 -0
  44. streamsets-6.3/requirements.txt +11 -0
  45. streamsets-6.3/setup.cfg +4 -0
  46. streamsets-6.3/streamsets/sdk/__version__.py +3 -0
  47. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/constants.py +80 -0
  48. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/exceptions.py +9 -1
  49. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/models.py +110 -16
  50. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/sch.py +460 -156
  51. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/sch_api.py +373 -4
  52. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/sch_models.py +1072 -122
  53. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/sdc_models.py +21 -3
  54. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/st_models.py +8 -1
  55. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/utils.py +150 -3
  56. streamsets-6.3/streamsets.egg-info/PKG-INFO +21 -0
  57. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets.egg-info/SOURCES.txt +93 -4
  58. streamsets-6.3/streamsets.egg-info/not-zip-safe +1 -0
  59. streamsets-6.3/test_requirements.txt +7 -0
  60. streamsets-6.3/tests/__init__.py +0 -0
  61. streamsets-6.3/tests/integration/__init__.py +0 -0
  62. streamsets-6.3/tests/integration/conftest.py +514 -0
  63. streamsets-6.3/tests/integration/test_api_credentials.py +193 -0
  64. streamsets-6.3/tests/integration/test_connections.py +81 -0
  65. streamsets-6.3/tests/integration/test_dpath.py +33 -0
  66. streamsets-6.3/tests/integration/test_draft_runs.py +76 -0
  67. streamsets-6.3/tests/integration/test_ec2_environments.py +19 -0
  68. streamsets-6.3/tests/integration/test_job_sequences.py +307 -0
  69. streamsets-6.3/tests/integration/test_jobs.py +653 -0
  70. streamsets-6.3/tests/integration/test_kubernetes_environments.py +118 -0
  71. streamsets-6.3/tests/integration/test_metering.py +77 -0
  72. streamsets-6.3/tests/integration/test_organization.py +57 -0
  73. streamsets-6.3/tests/integration/test_pipeline_fragments.py +298 -0
  74. streamsets-6.3/tests/integration/test_pipeline_labels.py +76 -0
  75. streamsets-6.3/tests/integration/test_pipeline_parameters.py +28 -0
  76. streamsets-6.3/tests/integration/test_pipelines.py +1036 -0
  77. streamsets-6.3/tests/integration/test_saql.py +170 -0
  78. streamsets-6.3/tests/integration/test_saql_search.py +359 -0
  79. streamsets-6.3/tests/integration/test_scheduled_tasks.py +321 -0
  80. streamsets-6.3/tests/integration/test_scheduler.py +153 -0
  81. streamsets-6.3/tests/integration/test_self_managed_deployments.py +325 -0
  82. streamsets-6.3/tests/integration/test_snowflake_jobs.py +471 -0
  83. streamsets-6.3/tests/integration/test_snowflake_pipeline_fragments.py +263 -0
  84. streamsets-6.3/tests/integration/test_snowflake_pipeline_labels.py +99 -0
  85. streamsets-6.3/tests/integration/test_snowflake_pipeline_parameters.py +41 -0
  86. streamsets-6.3/tests/integration/test_snowflake_pipelines.py +437 -0
  87. streamsets-6.3/tests/integration/test_stages.py +1565 -0
  88. streamsets-6.3/tests/integration/test_topology.py +64 -0
  89. streamsets-6.3/tests/integration/test_users_and_groups.py +81 -0
  90. streamsets-6.3/tests/mocks/__init__.py +0 -0
  91. streamsets-6.3/tests/mocks/mock_api.py +155 -0
  92. streamsets-6.3/tests/unit/__init__.py +1 -0
  93. streamsets-6.3/tests/unit/conftest.py +475 -0
  94. streamsets-6.3/tests/unit/test_azure_environment.py +23 -0
  95. streamsets-6.3/tests/unit/test_base_model.py +198 -0
  96. streamsets-6.3/tests/unit/test_collection_model.py +115 -0
  97. streamsets-6.3/tests/unit/test_configuration.py +508 -0
  98. streamsets-6.3/tests/unit/test_connections.py +82 -0
  99. streamsets-6.3/tests/unit/test_deployment_builder.py +256 -0
  100. streamsets-6.3/tests/unit/test_engines.py +199 -0
  101. streamsets-6.3/tests/unit/test_job_sequence.py +694 -0
  102. streamsets-6.3/tests/unit/test_job_sequence_builder.py +99 -0
  103. streamsets-6.3/tests/unit/test_mutable_kwargs.py +60 -0
  104. streamsets-6.3/tests/unit/test_pipeline.py +241 -0
  105. streamsets-6.3/tests/unit/test_pipeline_builder.py +32 -0
  106. streamsets-6.3/tests/unit/test_saql_search_builder.py +157 -0
  107. streamsets-6.3/tests/unit/test_sch.py +176 -0
  108. streamsets-6.3/tests/unit/test_scheduled_tasks.py +369 -0
  109. streamsets-6.3/tests/unit/test_seekable_list.py +73 -0
  110. streamsets-6.3/tests/unit/test_self_managed_deployments.py +112 -0
  111. streamsets-6.3/tests/unit/test_stage.py +792 -0
  112. streamsets-6.3/tests/unit/test_step.py +485 -0
  113. streamsets-6.3/tests/unit/test_utils.py +412 -0
  114. streamsets-6.3/tests/unit/test_version.py +127 -0
  115. streamsets-6.3/tox.ini +52 -0
  116. streamsets-6.2.0.dev0/PKG-INFO +0 -68
  117. streamsets-6.2.0.dev0/docs/monitor/reports.rst +0 -222
  118. streamsets-6.2.0.dev0/setup.cfg +0 -20
  119. streamsets-6.2.0.dev0/setup.py +0 -43
  120. streamsets-6.2.0.dev0/streamsets/sdk/__version__.py +0 -3
  121. streamsets-6.2.0.dev0/streamsets.egg-info/PKG-INFO +0 -68
  122. streamsets-6.2.0.dev0/streamsets.egg-info/dependency_links.txt +0 -1
  123. {streamsets-6.2.0.dev0 → streamsets-6.3}/MANIFEST.in +0 -0
  124. {streamsets-6.2.0.dev0 → streamsets-6.3}/README.rst +0 -0
  125. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/TopologyMissingNodes.png +0 -0
  126. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/TopologyMultipleJobsSingleSystem.png +0 -0
  127. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/TopologyRestoredNodes.png +0 -0
  128. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/dev_data_generator_to_trash.png +0 -0
  129. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/dev_data_generator_to_two_trashes.png +0 -0
  130. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/dev_data_generator_with_events.png +0 -0
  131. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/dev_raw_data_source_help.png +0 -0
  132. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/dev_raw_data_to_trash.png +0 -0
  133. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/file_tail_to_two_trashes.png +0 -0
  134. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/add_frag_to_pipeline.png +0 -0
  135. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/connect_event_lane.png +0 -0
  136. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/delete_connection.png +0 -0
  137. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/edit_configuration.png +0 -0
  138. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/existing_pipelines.png +0 -0
  139. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/fragment_canvas.png +0 -0
  140. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/fragment_ui.png +0 -0
  141. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/multi_output_stages_complete.png +0 -0
  142. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/multi_output_stages_incomplete.png +0 -0
  143. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/pipeline_canvas.png +0 -0
  144. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/pipeline_check_in.png +0 -0
  145. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/pipeline_ui.png +0 -0
  146. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/pipelines_using_fragment.png +0 -0
  147. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/produce_events.png +0 -0
  148. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/remove_stage.png +0 -0
  149. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/selector_four_conditions.png +0 -0
  150. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/snowflake_required_parameters.png +0 -0
  151. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/stages_unconnected.png +0 -0
  152. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/stages_with_different_types.png +0 -0
  153. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/build/update_pipeline_with_frag.png +0 -0
  154. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/permissions/add_new_permissions.png +0 -0
  155. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/permissions/change_owner.png +0 -0
  156. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/permissions/delete_permissions.png +0 -0
  157. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/permissions/share_button.png +0 -0
  158. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/permissions/share_settings.png +0 -0
  159. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/users_and_groups/activate_user.png +0 -0
  160. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/users_and_groups/add_new_group.png +0 -0
  161. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/users_and_groups/add_new_user.png +0 -0
  162. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/users_and_groups/deactivate_user.png +0 -0
  163. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/users_and_groups/delete_group.png +0 -0
  164. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/users_and_groups/delete_user.png +0 -0
  165. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/users_and_groups/groups_list.png +0 -0
  166. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/users_and_groups/invite_user_details.png +0 -0
  167. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/users_and_groups/new_group_details.png +0 -0
  168. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/users_and_groups/update_group_details.png +0 -0
  169. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/users_and_groups/update_user_details.png +0 -0
  170. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/manage/users_and_groups/users_list.png +0 -0
  171. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/run/delete_draftrun_ui.png +0 -0
  172. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/run/draftrun_ui.png +0 -0
  173. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/run/logs_ui.png +0 -0
  174. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/run/snapshots_ui.png +0 -0
  175. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/run/start_draftrun_ui.png +0 -0
  176. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/run/stop_draftrun_ui.png +0 -0
  177. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/search/SAQL_Mark_Favorite.png +0 -0
  178. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/search/SAQL_Query_Builder.png +0 -0
  179. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/search/SAQL_Remove.png +0 -0
  180. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/search/SAQL_Save_Search.png +0 -0
  181. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/search/SAQL_Saved_Searches.png +0 -0
  182. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/search/SAQL_Search_Name_Wizard.png +0 -0
  183. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/search/SAQL_Update.png +0 -0
  184. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/search/Search_Advanced.png +0 -0
  185. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/connections/configuring_connection.png +0 -0
  186. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/connections/create_connection.png +0 -0
  187. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/connections/deleting_connection.png +0 -0
  188. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/connections/editing_connection.png +0 -0
  189. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/connections/get_connection.png +0 -0
  190. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/connections/pipelines_using_connection.png +0 -0
  191. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/connections/using_connection.png +0 -0
  192. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/connections/verify_connection.png +0 -0
  193. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/azure_vm_deployments/creation_configure_azure_vm_autoscaling_group.png +0 -0
  194. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/azure_vm_deployments/creation_configure_azure_vm_ssh_access.png +0 -0
  195. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/azure_vm_deployments/creation_configure_azure_vm_zone.png +0 -0
  196. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/azure_vm_deployments/creation_define_deployment_sdc.png +0 -0
  197. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/azure_vm_deployments/creation_define_deployment_transformer.png +0 -0
  198. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/azure_vm_deployments/creation_review_and_launch.png +0 -0
  199. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/common/configure_install_type_docker.png +0 -0
  200. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/common/configure_install_type_tarball.png +0 -0
  201. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/common/creation_configure_engine_stage_lib_selection_as_a_list.png +0 -0
  202. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/common/creation_configure_engine_stage_lib_selection_screen.png +0 -0
  203. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/common/creation_configure_engine_transformer_stage_lib_selection_as_a_list.png +0 -0
  204. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/common/creation_configure_engine_transformer_stage_lib_selection_screen.png +0 -0
  205. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/common/creation_share_deployment.png +0 -0
  206. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/ec2_deployments/creation_configure_ec2_autoscaling_group.png +0 -0
  207. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/ec2_deployments/creation_configure_ec2_ssh_access.png +0 -0
  208. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/ec2_deployments/creation_configure_engine.png +0 -0
  209. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/ec2_deployments/creation_define_deployment.png +0 -0
  210. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/ec2_deployments/creation_review_and_launch.png +0 -0
  211. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/ec2_deployments/creation_share_deployment.png +0 -0
  212. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/ec2_deployments/creation_transformer_define_deployment.png +0 -0
  213. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/gce_deployments/creation_configure_engine.png +0 -0
  214. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/gce_deployments/creation_configure_gce_autoscaling_group.png +0 -0
  215. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/gce_deployments/creation_configure_gce_region.png +0 -0
  216. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/gce_deployments/creation_configure_gce_ssh_access.png +0 -0
  217. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/gce_deployments/creation_configure_gce_zone.png +0 -0
  218. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/gce_deployments/creation_define_deployment_sdc.png +0 -0
  219. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/gce_deployments/creation_define_deployment_transformer.png +0 -0
  220. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/gce_deployments/creation_review_and_launch.png +0 -0
  221. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/kubernetes_deployments/sdc_configure_deployment_wizard.png +0 -0
  222. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/kubernetes_deployments/sdc_configure_kubernetes_wizard.png +0 -0
  223. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/kubernetes_deployments/sdc_create_deployment_wizard.png +0 -0
  224. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/kubernetes_deployments/sdc_jdbc_version_wizard.png +0 -0
  225. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/kubernetes_deployments/sdc_review_launch_wizard.png +0 -0
  226. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/kubernetes_deployments/sdc_stage_libs_wizard.png +0 -0
  227. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/kubernetes_deployments/transformer_configure_deployment_wizard.png +0 -0
  228. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/kubernetes_deployments/transformer_create_deployment_wizard.png +0 -0
  229. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/kubernetes_deployments/transformer_jdbc_version_wizard.png +0 -0
  230. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/kubernetes_deployments/transformer_stage_libs_wizard.png +0 -0
  231. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/self_managed_deployments/creation_configure_engine.png +0 -0
  232. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/self_managed_deployments/creation_define_deployment_sdc.png +0 -0
  233. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/self_managed_deployments/creation_define_deployment_transformer.png +0 -0
  234. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/self_managed_deployments/creation_review_and_launch_sdc.png +0 -0
  235. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/self_managed_deployments/creation_review_and_launch_transformer.png +0 -0
  236. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/self_managed_deployments/creation_share_deployment.png +0 -0
  237. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/self_managed_deployments/get_install_script.png +0 -0
  238. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/deployments/self_managed_deployments/select_install_type.png +0 -0
  239. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/aws_environments/creation_configure_engine_configure_access_keys.png +0 -0
  240. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/aws_environments/creation_configure_engine_configure_aws_subnets.png +0 -0
  241. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/aws_environments/creation_configure_engine_configure_aws_vpc.png +0 -0
  242. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/aws_environments/creation_configure_engine_configure_cross_account_role.png +0 -0
  243. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/aws_environments/creation_configure_engine_select_aws_region.png +0 -0
  244. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/aws_environments/creation_define_environment.png +0 -0
  245. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/aws_environments/creation_review_and_activate_environment.png +0 -0
  246. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/aws_environments/creation_share_environment.png +0 -0
  247. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/azure_environments/creation_configure_engine_configure_azure_credentials.png +0 -0
  248. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/azure_environments/creation_configure_engine_configure_azure_region.png +0 -0
  249. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/azure_environments/creation_configure_engine_configure_azure_subnet.png +0 -0
  250. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/azure_environments/creation_configure_engine_configure_azure_vnet.png +0 -0
  251. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/azure_environments/creation_configure_engine_defaults_azure_vm_instances.png +0 -0
  252. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/azure_environments/creation_define_environment.png +0 -0
  253. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/azure_environments/creation_review_and_activate_environment.png +0 -0
  254. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/gcp_environments/creation_configure_credentials_service_account_impersonation.png +0 -0
  255. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/gcp_environments/creation_configure_credentials_service_account_key.png +0 -0
  256. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/gcp_environments/creation_configure_gcp_project.png +0 -0
  257. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/gcp_environments/creation_define_environment.png +0 -0
  258. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/gcp_environments/creation_review_and_activate.png +0 -0
  259. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/gcp_environments/creation_select_gcp_vpc.png +0 -0
  260. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/gcp_environments/creation_share_environment.png +0 -0
  261. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/kubernetes_environments/activate_and_install_wizard.png +0 -0
  262. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/kubernetes_environments/configure_environment_wizard.png +0 -0
  263. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/kubernetes_environments/create_environment_wizard.png +0 -0
  264. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/kubernetes_environments/installation_script_wizard.png +0 -0
  265. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/managing_environments/managing_environments.png +0 -0
  266. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/self_managed_environments/creation_define_environment.png +0 -0
  267. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/self_managed_environments/creation_review_and_activate.png +0 -0
  268. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/set_up/environments/self_managed_environments/creation_share_environment.png +0 -0
  269. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/welcome/api_credentials.png +0 -0
  270. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/images/welcome/examples/find_sdc_id.png +0 -0
  271. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/sample_fragment.png +0 -0
  272. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/sample_pipeline_using_fragment.png +0 -0
  273. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/sdk_sample_pipeline1.png +0 -0
  274. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/sdk_sample_self_managed_deployment.png +0 -0
  275. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/sdk_sample_self_managed_deployment_details.png +0 -0
  276. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/sdk_sample_self_managed_environment.png +0 -0
  277. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/_static/streamsets-logo.png +0 -0
  278. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/advanced_search.rst +0 -0
  279. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/api.rst +0 -0
  280. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/build/creating_pipelines.rst +0 -0
  281. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/build/editing_pipelines.rst +0 -0
  282. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/build/pipeline_fragments.rst +0 -0
  283. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/conf.py +0 -0
  284. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/index.rst +0 -0
  285. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/manage/legacy_kubernetes_integration.rst +0 -0
  286. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/manage/users_and_groups/managing_users_and_groups.rst +0 -0
  287. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/manage/users_and_groups/permissions.rst +0 -0
  288. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/manage/users_and_groups/roles.rst +0 -0
  289. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/manage/users_and_groups/users_and_groups.rst +0 -0
  290. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/manage.rst +0 -0
  291. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/monitor/subscriptions.rst +0 -0
  292. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/monitor/topologies.rst +0 -0
  293. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/run/draft_runs.rst +0 -0
  294. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/run/jobs_instances.rst +0 -0
  295. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/run/scheduled_tasks.rst +0 -0
  296. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/search/saql_saved_search.rst +0 -0
  297. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/search/search_for_object.rst +0 -0
  298. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/set_up.rst +0 -0
  299. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/deployments/azure_vm_deployments.rst +0 -0
  300. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/deployments/deployments.rst +0 -0
  301. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/deployments/ec2_deployments.rst +0 -0
  302. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/deployments/gce_deployments.rst +0 -0
  303. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/deployments/kubernetes_deployments.rst +0 -0
  304. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/deployments/stage_libs_sdc.rst +0 -0
  305. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/deployments/stage_libs_st.rst +0 -0
  306. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/environments/aws_environments.rst +0 -0
  307. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/environments/azure_environments.rst +0 -0
  308. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/environments/environments.rst +0 -0
  309. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/environments/gcp_environments.rst +0 -0
  310. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/environments/kubernetes_environments.rst +0 -0
  311. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/environments/managing_environments.rst +0 -0
  312. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/usage/set_up/environments/self_managed_environments.rst +0 -0
  313. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/welcome/authentication.rst +0 -0
  314. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/welcome/examples/sdk_examples_job_pipeline.rst +0 -0
  315. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/welcome/examples/sdk_examples_self_managed_deployment.rst +0 -0
  316. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/welcome/examples.rst +0 -0
  317. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/welcome/installation.rst +0 -0
  318. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/welcome/known_issues.rst +0 -0
  319. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/welcome/overview.rst +0 -0
  320. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/welcome/release_notes.rst +0 -0
  321. {streamsets-6.2.0.dev0 → streamsets-6.3}/docs/welcome.rst +0 -0
  322. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/__init__.py +0 -0
  323. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/aster_api.py +0 -0
  324. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/sdc.py +0 -0
  325. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/sdc_api.py +0 -0
  326. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/st.py +0 -0
  327. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets/sdk/st_api.py +0 -0
  328. /streamsets-6.2.0.dev0/streamsets.egg-info/not-zip-safe → /streamsets-6.3/streamsets.egg-info/dependency_links.txt +0 -0
  329. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets.egg-info/requires.txt +0 -0
  330. {streamsets-6.2.0.dev0 → streamsets-6.3}/streamsets.egg-info/top_level.txt +0 -0
@@ -0,0 +1,66 @@
1
+ # Copyright 2017 StreamSets Inc.
2
+
3
+ __pycache__/
4
+ *.py[cod]
5
+ *$py.class
6
+
7
+ # C extensions
8
+ *.so
9
+ *.c
10
+
11
+ # Distribution / packaging
12
+ .Python
13
+ env/
14
+ /venv/
15
+ /build/
16
+ develop-eggs/
17
+ /dist/
18
+ downloads/
19
+ eggs/
20
+ .eggs/
21
+ lib/
22
+ lib64/
23
+ parts/
24
+ sdist/
25
+ var/
26
+ /*.egg-info/
27
+ .installed.cfg
28
+ *.egg
29
+
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *,cover
49
+ .hypothesis/
50
+
51
+ # Translations
52
+ *.mo
53
+ *.pot
54
+
55
+ # Django stuff:
56
+ *.log
57
+
58
+ # Sphinx documentation
59
+ /.sphinx-build/
60
+ /html/
61
+
62
+ # PyBuilder
63
+ target/
64
+
65
+ # pyenv python configuration file
66
+ .python-version*.pyc
@@ -0,0 +1,12 @@
1
+ FROM python:3.8-slim
2
+ RUN apt-get update && \
3
+ apt-get -y install \
4
+ gcc \
5
+ git \
6
+ make
7
+ WORKDIR /root
8
+ ADD requirements.txt ./
9
+ RUN pip3 install -r requirements.txt
10
+ ADD . .
11
+ RUN make setup
12
+ RUN make build
@@ -3,6 +3,34 @@
3
3
 
4
4
  History
5
5
  =======
6
+ 6.3.0 (May 2024)
7
+ ----------------
8
+ * The :py:meth:`streamsets.sdk.ControlHub.get_self_managed_deployment_install_script` method now accepts a parameter ``java_version`` that can be used to specify which java version to be used when generating an install script.
9
+
10
+ * The :py:meth:`streamsets.sdk.ControlHub.add_scheduled_task` method raises a more detailed error when creating a :py:class:`streamsets.sdk.sch_models.ScheduledTask`object.
11
+
12
+ * Support for Job Sequencing has been added. Refer to the :ref:`StreamSets SDK Job Sequencing Documentation <job_sequences>` for further details.
13
+
14
+ * Bug fixes and improvements.
15
+
16
+ 6.2.0 (February 2024)
17
+ ---------------------
18
+ * The :py:meth:`streamsets.sdk.ControlHub.verify_connection` method now accepts a parameter ``library`` that can be used to specify which library the connection should be verified against.
19
+
20
+ * The :py:meth:`streamsets.sdk.ControlHub.publish_pipeline` method now accepts a parameter ``validate`` which can be used to validate a pipeline when saving it on Platform.
21
+
22
+ * The :py:meth:`streamsets.sdk.sch_models.PipelineBuilder.build` method now accepts a parameter ``description`` which can be used to set the description of a pipeline.
23
+
24
+ * The :py:meth:`streamsets.sdk.sch_models.DeploymentBuilder.build` method now accepts additional parameters that can be used to configure the deployment during creation.
25
+
26
+ * The :py:class:`streamsets.sdk.sch_models.Job` class has a new attribute ``latest_committed_offsets`` which will retrieve latest committed offsets for the Job.
27
+
28
+ * Fixed an error that did not render color icons in the Platform UI for pipelines generated in the SDK.
29
+
30
+ * Fixed an error with :py:meth:`streamsets.sdk.ControlHub.activate_api_credential`, :py:meth:`streamsets.sdk.ControlHub.deactivate_api_credential` and :py:meth:`streamsets.sdk.ControlHub.rename_api_credential` that caused the authentication token to be regenerated.
31
+
32
+ * Bug fixes and improvements.
33
+
6
34
  6.1.0 (November 2023)
7
35
  ---------------------
8
36
  * Allow direct replacement of a stage in a pipeline. This is achieved through the ``copy_inputs`` & ``copy_outputs`` methods under the :py:class:`streamsets.sdk.sch_models.SchSdcStage` and :py:class:`streamsets.sdk.sch_models.SchStStage` classes respectively.
@@ -0,0 +1,74 @@
1
+ .PHONY: setup format lint test integration docs clean
2
+
3
+ REQUIRED_ENV_VARS = SCH_TOKEN SCH_CREDENTIAL_ID SDC_VERSION TRANSFORMER_VERSION ASTER_URL
4
+
5
+ all:
6
+ @echo "\033[1;32mTo run a specific target, use: make <target>\033[0m"
7
+ @echo "\033[1;32mAvailable targets:\033[0m"
8
+ @grep -E '^[a-zA-Z0-9_-]+:' Makefile | grep -Ev '^all:|^validate:' | sed -E 's/([^:]+):.*/- \1/g' | sort
9
+
10
+ setup:
11
+ @pip3 install -r build_requirements.txt
12
+ @pip install -r test_requirements.txt
13
+
14
+ validate:
15
+ @$(foreach env_var,$(REQUIRED_ENV_VARS), \
16
+ $(if $(value $(env_var)),, \
17
+ $(error Environment variable $(env_var) is not defined)))
18
+
19
+ format:
20
+ black --config=evergreen/pyproject.toml streamsets/sdk tests
21
+ isort --settings-path=evergreen/pyproject.toml streamsets/sdk tests
22
+
23
+ lint:
24
+ flake8 --config=evergreen/.flake8 streamsets/sdk
25
+
26
+ test:
27
+ ifeq ($(filter test,$(MAKECMDGOALS)),)
28
+ @pytest -v --disable-warnings --cov=streamsets/sdk tests/unit
29
+ else
30
+ @pytest -v --disable-warnings --cov=streamsets/sdk -k "$(word 2,$(MAKECMDGOALS))" tests/unit
31
+ endif
32
+
33
+
34
+ integration: validate
35
+ ifeq ($(filter integration,$(MAKECMDGOALS)),)
36
+ @pytest -v \
37
+ --cov=streamsets/sdk \
38
+ --disable-warnings \
39
+ --sch-credential-id=$$SCH_CREDENTIAL_ID \
40
+ --sch-token=$$SCH_TOKEN \
41
+ --sdc-version=$$SDC_VERSION \
42
+ --transformer-version=$$TRANSFORMER_VERSION \
43
+ --aster-url=$$ASTER_URL \
44
+ tests/integration
45
+ else
46
+ @pytest -v \
47
+ --cov=streamsets/sdk \
48
+ --disable-warnings \
49
+ --sch-credential-id=$$SCH_CREDENTIAL_ID \
50
+ --sch-token=$$SCH_TOKEN \
51
+ --sdc-version=$$SDC_VERSION \
52
+ --transformer-version=$$TRANSFORMER_VERSION \
53
+ --aster-url=$$ASTER_URL \
54
+ -k "$(word 2,$(MAKECMDGOALS))" \
55
+ tests/integration
56
+ endif
57
+
58
+ docs:
59
+ @pip install -r docs/requirements.txt
60
+ sphinx-build -b html -d .sphinx-build docs html
61
+
62
+ build:
63
+ @python3 -m build
64
+
65
+ clean:
66
+ @rm -rf venv html build dist htmlcov .sphinx-build .coverage .eggs *.egg-info
67
+ @find . -type f -name '*.pyc' -delete
68
+ @find . -type f -name '*.pyo' -delete
69
+ @find . -type f -name '*_unit_*.xml' -delete
70
+ @find . -type f -name '*_integration_*.xml' -delete
71
+ @find . -type f -name 'coverage.xml' -delete
72
+ @find . -type d -name '__pycache__' -prune -exec rm -rf "{}" \;
73
+ @find . -type d -name '.pytest_cache' -prune -exec rm -rf "{}" \;
74
+ @find . -type f -name '*~' -delete
@@ -0,0 +1,21 @@
1
+ Metadata-Version: 2.1
2
+ Name: streamsets
3
+ Version: 6.3
4
+ Summary: A Python SDK for StreamSets
5
+ Author: StreamSets Inc
6
+ Classifier: Development Status :: 5 - Production/Stable
7
+ Classifier: Programming Language :: Python :: 3.4
8
+ Classifier: Programming Language :: Python :: 3.5
9
+ Classifier: Programming Language :: Python :: 3.6
10
+ Classifier: Programming Language :: Python :: 3.7
11
+ Classifier: Programming Language :: Python :: 3.8
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Requires-Python: >=3.4
17
+ Description-Content-Type: text/x-rst
18
+ Requires-Dist: dpath==1.5.0
19
+ Requires-Dist: inflection
20
+ Requires-Dist: PyYAML
21
+ Requires-Dist: requests
@@ -0,0 +1,2 @@
1
+ setuptools==68.1.2
2
+ build==1.0.3
@@ -0,0 +1,67 @@
1
+ /* StreamSets Python SDK CSS file */
2
+
3
+ /* FONTS
4
+ ------------------------------------------------------- */
5
+ @import url(https://fonts.googleapis.com/css?family=Lato:300,400,700,900);
6
+ @import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
7
+
8
+
9
+ /* GENERAL
10
+ ------------------------------------------------------- */
11
+ body {
12
+ font-family: Verdana, Geneva, sans-serif;
13
+ font-size: 14px;
14
+ line-height: 1.5em;
15
+ }
16
+
17
+ h1 {
18
+ font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
19
+ font-size: 40px;
20
+ line-height: 45px;
21
+ margin-top: 45px ;
22
+ margin-bottom: 0px;
23
+ color: #003399 !important;
24
+ }
25
+
26
+ h2 {
27
+ font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
28
+ font-size: 28px;
29
+ margin-bottom: 10px;
30
+ color: #003399 !important;
31
+ border-bottom: 1px solid #e1e1e1;
32
+ }
33
+
34
+ h3 {
35
+ font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
36
+ font-size: 26px;
37
+ margin-bottom: 10px;
38
+ color: #003399 !important;
39
+ font-variant-caps: all-small-caps;
40
+ }
41
+
42
+ h4 {
43
+ font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
44
+ font-size: 22px;
45
+ margin-bottom: 10px;
46
+ color: #003399 !important;
47
+ font-variant-caps: all-small-caps;
48
+ }
49
+
50
+ h2::before {
51
+ content: ">";
52
+ color: #e0e0eb;
53
+ }
54
+
55
+ #site-navigation h1.site-logo {
56
+ border-bottom: none;
57
+ }
58
+
59
+ #site-navigation {
60
+ background-color: #eeeeee;
61
+ }
62
+
63
+ .bd-sidebar .nav {
64
+ font-family: Verdana, Geneva, sans-serif;
65
+ font-size: 14px;
66
+ color: #555 !important;
67
+ }
Binary file
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="utf-8"?><svg xmlns="http://www.w3.org/2000/svg" width="207" height="44" viewBox="0 0 353.96 74.46"><defs><style>.cls-1{fill:#29b4e2;}.cls-2{fill:#039;}</style></defs><title>streamsets-logo</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_2-2" data-name="Layer 2"><path class="cls-1" d="M111.7,45.77A9.38,9.38,0,0,1,108,53.64q-3.66,2.82-9.93,2.82-6.8,0-10.46-1.75V50.42A27.48,27.48,0,0,0,92.78,52a27.08,27.08,0,0,0,5.48.58c3,0,5.2-.57,6.7-1.69a5.54,5.54,0,0,0,2.24-4.69,6.06,6.06,0,0,0-.79-3.26,7.56,7.56,0,0,0-2.67-2.34,38.46,38.46,0,0,0-5.68-2.43q-5.34-1.9-7.62-4.52a9.94,9.94,0,0,1-2.29-6.82,8.45,8.45,0,0,1,3.32-7,13.8,13.8,0,0,1,8.78-2.62,25.94,25.94,0,0,1,10.48,2.09l-1.38,3.87a23.81,23.81,0,0,0-9.2-2,8.9,8.9,0,0,0-5.52,1.51,5,5,0,0,0-2,4.21,6.45,6.45,0,0,0,.74,3.26,6.8,6.8,0,0,0,2.47,2.32,30.21,30.21,0,0,0,5.31,2.34q6,2.15,8.28,4.6A9.05,9.05,0,0,1,111.7,45.77Z"/><path class="cls-1" d="M126.78,52.88a14.68,14.68,0,0,0,2.22-.17,14.5,14.5,0,0,0,1.7-.35v3.32a8.36,8.36,0,0,1-2.08.56,15.43,15.43,0,0,1-2.47.22q-8.31,0-8.31-8.76v-17h-4.11V28.57l4.11-1.8,1.83-6.12h2.51v6.64h8.31v3.37h-8.31V47.52a5.77,5.77,0,0,0,1.22,4A4.27,4.27,0,0,0,126.78,52.88Z"/><path class="cls-1" d="M148.15,26.77a17.07,17.07,0,0,1,3.43.31l-.61,4a14.25,14.25,0,0,0-3.13-.4,7.63,7.63,0,0,0-6,2.83,10.26,10.26,0,0,0-2.47,7V55.94h-4.34V27.29h3.58l.5,5.31h.21a12.51,12.51,0,0,1,3.84-4.32A8.66,8.66,0,0,1,148.15,26.77Z"/><path class="cls-1" d="M167.7,56.46q-6.36,0-10-3.87T154,41.85q0-6.93,3.41-11a11.36,11.36,0,0,1,9.16-4.07,10.8,10.8,0,0,1,8.52,3.54,13.52,13.52,0,0,1,3.14,9.34V42.4H158.5q.12,5,2.54,7.66a8.85,8.85,0,0,0,6.81,2.61A22.87,22.87,0,0,0,177,50.73V54.6A22.49,22.49,0,0,1,172.65,56,24.3,24.3,0,0,1,167.7,56.46ZM166.52,30.4a7.08,7.08,0,0,0-5.5,2.25,10.32,10.32,0,0,0-2.42,6.22h15a9.55,9.55,0,0,0-1.83-6.29A6.45,6.45,0,0,0,166.52,30.4Z"/><path class="cls-1" d="M201.91,55.94l-.86-4.08h-.21a12.19,12.19,0,0,1-4.28,3.65,13.12,13.12,0,0,1-5.32,1,9.56,9.56,0,0,1-6.68-2.2A8,8,0,0,1,182.15,48q0-8.69,13.88-9.1l4.86-.16V37q0-3.37-1.45-5a6,6,0,0,0-4.64-1.61,18.86,18.86,0,0,0-8.11,2.2l-1.33-3.32a20.7,20.7,0,0,1,9.7-2.46c3.41,0,5.95.76,7.59,2.27s2.47,3.95,2.47,7.29V55.94Zm-9.8-3.06a8.8,8.8,0,0,0,6.36-2.22,8.23,8.23,0,0,0,2.31-6.22V41.85l-4.34.18q-5.16.18-7.46,1.61a4.86,4.86,0,0,0-2.29,4.43,4.47,4.47,0,0,0,1.43,3.58A5.92,5.92,0,0,0,192.11,52.88Z"/><path class="cls-1" d="M249.24,55.94V37.3a7.8,7.8,0,0,0-1.46-5.14,5.68,5.68,0,0,0-4.55-1.71q-4,0-6,2.33t-1.93,7.16v16H231V37.3a7.8,7.8,0,0,0-1.46-5.14,5.72,5.72,0,0,0-4.58-1.71q-4.08,0-6,2.45c-1.26,1.63-1.9,4.3-1.9,8v15h-4.34V27.29h3.53l.71,3.92h.21a8.6,8.6,0,0,1,3.46-3.27,10.64,10.64,0,0,1,5-1.17q6.72,0,8.78,4.86h.21a9.17,9.17,0,0,1,3.71-3.56,11.53,11.53,0,0,1,5.54-1.3q4.86,0,7.28,2.49t2.42,8V55.94Z"/><path class="cls-2" d="M283.4,45.77a9.38,9.38,0,0,1-3.66,7.87q-3.66,2.82-9.94,2.82-6.8,0-10.45-1.75V50.42A27.61,27.61,0,0,0,264.47,52a27.25,27.25,0,0,0,5.49.58c3,0,5.19-.57,6.69-1.69a5.53,5.53,0,0,0,2.25-4.69,6,6,0,0,0-.8-3.26,7.52,7.52,0,0,0-2.66-2.34,38.2,38.2,0,0,0-5.69-2.43q-5.33-1.9-7.62-4.52a10,10,0,0,1-2.28-6.82,8.47,8.47,0,0,1,3.31-7A13.85,13.85,0,0,1,272,17.17a25.94,25.94,0,0,1,10.48,2.09L281,23.13a23.73,23.73,0,0,0-9.2-2,8.89,8.89,0,0,0-5.51,1.51,5,5,0,0,0-2,4.21,6.45,6.45,0,0,0,.73,3.26,6.88,6.88,0,0,0,2.47,2.32,30.37,30.37,0,0,0,5.32,2.34q6,2.15,8.28,4.6A9.1,9.1,0,0,1,283.4,45.77Z"/><path class="cls-2" d="M301.32,56.46q-6.35,0-10-3.87t-3.67-10.74q0-6.93,3.41-11a11.35,11.35,0,0,1,9.16-4.07,10.8,10.8,0,0,1,8.52,3.54,13.56,13.56,0,0,1,3.14,9.34V42.4H292.12q.13,5,2.55,7.66a8.82,8.82,0,0,0,6.81,2.61,22.87,22.87,0,0,0,9.15-1.94V54.6A22.71,22.71,0,0,1,306.28,56,24.33,24.33,0,0,1,301.32,56.46ZM300.15,30.4a7.1,7.1,0,0,0-5.51,2.25,10.38,10.38,0,0,0-2.41,6.22h15a9.61,9.61,0,0,0-1.83-6.29A6.47,6.47,0,0,0,300.15,30.4Z"/><path class="cls-2" d="M327.17,52.88a14.58,14.58,0,0,0,2.22-.17,14.07,14.07,0,0,0,1.7-.35v3.32a8.24,8.24,0,0,1-2.08.56,15.33,15.33,0,0,1-2.47.22q-8.31,0-8.31-8.76v-17h-4.1V28.57l4.1-1.8,1.83-6.12h2.51v6.64h8.31v3.37h-8.31V47.52a5.77,5.77,0,0,0,1.23,4A4.25,4.25,0,0,0,327.17,52.88Z"/><path class="cls-2" d="M354,48.12a7.18,7.18,0,0,1-3,6.17q-3,2.18-8.37,2.17-5.7,0-8.89-1.8v-4a21.38,21.38,0,0,0,4.44,1.65,18.45,18.45,0,0,0,4.56.6,10.25,10.25,0,0,0,5.22-1.09,3.73,3.73,0,0,0,.38-6.16,22.63,22.63,0,0,0-5.66-2.82,29.86,29.86,0,0,1-5.68-2.6,7.72,7.72,0,0,1-2.51-2.52,6.55,6.55,0,0,1-.82-3.37,6.42,6.42,0,0,1,2.85-5.53c1.89-1.35,4.5-2,7.81-2a22.83,22.83,0,0,1,9.05,1.88l-1.55,3.53A20.64,20.64,0,0,0,344,30.4a9,9,0,0,0-4.66,1A3,3,0,0,0,337.78,34a3.19,3.19,0,0,0,.59,2,5.81,5.81,0,0,0,1.89,1.55,43,43,0,0,0,5,2.11q5.1,1.86,6.88,3.74A6.58,6.58,0,0,1,354,48.12Z"/><path class="cls-2" d="M20.48,4.78c2.17-1.14,9.59-4.06,18.11,5.66,5.6,6.38,9,6.74,10,4.57h0a2.17,2.17,0,0,0,.26-.64c.62-2.64-1.33-7.63-6.15-11.25C32.08-4.86,20.1,5,20.1,5l.38-.21Z"/><path class="cls-2" d="M13.7,70.76c-2.09-1.33-8.28-6.31-4.14-18.51,2.73-8,1.34-11.18-1-10.93h0a2.7,2.7,0,0,0-.68.09c-2.6.79-5.94,5-6.67,11C-.43,65.54,14.08,71,14.08,71l-.37-.23Z"/><path class="cls-2" d="M74.25,43.2c0,.11,0,.26,0,.43h0c-.1,2.46-1.28,10.35-14,12.87C52,58.14,50,60.9,51.32,62.83a3,3,0,0,0,.43.56c2,1.85,7.28,2.66,12.83.29C76.79,58.49,74.25,43.2,74.25,43.2Z"/><path class="cls-1" d="M30.57,24.16C48.39,37.67,50.5,38.51,54.24,37.27c4.82-1.59,8.08-8.85,4.82-18.91s-10-12.88-10-12.88.29.34.75.94a34.18,34.18,0,0,1,3.44,5c3.11,5.63,3.27,10.57-.75,12.91s-11.56-5.87-15.07-8.9C26.71,6.22,19.57,6.05,15,9.28,9,13.52,7.37,23.62,8,26.74,9.14,22.15,13.21,11,30.57,24.16Z"/><path class="cls-1" d="M25.45,52.34C28.24,30.15,27.92,27.9,25,25.28c-3.8-3.38-11.71-2.57-18.8,5.28S0,45.67,0,45.67s.15-.42.43-1.12a35.07,35.07,0,0,1,2.65-5.49c3.32-5.51,7.51-8.12,11.55-5.81s.69,13-.17,17.5c-2.65,13.9.78,20.17,5.86,22.52,6.69,3.09,16.23-.57,18.64-2.63C34.43,71.9,22.74,74,25.45,52.34Z"/><path class="cls-1" d="M52.09,68.66c-6.43-.12-10.8-2.45-10.81-7.11S52.15,54.48,56.52,53C69.88,48.31,73.59,42.2,73.09,36.62c-.66-7.33-8.61-13.77-11.6-14.82,3.37,3.32,11,12.43-9.07,20.88C31.81,51.36,30,52.77,29.22,56.62c-1,5,3.63,11.43,14,13.63S59.35,68,59.35,68l-1.19.19A35.54,35.54,0,0,1,52.09,68.66Z"/></g></g></svg>
@@ -164,6 +164,19 @@ Jobs
164
164
  .. autoclass:: streamsets.sdk.sch_models.RuntimeParameters
165
165
  :members:
166
166
 
167
+ Job Sequences
168
+ ^^^^^^^^^^^^^
169
+ .. autoclass:: streamsets.sdk.sch_models.JobSequence
170
+ :members:
171
+ .. autoclass:: streamsets.sdk.sch_models.JobSequences
172
+ :members:
173
+ .. autoclass:: streamsets.sdk.sch_models.JobSequenceBuilder
174
+ :members:
175
+ .. autoclass:: streamsets.sdk.sch_models.JobSequenceHistoryLog
176
+ :members:
177
+ .. autoclass:: streamsets.sdk.sch_models.Step
178
+ :members:
179
+
167
180
  Organizations
168
181
  ^^^^^^^^^^^^^
169
182
  .. autoclass:: streamsets.sdk.sch_models.Organization
@@ -223,25 +236,6 @@ ProvisioningAgents
223
236
  .. autoclass:: streamsets.sdk.sch_models.ProvisioningAgents
224
237
  :members:
225
238
 
226
- Reports
227
- ^^^^^^^
228
- .. autoclass:: streamsets.sdk.sch_models.GenerateReportCommand
229
- :members:
230
- .. autoclass:: streamsets.sdk.sch_models.Report
231
- :members:
232
- .. autoclass:: streamsets.sdk.sch_models.Reports
233
- :members:
234
- .. autoclass:: streamsets.sdk.sch_models.ReportDefinition
235
- :members:
236
- .. autoclass:: streamsets.sdk.sch_models.ReportDefinitions
237
- :members:
238
- .. autoclass:: streamsets.sdk.sch_models.ReportDefinitionBuilder
239
- :members:
240
- .. autoclass:: streamsets.sdk.sch_models.ReportResource
241
- :members:
242
- .. autoclass:: streamsets.sdk.sch_models.ReportResources
243
- :members:
244
-
245
239
  Roles
246
240
  ^^^^^
247
241
  .. autoclass:: streamsets.sdk.sch_models.Roles
@@ -0,0 +1,99 @@
1
+ Handling Error Records
2
+ ======================
3
+
4
+ Handling Error Records in the Platform SDK is very similar to handling error records in the UI.
5
+
6
+ For more information, you can view the `Streamsets Documentation for Error Handling <https://docs.streamsets.com/portal/platform-datacollector/latest/datacollector/UserGuide/Pipeline_Design/ErrorHandling.html>`_.
7
+
8
+ .. hint::
9
+ All of the examples below have focused on stages for SDC pipelines, however :py:class:`streamsets.sdk.sch_models.SchStStage`
10
+ instances could be swapped into these examples for Transformer pipelines without issue.
11
+
12
+ Handling Error Records in a Pipeline
13
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14
+
15
+ In the UI, you can edit how error records are handled by clicking on ``Show Advanced Options`` and then ``Error Records``.
16
+
17
+ .. image:: ../_static/images/build/error_records_main.png
18
+ |
19
+
20
+ The default action for when a pipeline produces error records is to discard the record.
21
+ This behavior can be modified, like writing the error records to file or sending it to a MQTT broker.
22
+
23
+ To do so in the UI, click on the options for Error Records and select the appropriate option.
24
+
25
+ You can do this in the Platform SDK by using :py:meth:`streamsets.sdk.sch_models.PipelineBuilder.add_error_stage` as follows:
26
+
27
+ .. code-block:: python
28
+
29
+ error_stage = pipeline_builder.add_error_stage('Write to File')
30
+
31
+ .. note::
32
+ Having different stage libraries in your engine's deployment configuration may show additional options than what are available by default..
33
+ For example: using the AWS library for your deployment will give an option to write your error records to S3 instead.
34
+
35
+ Configuring Error Record Handling for a Pipeline
36
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37
+
38
+ In the UI, choosing an option other than ``Discard`` will provide additional configuration options under the ``Error Records`` tab, as seen below:
39
+
40
+ .. image:: ../_static/images/build/error_records_configuration.png
41
+ |
42
+
43
+ You can do this in the Platform SDK by accessing the `configuration` property of :py:class:`streamsets.sdk.sch_models.SchSdcStage` instance that represents your error stage for the pipeline:
44
+
45
+ .. code-block:: python
46
+
47
+ error_stage.configuration.directory = '/path/to/error/directory'
48
+
49
+ .. hint::
50
+ When writing to a directory you must first create the directory in the deployment, documentation for it can be found at: `Streamsets Documentation to manage a Local FS <https://docs.streamsets.com/portal/platform-datacollector/latest/datacollector/UserGuide/Destinations/LocalFS.html>`_.
51
+
52
+ Changing the Error Record Policy for a Pipeline
53
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54
+
55
+ In the UI, you can change the Error Record Policy from the main Error Records Tab
56
+
57
+ .. image:: ../_static/images/build/error_records_main.png
58
+ |
59
+
60
+ The default value for Error Records Policy in the UI is ``Original record as it was generated by the origin`` but can be changed to ``Record as it was seen by the stage that sent it to error stream``.
61
+
62
+ .. hint::
63
+ The equivalent values you can supply in the Platform SDK for Error Record Policy are ``ORIGINAL_RECORD`` and ``STAGE_RECORD``.
64
+
65
+ To do this in the Platform SDK you can do the following:
66
+
67
+ .. code-block:: python
68
+
69
+ # store the record as seen by the first stage in the pipeline
70
+ pipeline.error_record_policy = 'ORIGINAL_RECORD'
71
+
72
+ # store the record as seen by the stage that raised the error
73
+ pipeline.error_record_policy = 'STAGE_RECORD'
74
+
75
+ Bringing It All Together
76
+ ~~~~~~~~~~~~~~~~~~~~~~~~
77
+
78
+ The complete scripts from this section can be found below. Commands that only served to verify some output from the example have been removed.
79
+
80
+ .. code-block:: python
81
+
82
+ # creating a pipeline builder and adding stages
83
+ pipeline_builder = sch.get_pipeline_builder(...)
84
+ stage_1 = pipeline_builder.add_stage(...)
85
+
86
+ # adding an appropriate error stage for our use case, can leave it as is for the error records to be discarded
87
+ error_stage = pipeline_builder.add_error_stage('Write to File')
88
+
89
+ # remember to configure the error stage appropriately
90
+ error_stage.configuration.directory = '/path/to/error/directory'
91
+
92
+ # build the pipeline
93
+ pipeline = pipeline_builder.build('Pipeline name')
94
+
95
+ # you can, optionally, change the error records policy
96
+ pipeline.configuration.error_record_policy = 'STAGE_RECORD'
97
+
98
+ # now, the pipeline is ready to be published
99
+ sch.publish_pipeline(pipeline)
@@ -11,3 +11,4 @@ Build
11
11
  build/creating_pipelines
12
12
  build/editing_pipelines
13
13
  build/pipeline_fragments
14
+ build/error_record_handling
@@ -10,4 +10,3 @@ Monitor
10
10
 
11
11
  monitor/subscriptions
12
12
  monitor/topologies
13
- monitor/reports
@@ -0,0 +1,9 @@
1
+ Sphinx~=4.4
2
+ sphinx-book-theme~=0.3.0
3
+ sphinx-copybutton~=0.5.0
4
+ sphinxcontrib.applehelp==1.0.4
5
+ sphinxcontrib-devhelp==1.0.2
6
+ sphinxcontrib-htmlhelp==2.0.0
7
+ sphinxcontrib-serializinghtml==1.1.5
8
+ sphinxcontrib-qthelp==1.0.3
9
+ sphinxcontrib-jsmath==1.0.1