Skip to content

Commit a15fd29

Browse files
committed
Remove Spring Boot Experimental Starter
The Experimental Spring Boot Starter for Spring GraphQL has been moved to Spring Boot and will be released with Spring Boot 2.7.0. Closes gh-207
1 parent 2ded746 commit a15fd29

File tree

14 files changed

+21
-604
lines changed

14 files changed

+21
-604
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ plugins {
55

66
ext {
77
moduleProjects = [project(":spring-graphql"), project(":spring-graphql-test")]
8-
bootVersion = "2.6.0"
98
graphQlJavaVersion = "17.3"
9+
bootVersion = "2.7.0-SNAPSHOT"
1010
}
1111

1212
description = "Spring GraphQL"

samples/webflux-security/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ plugins {
33
id 'java'
44
}
55
group = 'com.example'
6-
version = '0.0.1-SNAPSHOT'
76
description = "GraphQL webflux security example"
87
sourceCompatibility = '1.8'
98

9+
ext['spring-graphql.version'] = version
10+
1011
dependencies {
11-
implementation project(':graphql-spring-boot-starter')
12+
implementation 'org.springframework.boot:spring-boot-starter-graphql'
1213
implementation 'org.springframework.boot:spring-boot-starter-webflux'
1314
implementation 'org.springframework.boot:spring-boot-starter-security'
1415
implementation 'org.springframework.boot:spring-boot-starter-actuator'

samples/webflux-security/src/test/java/io/spring/sample/graphql/SampleApplicationTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@
1818
import org.junit.jupiter.api.Test;
1919

2020
import org.springframework.beans.factory.annotation.Autowired;
21-
import org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient;
21+
import org.springframework.boot.test.autoconfigure.graphql.tester.AutoConfigureWebGraphQlTester;
2222
import org.springframework.boot.test.context.SpringBootTest;
23-
import org.springframework.graphql.boot.test.tester.AutoConfigureWebGraphQlTester;
2423
import org.springframework.graphql.execution.ErrorType;
2524
import org.springframework.graphql.test.tester.WebGraphQlTester;
2625

samples/webflux-websocket/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ plugins {
33
id 'java'
44
}
55
group = 'com.example'
6-
version = '0.0.1-SNAPSHOT'
76
description = "GraphQL over WebSocket With Spring WebFlux Sample"
87
sourceCompatibility = '1.8'
98

9+
ext['spring-graphql.version'] = version
10+
1011
dependencies {
11-
implementation project(':graphql-spring-boot-starter')
12+
implementation 'org.springframework.boot:spring-boot-starter-graphql'
1213
implementation 'org.springframework.boot:spring-boot-starter-webflux'
1314
implementation 'org.springframework.boot:spring-boot-starter-actuator'
1415
developmentOnly 'org.springframework.boot:spring-boot-devtools'

samples/webflux-websocket/src/test/java/io/spring/sample/graphql/QueryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
import org.junit.jupiter.api.Test;
2121

2222
import org.springframework.beans.factory.annotation.Autowired;
23+
import org.springframework.boot.test.autoconfigure.graphql.GraphQlTest;
2324
import org.springframework.context.annotation.Import;
2425
import org.springframework.graphql.GraphQlService;
25-
import org.springframework.graphql.boot.test.GraphQlTest;
2626
import org.springframework.graphql.test.tester.GraphQlTester;
2727

2828
/**

samples/webflux-websocket/src/test/java/io/spring/sample/graphql/SubscriptionTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
import reactor.test.StepVerifier;
2323

2424
import org.springframework.beans.factory.annotation.Autowired;
25+
import org.springframework.boot.test.autoconfigure.graphql.GraphQlTest;
2526
import org.springframework.context.annotation.Import;
2627
import org.springframework.graphql.GraphQlService;
27-
import org.springframework.graphql.boot.test.GraphQlTest;
2828
import org.springframework.graphql.test.tester.GraphQlTester;
2929

3030
/**

samples/webmvc-http-security/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ plugins {
33
id 'java'
44
}
55
group = 'com.example'
6-
version = '0.0.1-SNAPSHOT'
76
description = "Secure GraphQL over HTTP with Spring MVC Sample"
87
sourceCompatibility = '1.8'
98

9+
ext['spring-graphql.version'] = version
10+
1011
dependencies {
11-
implementation project(':graphql-spring-boot-starter')
12+
implementation 'org.springframework.boot:spring-boot-starter-graphql'
1213
implementation 'org.springframework.boot:spring-boot-starter-web'
1314
implementation 'org.springframework.boot:spring-boot-starter-security'
1415
implementation 'org.springframework.boot:spring-boot-starter-actuator'

samples/webmvc-http-security/src/test/java/io/spring/sample/graphql/SampleApplicationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import org.junit.jupiter.api.Test;
44

55
import org.springframework.beans.factory.annotation.Autowired;
6+
import org.springframework.boot.test.autoconfigure.graphql.tester.AutoConfigureWebGraphQlTester;
67
import org.springframework.boot.test.context.SpringBootTest;
7-
import org.springframework.graphql.boot.test.tester.AutoConfigureWebGraphQlTester;
88
import org.springframework.graphql.execution.ErrorType;
99
import org.springframework.graphql.test.tester.WebGraphQlTester;
1010

samples/webmvc-http/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ plugins {
33
id 'java'
44
}
55
group = 'com.example'
6-
version = '0.0.1-SNAPSHOT'
76
description = "GraphQL over HTTP with Spring MVC Sample"
87
sourceCompatibility = '1.8'
98

9+
ext['spring-graphql.version'] = version
10+
1011
dependencies {
11-
implementation project(':graphql-spring-boot-starter')
12+
implementation 'org.springframework.boot:spring-boot-starter-graphql'
1213
implementation 'org.springframework.boot:spring-boot-starter-web'
1314
implementation 'org.springframework.boot:spring-boot-starter-hateoas'
1415
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'

samples/webmvc-http/src/test/java/io/spring/sample/graphql/project/ProjectControllerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
import org.junit.jupiter.api.Test;
2222

2323
import org.springframework.beans.factory.annotation.Autowired;
24+
import org.springframework.boot.test.autoconfigure.graphql.GraphQlTest;
2425
import org.springframework.boot.test.mock.mockito.MockBean;
25-
import org.springframework.graphql.boot.test.GraphQlTest;
2626
import org.springframework.graphql.test.tester.GraphQlTester;
2727

2828
import static org.assertj.core.api.Assertions.assertThat;

0 commit comments

Comments
 (0)