Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@
@interface HealthCheckExecutorServletConfiguration {

String SERVLET_PATH_DEFAULT = "/system/health";
String HTTP_SERVICE_CONTEXT_NAME = "org.osgi.service.http";
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

+1


@AttributeDefinition(name = "Servlet Context Name", description = "Servlet Context Name to register the servlet with. If not specified, the default context is used.")
String servletContextName();
@AttributeDefinition(name = "Servlet Context Name", description = "Servlet Context Name to register the servlet with. If not specified, the default context name 'org.osgi.service.http' is used.")
String servletContextName() default HTTP_SERVICE_CONTEXT_NAME;

@AttributeDefinition(name = "Servlet Path", description = "Servlet path (defaults to " + SERVLET_PATH_DEFAULT + ")")
String servletPath() default SERVLET_PATH_DEFAULT;
Expand Down