Skip to content

Conversation

jimright
Copy link
Contributor

@jimright jimright commented Jan 7, 2025

Following the release of version 0.9.128 of the CDP CLI and API some CDW related parameters have been renamed:

  • In Virtual Warehouse creation template has been renamed to tShirtSize. API Docs Link
  • In Data Visualisation creation templateName has been renamed to resourceTemplate. API Docs Link

This PR handles the parameter renaming in the cloudera.cloud Ansible collection. Requires cloudera-labs/cdpy#106

@jimright jimright added the enhancement MINOR - New feature or enhancement in the CHANGELOG label Jan 7, 2025
@jimright jimright requested a review from a team January 7, 2025 16:10
@github-actions github-actions bot added the validated The pull request has passed the prechecks label Jan 7, 2025
Signed-off-by: Jim Enright <[email protected]>
@github-actions github-actions bot added validated The pull request has passed the prechecks and removed validated The pull request has passed the prechecks labels Jan 7, 2025
name=dict(type="str"),
config=dict(type="dict"),
template_name=dict(type="str"),
template_name=dict(type="str", aliases=["resource_template"]),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's swap these -- the old name should be the alias

template:
description: The name of deployment template for the Virtual Warehouse
description:
- The name of deployment T-shirt size to use.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe reference the "deployment template" as an aside ("i.e. the deployment template")

type=dict(type="str"),
name=dict(type="str"),
template=dict(type="str", choices=["xsmall", "small", "medium", "large"]),
template=dict(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also swap the two

Signed-off-by: Jim Enright <[email protected]>
@github-actions github-actions bot added validated The pull request has passed the prechecks and removed validated The pull request has passed the prechecks labels Jan 9, 2025
@wmudge wmudge added this to the Release 2.6.0 milestone Mar 4, 2025
@wmudge wmudge merged commit 658c051 into cloudera-labs:devel Mar 4, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement MINOR - New feature or enhancement in the CHANGELOG validated The pull request has passed the prechecks

Development

Successfully merging this pull request may close these issues.

2 participants