-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
services/logs: Add ListLogGroups operation #13337
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
localstack-bot
left a comment
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.
Welcome to LocalStack! Thanks for raising your first Pull Request and landing in your contributions. Our team will reach out with any reviews or feedbacks that we have shortly. We recommend joining our Slack Community and share your PR on the #community channel to share your contributions with us. Please make sure you are following our contributing guidelines and our Code of Conduct.
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
recheck |
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 53m 42s ⏱️ - 1h 7m 59s Results for commit 33adde2. ± Comparison against base commit 3262ccd. This pull request removes 2808 tests.♻️ This comment has been updated with latest results. |
Test Results (amd64) - Integration, Bootstrap 5 files ± 0 5 suites ±0 1h 16m 50s ⏱️ - 1h 21m 27s Results for commit 33adde2. ± Comparison against base commit 3262ccd. This pull request removes 3158 tests.♻️ This comment has been updated with latest results. |
f17706f to
0fc8d0b
Compare
|
Removed test of the unfiltered list of log groups, since that (somewhat unsurprisingly) includes unrelated log groups. |
0fc8d0b to
7a413f2
Compare
7df1ef3 to
69e03e7
Compare
This operation was flagged as missing in parity tests.
69e03e7 to
33adde2
Compare
|
Well the AWS snapshots have been updated and the snapshot tests run nicely for me now. Some small typing improvements have also been made, to fix some nits from |
pinzon
left a comment
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.
LGTM. Thanks for also enhancing the code by fixing the typing.
|
Thanks @pinzon! 🤝 |
Motivation
This was one operation flagged as missing in our parity reports, and seemed like an easy fix.
Changes
Added a simple implementation, along the lines of that for
DescribeLogGroups. Note that both operations ignore the optional parametersaccountIdentifiersandincludeLinkedAccounts.Additionally, Moto does not seem to have a representation oflogGroupClass, so I have opted to leave that blank: it might be preferable to always return "STANDARD", as captured in the snapshot, but I'm unsure what's best.Tests
Added snapshot tests alongside those for
DescribeLogGroups.