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

INTMDB-587: New Feature: Backup Compliance Policy Support #1127

Merged
merged 69 commits into from
Apr 26, 2023

Conversation

martinstibbe
Copy link
Contributor

@martinstibbe martinstibbe commented Apr 14, 2023

Description

New Feature: Backup Compliance Policy Support

Link to any related issue(s):

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
  • Documentation fix/enhancement

Required Checklist:

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

Further comments

@martinstibbe martinstibbe requested a review from a team as a code owner April 14, 2023 18:37
@Zuhairahmed Zuhairahmed self-requested a review April 17, 2023 03:18
Copy link
Contributor

@Zuhairahmed Zuhairahmed left a comment

Choose a reason for hiding this comment

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

few suggestions, can you ping me when updated and will take another spin. Thanks again @martinstibbe!

website/docs/d/backup_compliance_policy.html.markdown Outdated Show resolved Hide resolved
website/docs/d/backup_compliance_policy.html.markdown Outdated Show resolved Hide resolved
website/docs/d/backup_compliance_policy.html.markdown Outdated Show resolved Hide resolved
website/docs/r/backup_compliance_policy.html.markdown Outdated Show resolved Hide resolved
website/docs/r/backup_compliance_policy.html.markdown Outdated Show resolved Hide resolved
website/docs/r/backup_compliance_policy.html.markdown Outdated Show resolved Hide resolved
website/docs/r/backup_compliance_policy.html.markdown Outdated Show resolved Hide resolved
@Zuhairahmed
Copy link
Contributor

Zuhairahmed commented Apr 17, 2023

just FYI @themantissa after this PR has been merged we can test each of the below error cases with pre-release binaries and will shares results:

@Zuhairahmed Zuhairahmed requested a review from themantissa April 17, 2023 04:45
Copy link
Collaborator

@maastha maastha left a comment

Choose a reason for hiding this comment

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

We have released v0.25.0 for Atlas Go client. Will there be a follow-up PR to update that?

@martinstibbe
Copy link
Contributor Author

We have released v0.25.0 for Atlas Go client. Will there be a follow-up PR to update that?

Added to PR reference to v0.25.0

@martinstibbe martinstibbe requested a review from maastha April 18, 2023 14:09
Copy link
Collaborator

@maastha maastha left a comment

Choose a reason for hiding this comment

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

LGTM

@Zuhairahmed
Copy link
Contributor

Approving to avoid blocking - those are all my comments! Happy to do another pass if you want one though.

Thanks again @zach-carr, committed all your other suggestions.

