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

Improve status command output and improve error handling #5694

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

hallipr
Copy link
Member

@hallipr hallipr commented Mar 13, 2023

Move schema into the tool folder

Greatly improve status command output

Fix exception handling in Key Vault stores

  • Key Vault 404 exception messages are very long, causing overly verbose console output when a secret is missing

- Move schema into the tool folder
- Greatly improve status command output
- Fix exception handling in Key Vault stores
@hallipr hallipr requested a review from a team as a code owner March 13, 2023 17:58
Copy link
Member

@weshaggard weshaggard left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me.

@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/azure/azure-sdk-tools/main/schemas/secretrotation/1.0.0/schema.json",
"$schema": "https://raw.githubusercontent.com/azure/azure-sdk-tools/main/tools/secret-rotation/schema/1.0.0/plan.json",
Copy link
Member

Choose a reason for hiding this comment

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

Is this the new desired pattern for schemas?

Copy link
Member Author

Choose a reason for hiding this comment

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

Moving the schema to the tool folder was requested.

Copy link
Member

Choose a reason for hiding this comment

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

Yes I wanted to keep the root of the tools repo clean and keep these scoped under the tool that uses them.

@hallipr hallipr merged commit 47ae949 into main Mar 21, 2023
@hallipr hallipr deleted the users/pahallis/status-command branch March 21, 2023 21:17
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