Skip to content

Merge from original repo #1

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

Merged
merged 104 commits into from
May 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
957ddc0
fix(#487): Playground integration not working when using WebFlux
BlasiusSecundus Dec 19, 2020
1b93759
fix(#487): additional Playground WebFlux tests
BlasiusSecundus Dec 20, 2020
6be4a07
fix(#487): csrf is now supported with Playground on Webflux
BlasiusSecundus Jan 20, 2021
6849d70
feat: add Maven BOM for the project
BlasiusSecundus Mar 9, 2021
3ae07c5
Only call GraphqlErrorBuilder with non-null data
jeskew-gov Mar 31, 2021
140d935
Java 8 compat
jeskew-gov Mar 31, 2021
dfd735c
fix: test subscription not waiting the specified amount of time
BlasiusSecundus Apr 1, 2021
61592ea
Removing references to JCenter now that it's on the way out
setchy Apr 9, 2021
19da782
graphql-java-extended-scalars 16.0.1 is available in maven central
setchy Apr 9, 2021
2cc497b
Adding details on how to add GraphQL Playground starter
setchy Apr 9, 2021
887e34e
Adding details on how to add GraphQL Playground starter
setchy Apr 9, 2021
fe60da7
Adding GitHub Discussions badge
setchy Apr 9, 2021
2f67c6a
Fixing links
setchy Apr 9, 2021
a08ef37
Fixing links
setchy Apr 9, 2021
c2f10a1
Fixing links
setchy Apr 9, 2021
523cd12
Merge pull request #576 from setchy/feature/graphql-playground
setchy Apr 15, 2021
dd92255
Merge pull request #575 from setchy/feature/remove-jcenter
setchy Apr 15, 2021
bbf2bc0
Merge pull request #570 from BlasiusSecundus/feature/fix-subscription…
setchy Apr 15, 2021
0dd18fa
Update README.md
setchy Apr 15, 2021
4118504
Fix sonarlint bug
setchy Apr 15, 2021
6847ce7
Gradle 7.0.
donbeave Apr 15, 2021
32cc97b
Fixes related to Gradle 7.0. Upgrade some dependencies.
donbeave Apr 15, 2021
6dae62d
Merge branch 'master' of github.com:donbeave/graphql-spring-boot
donbeave Apr 15, 2021
1cea297
Merge pull request #521 from BlasiusSecundus/feature/fix-playground-w…
oliemansm Apr 26, 2021
f8b17d9
Merge pull request #552 from BlasiusSecundus/feature/maven-bom
oliemansm Apr 26, 2021
e9b96f9
Merge pull request #568 from jeskew-gov/allow-errors-with-null-paths
oliemansm Apr 26, 2021
dbe90eb
Merge pull request #578 from donbeave/master
oliemansm Apr 26, 2021
6fd6ee5
Updating to spring-boot 2.4.5
setchy Apr 26, 2021
51de7ea
Merge pull request #580 from graphql-java-kickstart/update/springboot…
setchy Apr 26, 2021
46f182b
Fixing basePath documentation
setchy Apr 26, 2021
1e90cf1
Updating documentation to latest cdn version
setchy Apr 26, 2021
d75c848
Merge pull request #582 from graphql-java-kickstart/feature/574-graph…
setchy Apr 26, 2021
8e34dcf
Setting renovate config file to run on forks
setchy Apr 26, 2021
08b8f74
Merge pull request #583 from graphql-java-kickstart/renovate/configure
setchy Apr 26, 2021
22cc37f
Update dependency com.graphql-java-kickstart:graphql-java-tools to v1…
renovate-bot Apr 26, 2021
fb0398f
Update dependency commons-fileupload:commons-fileupload to v1.4
renovate-bot Apr 26, 2021
1868bf9
Update dependency jquery to v3.6.0
renovate-bot Apr 26, 2021
34c90fc
Update dependency org.apache.commons:commons-text to v1.9
renovate-bot Apr 26, 2021
57fe4c4
Update actions/cache action to v2
renovate-bot Apr 26, 2021
7c28edd
Merge pull request #584 from graphql-java-kickstart/renovate/com.grap…
setchy Apr 26, 2021
06c23a1
ci: skip sonar check if no Sonar token is provided
BlasiusSecundus Apr 26, 2021
e3a0633
ci: skip Bintray publish also if BINTRAY_USER is null
BlasiusSecundus Apr 26, 2021
c652567
Merge pull request #590 from BlasiusSecundus/master
oliemansm Apr 27, 2021
e2d3ebc
Merge pull request #585 from graphql-java-kickstart/renovate/commons-…
oliemansm Apr 27, 2021
9347a0f
Merge pull request #586 from graphql-java-kickstart/renovate/jquery-3.x
oliemansm Apr 27, 2021
c1c5834
Merge pull request #587 from graphql-java-kickstart/renovate/org.apac…
oliemansm Apr 27, 2021
d025bf0
Merge pull request #589 from graphql-java-kickstart/renovate/actions-…
oliemansm Apr 27, 2021
dcd9692
Updating renovate package pattern for com.graphql-java
setchy Apr 27, 2021
6b5e1df
Merge remote-tracking branch 'origin/master'
setchy Apr 27, 2021
a27c1f5
Updating renovate package pattern for io.github.graphql-java:graphql-…
setchy Apr 27, 2021
ba7a197
ci: remove bintray and artifactory publish
oliemansm Apr 28, 2021
62012d5
ci: configure release build
oliemansm Apr 28, 2021
e03cd03
Merge remote-tracking branch 'origin/master'
oliemansm Apr 28, 2021
348b750
ci: configure release build
oliemansm Apr 28, 2021
e3c8ae3
ci: configure release build
oliemansm Apr 28, 2021
512ebcd
ci: configure release build
oliemansm Apr 28, 2021
4dd2c60
ci: configure release build
oliemansm Apr 28, 2021
d8258d8
ci: reinstate build scripts
oliemansm Apr 28, 2021
905f0ad
ci: close and release repository to maven central
oliemansm Apr 29, 2021
5fcfd57
chore: remove all bintray references
oliemansm Apr 29, 2021
cca01f7
docs: update snapshot repository in readme
oliemansm Apr 29, 2021
96f5f53
chore(deps): update actions/setup-java action to v2
renovate-bot Apr 29, 2021
49b6585
ci: fix nexus staging close and release configuration
oliemansm Apr 29, 2021
75426da
ci: remove unnecessary build task configuration
oliemansm Apr 29, 2021
5a3e119
chore(deps): update actions/setup-java action to v2
renovate-bot Apr 29, 2021
d1bfa2c
ci(deps): define java distribution
oliemansm Apr 29, 2021
ffab98b
Merge remote-tracking branch 'origin/renovate/actions-setup-java-2.x'…
oliemansm Apr 29, 2021
1d3b022
Merge pull request #591 from graphql-java-kickstart/renovate/actions-…
oliemansm Apr 29, 2021
6cb8f80
chore(deps): update dependency org.sonarqube:org.sonarqube.gradle.plu…
renovate-bot Apr 29, 2021
b4e739f
Merge pull request #597 from graphql-java-kickstart/renovate/org.sona…
setchy Apr 29, 2021
ac74d12
Updating GraphQL Voyager to the latest RC (rc-31)
setchy Apr 30, 2021
b008742
Adding customization to support /graphql endpoints that are secured
setchy May 1, 2021
92bc41c
Merge pull request #598 from graphql-java-kickstart/feature/voyager-l…
setchy May 1, 2021
32a84bc
Revert "Adding customization to support /graphql endpoints that are s…
setchy May 1, 2021
10a4744
chore: verify google code format
oliemansm May 1, 2021
68b071c
chore: update pr actions to include google code format verification
oliemansm May 1, 2021
16c1550
chore: skip google code format verification in sonar step
oliemansm May 1, 2021
f3410c2
Adding properties to configure all of the Voyager configurations (dis…
setchy May 1, 2021
5e9de57
Adding documentation to README.md for GraphQL Voyager configuration o…
setchy May 1, 2021
423f52c
Updating TOC
setchy May 1, 2021
d5deb3b
ci: update Java 15 to Java 16 in pull request workflow
BlasiusSecundus Apr 30, 2021
25a13d6
chore: apply google code format
oliemansm May 1, 2021
11102ad
chore: include intellij idea code style with google code format
oliemansm May 1, 2021
eeebf6e
chore: fix javadoc with incorrect format
oliemansm May 1, 2021
2e38056
Introducing ConfigurationProperties
setchy May 1, 2021
e39cdeb
Fixing unused imports
setchy May 1, 2021
b6cee6a
Merge pull request #600 from graphql-java-kickstart/feature/voyager-l…
setchy May 2, 2021
c4e3979
chore: verify google code format
oliemansm May 1, 2021
60a76c7
chore: update pr actions to include google code format verification
oliemansm May 1, 2021
389e81e
chore: skip google code format verification in sonar step
oliemansm May 1, 2021
841264c
chore: apply google code format
oliemansm May 1, 2021
8d0226f
chore: include intellij idea code style with google code format
oliemansm May 1, 2021
83760d8
chore: fix javadoc with incorrect format
oliemansm May 1, 2021
4de9199
chore: apply google code format
oliemansm May 2, 2021
6eee341
Merge remote-tracking branch 'origin/verify-google-code-format' into …
oliemansm May 2, 2021
73f02a8
Merge pull request #601 from BlasiusSecundus/feature/update-java-15-t…
oliemansm May 2, 2021
f637fba
chore: update google-java-format plugin in contributing guidelines
oliemansm May 2, 2021
4950334
Removing reference to Spectrum
setchy May 2, 2021
2096ec8
Adding IntelliJ External Dependencies for google-java-format. This s…
setchy May 3, 2021
f20285c
chore: fix publishing snapshot
oliemansm May 3, 2021
3385712
Merge pull request #599 from graphql-java-kickstart/verify-google-cod…
oliemansm May 3, 2021
dd6b56b
Renaming extended-scalars version property for consistency
setchy May 3, 2021
7a862e5
Extract gradle plugin versions to gradle.properties
setchy May 3, 2021
f6552aa
Merge pull request #602 from graphql-java-kickstart/gradle-deps
setchy May 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
56 changes: 45 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,34 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1

verify-google-java-format:
name: Google Java Format Verification
runs-on: ubuntu-latest
needs: validation
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 15
- name: Cache Gradle
uses: actions/cache@v2
env:
java-version: 15
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-${{ env.java-version }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: ${{ runner.os }}-${{ env.java-version }}-gradle-
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Gradle Check
run: ./gradlew --info build -x test

test:
name: Test run
needs: validation
Expand All @@ -20,8 +48,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 8
- name: Cache Gradle
uses: actions/cache@v2
Expand All @@ -37,7 +66,8 @@ jobs:
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Gradle Check
run: ./gradlew --info check
run: ./gradlew --info check -x verifyGoogleJavaFormat

build:
name: Publish snapshot
needs: test
Expand All @@ -46,8 +76,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 8
- name: Cache Gradle
uses: actions/cache@v2
Expand All @@ -63,11 +94,12 @@ jobs:
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Gradle Publish Snapshot
if: env.BINTRAY_USER != 'SKIP_BINTRAY_PUBLISH'
if: env.OSS_USER_TOKEN_KEY != null
env:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_PASS: ${{ secrets.BINTRAY_PASSWORD }}
run: ./gradlew artifactoryPublish -Dsnapshot=true -Dbuild.number=${{ env.GITHUB_RUN_NUMBER }}
OSS_USER_TOKEN_KEY: ${{ secrets.OSS_USER_TOKEN_KEY }}
OSS_USER_TOKEN_PASS: ${{ secrets.OSS_USER_TOKEN_PASS }}
run: ./gradlew clean build publish -x test -x verifyGoogleJavaFormat

sonar:
name: Sonar analysis
needs: validation
Expand All @@ -77,17 +109,18 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
- name: Cache SonarCloud packages
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
Expand All @@ -96,4 +129,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew build jacocoTestReport sonarqube --info
if: env.SONAR_TOKEN != null
run: ./gradlew build jacocoTestReport sonarqube --info -x verifyGoogleJavaFormat
50 changes: 40 additions & 10 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,50 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1

verify-google-java-format:
name: Google Java Format Verification
runs-on: ubuntu-latest
needs: validation
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 15
- name: Cache Gradle
uses: actions/cache@v2
env:
java-version: 15
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-${{ env.java-version }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: ${{ runner.os }}-${{ env.java-version }}-gradle-
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Gradle Check
run: ./gradlew --info build -x test

test:
name: Test run
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
java: [ 8, 11, 15 ]
java: [ 8, 11, 16 ]
needs: validation
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: Cache Gradle
uses: actions/cache@v2
Expand All @@ -35,18 +64,18 @@ jobs:
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-${{ env.java-version }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-${{ env.java-version }}-gradle-
restore-keys: ${{ runner.os }}-${{ env.java-version }}-gradle-
- name: Make gradlew executable (non-Windows only)
if: matrix.os != 'windows-latest'
run: chmod +x ./gradlew
- name: Gradle Check (non-Windows)
if: matrix.os != 'windows-latest'
run: ./gradlew --info check
run: ./gradlew --info check -x verifyGoogleJavaFormat
- name: Gradle Check (Windows)
if: matrix.os == 'windows-latest'
shell: cmd
run: gradlew --info check
run: gradlew --info check -x verifyGoogleJavaFormat

build:
name: Sonar analysis
needs: validation
Expand All @@ -60,19 +89,20 @@ jobs:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
if: env.SONAR_TOKEN != null
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
- name: Cache SonarCloud packages
if: env.SONAR_TOKEN != null
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Gradle packages
if: env.SONAR_TOKEN != null
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
Expand All @@ -82,4 +112,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew build jacocoTestReport sonarqube --info
run: ./gradlew build jacocoTestReport sonarqube --info -x verifyGoogleJavaFormat
20 changes: 15 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1

test:
name: Test run
needs: validation
Expand All @@ -16,8 +17,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 8
- name: Cache Gradle
uses: actions/cache@v2
Expand All @@ -33,7 +35,8 @@ jobs:
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Gradle Check
run: ./gradlew --info check
run: ./gradlew --info check -x verifyGoogleJavaFormat

build:
name: Publish release
needs: test
Expand All @@ -42,8 +45,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 8
- name: Cache Gradle
uses: actions/cache@v2
Expand All @@ -58,10 +62,16 @@ jobs:
${{ runner.os }}-${{ env.java-version }}-gradle-
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Prepare environment
env:
GPG_KEY_CONTENTS: ${{ secrets.GPG_KEY_CONTENTS }}
SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.GPG_SIGNING_SECRET_KEY_RING_FILE }}
run: sudo bash -c "echo '$GPG_KEY_CONTENTS' | base64 -d > '$SIGNING_SECRET_KEY_RING_FILE'"
- name: Publish release
env:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_PASS: ${{ secrets.BINTRAY_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.GPG_SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.GPG_SIGNING_PASSWORD }}
SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.GPG_SIGNING_SECRET_KEY_RING_FILE }}
OSS_USER_TOKEN_KEY: ${{ secrets.OSS_USER_TOKEN_KEY }}
OSS_USER_TOKEN_PASS: ${{ secrets.OSS_USER_TOKEN_PASS }}
run: bash github-build.sh
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ build
bin

## Directory-based project format:
.idea/
.idea/*
!.idea/codeStyles/
# if you remove the above rule, at least ignore the following:

# User-specific stuff:
Expand Down
Loading