Skip to content

Commit 2a6d64d

Browse files
authored
Merge pull request #18 from trendmicro/update_to_latest_version_v1.4.2
update to latest version: v1.4.2
2 parents f571828 + d4ce7f0 commit 2a6d64d

File tree

4 files changed

+15
-17
lines changed

4 files changed

+15
-17
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 1.4.2 - 2024-10-10
4+
5+
* Update dependencies: protobuf-java, protobuf-java-util, grpc-netty
6+
37
## 1.4.1 - 2024-08-28
48

59
* Support certificate verification bypass using environment variable

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.1
1+
1.4.2

pom.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.trend</groupId>
77
<artifactId>file-security-java-sdk</artifactId>
8-
<version>1.4.1</version>
8+
<version>1.4.2</version>
99

1010
<name>file-security-java-sdk</name>
1111
<url>https://github.com/trendmicro/tm-v1-fs-java-sdk</url>
@@ -59,12 +59,12 @@
5959
<dependency>
6060
<groupId>com.google.protobuf</groupId>
6161
<artifactId>protobuf-java</artifactId>
62-
<version>3.24.2</version>
62+
<version>4.28.2</version>
6363
</dependency>
6464
<dependency>
6565
<groupId>com.google.protobuf</groupId>
6666
<artifactId>protobuf-java-util</artifactId>
67-
<version>3.24.2</version>
67+
<version>4.28.2</version>
6868
</dependency>
6969
<dependency>
7070
<groupId>javax.annotation</groupId>
@@ -74,22 +74,22 @@
7474
<dependency>
7575
<groupId>io.grpc</groupId>
7676
<artifactId>grpc-stub</artifactId>
77-
<version>1.56.0</version>
77+
<version>1.68.0</version>
7878
</dependency>
7979
<dependency>
8080
<groupId>io.grpc</groupId>
8181
<artifactId>grpc-protobuf</artifactId>
82-
<version>1.56.0</version>
82+
<version>1.68.0</version>
8383
</dependency>
8484
<dependency>
8585
<groupId>io.grpc</groupId>
8686
<artifactId>grpc-netty</artifactId>
87-
<version>1.56.0</version>
87+
<version>1.68.0</version>
8888
</dependency>
8989
<dependency>
9090
<groupId>io.grpc</groupId>
9191
<artifactId>grpc-testing</artifactId>
92-
<version>1.57.2</version>
92+
<version>1.68.0</version>
9393
<scope>test</scope>
9494
</dependency>
9595
<!-- necessary for Java 9+
@@ -121,7 +121,7 @@
121121
<goal>run</goal>
122122
</goals>
123123
<configuration>
124-
<protocArtifact>com.google.protobuf:protoc:3.21.7</protocArtifact>
124+
<protocArtifact>com.google.protobuf:protoc:4.28.2</protocArtifact>
125125
<inputDirectories>
126126
<include>protos</include>
127127
</inputDirectories>
@@ -132,7 +132,7 @@
132132
</outputTarget>
133133
<outputTarget>
134134
<type>grpc-java</type>
135-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.56.0</pluginArtifact>
135+
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.68.0</pluginArtifact>
136136
</outputTarget>
137137
</outputTargets>
138138
</configuration>

src/main/java/com/trend/cloudone/amaas/AMaasClient.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,7 @@ private String identifyHostAddr(final String region, final String host) {
144144
if (host != null && !host.isEmpty()) {
145145
return host;
146146
}
147-
// TBD: keep this to pass BVT. Remove in next PR
148-
// overwrite region setting with host setting
149-
String target = System.getenv("TM_AM_SERVER_ADDR");
150-
if (target == null || target == "") {
151-
target = AMaasRegion.getServiceFqdn(region);
152-
}
153-
return target;
147+
return AMaasRegion.getServiceFqdn(region);
154148
}
155149

156150
private static void log(final Level level, final String msg, final Object... params) {

0 commit comments

Comments
 (0)