Skip to content

feat: Adds AdvancedConfiguration attribute #547

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

Merged
merged 2 commits into from
Apr 7, 2025

Conversation

maastha
Copy link
Contributor

@maastha maastha commented Apr 2, 2025

Description

Adds AdvancedConfiguration attribute support in Cluster APIs.
Ref: https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster

Link to any related issue(s): CLOUDP-296222

Type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Required Checklist:

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code

Further comments

}

// AdvancedConfiguration group of settings that configures a subset of the advanced configuration details.
type AdvancedConfiguration struct {
Copy link
Member

Choose a reason for hiding this comment

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

As it's in the global SDK package, should we add "cluster" to the name, like AdvancedConfigurationCluster? or it's clear that AdvancedConfiguration refers only to clusters?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It resembles the attribute name in the API, so I think this should be okay as it is

Copy link
Member

@AgustinBettati AgustinBettati left a comment

Choose a reason for hiding this comment

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

LGTM

@maastha maastha marked this pull request as ready for review April 3, 2025 08:48
@maastha maastha requested a review from a team as a code owner April 3, 2025 08:48
@maastha maastha merged commit 1bc7f6c into master Apr 7, 2025
3 checks passed
@maastha maastha deleted the CLOUDP-296222-cluster-api-adv-config branch April 7, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants