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

Update cm_service module #265

Merged
merged 58 commits into from
Jan 14, 2025
Merged

Conversation

wmudge
Copy link
Member

@wmudge wmudge commented Jan 10, 2025

Addresses full lifecycle management of the Cloudera Manager service and its subelements (service-wide config, role config groups, and roles).

Requires #258 , #259, #260, #261, and #262 -- will rebase once these PRs are committed or resolved. However, this PR represents the culmination of all this prior work, so we might commit this PR as is and close the above mentioned PRs as obsolete.

…pdate general output parsing function.

Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
…meters, not just configuration values

Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
…sing of Cloudera Manager service

Signed-off-by: Webster Mudge <[email protected]>
wmudge added 18 commits January 10, 2025 16:44
Signed-off-by: Webster Mudge <[email protected]>
Remove get_role_config_group

Signed-off-by: Webster Mudge <[email protected]>
…onfigurations

Add read_role, read_roles_by_type functions
Update create_role to handle errors for invalid role config group assignment

Signed-off-by: Webster Mudge <[email protected]>
Update test to use pytest and fixtures

Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
Signed-off-by: Webster Mudge <[email protected]>
@wmudge wmudge marked this pull request as ready for review January 13, 2025 19:48
Copy link
Contributor

@jimright jimright left a comment

Choose a reason for hiding this comment

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

Looks good. Approved.

@wmudge wmudge added this to the Release 4.5.0 milestone Jan 14, 2025
@wmudge wmudge merged commit a397664 into cloudera-labs:devel Jan 14, 2025
8 checks passed
@wmudge wmudge deleted the feature/cm_service-module branch January 14, 2025 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request validated
Development

Successfully merging this pull request may close these issues.

2 participants