GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 调整pom依赖,移除common中的JSONComparator,更新DescribeUDdisk · ucloud/ucloud-sdk-java@bfcf14c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • pom.xml
  • ucloud-sdk-java-common
    • pom.xml
  • ucloud-sdk-java-pathx
    • pom.xml
    • src
      • main/java/cn/ucloud/pathx/model
        • GetGlobalSSHMetricResult.java
        • GetGlobalSSHPriceResult.java
        • GlobalSSHMetric.java
      • test/java/cn/ucloud/pathx/client
        • BindPathXSSLTest.java
        • GetPathXMetricTest.java
        • InsertPathXWhitelistTest.java
        • UnBindPathXSSLTest.java
  • ucloud-sdk-java-udb
    • pom.xml
    • src/test/java/cn/ucloud/udb/client
      • BackUDBInstanceTest.java
      • BackupUDBInstanceBinlogTest.java
      • BackupUDBInstanceErrorLogTest.java
      • BackupUDBInstanceSlowLogTest.java
      • CancelDBTransferTaskTest.java
      • ChangeUDBParamGroupTest.java
      • CheckRecoverUDBInstanceTest.java
      • CheckUDBEngineTest.java
      • CheckUDBInstanceAllowanceTest.java
      • CheckUDBInstanceConnectionTest.java
      • CheckUDBInstanceToHAAllowanceTest.java
      • ClearUDBLogTest.java
      • CompleteDBTransferTaskTest.java
      • CreateDBTransferTaskTest.java
      • CreateMongoDBReplicaSetTest.java
      • CreateSqlserverAccountTest.java
      • CreateSqlserverDatabaseTest.java
      • CreateUDBCInstanceTest.java
      • CreateUDBInstanceByRecoveryTest.java
      • CreateUDBInstanceTest.java
      • CreateUDBParamGroupTest.java
      • CreateUDBReplicationInstanceTest.java
      • CreateUDBRouteInstanceTest.java
      • CreateUDBSlaveTest.java
      • DeleteDBTransferTaskTest.java
      • DeleteSqlserverAccountTest.java
      • DeleteSqlserverDatabaseTest.java
      • DeleteUDBBackupTest.java
      • DeleteUDBCInstanceTest.java
      • DeleteUDBInstanceTest.java
      • DeleteUDBLogPackageTest.java
      • DeleteUDBParamGroupTest.java
      • DescribeDBTransferTaskTest.java
      • DescribePromoteToHAPriceTest.java
      • DescribeUDBBackupBlacklistTest.java
      • DescribeUDBBackupTest.java
      • DescribeUDBBinlogBackupURLTest.java
      • DescribeUDBCInstanceTest.java
      • DescribeUDBCPriceTest.java
      • DescribeUDBCTypeTest.java
      • DescribeUDBInstanceBackupStateTest.java
      • DescribeUDBInstanceBackupURLTest.java
      • DescribeUDBInstanceBinlogBackupStateTest.java
      • DescribeUDBInstanceBinlogTest.java
      • DescribeUDBInstanceByBackupTest.java
      • DescribeUDBInstanceByHostIpTest.java
      • DescribeUDBInstanceByParamGroupTest.java
      • DescribeUDBInstanceLogTest.java
      • DescribeUDBInstancePhpMyAdminURLTest.java
      • DescribeUDBInstancePriceTest.java
      • DescribeUDBInstanceStateTest.java
      • DescribeUDBInstanceTest.java
      • DescribeUDBInstanceUpgradePriceTest.java
      • DescribeUDBLogBackupURLTest.java
      • DescribeUDBLogPackageTest.java
      • DescribeUDBParamGroupTest.java
      • DescribeUDBSlaveOrSecondaryInstanceTest.java
      • DescribeUDBSplittingInfoTest.java
      • DescribeUDBTypeTest.java
      • DisableUDBRWSplittingTest.java
      • EditUDBBackupBlacklistTest.java
      • EnableUDBRWSplittingTest.java
      • ExtractUDBParamGroupTest.java
      • FetchDBPrecheckResultTest.java
      • FetchUDBInstanceEarliestRecoverTimeTest.java
      • GetUDBSuspendPriceTest.java
      • GrantAccountPrivilegesTest.java
      • JSONComparator.java
      • ListMonitorItemsTest.java
      • ListUDBConfigSvrTest.java
      • ModifyDBTransferTaskTest.java
      • ModifySqlserverPasswordTest.java
      • ModifyUDBInstanceNameTest.java
      • ModifyUDBInstancePasswordTest.java
      • PrecheckDBTransferTaskTest.java
      • PromoteUDBInstanceToHATest.java
      • PromoteUDBSlaveTest.java
      • RecoverUDBInstanceTest.java
      • ResizeUDBInstanceTest.java
      • RestartRWSplittingTest.java
      • RestartUDBInstanceTest.java
      • RevokeAccountPrivilegesTest.java
      • SetUDBRWSplittingTest.java
      • StartDBTransferTaskTest.java
      • StartUDBInstanceTest.java
      • StopUDBInstanceTest.java
      • SwitchUDBInstanceToHATest.java
      • UpdateUDBInstanceBackupStrategyTest.java
      • UpdateUDBInstanceSlaveBackupSwitchTest.java
      • UpdateUDBParamGroupTest.java
      • UploadUDBParamGroupTest.java
  • ucloud-sdk-java-udisk
    • pom.xml
    • src
      • main/java/cn/ucloud/udisk/model
        • DescribeUDiskResult.java
      • test/java/cn/ucloud/udisk/client
        • AttachUDiskTest.java
        • CloneUDiskSnapshotTest.java
        • CloneUDiskTest.java
        • CreateUDiskSnapshotTest.java
        • CreateUDiskTest.java
        • DeleteUDiskSnapshotTest.java
        • DeleteUDiskTest.java
        • DescribeRecycleUDiskTest.java
        • DescribeUDiskPriceTest.java
        • DescribeUDiskSnapshotTest.java
        • DescribeUDiskTest.java
        • DescribeUDiskUpgradePriceTest.java
        • DetachUDiskTest.java
        • JSONComparator.java
        • RecoverUDiskTest.java
        • RenameUDiskTest.java
        • ResizeUDiskTest.java
        • RestoreUDiskTest.java
        • SetUDiskUDataArkModeTest.java
  • ucloud-sdk-java-udpn
    • pom.xml
  • ucloud-sdk-java-ufs
    • pom.xml
  • ucloud-sdk-java-uhost
    • pom.xml
  • ucloud-sdk-java-ulb
    • pom.xml
  • ucloud-sdk-java-unet
    • pom.xml
  • ucloud-sdk-java-vpc
    • pom.xml

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎pom.xml‎

Copy file name to clipboardExpand all lines: pom.xml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
<lang.version>3.8</lang.version>
7676
<codec.version>1.9</codec.version>
7777
<slf4j.version>1.7.25</slf4j.version>
78+
<jsonassert.version>1.5.0</jsonassert.version>
7879
</properties>
7980

8081
<dependencyManagement>
@@ -90,7 +91,7 @@
9091
<dependency>
9192
<groupId>org.skyscreamer</groupId>
9293
<artifactId>jsonassert</artifactId>
93-
<version>1.5.0</version>
94+
<version>${jsonassert.version}</version>
9495
<scope>test</scope>
9596
</dependency>
9697

Collapse file

‎ucloud-sdk-java-common/pom.xml‎

Copy file name to clipboardExpand all lines: ucloud-sdk-java-common/pom.xml
+13-13Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
<version>0.6.3.1-release</version>
1414

1515
<dependencies>
16-
<dependency>
17-
<groupId>junit</groupId>
18-
<artifactId>junit</artifactId>
19-
<scope>provided</scope>
20-
</dependency>
2116

2217
<dependency>
2318
<groupId>org.hibernate</groupId>
@@ -34,12 +29,6 @@
3429
<artifactId>slf4j-api</artifactId>
3530
</dependency>
3631

37-
<dependency>
38-
<groupId>org.slf4j</groupId>
39-
<artifactId>slf4j-simple</artifactId>
40-
<scope>provided</scope>
41-
</dependency>
42-
4332
<dependency>
4433
<groupId>org.apache.httpcomponents</groupId>
4534
<artifactId>httpclient</artifactId>
@@ -56,11 +45,22 @@
5645
</dependency>
5746

5847
<dependency>
59-
<groupId>org.skyscreamer</groupId>
60-
<artifactId>jsonassert</artifactId>
48+
<groupId>junit</groupId>
49+
<artifactId>junit</artifactId>
50+
<scope>test</scope>
51+
</dependency>
52+
53+
<dependency>
54+
<groupId>org.slf4j</groupId>
55+
<artifactId>slf4j-simple</artifactId>
6156
<scope>provided</scope>
6257
</dependency>
6358

59+
<dependency>
60+
<groupId>org.skyscreamer</groupId>
61+
<artifactId>jsonassert</artifactId>
62+
<scope>test</scope>
63+
</dependency>
6464
</dependencies>
6565

6666
</project>
Collapse file

‎ucloud-sdk-java-pathx/pom.xml‎

Copy file name to clipboardExpand all lines: ucloud-sdk-java-pathx/pom.xml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<dependency>
3232
<groupId>junit</groupId>
3333
<artifactId>junit</artifactId>
34-
<scope>provided</scope>
34+
<scope>test</scope>
3535
</dependency>
3636

3737
<dependency>
@@ -48,6 +48,7 @@
4848
<dependency>
4949
<groupId>org.skyscreamer</groupId>
5050
<artifactId>jsonassert</artifactId>
51+
<scope>test</scope>
5152
</dependency>
5253
</dependencies>
5354

Collapse file

‎ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/model/GetGlobalSSHMetricResult.java‎

Copy file name to clipboardExpand all lines: ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/model/GetGlobalSSHMetricResult.java
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import cn.ucloud.common.pojo.BaseResponseResult;
44
import com.google.gson.annotations.SerializedName;
55

6+
import java.util.List;
7+
68

79
/**
810
* @Description : 获取GlobalSSH出入带宽数据 结果类
@@ -14,4 +16,13 @@ public class GetGlobalSSHMetricResult extends BaseResponseResult {
1416
* 相关指标,如带宽等
1517
*/
1618
@SerializedName("Metrics")
19+
private List<GlobalSSHMetric> metrics;
20+
21+
public List<GlobalSSHMetric> getMetrics() {
22+
return metrics;
23+
}
24+
25+
public void setMetrics(List<GlobalSSHMetric> metrics) {
26+
this.metrics = metrics;
27+
}
1728
}
Collapse file

‎ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/model/GetGlobalSSHPriceResult.java‎

Copy file name to clipboardExpand all lines: ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/model/GetGlobalSSHPriceResult.java
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,13 @@ public class GetGlobalSSHPriceResult extends BaseResponseResult {
1414
* 价格,返回单位为元
1515
*/
1616
@SerializedName("Price")
17+
private Double price;
18+
19+
public Double getPrice() {
20+
return price;
21+
}
22+
23+
public void setPrice(Double price) {
24+
this.price = price;
25+
}
1726
}
Collapse file

‎ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/model/GlobalSSHMetric.java‎

Copy file name to clipboardExpand all lines: ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/model/GlobalSSHMetric.java
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,19 @@ public class GlobalSSHMetric {
2222
@SerializedName("NetworkIn")
2323
private List<MatricPoint> networkIn;
2424

25+
public List<MatricPoint> getNetworkOut() {
26+
return networkOut;
27+
}
2528

29+
public void setNetworkOut(List<MatricPoint> networkOut) {
30+
this.networkOut = networkOut;
31+
}
32+
33+
public List<MatricPoint> getNetworkIn() {
34+
return networkIn;
35+
}
36+
37+
public void setNetworkIn(List<MatricPoint> networkIn) {
38+
this.networkIn = networkIn;
39+
}
2640
}
Collapse file

‎ucloud-sdk-java-pathx/src/test/java/cn/ucloud/pathx/client/BindPathXSSLTest.java‎

Copy file name to clipboardExpand all lines: ucloud-sdk-java-pathx/src/test/java/cn/ucloud/pathx/client/BindPathXSSLTest.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
import org.junit.Before;
1010
import org.junit.Test;
1111

12+
import java.util.ArrayList;
13+
import java.util.List;
14+
1215
import static org.junit.Assert.assertNull;
1316

1417

@@ -31,7 +34,8 @@ public void setUp() throws Exception {
3134
System.getenv("UcloudPublicKey"))));
3235
String sSLId = "cn-sh2";
3336
String uGAId = "cn-sh2";
34-
param = new BindPathXSSLParam(sSLId, uGAId);
37+
List<Integer> ports = new ArrayList<>();
38+
param = new BindPathXSSLParam(sSLId, uGAId,ports);
3539
param.setProjectId("org-izug1m");
3640
}
3741

Collapse file

‎ucloud-sdk-java-pathx/src/test/java/cn/ucloud/pathx/client/GetPathXMetricTest.java‎

Copy file name to clipboardExpand all lines: ucloud-sdk-java-pathx/src/test/java/cn/ucloud/pathx/client/GetPathXMetricTest.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ public void setUp() throws Exception {
3535
Integer endTime = 1;
3636
String resourceType = "cn-sh2";
3737
String lineId = "cn-sh2";
38-
param = new GetPathXMetricParam(projectId, resourceId, beginTime, endTime, resourceType, lineId);
38+
String metricNames= "";
39+
param = new GetPathXMetricParam(projectId, resourceId, beginTime, endTime, resourceType, lineId,metricNames);
3940
param.setProjectId("org-izug1m");
4041
}
4142

Collapse file

‎ucloud-sdk-java-pathx/src/test/java/cn/ucloud/pathx/client/InsertPathXWhitelistTest.java‎

Copy file name to clipboardExpand all lines: ucloud-sdk-java-pathx/src/test/java/cn/ucloud/pathx/client/InsertPathXWhitelistTest.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
import org.junit.Before;
1010
import org.junit.Test;
1111

12+
import java.util.ArrayList;
13+
import java.util.List;
14+
1215
import static org.junit.Assert.assertNull;
1316

1417

@@ -31,7 +34,8 @@ public void setUp() throws Exception {
3134
System.getenv("UcloudPublicKey"))));
3235
String projectId = "cn-sh2";
3336
String instanceId = "cn-sh2";
34-
param = new InsertPathXWhitelistParam(projectId, instanceId);
37+
List<String> whiteList = new ArrayList<>();
38+
param = new InsertPathXWhitelistParam(projectId, instanceId,whiteList);
3539
param.setProjectId("org-izug1m");
3640
}
3741

Collapse file

‎ucloud-sdk-java-pathx/src/test/java/cn/ucloud/pathx/client/UnBindPathXSSLTest.java‎

Copy file name to clipboardExpand all lines: ucloud-sdk-java-pathx/src/test/java/cn/ucloud/pathx/client/UnBindPathXSSLTest.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
import org.junit.Before;
1010
import org.junit.Test;
1111

12+
import java.util.ArrayList;
13+
import java.util.List;
14+
1215
import static org.junit.Assert.assertNull;
1316

1417

@@ -31,7 +34,8 @@ public void setUp() throws Exception {
3134
System.getenv("UcloudPublicKey"))));
3235
String uGAId = "cn-sh2";
3336
String sSLId = "cn-sh2";
34-
param = new UnBindPathXSSLParam(uGAId, sSLId);
37+
List<Integer> ports = new ArrayList<>();
38+
param = new UnBindPathXSSLParam(uGAId, sSLId,ports);
3539
param.setProjectId("org-izug1m");
3640
}
3741

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.