Brian Clozel
ff9a421786
Auto-configure schema printer endpoint
...
This commit configuresa new endpoint for printing in text format the
resolved GraphQL schema.
This endpoint is exposed by default under "/graphql/schema" and must be
enabled with "spring.graphql.schema.printer=true".
See gh-29140
2021-12-21 08:33:05 +01:00
Brian Clozel
b38d04556e
Auto-configure HTTP transport for MVC and WebFlux
...
This commit adds two new auto-configuration classes for Spring GraphQL
support. Once the base GraphQL infrastructure is in place, we can now
expose the `GraphQlService` over an HTTP transport.
Spring GraphQL supports both MVC and WebFlux, so this commit ships with
one auto-configuration for each.
Developers can configure the HTTP path where the GraphQL resource is
exposed using the `spring.graphql.path` configuration property (this
defaults to `"/graphql"`).
See gh-29140
2021-12-21 08:32:56 +01:00
Brian Clozel
5cf0a4db94
Add FailureAnalyzer for InvalidSchemaLocationsException
...
This commit adds a new `FailureAnalyzer` for exceptions thrown when no
GraphQL schema file could be found.
This lists configured locations (with `"classpath:..."` notation) and
also resolved locations - this helps developers figure out how the
pattern are resolved and why schema files cannot be found.
See gh-29140
2021-12-21 08:32:48 +01:00
Brian Clozel
de808834f5
Auto-configure Spring GraphQL base infrastructure
...
This commit adds the auto-configuration for setting up the base Spring
GraphQL infrastructure. Because GraphQL doesn't depend on any particular
transport, we must have a separate configuration for creating:
* the `GraphQlSource`, which holds the schema and the `GraphQL` instance
* the `GraphQlService` for executing incoming requests
* the `BatchLoaderRegistry` for batch loading support
* the `AnnotatedControllerConfigurer` for supporting the annotated
controllers programming model
This comes with a starting point for the `"spring.graphql.*"`
configuration properties; we can now configure the locations and file
extensions of GraphQL schema files we should load and configure at
startup.
See gh-29140
2021-12-21 08:32:37 +01:00
Brian Clozel
e5e157528b
Add dependency management for Spring GraphQL
...
This commit adds dependency management in Spring Boot for Spring GraphQL
and GraphQL Java.
See gh-29140
2021-12-21 08:32:09 +01:00
Scott Frederick
29ad84714a
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29144
2021-12-20 14:00:24 -06:00
Scott Frederick
b3a304fbe7
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29143
2021-12-20 14:00:06 -06:00
Scott Frederick
e4b0575a12
Do not consider bridge methods when binding java bean properties
...
Fixes gh-28917
2021-12-20 13:57:36 -06:00
Madhura Bhave
f4e28be453
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29142
2021-12-20 10:51:44 -08:00
Madhura Bhave
6c6df5b9e8
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29141
2021-12-20 10:51:23 -08:00
Madhura Bhave
34f96514ad
Fix link to source code in snapshot documentation
...
Fixes gh-28856
2021-12-20 10:49:07 -08:00
Madhura Bhave
ad45e76b1b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29139
2021-12-20 09:21:23 -08:00
Madhura Bhave
84f1a6ca09
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29138
2021-12-20 09:21:08 -08:00
Madhura Bhave
99e650bd27
Document devtools remote support not available with WebFlux
...
Closes gh-28955
2021-12-20 09:19:34 -08:00
Stephane Nicoll
83d732823d
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29136
2021-12-20 18:08:00 +01:00
Stephane Nicoll
653fdbd0a4
Configure comment prefixes
...
Closes gh-29095
2021-12-20 17:47:50 +01:00
Stephane Nicoll
dea15a1103
Merge branch '2.6.x' into 2.7.x
...
Closes gh-29134
2021-12-20 12:37:25 +01:00
Stephane Nicoll
53654a0160
Merge branch '2.5.x' into 2.6.x
...
Closes gh-29133
2021-12-20 12:37:10 +01:00
Stephane Nicoll
b26730c5a7
Merge pull request #29115 from An1s9n
...
* pr/29115:
Polish reference doc
Closes gh-29115
2021-12-20 12:36:59 +01:00
Pavel Anisimov
b704ee0b30
Polish reference doc
...
See gh-29115
2021-12-20 12:36:33 +01:00
Stephane Nicoll
47003e5de5
Merge branch '2.6.x' into 2.7.x
2021-12-20 11:18:07 +01:00
Stephane Nicoll
449838e3da
Merge branch '2.5.x' into 2.6.x
2021-12-20 11:17:53 +01:00
Stephane Nicoll
fd32ff3a51
Upgrade to XmlUnit2 2.8.4
...
Closes gh-29131
2021-12-20 10:48:31 +01:00
Stephane Nicoll
fbb7f12f43
Upgrade to XmlUnit2 2.8.4
...
Closes gh-29123
2021-12-20 10:48:17 +01:00
Stephane Nicoll
64a5415edc
Upgrade to Jackson Bom 2.13.1
...
Closes gh-29129
2021-12-20 10:46:31 +01:00
Stephane Nicoll
d9a970a8e2
Upgrade to Infinispan 12.1.10.Final
...
Closes gh-29128
2021-12-20 10:46:30 +01:00
Stephane Nicoll
a8fc4e9351
Upgrade to Hibernate 5.6.3.Final
...
Closes gh-29127
2021-12-20 10:46:29 +01:00
Stephane Nicoll
07c8ab2236
Upgrade to Ehcache3 3.9.9
...
Closes gh-29126
2021-12-20 10:46:27 +01:00
Stephane Nicoll
9ec44d80cf
Upgrade to Dropwizard Metrics 4.2.7
...
Closes gh-29125
2021-12-20 10:46:25 +01:00
Stephane Nicoll
177fd6c539
Upgrade to DB2 JDBC 11.5.7.0
...
Closes gh-29124
2021-12-20 10:46:22 +01:00
Stephane Nicoll
620c6ec275
Upgrade to Infinispan 12.1.10.Final
...
Closes gh-29121
2021-12-20 09:57:12 +01:00
Stephane Nicoll
d0cd7dcf60
Upgrade to Hibernate 5.4.33
...
Closes gh-29120
2021-12-20 09:57:11 +01:00
Stephane Nicoll
cb81801907
Upgrade to Ehcache3 3.9.9
...
Closes gh-29119
2021-12-20 09:57:10 +01:00
Stephane Nicoll
d8d97df34a
Upgrade to Dropwizard Metrics 4.1.29
...
Closes gh-29118
2021-12-20 09:57:08 +01:00
Stephane Nicoll
8306287158
Upgrade to DB2 JDBC 11.5.7.0
...
Closes gh-29117
2021-12-20 09:57:06 +01:00
Stephane Nicoll
318cbd6ed7
Merge branch '2.6.x' into 2.7.x
2021-12-19 18:46:48 +01:00
Stephane Nicoll
72b3e150c9
Merge branch '2.5.x' into 2.6.x
2021-12-19 18:46:39 +01:00
Stephane Nicoll
bb1a1a0622
Upgrade to Spring LDAP 2.3.5
...
Closes gh-28972
2021-12-19 18:46:18 +01:00
Stephane Nicoll
f619d66244
Upgrade to Spring LDAP 2.3.5
...
Closes gh-28963
2021-12-19 18:45:23 +01:00
Stephane Nicoll
aab30b13b3
Start building against Spring Kafka 2.7.10 snapshots
...
See gh-29114
2021-12-19 18:30:54 +01:00
Stephane Nicoll
821f7086d9
Merge branch '2.6.x' into 2.7.x
...
See gh-28985
2021-12-18 17:53:59 +01:00
Stephane Nicoll
e048562c34
Merge branch '2.5.x' into 2.6.x
...
See gh-28984
2021-12-18 17:53:39 +01:00
Stephane Nicoll
21e54a595e
Upgrade Build to Log4j 2.17.0
...
See gh-28983
2021-12-18 17:53:30 +01:00
Stephane Nicoll
4fa0e87ba1
Merge branch '2.6.x' into 2.7.x
2021-12-18 12:24:51 +01:00
Stephane Nicoll
efa93506e6
Fix checkstyle violations
2021-12-18 12:23:53 +01:00
Stephane Nicoll
ed80241a80
Merge branch '2.6.x' into 2.7.x
2021-12-18 09:08:51 +01:00
Stephane Nicoll
272e08ad1a
Merge branch '2.5.x' into 2.6.x
2021-12-18 09:08:44 +01:00
Stephane Nicoll
84ef1f7c21
Upgrade to Log4j2 2.17.0
...
Closes gh-28985
2021-12-18 08:53:36 +01:00
Stephane Nicoll
012fbdd43d
Upgrade to Log4j2 2.17.0
...
Closes gh-28984
2021-12-18 08:53:04 +01:00
Stephane Nicoll
cb02944c71
Upgrade to Log4j2 2.17.0
...
Closes gh-28983
2021-12-18 08:52:22 +01:00