Skip to content

Commit ed56965

Browse files
authored
Merge branch 'master' into feature/keystoreSupport
2 parents ca99176 + 8ce5b13 commit ed56965

File tree

4 files changed

+18
-23
lines changed

4 files changed

+18
-23
lines changed

build.gradle

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import java.time.OffsetDateTime
22
import java.time.format.DateTimeFormatter
3-
import io.franzbecker.gradle.lombok.task.DelombokTask
43

54
buildscript {
65
repositories {
@@ -29,7 +28,7 @@ buildscript {
2928
// https://github.com/spring-projects/spring-security-oauth/releases
3029
springSecurityOAuthVersion = '2.5.1.RELEASE'
3130

32-
lombokPluginVersion = '5.0.0'
31+
lombokPluginVersion = '6.3.0'
3332
versioningPluginVersion = '2.15.1'
3433
versionsPluginVersion = '0.39.0'
3534
}
@@ -42,7 +41,7 @@ plugins {
4241
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
4342
id 'net.nemerosa.versioning' version "${versioningPluginVersion}"
4443
id 'com.google.protobuf' version "${protobufGradlePluginVersion}"
45-
id 'io.franzbecker.gradle-lombok' version "${lombokPluginVersion}" apply false
44+
id 'io.freefair.lombok' version "${lombokPluginVersion}" apply false
4645
id 'com.github.ben-manes.versions' version "${versionsPluginVersion}" // gradle dependencyUpdates
4746
id 'com.diffplug.spotless' version '6.0.0'
4847
}
@@ -77,7 +76,7 @@ allprojects {
7776
apply plugin: 'eclipse'
7877
apply plugin: 'io.spring.dependency-management'
7978
apply plugin: 'com.diffplug.spotless'
80-
apply plugin: 'io.franzbecker.gradle-lombok'
79+
apply plugin: 'io.freefair.lombok'
8180

8281
java {
8382
toolchain {
@@ -218,17 +217,6 @@ allprojects { project ->
218217
}
219218

220219
if (project.name == 'grpc-common-spring-boot' || project.name == 'grpc-client-spring-boot-autoconfigure' || project.name == 'grpc-server-spring-boot-autoconfigure') {
221-
// Properly generate javadocs for the important projects
222-
223-
task delombok(type: DelombokTask, dependsOn: compileJava) {
224-
ext.outputDir = file("$buildDir/delombok")
225-
outputs.dir(outputDir)
226-
sourceSets.main.java.srcDirs.each {
227-
inputs.dir(it)
228-
args(it, '-d', outputDir)
229-
}
230-
}
231-
232220
java {
233221
registerFeature('optionalSupport') {
234222
usingSourceSet(sourceSets.main)
@@ -241,7 +229,7 @@ allprojects { project ->
241229
if (project.name != 'grpc-common-spring-boot') {
242230
dependsOn(":grpc-common-spring-boot:javadoc")
243231
}
244-
source = delombok.outputDir
232+
source = delombok
245233
failOnError = false
246234
options.locale = 'en_US'
247235
options.encoding = 'UTF-8'

docs/en/client/configuration.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,13 @@ you have to define it via spring context (unless you wish to use `static`).
328328
> **Note:** `NameResolverProvider`s are registered gloablly, so might run into issues if you boot up two or more
329329
> applications simulataneosly in the same JVM (e.g. during tests).
330330
331+
## HealthIndicator
332+
333+
This library automatically provides a `grpcChannel` `HealthIndicator` (actuator/health) for all clients (shared).
334+
It will report the service as `OUT_OF_SERVICE` if any client has the `TRANSIENT_FAILURE` status.
335+
If you wish to exclude it and provide more specific `HealthIndicator`s,
336+
you can disable it by excluding the `GrpcClientHealthAutoConfiguration`
337+
331338
## Additional Topics <!-- omit in toc -->
332339

333340
- [Getting Started](getting-started.md)

docs/en/client/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ This section assumes that you have already defined and generated your [Protobuf
100100
### Explaining the Client Components
101101

102102
The following list contains all features that you might encounter on the client side.
103-
If you don't wish to use any advanced features, then the first element is probably all you need to use.
103+
If you don't wish to use any advanced features, then the first two elements are probably all you need to use.
104104

105105
- [`@GrpcClient`](https://javadoc.io/page/net.devh/grpc-client-spring-boot-autoconfigure/latest/net/devh/boot/grpc/client/inject/GrpcClient.html):
106106
The annotation that marks fields and setters for auto injection of clients.

docs/en/server/getting-started.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ We recommend splitting your project into 2-3 separate modules.
4646

4747
````xml
4848
<properties>
49-
<protobuf.version>3.14.0</protobuf.version>
49+
<protobuf.version>3.19.1</protobuf.version>
5050
<protobuf-plugin.version>0.6.1</protobuf-plugin.version>
51-
<grpc.version>1.35.0</grpc.version>
51+
<grpc.version>1.42.1</grpc.version>
5252
</properties>
5353

5454
<dependencies>
@@ -76,7 +76,7 @@ We recommend splitting your project into 2-3 separate modules.
7676
<extension>
7777
<groupId>kr.motd.maven</groupId>
7878
<artifactId>os-maven-plugin</artifactId>
79-
<version>1.6.2</version>
79+
<version>1.7.0</version>
8080
</extension>
8181
</extensions>
8282

@@ -108,9 +108,9 @@ We recommend splitting your project into 2-3 separate modules.
108108
````gradle
109109
buildscript {
110110
ext {
111-
protobufVersion = '3.14.0'
112-
protobufPluginVersion = '0.8.14'
113-
grpcVersion = '1.35.0'
111+
protobufVersion = '3.19.1'
112+
protobufPluginVersion = '0.8.18'
113+
grpcVersion = '1.42.1'
114114
}
115115
}
116116

0 commit comments

Comments
 (0)