Skip to content

Conversation

Spikhalskiy
Copy link
Contributor

What

Sprint Boot TestWorkflowEnvironment now respects configured MetricsRegistry, Tracer, DataConverter

Why

Closes #1463

Comment on lines +36 to +38
@AutoConfigureAfter(
name =
"org.springframework.boot.actuate.autoconfigure.metrics.CompositeMeterRegistryAutoConfiguration")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
@AutoConfigureAfter(
name =
"org.springframework.boot.actuate.autoconfigure.metrics.CompositeMeterRegistryAutoConfiguration")
@AutoConfigureAfter(CompositeMeterRegistryAutoConfiguration.class)

Or do we not want to import and static init that class here?

Copy link
Contributor Author

@Spikhalskiy Spikhalskiy Jan 26, 2023

Choose a reason for hiding this comment

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

We don't know if the class will be even present in the classpath here.

@Spikhalskiy Spikhalskiy merged commit ae021c5 into temporalio:master Jan 26, 2023
@Spikhalskiy Spikhalskiy deleted the issue-1463 branch February 15, 2023 19:12
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.

Spring Boot - auto configured TestWorkflowEnvironment not registering data converter

2 participants