Skip to content

Commit 753fa6c

Browse files
committed
Merge branch 'main' into preparsed-document-provider
# Conflicts: # spring-graphql/src/main/java/org/springframework/graphql/execution/DefaultGraphQlSourceBuilder.java
2 parents ae55a75 + cc3c1d1 commit 753fa6c

File tree

122 files changed

+1642
-5287
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+1642
-5287
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Spring GraphQL [![Build status](https://ci.spring.io/api/v1/teams/spring-graphql/pipelines/spring-graphql/jobs/build/badge)](https://ci.spring.io/teams/spring-graphql/pipelines/spring-graphql)
1+
# Spring for GraphQL [![Build status](https://ci.spring.io/api/v1/teams/spring-graphql/pipelines/spring-graphql/jobs/build/badge)](https://ci.spring.io/teams/spring-graphql/pipelines/spring-graphql)
22

33
[GraphQL](https://graphql.org/) support for Spring applications with [GraphQL Java](https://github.com/graphql-java/graphql-java).
44

@@ -13,7 +13,7 @@ This project has reference documentation ([published](https://docs.spring.io/spr
1313

1414
## Continuous Integration Builds
1515

16-
Information regarding CI builds can be found in the [Spring GraphQL Concourse pipeline](ci/README.adoc) documentation.
16+
Information regarding CI builds can be found in the project's [Concourse pipeline](ci/README.adoc) documentation.
1717

1818
## Stay in Touch
1919

build.gradle

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
3-
id 'org.jetbrains.kotlin.jvm' version '1.6.0' apply false
3+
id 'org.jetbrains.kotlin.jvm' version '1.5.32' apply false
44
}
55

66
ext {
@@ -9,7 +9,7 @@ ext {
99
bootVersion = "2.7.0-SNAPSHOT"
1010
}
1111

12-
description = "Spring GraphQL"
12+
description = "Spring for GraphQL"
1313

1414
subprojects {
1515
apply plugin: 'io.spring.dependency-management'
@@ -63,7 +63,7 @@ configure(moduleProjects) {
6363
mavenBom "org.springframework.data:spring-data-bom:2021.1.0"
6464
mavenBom "org.springframework.security:spring-security-bom:5.6.0"
6565
mavenBom "com.querydsl:querydsl-bom:5.0.0"
66-
mavenBom "org.jetbrains.kotlin:kotlin-bom:1.6.0"
66+
mavenBom "org.jetbrains.kotlin:kotlin-bom:1.5.32"
6767
mavenBom "org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.5.2"
6868
mavenBom "org.junit:junit-bom:5.8.1"
6969
mavenBom "org.testcontainers:testcontainers-bom:1.16.2"
@@ -103,5 +103,11 @@ configure(moduleProjects) {
103103
}
104104
}
105105

106+
ext.javadocLinks = [
107+
"https://docs.oracle.com/javase/8/docs/api/",
108+
"https://docs.spring.io/spring-framework/docs/5.3.x/javadoc-api/",
109+
"https://javadoc.io/doc/com.graphql-java/graphql-java/17.3/"
110+
] as String[]
111+
106112
apply from: "${rootDir}/gradle/publishing.gradle"
107113
}

ci/README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
== Spring GraphQL Concourse pipeline
1+
== Spring for GraphQL Concourse pipeline
22

3-
The Spring GraphQL project is using https://concourse-ci.org/[Concourse] for its CI build and other automated tasks.
3+
The Spring for GraphQL project is using https://concourse-ci.org/[Concourse] for its CI build and other automated tasks.
44
The Spring team has a dedicated Concourse instance available at https://ci.spring.io.
55

66
=== Setting up your development environment
77

8-
If you're part of the Spring GraphQL team on GitHub, you can get access to CI management features.
8+
If you're part of the Spring for GraphQL team on GitHub, you can get access to CI management features.
99
First, you need to go to https://ci.spring.io and install the client CLI for your platform (see bottom right of the screen).
1010

1111
You can then login with the instance using:

ci/images/ci-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:focal-20211006
1+
FROM ubuntu:focal-20220105
22

33
ADD setup.sh /setup.sh
44
ADD get-jdk-url.sh /get-jdk-url.sh

ci/pipeline.yml

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
- "/**/spring-graphql-docs-*.zip"
103103
properties:
104104
"zip.name": "spring-graphql"
105-
"zip.displayname": "Spring GraphQL"
105+
"zip.displayname": "Spring for GraphQL"
106106
"zip.deployed": "false"
107107
"zip.type": "docs"
108108
get_params:
@@ -144,11 +144,48 @@ jobs:
144144
params:
145145
RELEASE_TYPE: M
146146
<<: *artifactory-task-params
147+
- name: stage-rc
148+
serial: true
149+
plan:
150+
- get: ci-image
151+
- get: git-repo
152+
trigger: false
153+
- task: stage
154+
image: ci-image
155+
file: git-repo/ci/tasks/stage-version.yml
156+
params:
157+
RELEASE_TYPE: RC
158+
<<: *gradle-enterprise-task-params
159+
- put: artifactory-repo
160+
params:
161+
<<: *artifactory-params
162+
repo: libs-staging-local
163+
- put: git-repo
164+
params:
165+
repository: stage-git-repo
166+
- name: promote-rc
167+
serial: true
168+
plan:
169+
- get: ci-image
170+
- get: git-repo
171+
trigger: false
172+
- get: artifactory-repo
173+
trigger: false
174+
passed: [stage-rc]
175+
params:
176+
download_artifacts: false
177+
save_build_info: true
178+
- task: promote
179+
image: ci-image
180+
file: git-repo/ci/tasks/promote-version.yml
181+
params:
182+
RELEASE_TYPE: rc
183+
<<: *artifactory-task-params
147184

148185
groups:
149186
- name: "builds"
150187
jobs: ["build"]
151188
- name: "releases"
152-
jobs: [ "stage-milestone", "promote-milestone" ]
189+
jobs: [ "stage-milestone", "promote-milestone", "stage-rc", "promote-rc" ]
153190
- name: "ci-images"
154191
jobs: ["build-ci-images"]

gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ org.gradle.caching=true
44
org.gradle.daemon=true
55
org.gradle.parallel=true
66
org.gradle.jvmargs=-Dfile.encoding=UTF-8
7+
8+
kotlin.stdlib.default.dependency=false

gradle/publishing.gradle

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ plugins.withType(JavaPlugin) {
44
javadoc {
55
description = "Generates project-level javadoc for use in -javadoc jar"
66

7-
options.encoding = "UTF-8"
8-
options.memberLevel = JavadocMemberLevel.PROTECTED
9-
options.author = true
10-
options.header = project.name
11-
options.use = true
12-
options.addStringOption("Xdoclint:none", "-quiet")
7+
options {
8+
encoding = "UTF-8"
9+
memberLevel = JavadocMemberLevel.PROTECTED
10+
author = true
11+
header = project.name
12+
use = true
13+
links = project.ext.javadocLinks
14+
addStringOption("Xdoclint:none", "-quiet")
15+
}
1316

1417
// Suppress warnings due to cross-module @see and @link references.
1518
// Note that global 'api' task does display all warnings.

graphql-spring-boot-starter/build.gradle

Lines changed: 0 additions & 86 deletions
This file was deleted.

graphql-spring-boot-starter/src/main/java/org/springframework/graphql/boot/GraphQlAutoConfiguration.java

Lines changed: 0 additions & 98 deletions
This file was deleted.

0 commit comments

Comments
 (0)