Commit Graph

44 Commits

Author SHA1 Message Date
Brian Clozel
95f40e750b Upgrade to Gradle 8.3 and Gradle plugins
This commit upgrades the build to:

* Gradle 8.3
* Gradle Spring conventions 0.0.14
* Gradle Enterprise plugin 3.12.6
2023-08-18 11:39:06 +02:00
Brian Clozel
2c9a511aef Upgrade Gradle conventions & enterprise plugins 2023-01-13 14:32:35 +01:00
Brian Clozel
b2e1a42a24 Merge branch '1.0.x' 2022-09-19 11:17:27 +02:00
Jerome Prinet
ca0520a023 Update Gradle Enterprise plugin to 3.11.1
Closes gh-492
2022-09-19 11:17:06 +02:00
Brian Clozel
304b3afd3b Merge branch '1.0.x' 2022-09-01 14:27:28 +02:00
Brian Clozel
c12b46fc11 Replace dependency management plugin with Gradle platform support 2022-09-01 11:43:31 +02:00
Brian Clozel
59b0d76d8d Temporarily ignore samples
Spring for GraphQL auto-configuration is not supported yet in Spring
Boot 3.0 SNAPSHOTs, so we need to ignore Spring Boot samples until
SNAPSHOTs are produced.

See gh-424
2022-06-24 14:56:40 +02:00
Jerome Prinet
0af85f1fa3 Update Gradle Enterprise plugin 2022-06-23 08:58:36 +01:00
rstoyanchev
476df266f7 Revert "Temporarily disable samples"
This reverts commit c55ffb17c3.
2022-05-13 03:01:49 +01:00
rstoyanchev
c55ffb17c3 Temporarily disable samples 2022-04-19 14:51:49 +01:00
Jerome Prinet
d4c5b7b1ae Update Gradle Enterprise plugin to 3.9
Closes gh-351
2022-04-14 11:08:30 +02:00
rstoyanchev
c4f91713ca Revert "Temporarily disable samples" 2022-04-11 17:15:46 +01:00
rstoyanchev
7a9f9236dc Temporarily disable samples 2022-04-01 21:39:42 +01:00
rstoyanchev
9bc4c40a24 Re-enable samples 2022-03-21 16:33:54 +00:00
rstoyanchev
e3ac804015 Temporarily disable samples 2022-03-21 09:05:49 +00:00
rstoyanchev
caa717e358 Move repo.spring.io up in the order
I'm getting very slow times on failures to resolve Boot snapshots
through the gradlePluginPortal (3-4 min build time). Moving it down
after repo.spring.io restores regular build times.
2022-03-08 17:21:38 +00:00
Brian Clozel
c10aed82a3 Configure Gradle Enterprise 2022-03-03 14:37:56 +01:00
Brian Clozel
c86ea72b5e Temporarily add SNAPSHOT plugin repository
This is required as otherwise they're deactivated during the staging of
a release. We should reconsider our dependency on Spring Boot SNAPSHOTs
in our samples.
2022-01-19 15:17:44 +01:00
Brian Clozel
410e7e60ae Revisit Gradle repositories configuration 2022-01-19 14:22:04 +01:00
Brian Clozel
a15fd29fc0 Remove Spring Boot Experimental Starter
The Experimental Spring Boot Starter for Spring GraphQL has been moved
to Spring Boot and will be released with Spring Boot 2.7.0.

