Skip to content

Commit 7b87983

Browse files
committed
Merge 'integration_2025-04-24_877340287234' into 'master'
merge branch integration_2025-04-24_877340287234 into master See merge request: !458
2 parents 9d7d2b1 + 0817c6e commit 7b87983

File tree

783 files changed

+112268
-2142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

783 files changed

+112268
-2142
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
* Note
99

1010
### Requirements ###
11-
12-
运行 SDK需要jdk **Java 1.7+**. 你可以下载最新的版本: http://developers.sun.com/downloads/.
11+
运行 SDK需要jdk **Java 1.8.0_131+**. 你可以下载最新的版本: http://developers.sun.com/downloads/.
1312
如果 SDK版本 高于或者等于 **Java 9** 请依赖javax.annotation-api
1413
由于在高于或者等于 **Java 9** 中 javax.annotation-api 被移除
1514

@@ -62,7 +61,7 @@
6261
<dependency>
6362
<groupId>com.volcengine</groupId>
6463
<artifactId>volcengine-java-sdk-bom</artifactId>
65-
<version>0.2.4</version>
64+
<version>0.2.5</version>
6665
<type>pom</type>
6766
<scope>import</scope>
6867
</dependency>
@@ -78,12 +77,12 @@
7877
<dependency>
7978
<groupId>com.volcengine</groupId>
8079
<artifactId>volcengine-java-sdk-vpc</artifactId>
81-
<version>0.2.4</version>
80+
<version>0.2.5</version>
8281
</dependency>
8382
<dependency>
8483
<groupId>com.volcengine</groupId>
8584
<artifactId>volcengine-java-sdk-ecs</artifactId>
86-
<version>0.2.4</version>
85+
<version>0.2.5</version>
8786
</dependency>
8887
</dependencies>
8988
```

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "0.2.4",
3-
"meta_commit": "b192f0522b722cbf25c0ac72943ff44004d8245c"
2+
"lasted": "0.2.5",
3+
"meta_commit": "16bc2e75c0bb7f181f0f94f6144a503f8939fcbb"
44
}

pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.volcengine</groupId>
55
<artifactId>volcengine-java-sdk</artifactId>
66
<packaging>pom</packaging>
7-
<version>0.2.4</version>
7+
<version>0.2.5</version>
88
<name>volcengine-java-sdk</name>
99
<url>https://open.volcengineapi.com</url>
1010
<description>The Java SDK For Volcengine</description>
@@ -273,5 +273,9 @@
273273
<module>volcengine-java-sdk-rdspostgresql</module>
274274
<module>volcengine-java-sdk-clouddetect</module>
275275
<module>volcengine-java-sdk-translate20250301</module>
276+
<module>volcengine-java-sdk-edx</module>
277+
<module>volcengine-java-sdk-wafruntime</module>
278+
<module>volcengine-java-sdk-volccontentplatform</module>
279+
<module>volcengine-java-sdk-mlplatform20240701</module>
276280
</modules>
277281
</project>

volcengine-java-sdk-advdefence/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.2.4</version>
6+
<version>0.2.5</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-advdefence20230308/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.2.4</version>
6+
<version>0.2.5</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-alb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>volcengine-java-sdk</artifactId>
55
<groupId>com.volcengine</groupId>
6-
<version>0.2.4</version>
6+
<version>0.2.5</version>
77
<relativePath>../pom.xml</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/AlbApi.java

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595
import com.volcengine.alb.model.DescribeRulesResponse;
9696
import com.volcengine.alb.model.DescribeServerGroupAttributesRequest;
9797
import com.volcengine.alb.model.DescribeServerGroupAttributesResponse;
98+
import com.volcengine.alb.model.DescribeServerGroupBackendServersRequest;
99+
import com.volcengine.alb.model.DescribeServerGroupBackendServersResponse;
98100
import com.volcengine.alb.model.DescribeServerGroupsRequest;
99101
import com.volcengine.alb.model.DescribeServerGroupsResponse;
100102
import com.volcengine.alb.model.DescribeZonesRequest;
@@ -4395,6 +4397,130 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
43954397
apiClient.executeAsync(call, localVarReturnType, callback);
43964398
return call;
43974399
}
4400+
/**
4401+
* Build call for describeServerGroupBackendServers
4402+
* @param body (required)
4403+
* @param progressListener Progress listener
4404+
* @param progressRequestListener Progress request listener
4405+
* @return Call to execute
4406+
* @throws ApiException If fail to serialize the request body object
4407+
*/
4408+
public com.squareup.okhttp.Call describeServerGroupBackendServersCall(DescribeServerGroupBackendServersRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
4409+
Object localVarPostBody = body;
4410+
4411+
// create path and map variables
4412+
String localVarPath = "/DescribeServerGroupBackendServers/2020-04-01/alb/get/text_plain/";
4413+
4414+
List<Pair> localVarQueryParams = new ArrayList<Pair>();
4415+
List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
4416+
4417+
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
4418+
4419+
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
4420+
4421+
final String[] localVarAccepts = {
4422+
"application/json"
4423+
};
4424+
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
4425+
if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
4426+
4427+
final String[] localVarContentTypes = {
4428+
"text/plain"
4429+
};
4430+
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
4431+
localVarHeaderParams.put("Content-Type", localVarContentType);
4432+
4433+
if(progressListener != null) {
4434+
apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
4435+
@Override
4436+
public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
4437+
com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
4438+
return originalResponse.newBuilder()
4439+
.body(new ProgressResponseBody(originalResponse.body(), progressListener))
4440+
.build();
4441+
}
4442+
});
4443+
}
4444+
4445+
String[] localVarAuthNames = new String[] { "volcengineSign" };
4446+
return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
4447+
}
4448+
4449+
@SuppressWarnings("rawtypes")
4450+
private com.squareup.okhttp.Call describeServerGroupBackendServersValidateBeforeCall(DescribeServerGroupBackendServersRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
4451+
// verify the required parameter 'body' is set
4452+
if (body == null) {
4453+
throw new ApiException("Missing the required parameter 'body' when calling describeServerGroupBackendServers(Async)");
4454+
}
4455+
4456+
com.squareup.okhttp.Call call = describeServerGroupBackendServersCall(body, progressListener, progressRequestListener);
4457+
return call;
4458+
4459+
4460+
4461+
4462+
4463+
}
4464+
4465+
/**
4466+
*
4467+
*
4468+
* @param body (required)
4469+
* @return DescribeServerGroupBackendServersResponse
4470+
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
4471+
*/
4472+
public DescribeServerGroupBackendServersResponse describeServerGroupBackendServers(DescribeServerGroupBackendServersRequest body) throws ApiException {
4473+
ApiResponse<DescribeServerGroupBackendServersResponse> resp = describeServerGroupBackendServersWithHttpInfo(body);
4474+
return resp.getData();
4475+
}
4476+
4477+
/**
4478+
*
4479+
*
4480+
* @param body (required)
4481+
* @return ApiResponse&lt;DescribeServerGroupBackendServersResponse&gt;
4482+
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
4483+
*/
4484+
public ApiResponse<DescribeServerGroupBackendServersResponse> describeServerGroupBackendServersWithHttpInfo( @NotNull DescribeServerGroupBackendServersRequest body) throws ApiException {
4485+
com.squareup.okhttp.Call call = describeServerGroupBackendServersValidateBeforeCall(body, null, null);
4486+
Type localVarReturnType = new TypeToken<DescribeServerGroupBackendServersResponse>(){}.getType();
4487+
return apiClient.execute(call, localVarReturnType);
4488+
}
4489+
4490+
/**
4491+
* (asynchronously)
4492+
*
4493+
* @param body (required)
4494+
* @param callback The callback to be executed when the API call finishes
4495+
* @return The request call
4496+
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
4497+
*/
4498+
public com.squareup.okhttp.Call describeServerGroupBackendServersAsync(DescribeServerGroupBackendServersRequest body, final ApiCallback<DescribeServerGroupBackendServersResponse> callback) throws ApiException {
4499+
4500+
ProgressResponseBody.ProgressListener progressListener = null;
4501+
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
4502+
4503+
if (callback != null) {
4504+
progressListener = new ProgressResponseBody.ProgressListener() {
4505+
@Override
4506+
public void update(long bytesRead, long contentLength, boolean done) {
4507+
callback.onDownloadProgress(bytesRead, contentLength, done);
4508+
}
4509+
};
4510+
4511+
progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
4512+
@Override
4513+
public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
4514+
callback.onUploadProgress(bytesWritten, contentLength, done);
4515+
}
4516+
};
4517+
}
4518+
4519+
com.squareup.okhttp.Call call = describeServerGroupBackendServersValidateBeforeCall(body, progressListener, progressRequestListener);
4520+
Type localVarReturnType = new TypeToken<DescribeServerGroupBackendServersResponse>(){}.getType();
4521+
apiClient.executeAsync(call, localVarReturnType, callback);
4522+
return call;
4523+
}
43984524
/**
43994525
* Build call for describeServerGroups
44004526
* @param body (required)

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/model/AclForDescribeAclsOutput.java

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import com.google.gson.annotations.SerializedName;
2020
import com.google.gson.stream.JsonReader;
2121
import com.google.gson.stream.JsonWriter;
22+
import com.volcengine.alb.model.TagForDescribeAclsOutput;
2223
import io.swagger.v3.oas.annotations.media.Schema;
2324
import java.io.IOException;
2425
import java.util.ArrayList;
@@ -56,6 +57,9 @@ public class AclForDescribeAclsOutput {
5657
@SerializedName("Status")
5758
private String status = null;
5859

60+
@SerializedName("Tags")
61+
private List<TagForDescribeAclsOutput> tags = null;
62+
5963
@SerializedName("UpdateTime")
6064
private String updateTime = null;
6165

@@ -211,6 +215,33 @@ public void setStatus(String status) {
211215
this.status = status;
212216
}
213217

218+
public AclForDescribeAclsOutput tags(List<TagForDescribeAclsOutput> tags) {
219+
this.tags = tags;
220+
return this;
221+
}
222+
223+
public AclForDescribeAclsOutput addTagsItem(TagForDescribeAclsOutput tagsItem) {
224+
if (this.tags == null) {
225+
this.tags = new ArrayList<TagForDescribeAclsOutput>();
226+
}
227+
this.tags.add(tagsItem);
228+
return this;
229+
}
230+
231+
/**
232+
* Get tags
233+
* @return tags
234+
**/
235+
@Valid
236+
@Schema(description = "")
237+
public List<TagForDescribeAclsOutput> getTags() {
238+
return tags;
239+
}
240+
241+
public void setTags(List<TagForDescribeAclsOutput> tags) {
242+
this.tags = tags;
243+
}
244+
214245
public AclForDescribeAclsOutput updateTime(String updateTime) {
215246
this.updateTime = updateTime;
216247
return this;
@@ -247,12 +278,13 @@ public boolean equals(java.lang.Object o) {
247278
Objects.equals(this.listeners, aclForDescribeAclsOutput.listeners) &&
248279
Objects.equals(this.projectName, aclForDescribeAclsOutput.projectName) &&
249280
Objects.equals(this.status, aclForDescribeAclsOutput.status) &&
281+
Objects.equals(this.tags, aclForDescribeAclsOutput.tags) &&
250282
Objects.equals(this.updateTime, aclForDescribeAclsOutput.updateTime);
251283
}
252284

253285
@Override
254286
public int hashCode() {
255-
return Objects.hash(aclEntryCount, aclId, aclName, createTime, description, listeners, projectName, status, updateTime);
287+
return Objects.hash(aclEntryCount, aclId, aclName, createTime, description, listeners, projectName, status, tags, updateTime);
256288
}
257289

258290

@@ -269,6 +301,7 @@ public String toString() {
269301
sb.append(" listeners: ").append(toIndentedString(listeners)).append("\n");
270302
sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n");
271303
sb.append(" status: ").append(toIndentedString(status)).append("\n");
304+
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
272305
sb.append(" updateTime: ").append(toIndentedString(updateTime)).append("\n");
273306
sb.append("}");
274307
return sb.toString();

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/model/AddAclEntriesRequest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ public AddAclEntriesRequest aclId(String aclId) {
7575
* Get aclId
7676
* @return aclId
7777
**/
78-
@Schema(description = "")
78+
@NotNull
79+
@Schema(required = true, description = "")
7980
public String getAclId() {
8081
return aclId;
8182
}

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/model/AddServerGroupBackendServersRequest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public AddServerGroupBackendServersRequest serverGroupId(String serverGroupId) {
4848
* Get serverGroupId
4949
* @return serverGroupId
5050
**/
51-
@Schema(description = "")
51+
@NotNull
52+
@Schema(required = true, description = "")
5253
public String getServerGroupId() {
5354
return serverGroupId;
5455
}

0 commit comments

Comments
 (0)