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

[FE-6155] - Support --database in database commands #454

Merged
merged 10 commits into from
Dec 4, 2024
Merged

[FE-6155] - Support --database in database commands #454

merged 10 commits into from
Dec 4, 2024

Conversation

henryfauna
Copy link
Contributor

@henryfauna henryfauna commented Dec 3, 2024

Ticket(s): FE-6155

Problem

The database create and database delete commands do not support specifying a target database using --database.

Solution

Update the commands to support this flag by using the getSecret helper. Ensure bad creds are only retried/refreshed if we are not using a user provided secret. Some validation was also included to check that at least one of these flags is provided.

Result

The --database flag is supported by database create and database delete.

Testing

Added tests to cover the usage of --database.

@henryfauna henryfauna requested a review from a team as a code owner December 3, 2024 21:11
@henryfauna henryfauna marked this pull request as draft December 3, 2024 21:11
@henryfauna henryfauna marked this pull request as ready for review December 4, 2024 17:39
@henryfauna henryfauna merged commit 1e6a2ea into v3 Dec 4, 2024
4 checks passed
@henryfauna henryfauna deleted the FE-6155 branch December 4, 2024 19:26
@cleve-fauna cleve-fauna mentioned this pull request Dec 5, 2024
This was referenced Dec 6, 2024
@cleve-fauna cleve-fauna mentioned this pull request Dec 13, 2024
@wildemat wildemat mentioned this pull request Dec 18, 2024
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