Closes gh-207
2021-12-21 14:09:17 +01:00
Brian Clozel
34355051b5 Rename docs module
This commit renames the docs module to "spring-graphql-docs" to better
align with other Spring projects and their published docs artifact.
2021-06-30 18:16:27 +02:00
Brian Clozel
1727c7270a Set up reference documentation and JavaDoc
Closes gh-76
2021-06-30 17:59:45 +02:00
Rob Winch
7d854dbf47 Add webmvc-http-security
Closes gh-58
2021-06-28 14:17:16 -05:00
Rob Winch
96d25b2a91 employee-service -> webflux-security 2021-06-02 13:36:40 -05:00
Andreas Marek
2edc4c585a add employee service example 2021-06-02 11:31:44 -05:00
Rossen Stoyanchev
b6cc9e4dd5 Remove spring-graphql-core module
Move its contents into the spring-graphql module.
2021-04-26 21:55:30 +01:00
Rossen Stoyanchev
403019521c Rename spring-graphql-web to spring-graphql
Re-purpose spring-graphql-web to be more general than just web and add
org.springframework.web as a top-level package for web support.
2021-04-26 21:42:36 +01:00
Rossen Stoyanchev
1e619263d2 Reactor DataFetcher support
Closes gh-47
2021-04-26 10:03:53 +01:00
Rossen Stoyanchev
e22d3e8ea4 Add GraphQLTester
See gh-43
2021-04-15 13:00:20 +01:00
Rossen Stoyanchev
3843e83d43 Add tests to webmvc-http sample 2021-03-11 17:13:25 +00:00
Brian Clozel
633ee1a1b5 Refactor project structure
This commit refactors the project structure to regroup GraphQL web
support under the spring-graphql-web module, and move all the Spring
Boot support classes under a single graphql-spring-boot-starter one.

Right now, the starter module contains everything: classes for MVC,
WebFlux and Actuator support as well as required dependencies. We will
change that in the future.
2021-01-05 16:35:34 +01:00
Rossen Stoyanchev
35c2068bdf Rename webmvc-http-endpoint to webmvc-http 2021-01-03 21:40:23 +00:00
Rossen Stoyanchev
2e32a06a55 Update to latest GraphQL over WebSocket protocol 2021-01-03 21:40:19 +00:00
Rossen Stoyanchev
eda2bd3f33 Rename graphql-sample to webmvc-http-endpoint 2021-01-03 21:37:43 +00:00
Rossen Stoyanchev
099733c1f0 Create top-level samples directory 2021-01-03 21:37:26 +00:00
Brian Clozel
c78f05626a Add graphQL sample application
This commit adds a sample application to the repository.
This application should not be published as part of the build.

In this application, we're trying to showcase the various features and
use cases with our Spring graphQL integration. We're mixing here data
fetchers backed by datastores or remote hypermedia APIs.

Closes gh-15
2020-11-13 11:52:30 +01:00
Brian Clozel
43ba3e8fcd Remove GraphQL web starters
The GraphQL Spring Boot starters aren't actually necessary.
The typical GraphQL usage is really tied to the type of web application
you're building: Spring MVC or WebFlux.

Adding the `spring-graphql-web` dependency to the classpath is a signal
strong enough that we can configure additional endpoints into the web
application.

Closes gh-17
2020-11-13 11:51:49 +01:00
Brian Clozel
d7f3aa6fa9 Add Spring Milestone repository to build 2020-10-14 09:38:35 +02:00
Rossen Stoyanchev
cf1e3ce0da Upgrade to Spring Boot 2.4 snapshots
in order to make use of a recent change for WebMvc.fn in
Spring Framework 5.3.

See gh-6
2020-10-07 20:13:34 +01:00
Brian Clozel
a44c836fc0 Merge modules
This commit merges the common, webmvc and webflux modules into a single
web module for supporting GraphQL with all Spring web frameworks.
We're working here with optional dependencies to build the support
for Spring MVC on one side and Spring WebFlux on the other.

Also, this commit updates the starter modules to adopt the official
naming convention. For now, starter modules will host both the
configuration infrastructure and the transitive dependencies to activate
support.
2020-09-15 14:10:35 +02:00
Andreas Marek
a37aa740a9 introduce common GraphQLHandler which doesn't depend on either webflux or webmvc specifics.
Refactor webflux to use the new Handler
2020-09-14 07:13:21 +10:00
Andreas Marek
11d2ad74cf add webflux variant 2020-08-25 06:34:33 +01:00
Andreas Marek
5de1baa794 change module names 2020-08-25 06:34:33 +01:00
Andreas Marek
7b549d7932 basic spring mvc and spring mvc starter integration which exposes a GraphQL endpoint 2020-08-25 06:34:33 +01:00