[BE] Default version for Create DB cluster
General
Escalation
General
Escalation
Description
How to test
None
How to document
None
is cloned by
Smart Checklist
Activity
Show:
Done
Details
Details
Assignee
Unassigned
UnassignedReporter

Priority
Components
Needs QA
Yes
Needs Doc
Yes
Fix versions
Story Points
0.5
Sprint
None
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created January 20, 2021 at 3:57 PM
Updated March 6, 2024 at 3:19 AM
Resolved May 12, 2021 at 1:06 PM
User story:
When I Manage the list of versions available to be used in the DB Creation process I need to be able to select the default versions
UI/UX:
TBD
Acceptance criteria
user able to see the recommended version from percona
the recommended version is default by default
User able to redefine the default
When the new recommended version arrived the default is not changed if it was specified manually
When the new recommended version arrived the default changed to it if a user didn't specify a different version already as the default
Out of scope:
TBD
Suggested implementation:
**Reuse dependency graph endpoint implemented in https://jira.percona.com/browse/PMM-7485.
This endpoint should include boolean field `default` as part of service info.
Store default version per kubernetes cluster.
Create new endpoint for each DB type.
Questionable things:
if default version is not set in pmm-managed settings yet set default: true next to recommended service in response. ?
if default version is not present in version service response, use recommended service as default
How to test:
Open DBaaS page
Select Kubernetes cluster
Open version management modal
Check that you see all DB versions
Check that you see recommended DB version
Check that you see latest recommended version as default version
Select default DB version
Save changes
Refresh the page
Check that default version is set
Details:
TBD
Questions:
What if default version is not present for some kubernetes clusters? - Use the recommended version