-
Notifications
You must be signed in to change notification settings - Fork 737
feat(cwl): Initialize TailLogGroup command with Wizard #5722
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
Conversation
|
This pull request implements a feature or fix, so it must include a changelog entry. See CONTRIBUTING.md#changelog for instructions. |
packages/core/src/awsService/cloudWatchLogs/commands/tailLogGroup.ts
Outdated
Show resolved
Hide resolved
packages/core/src/awsService/cloudWatchLogs/commands/tailLogGroup.ts
Outdated
Show resolved
Hide resolved
packages/core/src/awsService/cloudWatchLogs/liveTailLogStreamSubmenu.ts
Outdated
Show resolved
Hide resolved
packages/core/src/awsService/cloudWatchLogs/liveTailLogStreamSubmenu.ts
Outdated
Show resolved
Hide resolved
packages/core/src/awsService/cloudWatchLogs/liveTailLogStreamSubmenu.ts
Outdated
Show resolved
Hide resolved
packages/core/src/awsService/cloudWatchLogs/liveTailLogStreamSubmenu.ts
Outdated
Show resolved
Hide resolved
packages/core/src/test/awsService/cloudWatchLogs/commands/tailLogGroup.test.ts
Show resolved
Hide resolved
| }) | ||
| } | ||
|
|
||
| public validateLogStreamPrefix(prefix: string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this have a specific test or do you think its covered by the existing tests you wrote?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be covered via the existing tests
CWL is planning on supporting a LiveTail experience in AWSToolkit for VSCode Registers `aws.cwl.tailLogGroup` as a recognized command in AWS Toolkit. In this PR, running this command will simply take the user through a Wizard to collect the configuration for the tailing session, and logs it. In follow up PRs, I will take this Wizard input and use it to call CWL APIs and output streamed LogEvents to a TextDocument. This command will be able to be executed in the command pallet, or by pressing a "play button" icon when viewing LogGroups in the CloudWatch Logs explorer menu.
Problem
CWL is planning on supporting a LiveTail experience in AWSToolkit for VSCode
Solution
Registers
aws.cwl.tailLogGroupas a recognized command in AWS Toolkit.In this PR, running this command will simply take the user through a Wizard to collect the configuration for the tailing session, and logs it.
In follow up PRs, I will take this Wizard input and use it to call CWL APIs and output streamed LogEvents to a TextDocument.
This command will be able to be executed in the command pallet, or by pressing a "play button" icon when viewing LogGroups in the CloudWatch Logs explorer menu.
License: I confirm that my contribution is made under the terms of the Apache 2.0 license.