Commit Graph

875 Commits

Author SHA1 Message Date
rstoyanchev
d292ffdc7f Merge branch '1.1.x' 2023-03-02 12:18:56 +00:00
rstoyanchev
3b100c6047 Update Java version in .sdkmanrc
Closes gh-622
2023-03-02 12:18:07 +00:00
Tim te Beek
27f0f64c81 Use SpringJunitConfig in tests
Co-authored-by: Moderne <team@moderne.io>

See gh-622
2023-03-02 12:18:07 +00:00
rstoyanchev
7732c218db Update Java version in .sdkmanrc
Closes gh-622
2023-03-02 12:15:08 +00:00
Tim te Beek
b725a8226d Use SpringJunitConfig in tests
Co-authored-by: Moderne <team@moderne.io>

See gh-622
2023-03-02 12:13:48 +00:00
rstoyanchev
20d52a60b6 Support auto-generation of Relay Connection type
Closes gh-619
2023-02-23 11:41:26 +00:00
Spring Builds
707bc36d6b Next development version (v1.1.3-SNAPSHOT) 2023-02-21 10:52:10 +00:00
Brian Clozel
f3c7303737 Merge branch '1.1.x' 2023-02-21 11:43:03 +01:00
Brian Clozel
312446ffa2 Upgrade to Spring Data 2022.0.2
Closes gh-617
2023-02-21 11:41:56 +01:00
Brian Clozel
0e358393cb Upgrade to Reactor 2022.0.3
Closes gh-616
2023-02-21 11:41:26 +01:00
Brian Clozel
a959e749fe Upgrade to Spring Framework 6.0.5
Closes gh-618
2023-02-21 11:40:52 +01:00
rstoyanchev
7ce33fb6ab Merge branch '1.1.x' 2023-02-20 18:22:54 +00:00
Brian Clozel
e1d035d514 Merge branch '1.1.x' 2023-02-20 11:53:42 +01:00
Brian Clozel
44ff134b92 Upgrade CI image to Ubuntu Jammy 2023-02-20 11:45:39 +01:00
Brian Clozel
7d87d3b29d Upgrade OCI build task in CI pipeline
This commit upgrades the OCI build task Concourse resource to 0.11.1 and
configures the Docker credentials for this task.
2023-02-20 11:43:37 +01:00
rstoyanchev
dc90558d9a Configure ExecutionInput in ExecutionGraphQlServiceTester
Closes gh-615
2023-02-16 18:20:45 +00:00
Brian Clozel
2e4038393e Merge branch '1.1.x' 2023-02-14 16:08:13 +01:00
Brian Clozel
beafa43f25 Upgrade other dependencies
* Spring Framework 6.0.4
* Spring Data 2022.0.1
* Jackson 2.14.2
* Reactor 2022.0.2
2023-02-14 16:06:14 +01:00
Brian Clozel
e3b73e84e1 Upgrade to Micrometer Tracing 1.0.2
Closes gh-614
2023-02-14 16:04:57 +01:00
Brian Clozel
7489e95d9c Upgrade to Context Propagation 1.0.2
Closes gh-613
2023-02-14 16:04:24 +01:00
Brian Clozel
1d3701d3b4 Upgrade to Micrometer 1.10.4
Closes gh-612
2023-02-14 16:03:42 +01:00
Brian Clozel
1d2fc21d0b Fix parent Observation management in instrumentation
Prior to this commit, the `GraphQlObservationInstrumentation` was
incorrectly setting up the parent observation for both request execution
and data fetching observations.

In the case of the request execution, we were not looking into the
`GraphQLContext` for an existing observation - this commit ensures that
if such an observation exists, it is set as the parent.
As for the data fetching observation, we were incorrectly assuming that
the parent of all data fetching operations was the request execution
one, whereas data fetching operations can be nested. This commit ensures
that we only rely on the current observation in the GraphQL context.

Fixes gh-611
2023-02-14 15:45:25 +01:00
Brian Clozel
bcd6bad54a Consistently use Docker creds for fetching images 2023-02-14 10:11:48 +01:00
Brian Clozel
124aef9a04 Consistently use Docker creds for fetching images 2023-02-14 10:10:41 +01:00
Brian Clozel
24a12cd54d Upgrade CI image to Ubuntu Jammy 2023-02-14 10:09:06 +01:00
rstoyanchev
1ae33a8ba5 Remove ArgumentMapMethodArgumentResolver
Dropping this the dedicated resolver for @Argument Map<String, Object>
leaves it to ArgumentMethodArgumentResolver and
ArgumentsMethodArgumentResolver to handle the case of
Map<String, Object>, treating it either as a raw argument value for a
named argument, or as the full raw arguments map.

