Move auto-configuration classes to Spring Boot namespace
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
package org.springframework.graphql.servlet;
|
||||
package org.springframework.boot.graphql.servlet;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
|
||||
import org.springframework.graphql.servlet.components.GraphQLController;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.graphql.servlet.components.GraphQLController;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@NonNullApi
|
||||
@NonNullFields
|
||||
package org.springframework.graphql.reactive;
|
||||
package org.springframework.boot.graphql.servlet;
|
||||
|
||||
import org.springframework.lang.NonNullApi;
|
||||
import org.springframework.lang.NonNullFields;
|
||||
@@ -1,2 +1,2 @@
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
org.springframework.graphql.servlet.GraphQLEndpointConfiguration
|
||||
org.springframework.boot.graphql.servlet.GraphQLEndpointConfiguration
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.graphql.servlet;
|
||||
package org.springframework.boot.graphql.servlet;
|
||||
|
||||
import graphql.ExecutionInput;
|
||||
import graphql.ExecutionResultImpl;
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.graphql.reactive;
|
||||
package org.springframework.boot.graphql.servlet;
|
||||
|
||||
import graphql.GraphQL;
|
||||
import org.mockito.Mockito;
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.graphql.reactive;
|
||||
package org.springframework.boot.graphql.reactive;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
|
||||
@@ -1,6 +1,6 @@
|
||||
@NonNullApi
|
||||
@NonNullFields
|
||||
package org.springframework.graphql.servlet;
|
||||
package org.springframework.boot.graphql.reactive;
|
||||
|
||||
import org.springframework.lang.NonNullApi;
|
||||
import org.springframework.lang.NonNullFields;
|
||||
@@ -1,2 +1,2 @@
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
org.springframework.graphql.reactive.GraphQLEndpointConfiguration
|
||||
org.springframework.boot.graphql.reactive.GraphQLEndpointConfiguration
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.graphql.reactive;
|
||||
package org.springframework.boot.graphql.reactive;
|
||||
|
||||
import graphql.ExecutionInput;
|
||||
import graphql.ExecutionResultImpl;
|
||||
@@ -50,7 +50,7 @@ public class IntegrationTest {
|
||||
this.webClient.post().uri("/graphql").body(BodyInserters.fromValue(body)).exchange().expectStatus().isOk()
|
||||
.expectBody(Map.class).isEqualTo(expectedResult);
|
||||
|
||||
assertThat(captor.getValue().getQuery()).isEqualTo(query);
|
||||
Assertions.assertThat(captor.getValue().getQuery()).isEqualTo(query);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.graphql.servlet;
|
||||
package org.springframework.boot.graphql.reactive;
|
||||
|
||||
import graphql.GraphQL;
|
||||
import org.mockito.Mockito;
|
||||
Reference in New Issue
Block a user