@ContextConfiguration(classes=SkipEndPointsIntegrationTestsWithContextPathWithoutBasePath.TestConfig.class) @TestPropertySource(properties={"management.endpoints.web.exposure.include:*","server.servlet.context-path:/context-path","management.endpoints.web.base-path:/"}) public abstract class SkipEndPointsIntegrationTestsWithContextPathWithoutBasePath extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SkipEndPointsIntegrationTestsWithContextPathWithoutBasePath.TestConfig |
| Constructor and Description |
|---|
SkipEndPointsIntegrationTestsWithContextPathWithoutBasePath() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearSpans() |
void |
should_not_sample_actuator_endpoint_with_base_path_set_to_root_and_parameter() |
void |
should_not_sample_actuator_endpoint_with_base_path_set_to_root() |
void |
should_sample_non_actuator_endpoint_with_context_path_and_health_in_path() |
void |
should_sample_non_actuator_endpoint_with_context_path() |
public SkipEndPointsIntegrationTestsWithContextPathWithoutBasePath()
@BeforeEach @AfterEach public void clearSpans()
@Test public void should_sample_non_actuator_endpoint_with_context_path()
@Test public void should_sample_non_actuator_endpoint_with_context_path_and_health_in_path()
@Test public void should_not_sample_actuator_endpoint_with_base_path_set_to_root()
@Test public void should_not_sample_actuator_endpoint_with_base_path_set_to_root_and_parameter()
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.