Skip to content

Commit 8881431

Browse files
committed
TIKA-4327: update grpc; replace deprecated; update jsoup
1 parent 5bfd2da commit 8881431

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tika-grpc/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</parent>
3535

3636
<properties>
37-
<grpc.version>1.70.0</grpc.version>
37+
<grpc.version>1.71.0</grpc.version>
3838
<asarkar-grpc-test.version>1.2.2</asarkar-grpc-test.version>
3939
<awaitility.version>4.3.0</awaitility.version>
4040
<j2objc-annotations.version>3.0.0</j2objc-annotations.version>

tika-grpc/src/main/java/org/apache/tika/pipes/grpc/TikaGrpcServer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import io.grpc.ServerCredentials;
3232
import io.grpc.TlsServerCredentials;
3333
import io.grpc.protobuf.services.HealthStatusManager;
34-
import io.grpc.protobuf.services.ProtoReflectionService;
34+
import io.grpc.protobuf.services.ProtoReflectionServiceV1;
3535
import org.slf4j.Logger;
3636
import org.slf4j.LoggerFactory;
3737

@@ -101,7 +101,7 @@ public void start() throws Exception {
101101
.newServerBuilderForPort(port, creds)
102102
.addService(new TikaGrpcServerImpl(tikaConfigFile.getAbsolutePath()))
103103
.addService(healthStatusManager.getHealthService())
104-
.addService(ProtoReflectionService.newInstance())
104+
.addService(ProtoReflectionServiceV1.newInstance())
105105
.build()
106106
.start();
107107
LOGGER.info("Server started, listening on " + port);

tika-parent/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
<jhighlight.version>1.1.0</jhighlight.version>
393393
<jna.version>5.16.0</jna.version>
394394
<json.simple.version>1.1.1</json.simple.version>
395-
<jsoup.version>1.18.3</jsoup.version>
395+
<jsoup.version>1.19.1</jsoup.version>
396396
<jsr305.version>3.0.2</jsr305.version>
397397
<junit4.version>4.13.2</junit4.version>
398398
<junit5.version>5.12.0</junit5.version>

0 commit comments

Comments
 (0)