@ContextConfiguration(classes=MultipleHopsIntegrationTests.TestConfig.class) @TestPropertySource(properties={"spring.sleuth.baggage.remote-fields=x-vcap-request-id,country-code,Foo-Id","spring.sleuth.baggage.local-fields=bp","spring.sleuth.integration.enabled=true"}) public abstract class MultipleHopsIntegrationTests extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MultipleHopsIntegrationTests.TestConfig |
| Modifier and Type | Field and Description |
|---|---|
protected DemoApplication |
application |
protected static String |
BUSINESS_PROCESS |
protected static String |
CASE_INSENSITIVE_ID |
protected static String |
COUNTRY_CODE |
protected static String |
NOT_PROPAGATED_HEADER |
protected static String |
REQUEST_ID |
protected TestSpanHandler |
spans |
| Constructor and Description |
|---|
MultipleHopsIntegrationTests() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertBaggage(org.springframework.cloud.sleuth.Span initialSpan) |
protected void |
assertSpanNames() |
void |
setup() |
void |
should_prepare_spans_for_export() |
void |
should_propagate_the_baggage() |
protected static final String REQUEST_ID
protected static final String BUSINESS_PROCESS
protected static final String COUNTRY_CODE
protected static final String CASE_INSENSITIVE_ID
protected static final String NOT_PROPAGATED_HEADER
@Autowired protected TestSpanHandler spans
@Autowired protected DemoApplication application
@BeforeEach public void setup()
@Test public void should_prepare_spans_for_export()
protected void assertSpanNames()
@Test public void should_propagate_the_baggage()
protected void assertBaggage(org.springframework.cloud.sleuth.Span initialSpan)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.