-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Implement RFD 19: Event Iteration API #6731
Conversation
@fspmarshall @quinqu @andrejtokarcik You three are the assigned reviewers, can you review? |
d080fe6
to
d084f6b
Compare
95f3b8d
to
88f07de
Compare
558220e
to
14d74f1
Compare
@@ -81,6 +84,10 @@ func (s *DynamoeventsSuite) SetUpTest(c *check.C) { | |||
c.Assert(err, check.IsNil) | |||
} | |||
|
|||
func (s *DynamoeventsSuite) TestPagination(c *check.C) { | |||
s.EventPagination(c) |
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.
Would it be too cumbersome to introduce this as a test based on the testing
module in accordance with our new testing guidelines?
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.
I think it is, in order to not introduce a lot of code duplication and weird logic it only really makes sense if we rewrite all of these suite tests which I'd rather not do in this already gigantic (in terms of delta) PR.
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.
Bot.
What
This PR implements the additional API endpoints described in RFD 19 and modifies event drivers to add this functionality to the various backends.
Details
This adds two additional endpoints onto the gRPC auth service in accordance with RFD 19 and rewrites the backend event drivers to support pagination.
Related Issues
Fixes #5435
Enterprise PR
This PR needs changes to be made to teleport.e. The pair PR is https://github.com/gravitational/teleport.e/pull/257
Other
This PR is based on the branch of #6583 and that PR must be merged before this is reviewed in order for the diff to make sense.
Needs a backport to
branch/v6
after merge.cc @kimlisa