Class TestServerAutoConfiguration
- java.lang.Object
-
- io.temporal.spring.boot.autoconfigure.TestServerAutoConfiguration
-
@Configuration @EnableConfigurationProperties(TemporalProperties.class) @ConditionalOnClass(name="io.temporal.testing.TestWorkflowEnvironment") @ConditionalOnProperty(prefix="spring.temporal", name="test-server.enabled", havingValue="true") public class TestServerAutoConfiguration extends java.lang.Object
Provides a client based on `spring.temporal.testServer` section
-
-
Constructor Summary
Constructors Constructor Description TestServerAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestWorkflowEnvironmentAdapter
testTestWorkflowEnvironmentAdapter(io.temporal.testing.TestWorkflowEnvironment testWorkflowEnvironment)
io.temporal.testing.TestWorkflowEnvironment
testWorkflowEnvironment()
-
-
-
Method Detail
-
testTestWorkflowEnvironmentAdapter
@Bean(name="temporalTestWorkflowEnvironmentAdapter") public TestWorkflowEnvironmentAdapter testTestWorkflowEnvironmentAdapter(@Qualifier("temporalTestWorkflowEnvironment") io.temporal.testing.TestWorkflowEnvironment testWorkflowEnvironment)
-
testWorkflowEnvironment
@Bean(name="temporalTestWorkflowEnvironment", destroyMethod="close") public io.temporal.testing.TestWorkflowEnvironment testWorkflowEnvironment()
-
-