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

Allow filtering by event type #1367

Merged
merged 19 commits into from Jun 4, 2020
Merged

Allow filtering by event type #1367

merged 19 commits into from Jun 4, 2020

Conversation

trajano
Copy link
Contributor

@trajano trajano commented Apr 16, 2020

Since there's additional event types in the spec that were added in #1366 this allows filtering of the events being streamed.

This also adds the filter to the EventCmd

@trajano
Copy link
Contributor Author

trajano commented Apr 17, 2020

This seems to be failing in Netty https://travis-ci.com/github/docker-java/docker-java/jobs/320226609

@bsideup
Copy link
Member

bsideup commented May 23, 2020

@trajano please sync with the latest master

bsideup and others added 6 commits May 24, 2020 10:30
…d/EventsCmd.java

Co-authored-by: Sergei Egorov <bsideup@gmail.com>
…d/EventsCmd.java

Co-authored-by: Sergei Egorov <bsideup@gmail.com>
…/FiltersBuilder.java

Co-authored-by: Sergei Egorov <bsideup@gmail.com>
…/FiltersBuilder.java

Co-authored-by: Sergei Egorov <bsideup@gmail.com>
@bsideup
Copy link
Member

bsideup commented May 25, 2020

@trajano sorry, it seems that I closed my tab with "please add tests" comment without sending it 😅
Could you, please?

@trajano
Copy link
Contributor Author

trajano commented May 25, 2020

I think that's beyond my knowledge of the code base to do that. But feel free to take over from here.

@bsideup
Copy link
Member

bsideup commented May 25, 2020

@trajano just have a look at EventsCmdIT, you can basically copy EventsCmdIT#testEventStreamingWithFilter :)

@bsideup
Copy link
Member

bsideup commented Jun 4, 2020

@trajano looks good! Will merge once CI is green 👍

@bsideup bsideup added this to the next milestone Jun 4, 2020
@bsideup bsideup merged commit c285fe5 into docker-java:master Jun 4, 2020
@trajano trajano deleted the patch-2 branch June 4, 2020 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants