Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(2.7.x) Upgrade to GraphQL Java 21.5 #2199

Merged
merged 2 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 1 addition & 38 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,43 +43,6 @@ jobs:
- name: build with maven
run: mvn -B formatter:validate impsort:check javadoc:javadoc install --file pom.xml

wildfly-tests:
runs-on: ubuntu-latest
strategy:
matrix:
java: [17]
name: WildFly GraphQL feature pack tests

steps:
- uses: actions/checkout@v2
name: checkout

- name: checkout WildFly feature pack repository
uses: actions/checkout@v2
with:
repository: wildfly-extras/wildfly-graphql-feature-pack
ref: main
path: wildfly-graphql-feature-pack

- uses: actions/[email protected]
name: set up jdk ${{matrix.java}}
with:
java-version: ${{matrix.java}}
distribution: 'temurin'
cache: 'maven'

- name: build with maven
run: mvn -B install -DskipTests --file pom.xml

- name: Install xmllint
run: sudo apt-get update && sudo apt-get install libxml2-utils

- name: run WildFly feature pack tests
run: |
SMALLRYE_VERSION=$(xmllint --xpath '/*[local-name()="project"]/*[local-name()="version"]/text()' pom.xml) && \
echo "SMALLRYE_VERSION=$SMALLRYE_VERSION" && \
mvn install -Dversion.io.smallrye.graphql=$SMALLRYE_VERSION --file wildfly-graphql-feature-pack/pom.xml

quarkus-tests:
runs-on: ubuntu-latest
strategy:
Expand All @@ -97,7 +60,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: quarkusio/quarkus
ref: main
ref: 3.8
path: quarkus

- uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<version.jakarta.servlet>6.0.0</version.jakarta.servlet>
<version.jakarta.websocket>2.0.0</version.jakarta.websocket>
<version.graphql-java-federation>2.1.1</version.graphql-java-federation>
<version.graphql-java>21.1</version.graphql-java>
<version.graphql-java>21.5</version.graphql-java>
<version.extended-scalars>21.0</version.extended-scalars>
<verison.io.micrometer>1.11.3</verison.io.micrometer>
<version.vertx>4.4.5</version.vertx>
Expand Down
3 changes: 3 additions & 0 deletions server/implementation/src/test/resources/schemaTest.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ directive @include(
"test-description"
directive @intArrayTestDirective(value: [Int]) on OBJECT | INTERFACE

"Indicates an Input Object is a OneOf Input Object."
directive @oneOf on INPUT_OBJECT

directive @operationDirective on FIELD_DEFINITION

"Used to specify the role required to execute a given field or operation."
Expand Down
Loading