Skip to content

openstack/db: add Trove backup strategy APIs#3811

Open
stias wants to merge 1 commit into
gophercloud:mainfrom
stias:feature/trove-db-backup-strategies
Open

openstack/db: add Trove backup strategy APIs#3811
stias wants to merge 1 commit into
gophercloud:mainfrom
stias:feature/trove-db-backup-strategies

Conversation

@stias

@stias stias commented Jun 20, 2026

Copy link
Copy Markdown

For #3809

Split out from #3767.

Links to the line numbers/files in the OpenStack source code that support the
code in this PR:

@github-actions github-actions Bot added the edit:db This PR updates db code label Jun 20, 2026
@github-actions github-actions Bot added semver:minor Backwards-compatible change backport-v2 This PR will be backported to v2 labels Jun 29, 2026
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 63.545%. remained the same — stias:feature/trove-db-backup-strategies into gophercloud:main

r.Err = err
return
}
resp, err := client.Post(ctx, baseURL(client), &b, &r.Body, &gophercloud.RequestOpts{OkCodes: []int{200}})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

According to the docs, we should expect a 202 on success.


// DeleteOpts represents options for deleting backup strategies.
type DeleteOpts struct {
// Delete the strategy for a particular database instance.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perhaps we should call out that by default, it deletes all strategies within a project if you don't specify an instance id?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v2 This PR will be backported to v2 edit:db This PR updates db code semver:minor Backwards-compatible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants