Skip to content

Commit

Permalink
sdk: rolling update for 1.2.21-release
Browse files Browse the repository at this point in the history
  • Loading branch information
ucloud-bot committed Mar 4, 2024
1 parent 7f082f9 commit f0d4512
Show file tree
Hide file tree
Showing 75 changed files with 2,224 additions and 123 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.20-release
1.2.21-release
4 changes: 2 additions & 2 deletions examples/generic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand All @@ -18,7 +18,7 @@
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions examples/uhost/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand All @@ -18,7 +18,7 @@
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-uhost</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</dependency>
</dependencies>
</project>
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java</artifactId>
<packaging>pom</packaging>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
<modules>
<module>ucloud-sdk-java-common</module>
<module>ucloud-sdk-java-cube</module>
<module>ucloud-sdk-java-ipsecvpn</module>
<module>ucloud-sdk-java-pathx</module>
<module>ucloud-sdk-java-sts</module>
<module>ucloud-sdk-java-uai_modelverse</module>
<module>ucloud-sdk-java-uaccount</module>
<module>ucloud-sdk-java-ubill</module>
<module>ucloud-sdk-java-ucdn</module>
Expand Down
4 changes: 2 additions & 2 deletions ucloud-sdk-java-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>

<dependencies>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-cube/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-cube</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-ipsecvpn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-ipsecvpn</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-pathx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-pathx</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-sts/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-sts</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-uaccount/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-uaccount</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.20-release</version>
<version>1.2.21-release</version>
</dependency>

<dependency>
Expand Down
48 changes: 48 additions & 0 deletions ucloud-sdk-java-uai_modelverse/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.21-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-uai_modelverse</artifactId>
<version>1.2.21-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.21-release</version>
</dependency>

<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>

<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/**
* Copyright 2021 UCloud Technology Co., Ltd.
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed to in writing, software distributed under the
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.ucloud.uaimodelverse.client;

import cn.ucloud.common.client.DefaultClient;
import cn.ucloud.common.config.Config;
import cn.ucloud.common.credential.Credential;
import cn.ucloud.common.exception.UCloudException;
import cn.ucloud.uaimodelverse.models.CreateMVAppRequest;
import cn.ucloud.uaimodelverse.models.CreateMVAppResponse;
import cn.ucloud.uaimodelverse.models.DeleteMVAppRequest;
import cn.ucloud.uaimodelverse.models.DeleteMVAppResponse;
import cn.ucloud.uaimodelverse.models.QueryMVAppRequest;
import cn.ucloud.uaimodelverse.models.QueryMVAppResponse;
import cn.ucloud.uaimodelverse.models.QueryMVLLMListRequest;
import cn.ucloud.uaimodelverse.models.QueryMVLLMListResponse;
import cn.ucloud.uaimodelverse.models.RunMVChatRequest;
import cn.ucloud.uaimodelverse.models.RunMVChatResponse;
import cn.ucloud.uaimodelverse.models.UpdateMVAppRequest;
import cn.ucloud.uaimodelverse.models.UpdateMVAppResponse;

/** This client is used to call actions of **UAIModelverse** service */
public class UAIModelverseClient extends DefaultClient implements UAIModelverseClientInterface {
public UAIModelverseClient(Config config, Credential credential) {
super(config, credential);
}

/**
* CreateMVApp - 创建应用
*
* @param request Request object
* @throws UCloudException Exception
*/
public CreateMVAppResponse createMVApp(CreateMVAppRequest request) throws UCloudException {
request.setAction("CreateMVApp");
return (CreateMVAppResponse) this.invoke(request, CreateMVAppResponse.class);
}

/**
* DeleteMVApp - 删除应用
*
* @param request Request object
* @throws UCloudException Exception
*/
public DeleteMVAppResponse deleteMVApp(DeleteMVAppRequest request) throws UCloudException {
request.setAction("DeleteMVApp");
return (DeleteMVAppResponse) this.invoke(request, DeleteMVAppResponse.class);
}

/**
* QueryMVApp - 查询应用信息
*
* @param request Request object
* @throws UCloudException Exception
*/
public QueryMVAppResponse queryMVApp(QueryMVAppRequest request) throws UCloudException {
request.setAction("QueryMVApp");
return (QueryMVAppResponse) this.invoke(request, QueryMVAppResponse.class);
}

/**
* QueryMVLLMList - 查询语言模型信息
*
* @param request Request object
* @throws UCloudException Exception
*/
public QueryMVLLMListResponse queryMVLLMList(QueryMVLLMListRequest request)
throws UCloudException {
request.setAction("QueryMVLLMList");
return (QueryMVLLMListResponse) this.invoke(request, QueryMVLLMListResponse.class);
}

/**
* RunMVChat - 聊天
*
* @param request Request object
* @throws UCloudException Exception
*/
public RunMVChatResponse runMVChat(RunMVChatRequest request) throws UCloudException {
request.setAction("RunMVChat");
return (RunMVChatResponse) this.invoke(request, RunMVChatResponse.class);
}

/**
* UpdateMVApp - 更新应用
*
* @param request Request object
* @throws UCloudException Exception
*/
public UpdateMVAppResponse updateMVApp(UpdateMVAppRequest request) throws UCloudException {
request.setAction("UpdateMVApp");
return (UpdateMVAppResponse) this.invoke(request, UpdateMVAppResponse.class);
}
}
Loading

0 comments on commit f0d4512

Please sign in to comment.