@Zuhairahmed Zuhairahmed merged commit 59e184f into release-staging-v.1.9.0 Apr 26, 2023
@martinstibbe martinstibbe deleted the INTMDB-587 branch April 26, 2023 04:17
martinstibbe added a commit that referenced this pull request Apr 27, 2023
* INTMDB-767: Update TF docs to lower case for frequency types (#1131)

* Update cloud_backup_schedule.html.markdown

* Update cloud_backup_schedule.html.markdown

* Update resource_mongodbatlas_cloud_backup_schedule_test.go

* Removing disk_size_gb examples (#1133)

* removing disk_size_gb examples

Since we have stopped including this optional disk_size_gb parameter in current cluster examples, went back to clean up previous examples as well

* Delete main.tf

* Create main.tf

* Update main.tf

* Update main.tf

* Update main.tf

* Update main.tf

* Update main.tf

* Update main.tf

* Update atlas_cluster.tf

* Update atlas.tf

* Update cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* Update atlas-cluster.tf

* DOCSP-28948: addressing user feedback on search index resource docs (#1137)

* INTMDB-587: New Feature: Backup Compliance Policy Support (#1127)

* Add support for mongodbatlas_backup_compliance_policy

* Update SDK

* Preliminary Documentation

* Add tests for BackupCompliancePolicy

* Update website/docs/r/backup_compliance_policy.html.markdown

Co-authored-by: Zuhair Ahmed <[email protected]>

* Update mongodbatlas/resource_mongodbatlas_backup_compliance_policy.go

Co-authored-by: Zuhair Ahmed <[email protected]>

* Update website/docs/d/backup_compliance_policy.html.markdown

Co-authored-by: Zuhair Ahmed <[email protected]>

* Update website/docs/d/backup_compliance_policy.html.markdown

Co-authored-by: Zuhair Ahmed <[email protected]>

* Update website/docs/r/backup_compliance_policy.html.markdown

Co-authored-by: Zuhair Ahmed <[email protected]>

* Update website/docs/d/backup_compliance_policy.html.markdown

Co-authored-by: Zuhair Ahmed <[email protected]>

* Update website/docs/r/backup_compliance_policy.html.markdown

Co-authored-by: Zuhair Ahmed <[email protected]>

* Update website/docs/r/backup_compliance_policy.html.markdown

Co-authored-by: Zuhair Ahmed <[email protected]>

* Update website/docs/d/backup_compliance_policy.html.markdown

Co-authored-by: Zuhair Ahmed <[email protected]>

* Update website/docs/d/backup_compliance_policy.html.markdown

Co-authored-by: Zuhair Ahmed <[email protected]>

* Update Email

* Trim line length

* Update SDK

* doc updates to related resources

* Update website/docs/r/advanced_cluster.html.markdown

* Update website/docs/r/advanced_cluster.html.markdown

* Update website/docs/r/advanced_cluster.html.markdown

* Update website/docs/r/backup_compliance_policy.html.markdown

* Update website/docs/r/cloud_backup_schedule.html.markdown

* Update website/docs/r/cloud_backup_snapshot.html.markdown

* Update website/docs/r/cluster.html.markdown

* Update website/docs/r/project.html.markdown

* Update website/docs/r/backup_compliance_policy.html.markdown

* Update website/docs/d/backup_compliance_policy.html.markdown

* Update website/docs/r/backup_compliance_policy.html.markdown

* cluster termination note

* Restructure parameters

* Remove unused expandScheduledPolicyItems Update Docs tests

* Update examples

* Update docs with requested changes

* Update docs

* Remove reference_minute_of_hour parameter not used in backup policy

* Update backup_compliance_policy.html.markdown

* Update backup_compliance_policy.html.markdown

* Docs updates

* Lowercase lint error

* Update website/docs/r/backup_compliance_policy.html.markdown

* Update website/docs/r/cluster.html.markdown

* Update website/docs/r/backup_compliance_policy.html.markdown

* Update website/docs/r/backup_compliance_policy.html.markdown

* Update website/docs/r/advanced_cluster.html.markdown

* Update website/docs/r/cloud_backup_schedule.html.markdown

* Update website/docs/r/cloud_backup_snapshot.html.markdown

* Update website/docs/r/advanced_cluster.html.markdown

* Update website/docs/r/cloud_backup_snapshot.html.markdown

* Update website/docs/r/cluster.html.markdown

* Update website/docs/r/project.html.markdown

* Update website/docs/d/backup_compliance_policy.html.markdown

* Update website/docs/d/backup_compliance_policy.html.markdown

Co-authored-by: zach-carr <[email protected]>

* Update website/docs/r/backup_compliance_policy.html.markdown

Co-authored-by: zach-carr <[email protected]>

* Update website/docs/d/backup_compliance_policy.html.markdown

Co-authored-by: zach-carr <[email protected]>

* Update website/docs/d/backup_compliance_policy.html.markdown

Co-authored-by: zach-carr <[email protected]>

* Update website/docs/d/backup_compliance_policy.html.markdown

Co-authored-by: zach-carr <[email protected]>

* Update website/docs/r/advanced_cluster.html.markdown

Co-authored-by: zach-carr <[email protected]>

* Update website/docs/r/advanced_cluster.html.markdown

Co-authored-by: zach-carr <[email protected]>

* Update website/docs/r/advanced_cluster.html.markdown

Co-authored-by: zach-carr <[email protected]>

* Update website/docs/r/backup_compliance_policy.html.markdown

Co-authored-by: zach-carr <[email protected]>

* Update website/docs/r/backup_compliance_policy.html.markdown

Co-authored-by: zach-carr <[email protected]>

* Update website/docs/r/cluster.html.markdown

* Update website/docs/r/cloud_backup_snapshot.html.markdown

* Update website/docs/r/cloud_backup_schedule.html.markdown

* Update mongodbatlas/resource_mongodbatlas_backup_compliance_policy_test.go

Co-authored-by: zach-carr <[email protected]>

* Update website/docs/r/backup_compliance_policy.html.markdown

* Update website/docs/r/backup_compliance_policy.html.markdown

---------

Co-authored-by: Zuhair Ahmed <[email protected]>
Co-authored-by: zach-carr <[email protected]>

* Update resource_mongodbatlas_project.go to detect null boolean values (#1145)

* Update resource_mongodbatlas_project.go

* Update resource_mongodbatlas_project.go

* Update resource_mongodbatlas_project.go

---------

Co-authored-by: Zuhair Ahmed <[email protected]>
Co-authored-by: John Williams <[email protected]>
Co-authored-by: zach-carr <[email protected]>
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.

5 participants