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

Add instrumentation and tests for Grizzly 2.x Http Server #948

Merged
merged 2 commits into from Aug 16, 2019

Conversation

tylerbenson
Copy link
Contributor

@tylerbenson tylerbenson commented Aug 13, 2019

No description provided.

@tylerbenson tylerbenson requested a review from a team as a code owner August 13, 2019 06:59
@tylerbenson tylerbenson force-pushed the tyler/grizzly branch 2 times, most recently from f81f263 to 4b095a6 Compare August 13, 2019 22:37
Copy link
Contributor

@randomanderson randomanderson left a comment

Choose a reason for hiding this comment

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

I think the server test framework is really showing its value here. The similarity of the tests and instrumentations make it really easy to code review.

Some minor changes requested


@Override
protected String[] instrumentationNames() {
return new String[] {"jersey"};
Copy link
Contributor

Choose a reason for hiding this comment

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

jersey -> grizzly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch.


@Override
protected String component() {
return "jersey";
Copy link
Contributor

Choose a reason for hiding this comment

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

jersey -> grizzly

}

@Path("/")
static class ServiceResource {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's slightly confusing to have the same private class name in a class and superclass. Maybe ServiceResource -> AsyncServiceResource?

@tylerbenson tylerbenson merged commit 473aca7 into master Aug 16, 2019
@tylerbenson tylerbenson deleted the tyler/grizzly branch August 16, 2019 16:07
@tylerbenson tylerbenson added this to the 0.32.0 milestone Aug 20, 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.

None yet

2 participants