Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move DFX Beta implementation to GA process #30

Merged
merged 1 commit into from
Oct 25, 2021

Conversation

Chaffelson
Copy link
Collaborator

Cdpy:

  • Rework cdpy/df to use the 'service' nomenclature instead of 'environment' for DataFlow
  • Allow separate submission of a name, env_crn, or df_crn for filtering the list of enabled DataFlow services
  • Allow submission of an env_crn or df_crn for the description of a Dataflow Service, as you cannot know the df_crn during creation until it is actually created
  • Standardise on use of df_crn for the service crn in DataFlow to provide differentiation from the env crn and other crns in CDP
  • Add new service enablement parameters to the dfx enable_service call
  • Add new terminate option to the DFX disable_service call
  • Change delete_environment to reset_service to reflect new usage
  • Squelch 403 response on describing a recently deleted Dataflow Service while it is being cleaned up

Signed-off-by: Daniel Chaffelson chaffelson@gmail.com

Cdpy:
* Rework cdpy/df to use the 'service' nomenclature instead of 'environment' for DataFlow
* Allow separate submission of a name, env_crn, or df_crn for filtering the list of enabled DataFlow services
* Allow submission of an env_crn or df_crn for the description of a Dataflow Service, as you cannot know the df_crn during creation until it is actually created
* Standardise on use of df_crn for the service crn in DataFlow to provide differentiation from the env crn and other crns in CDP
* Add new service enablement parameters to the dfx enable_service call
* Add new terminate option to the DFX disable_service call
* Change delete_environment to reset_service to reflect new usage
* Squelch 403 response on describing a recently deleted Dataflow Service while it is being cleaned up

cloudera.cloud:
* renamed df.py to df_service.py to reflect that other DataFlow modules for Deployments will be needed in future
* Include changes to submission parameters and method names for 'cdp df' calls in cdpy
* Modify enable and disable service logic to match new methods and parameters
* df_info now supports name, df_crn, or env_crn for filtering results
* env_info once again checks for DataFlow during detailed Environment information collection
* Added input validation for DataFlow service creation

cloudera.exe:
* Added defaults handling for new DataFlow submission parameters
* renamed various methods and parameters to reflect updated DataFlow service naming and options

Signed-off-by: Daniel Chaffelson <chaffelson@gmail.com>
src/cdpy/df.py Show resolved Hide resolved
src/cdpy/df.py Show resolved Hide resolved
src/cdpy/df.py Show resolved Hide resolved
src/cdpy/df.py Show resolved Hide resolved
src/cdpy/df.py Show resolved Hide resolved
@Chaffelson Chaffelson requested a review from cmperro October 13, 2021 13:30
@wmudge wmudge merged commit 7d85a8e into cloudera-labs:devel Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants