From e3f672e0197c2a59cdf63ac79e0b2915ce53ab31 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Fri, 26 Jan 2024 10:09:53 +0100 Subject: [PATCH 1/2] Track 1.2.x branch in CI pipeline --- ci/parameters.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/parameters.yml b/ci/parameters.yml index c35c175a..e5788bce 100644 --- a/ci/parameters.yml +++ b/ci/parameters.yml @@ -2,7 +2,7 @@ github-repo: "https://github.com/spring-projects/spring-graphql.git" github-repo-name: "spring-projects/spring-graphql" docker-hub-organization: "springci" artifactory-server: "https://repo.spring.io" -branch: "main" +branch: "1.2.x" milestone: "1.2.x" build-name: "spring-graphql" pipeline-name: "spring-graphql" From b37a06bf59f1ac32be10fd5e0f06dbebe4f8989e Mon Sep 17 00:00:00 2001 From: Nils Hartmann Date: Tue, 16 Jan 2024 13:57:52 +0100 Subject: [PATCH 2/2] ExecutionGraphQlService instead of GraphqlService See gh-877 --- spring-graphql-docs/modules/ROOT/pages/testing.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-graphql-docs/modules/ROOT/pages/testing.adoc b/spring-graphql-docs/modules/ROOT/pages/testing.adoc index 5a2f00f5..1793d926 100644 --- a/spring-graphql-docs/modules/ROOT/pages/testing.adoc +++ b/spring-graphql-docs/modules/ROOT/pages/testing.adoc @@ -213,7 +213,7 @@ transport. [[testing.graphqlservicetester]] -=== `GraphQlService` +=== `ExecutionGraphQlService` Many times it's enough to test GraphQL requests on the server side, without the use of a client to send requests over a transport protocol. To test directly against a @@ -221,7 +221,7 @@ client to send requests over a transport protocol. To test directly against a [source,java,indent=0,subs="verbatim,quotes"] ---- - GraphQlService service = ... ; + ExecutionGraphQlService service = ... ; ExecutionGraphQlServiceTester tester = ExecutionGraphQlServiceTester.create(service); ---- @@ -233,7 +233,7 @@ transport. [source,java,indent=0,subs="verbatim,quotes"] ---- - GraphQlService service = ... ; + ExecutionGraphQlService service = ... ; ExecutionGraphQlServiceTester tester = ExecutionGraphQlServiceTester.builder(service) .configureExecutionInput((executionInput, builder) -> builder.executionId(id).build()) .build(); @@ -244,7 +244,7 @@ transport. [[testing.webgraphqltester]] === `WebGraphQlHandler` -The xref:testing.adoc#testing.graphqlservicetester[`GraphQlService`] extension lets you test on the server side, without +The xref:testing.adoc#testing.graphqlservicetester[`ExecutionGraphQlService`] extension lets you test on the server side, without a client. However, in some cases it's useful to involve server side transport handling with given mock transport input. @@ -406,7 +406,7 @@ of responses and then use `StepVerifier` from Project Reactor to inspect the str Subscriptions are supported only with xref:testing.adoc#testing.websocketgraphqltester[WebSocketGraphQlTester] , or with the server side -xref:testing.adoc#testing.graphqlservicetester[`GraphQlService`] and xref:testing.adoc#testing.webgraphqltester[`WebGraphQlHandler`] extensions. +xref:testing.adoc#testing.graphqlservicetester[`ExecutionGraphQlService`] and xref:testing.adoc#testing.webgraphqltester[`WebGraphQlHandler`] extensions.