File tree Expand file tree Collapse file tree 14 files changed +21
-604
lines changed
src/test/java/io/spring/sample/graphql
src/test/java/io/spring/sample/graphql
src/test/java/io/spring/sample/graphql
src/test/java/io/spring/sample/graphql
spring-graphql-docs/src/docs/asciidoc Expand file tree Collapse file tree 14 files changed +21
-604
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ plugins {
55
66ext {
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
1212description = " Spring GraphQL"
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ plugins {
33 id ' java'
44}
55group = ' com.example'
6- version = ' 0.0.1-SNAPSHOT'
76description = " GraphQL webflux security example"
87sourceCompatibility = ' 1.8'
98
9+ ext[' spring-graphql.version' ] = version
10+
1011dependencies {
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'
Original file line number Diff line number Diff line change 1818import org .junit .jupiter .api .Test ;
1919
2020import 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 ;
2222import org .springframework .boot .test .context .SpringBootTest ;
23- import org .springframework .graphql .boot .test .tester .AutoConfigureWebGraphQlTester ;
2423import org .springframework .graphql .execution .ErrorType ;
2524import org .springframework .graphql .test .tester .WebGraphQlTester ;
2625
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ plugins {
33 id ' java'
44}
55group = ' com.example'
6- version = ' 0.0.1-SNAPSHOT'
76description = " GraphQL over WebSocket With Spring WebFlux Sample"
87sourceCompatibility = ' 1.8'
98
9+ ext[' spring-graphql.version' ] = version
10+
1011dependencies {
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'
Original file line number Diff line number Diff line change 2020import org .junit .jupiter .api .Test ;
2121
2222import org .springframework .beans .factory .annotation .Autowired ;
23+ import org .springframework .boot .test .autoconfigure .graphql .GraphQlTest ;
2324import org .springframework .context .annotation .Import ;
2425import org .springframework .graphql .GraphQlService ;
25- import org .springframework .graphql .boot .test .GraphQlTest ;
2626import org .springframework .graphql .test .tester .GraphQlTester ;
2727
2828/**
Original file line number Diff line number Diff line change 2222import reactor .test .StepVerifier ;
2323
2424import org .springframework .beans .factory .annotation .Autowired ;
25+ import org .springframework .boot .test .autoconfigure .graphql .GraphQlTest ;
2526import org .springframework .context .annotation .Import ;
2627import org .springframework .graphql .GraphQlService ;
27- import org .springframework .graphql .boot .test .GraphQlTest ;
2828import org .springframework .graphql .test .tester .GraphQlTester ;
2929
3030/**
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ plugins {
33 id ' java'
44}
55group = ' com.example'
6- version = ' 0.0.1-SNAPSHOT'
76description = " Secure GraphQL over HTTP with Spring MVC Sample"
87sourceCompatibility = ' 1.8'
98
9+ ext[' spring-graphql.version' ] = version
10+
1011dependencies {
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'
Original file line number Diff line number Diff line change 33import org .junit .jupiter .api .Test ;
44
55import org .springframework .beans .factory .annotation .Autowired ;
6+ import org .springframework .boot .test .autoconfigure .graphql .tester .AutoConfigureWebGraphQlTester ;
67import org .springframework .boot .test .context .SpringBootTest ;
7- import org .springframework .graphql .boot .test .tester .AutoConfigureWebGraphQlTester ;
88import org .springframework .graphql .execution .ErrorType ;
99import org .springframework .graphql .test .tester .WebGraphQlTester ;
1010
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ plugins {
33 id ' java'
44}
55group = ' com.example'
6- version = ' 0.0.1-SNAPSHOT'
76description = " GraphQL over HTTP with Spring MVC Sample"
87sourceCompatibility = ' 1.8'
98
9+ ext[' spring-graphql.version' ] = version
10+
1011dependencies {
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'
Original file line number Diff line number Diff line change 2121import org .junit .jupiter .api .Test ;
2222
2323import org .springframework .beans .factory .annotation .Autowired ;
24+ import org .springframework .boot .test .autoconfigure .graphql .GraphQlTest ;
2425import org .springframework .boot .test .mock .mockito .MockBean ;
25- import org .springframework .graphql .boot .test .GraphQlTest ;
2626import org .springframework .graphql .test .tester .GraphQlTester ;
2727
2828import static org .assertj .core .api .Assertions .assertThat ;
You can’t perform that action at this time.
0 commit comments