Skip to content

Refactor df_deployments module - #292

Draft
rsuplina wants to merge 11 commits into
cloudera-labs:mainfrom
rsuplina:feature/df_deployment_update
Draft

Refactor df_deployments module#292
rsuplina wants to merge 11 commits into
cloudera-labs:mainfrom
rsuplina:feature/df_deployment_update

Conversation

@rsuplina

Copy link
Copy Markdown
Contributor
  • Added check_deployment_updates to compare only user-provided parameters against current deployment state
  • Added build_deployment_update_params to avoid treating module defaults as intentional changes
  • Changed cdp_df_client.py to extract WorkloadTransport as a base class with XSRF cookie handling and retry logic
  • Changed CdpDfApiClient to handle 308 redirects and DataFlow extension-format payload for flow imports
  • Added unit tests for df_deployment module covering create, update, delete, idempotency, and check mode
  • Added integration tests for df_deployment module and client with shared fixtures for setup and teardown

rsuplina added 11 commits June 29, 2026 09:01
Signed-off-by: Ronald Suplina <rsuplina@cloudera.com>
Signed-off-by: Ronald Suplina <rsuplina@cloudera.com>
…dling

Signed-off-by: Ronald Suplina <rsuplina@cloudera.com>
… in the codebase

Signed-off-by: Ronald Suplina <rsuplina@cloudera.com>
…r consistency

Signed-off-by: Ronald Suplina <rsuplina@cloudera.com>
Signed-off-by: Ronald Suplina <rsuplina@cloudera.com>
…parameter and enhance TLS validation handling

Signed-off-by: Ronald Suplina <rsuplina@cloudera.com>
Signed-off-by: Ronald Suplina <rsuplina@cloudera.com>
…ation tests

Signed-off-by: Ronald Suplina <rsuplina@cloudera.com>
…ault option

Signed-off-by: Ronald Suplina <rsuplina@cloudera.com>
Signed-off-by: Ronald Suplina <rsuplina@cloudera.com>
@rsuplina
rsuplina requested a review from a team June 30, 2026 08:03
@wmudge wmudge added this to the Release 3.6.0 milestone Aug 5, 2026
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.

df_deployment module doesn't support project-crn Modify Deployments in Place

2 participants