Skip to content

Commit 40e64a0

Browse files
Upgrade grpc to 1.45.0, gson to 2.9.0 and protobuf-java to 3.19.4
1 parent 32d0a3b commit 40e64a0

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

endtoendtests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<dependency>
7878
<groupId>com.google.code.gson</groupId>
7979
<artifactId>gson</artifactId>
80-
<version>2.8.6</version>
80+
<version>2.9.0</version>
8181
</dependency>
8282
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
8383
<dependency>

pom.xml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,22 +78,27 @@
7878
<dependency>
7979
<groupId>com.google.protobuf</groupId>
8080
<artifactId>protobuf-java</artifactId>
81-
<version>3.16.1</version>
81+
<version>3.19.4</version>
8282
</dependency>
8383
<dependency>
8484
<groupId>io.grpc</groupId>
8585
<artifactId>grpc-protobuf</artifactId>
86-
<version>1.20.0</version>
86+
<version>1.45.0</version>
8787
</dependency>
8888
<dependency>
8989
<groupId>io.grpc</groupId>
9090
<artifactId>grpc-stub</artifactId>
91-
<version>1.20.0</version>
91+
<version>1.45.0</version>
9292
</dependency>
9393
<dependency>
9494
<groupId>io.grpc</groupId>
9595
<artifactId>grpc-netty-shaded</artifactId>
96-
<version>1.20.0</version>
96+
<version>1.45.0</version>
97+
</dependency>
98+
<dependency>
99+
<groupId>com.google.code.gson</groupId>
100+
<artifactId>gson</artifactId>
101+
<version>2.9.0</version>
97102
</dependency>
98103
<dependency>
99104
<groupId>org.apache.commons</groupId>
@@ -269,10 +274,6 @@
269274
<pattern>javax.annotation</pattern>
270275
<shadedPattern>com.microsoft.azure.functions.shaded.javax.annotation</shadedPattern>
271276
</relocation>
272-
<relocation combine.children="append">
273-
<pattern>io.opencensus</pattern>
274-
<shadedPattern>com.microsoft.azure.functions.shaded.io.opencensus</shadedPattern>
275-
</relocation>
276277
</relocations>
277278
</configuration>
278279
</execution>

src/main/java/com/microsoft/azure/functions/worker/JavaWorkerClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
public class JavaWorkerClient implements AutoCloseable {
2323
public JavaWorkerClient(IApplication app) {
2424
WorkerLogManager.initialize(this, app.logToConsole());
25-
ManagedChannelBuilder<?> chanBuilder = ManagedChannelBuilder.forAddress(app.getHost(), app.getPort()).usePlaintext(true);
25+
ManagedChannelBuilder<?> chanBuilder = ManagedChannelBuilder.forAddress(app.getHost(), app.getPort()).usePlaintext();
2626
chanBuilder.maxInboundMessageSize(Integer.MAX_VALUE);
2727

2828
this.channel = chanBuilder.build();

0 commit comments

Comments
 (0)