Skip to content

Commit a3075a6

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 12055b0 + 771de63 commit a3075a6

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

.github/workflows/pull-request.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: [ ubuntu-latest, macos-latest, windows-latest ]
20-
java: [ 17 ]
20+
java: [ 17, 19 ]
2121
needs: validation
2222
runs-on: ${{ matrix.os }}
2323
steps:
@@ -60,12 +60,12 @@ jobs:
6060
if: env.SONAR_TOKEN != null
6161
with:
6262
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
63-
- name: Set up JDK 11
63+
- name: Set up JDK 17
6464
if: env.SONAR_TOKEN != null
6565
uses: actions/setup-java@v3
6666
with:
6767
distribution: 'zulu'
68-
java-version: 11
68+
java-version: 17
6969
- name: Cache SonarCloud packages
7070
if: env.SONAR_TOKEN != null
7171
uses: actions/cache@v3

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ buildscript {
2727
}
2828

2929
plugins {
30-
id "biz.aQute.bnd.builder" version "6.3.1" apply false
31-
id "org.sonarqube" version "3.4.0.2513"
30+
id "biz.aQute.bnd.builder" version "6.4.0" apply false
31+
id "org.sonarqube" version "3.5.0.2730"
3232
id "jacoco"
3333
id "io.github.gradle-nexus.publish-plugin" version '1.1.0'
3434
}

gradle.properties

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=15.0.0-SNAPSHOT
1+
version=15.0.1-SNAPSHOT
22
group=com.graphql-java-kickstart
33
PROJECT_NAME=graphql-java-servlet
44
PROJECT_DESC=GraphQL Java Kickstart
@@ -7,9 +7,9 @@ PROJECT_LICENSE=MIT
77
PROJECT_LICENSE_URL=https://github.com/graphql-java-kickstart/spring-java-servlet/blob/master/LICENSE.md
88
PROJECT_DEV_ID=oliemansm
99
PROJECT_DEV_NAME=Michiel Oliemans
10-
LIB_GRAPHQL_JAVA_VER=19.2
11-
LIB_JACKSON_VER=2.13.4
12-
LIB_SLF4J_VER=2.0.2
10+
LIB_GRAPHQL_JAVA_VER=19.3
11+
LIB_JACKSON_VER=2.14.1
12+
LIB_SLF4J_VER=2.0.5
1313
LIB_LOMBOK_VER=1.18.24
1414
SOURCE_COMPATIBILITY=17
1515
TARGET_COMPATIBILITY=17
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

graphql-java-kickstart/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ dependencies {
1414
// JSON
1515
api "com.fasterxml.jackson.core:jackson-core:$LIB_JACKSON_VER"
1616
api "com.fasterxml.jackson.core:jackson-annotations:$LIB_JACKSON_VER"
17-
api "com.fasterxml.jackson.core:jackson-databind:2.13.4"
17+
api "com.fasterxml.jackson.core:jackson-databind:2.14.1"
1818
api "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:$LIB_JACKSON_VER"
1919
}

graphql-java-servlet/src/main/java/graphql/kickstart/servlet/HttpRequestInvokerImpl.java

+3
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ private void handle(
116116
response.setStatus(STATUS_INTERNAL_SERVER_ERROR);
117117
log.error("Cannot handle http request", e);
118118
listenerHandler.onError(e);
119+
if (e instanceof InterruptedException) {
120+
Thread.currentThread().interrupt();
121+
}
119122
}
120123
}
121124

0 commit comments

Comments
 (0)