Closes gh-548
2023-02-01 14:49:01 +00:00
Brian Clozel
d261b292b5 Upgrade to GraphQL Java 20.0
See gh-596
2023-02-01 15:43:24 +01:00
Brian Clozel
009c5eb2d3 Merge branch '1.1.x' 2023-02-01 15:31:52 +01:00
Brian Clozel
52dce6bcf8 Configure Docker credentials when fetching Concourse resources 2023-02-01 15:31:23 +01:00
Brian Clozel
33e4908147 Merge branch '1.1.x' 2023-02-01 15:23:51 +01:00
Brian Clozel
9bd137ed52 Set current version to 1.2.0-SNAPSHOT 2023-02-01 15:17:14 +01:00
Brian Clozel
a4981e076b Create 1.2.x Concourse pipeline
This commit also upgrades Concourse resources to their latest versions.
2023-02-01 15:09:39 +01:00
Brian Clozel
a4f04293e0 Update CI to use the new 1.1.x branch
This commit updates the Concourse CI pipeline to use the new 1.1.x
branch for this generation, as the main branch is now dedicated to 1.2.x
features.
2023-02-01 14:45:51 +01:00
rstoyanchev
562d39a9a2 Revert "Remove ArgumentMapMethodArgumentResolver"
This reverts commit 7b30159109.
2023-02-01 09:46:14 +00:00
rstoyanchev
483ef31b5f Add link to Getting Started Guides
Closes gh-551
2023-02-01 09:44:29 +00:00
rstoyanchev
7b30159109 Remove ArgumentMapMethodArgumentResolver
Dropping this the dedicated resolver for @Argument Map<String, Object>
leaves it to ArgumentMethodArgumentResolver and
ArgumentsMethodArgumentResolver to handle the case of
Map<String, Object>, treating it either as a raw argument value for a
named argument, or as the full raw arguments map.

Closes gh-548
2023-01-27 19:38:55 +00:00
rstoyanchev
4c3e75a1e9 Add MethodParameter validation
Validate an individual method parameter when it's annotated with
Spring's @Validated rather than with @Valid, in which case method
validation does not validate the parameter.

Closes gh-571
2023-01-27 19:38:55 +00:00
rstoyanchev
f65b83f65e Optimize performance of method validation
Perform the check for whether validation for a HandlerMethod is needed
earlier and only once rather than in the constructor of
DataFetcherHandlerMethod.

Make the validation helper passed to DataFetcherHandlerMethod stateful,
so that validation groups are also determined once on startup.

See gh-571
2023-01-27 19:38:55 +00:00
Brian Clozel
4c1e7c56e5 Upgrade to spring-asciidoctor-backends 0.0.4
This release is available on Maven Central, whereas 0.0.3 is only
present on repo.spring.io/release.
2023-01-27 09:50:12 +01:00
Brian Clozel
e852fbd2c6 Upgrade Java 17 version in CI build 2023-01-19 09:55:00 +01:00
rstoyanchev
d9497ffd65 Add Boot Starter section to reference
Closes gh-598
2023-01-13 18:25:10 +00:00
rstoyanchev
e316cdf13b Switch order of sections in reference docs
Client and Testing after all others such as Security,
Observability, and GraalVM.
2023-01-13 16:05:36 +00:00
Brian Clozel
2c9a511aef Upgrade Gradle conventions & enterprise plugins 2023-01-13 14:32:35 +01:00
Brian Clozel
f8c3e496aa Upgrade to Kotlin 1.7.22 2023-01-13 14:30:22 +01:00
Brian Clozel
d64eb9b9cf Upgrade to Gradle 7.6 2023-01-13 14:24:30 +01:00
Brian Clozel
ef7784ee1c Refactor Kotlin configuration in build 2023-01-11 10:04:02 +01:00
Brian Clozel
222149c142 Document Micrometer Observability support
This commit adds a new Observability section in the reference
documentation, explaining the request and data fetcher observations
created by the new instrumentation.

Closes gh-595
2023-01-10 16:15:48 +01:00
Brian Clozel
4d192318b6 Configure Backport Bot for GitHub workflows
This commit configures the Backport Bot for the repository workflows.
See https://github.com/spring-io/backport-bot

This will create backport issues whenever issues created on the main
line are tagged with the relevant issue label.
2023-01-05 14:30:14 +01:00
rstoyanchev
2c77433ebd Support custom "subscription" type name
Closes gh-590
2023-01-04 16:21:32 +00:00
Spring Builds
496bc31151 Next development version (v1.1.2-SNAPSHOT) 2022-12-20 10:16:21 +00:00