@Configuration
@ConditionalOnWebApplication
@ConditionalOnProperty(value="graphql.servlet.enabled",
havingValue="true",
matchIfMissing=true)
public class GraphQLTestAutoConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
GraphQLTestAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
com.graphql.spring.boot.test.GraphQLTestSubscription |
graphQLTestSubscription(org.springframework.core.env.Environment environment,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
java.lang.String subscriptionPath) |
com.graphql.spring.boot.test.GraphQLTestTemplate |
graphQLTestUtils(org.springframework.core.io.ResourceLoader resourceLoader,
org.springframework.boot.test.web.client.TestRestTemplate restTemplate,
java.lang.String graphqlMapping,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
@Bean
@ConditionalOnMissingBean
public com.graphql.spring.boot.test.GraphQLTestTemplate graphQLTestUtils(org.springframework.core.io.ResourceLoader resourceLoader,
org.springframework.boot.test.web.client.TestRestTemplate restTemplate,
@Value(value="${graphql.servlet.mapping:/graphql}")
java.lang.String graphqlMapping,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@Bean
@ConditionalOnMissingBean
public com.graphql.spring.boot.test.GraphQLTestSubscription graphQLTestSubscription(org.springframework.core.env.Environment environment,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
@Value(value="${graphql.servlet.subscriptions.websocket.path:subscriptions}")
java.lang.String subscriptionPath)