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

improvement(cli): more detailed logging in cloud secret commands #6065

Merged
merged 8 commits into from
May 22, 2024

Conversation

vvagaytsev
Copy link
Collaborator

@vvagaytsev vvagaytsev commented May 22, 2024

What this PR does / why we need it:

Improved logging and more refactoring in garden cloud secrets ... commands.

Predecessor for fixing #6048.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Based of #6064.
See individual commits for the details.

@vvagaytsev vvagaytsev requested a review from twelvemo May 22, 2024 12:00
@vvagaytsev vvagaytsev enabled auto-merge May 22, 2024 12:23
Copy link
Collaborator

@twelvemo twelvemo left a comment

Choose a reason for hiding this comment

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

Nice! This improves the UX around these commands quite a bit!

@vvagaytsev vvagaytsev added this pull request to the merge queue May 22, 2024
Merged via the queue into main with commit 20742f4 May 22, 2024
40 checks passed
@vvagaytsev vvagaytsev deleted the improvement/logging-in-cloud-secret-commands branch May 22, 2024 12:51
vvagaytsev added a commit that referenced this pull request May 23, 2024
It was already addressed in #6065
github-merge-queue bot pushed a commit that referenced this pull request May 24, 2024
* refactor: add api method for secret creation

* refactor: add helper method for bulk secret creation

* refactor: introduce request object for bulk secrets creation

* refactor: introduce interface for secret object

* refactor: re-use helper for bulk secret creation

* refactor: rename some arguments

* chore: use sets instead of arrays for faster lookup

* fix: fix bug introduced in 9336aaa

* test: fix test assertion

* fix: fix another bug introduced in 9336aaa

* chore: remove unnecessary log line

Detailed messages are printed in the loop below.

* refactor: rename type alias

* refactor: avoid unnecessary data conversion

* refactor: add api method for secret update

* refactor: introduce request object for bulk secrets update

* chore: update todo-comment

* refactor: introduce named type

* refactor: build secrets requests in a dedicated function

* refactor: extract named interface

* chore: remove outdated comment

It was already addressed in #6065
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.

2 participants