Commit Graph

29 Commits

Author SHA1 Message Date
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