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

Make admin interfaces streamable #474

Merged
merged 2 commits into from
Oct 10, 2019
Merged

Conversation

taer
Copy link
Contributor

@taer taer commented Oct 8, 2019

This should allow plugins to stream requests larger than 1M

@taer taer marked this pull request as ready for review October 8, 2019 22:37
/**
* Simple Http Router.
*/
public class AdminHttpRouter implements HttpHandler {
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @taer Thank you for doing this! Very useful. But one comment.

Please move this class to styx-proxy module. This class is called AdminHttpRouter, and you are adding it to the styx-server module which doesn't have an admin interface. The admin interface is in the styx-proxy. Therefore it should live in the proxy module. But otherwise it good to go :-D.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done. I think the test failure is a timeout based test

- Converted to Kotlin since I saw this was an option now here.
@mikkokar mikkokar merged commit f5ce5fb into ExpediaGroup:master Oct 10, 2019
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.

2 participants