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

Support DBaaS V2.0 #633

Merged

Conversation

ezilber-akamai
Copy link
Contributor

@ezilber-akamai ezilber-akamai commented Nov 25, 2024

📝 Description

Implemented changes required to support DBaaS V2

✔️ How to Test

These steps assume you have pulled down this PR locally.

Integration

make ARGS="-timeout 0 -run TestDatabase" fixtures

NOTE: This will run all DB-related integration tests and will take a long time to run. It took 1 hour 11 minutes to pass for me but can potentially take longer.

@ezilber-akamai ezilber-akamai force-pushed the TPT-3298-support-dbaas-v2 branch from d7f6e19 to 3ea327d Compare November 25, 2024 20:06
databases.go Outdated Show resolved Hide resolved
databases.go Outdated Show resolved Hide resolved
postgres.go Outdated Show resolved Hide resolved
databases.go Outdated Show resolved Hide resolved
@ezilber-akamai ezilber-akamai force-pushed the TPT-3298-support-dbaas-v2 branch from 8acd7eb to e94d2a4 Compare December 20, 2024 16:36
@ezilber-akamai ezilber-akamai marked this pull request as ready for review December 20, 2024 17:33
@ezilber-akamai ezilber-akamai requested a review from a team as a code owner December 20, 2024 17:33
@ezilber-akamai ezilber-akamai requested review from jriddle-linode, zliang-akamai and lgarber-akamai and removed request for a team December 20, 2024 17:33
@ezilber-akamai ezilber-akamai added the improvement for improvements in existing functionality in the changelog. label Dec 20, 2024
databases.go Outdated Show resolved Hide resolved
mysql.go Outdated Show resolved Hide resolved
Version string `json:"version"`
ClusterSize int `json:"cluster_size"`
Platform DatabasePlatform `json:"platform"`

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like the Port attribute is missing here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is a separate ticket to add this field along with several other missing fields across the DBaaS structs. Do you think I should add them all as a part of this PR?

Copy link
Contributor

@lgarber-akamai lgarber-akamai left a comment

Choose a reason for hiding this comment

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

Works well in my Terraform usage, excellent work!

Copy link
Member

@zliang-akamai zliang-akamai 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 to me!

@ezilber-akamai ezilber-akamai merged commit 9633762 into linode:main Jan 7, 2025
10 checks passed
@yec-akamai yec-akamai added new-feature for new features in the changelog. and removed improvement for improvements in existing functionality in the changelog. labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature for new features in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants