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

Support admin port in openapi #999

Merged
merged 6 commits into from
Sep 10, 2019
Merged

Support admin port in openapi #999

merged 6 commits into from
Sep 10, 2019

Conversation

tjquinno
Copy link
Member

@tjquinno tjquinno commented Sep 6, 2019

Fixes #893

This PR refactors the nearly-duplicate logic in the metrics and health MP services into a new interface and references it from those services and from OpenAPI.

@tjquinno tjquinno self-assigned this Sep 6, 2019
@tjquinno tjquinno added this to the 1.3 milestone Sep 6, 2019
romain-grecourt
romain-grecourt previously approved these changes Sep 7, 2019
…lass; rename the factory methods to create... instead of new...; change the accessor method names for clarity
Copy link
Member

@tomas-langer tomas-langer left a comment

Choose a reason for hiding this comment

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

Except for the formatting LGTM.

ConfigValue<String> routingNameConfig = metricsConfig.get("routing").asString();
Routing.Builder defaultRouting = serviceContext.serverRoutingBuilder();
RoutingBuilders routingBuilders = RoutingBuilders.create(
serviceContext, metricsConfig);
Copy link
Member

Choose a reason for hiding this comment

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

Strange formatting - this should be on the same line

@tjquinno tjquinno merged commit ec20c0d into helidon-io:master Sep 10, 2019
@tjquinno tjquinno deleted the support-admin-port-in-openapi branch September 24, 2019 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

MP OpenAPI should support "admin" port
3 participants