-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(cloud): helpers to create and update secrets (#6068)
* 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
- Loading branch information
1 parent
7c60c6b
commit 11059b7
Showing
8 changed files
with
250 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.