Skip to content

Commit 9429936

Browse files
committed
1. 测试发布 Arms 全部语言
1 parent 44cc27e commit 9429936

File tree

5 files changed

+330
-98
lines changed

5 files changed

+330
-98
lines changed

aliyun-java-sdk-arms/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2019-05-22 Version: 1.0.0
2+
1. 测试发布 Arms 全部语言
3+
2. 查看发布是否成功
4+
15
2019-03-25 Version: 2.4.3
26
1, add tag object list for SearchTraces
37

aliyun-java-sdk-arms/pom.xml

Lines changed: 102 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
12
<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">
23
<modelVersion>4.0.0</modelVersion>
34
<groupId>com.aliyun</groupId>
45
<artifactId>aliyun-java-sdk-arms</artifactId>
56
<packaging>jar</packaging>
6-
<version>2.4.3</version>
7-
<name>aliyun-java-sdk-arms</name>
7+
<version>1.0.0</version>
8+
<name>aliyun-java-sdk-arms</name>
89
<url>http://www.aliyun.com</url>
910
<description>Aliyun Open API SDK for Java
1011

@@ -14,106 +15,109 @@ All rights reserved.
1415
版权所有 (C)阿里云计算有限公司
1516

1617
http://www.aliyun.com</description>
17-
18-
<distributionManagement>
18+
<distributionManagement>
1919
<snapshotRepository>
20-
<id>sonatype-nexus-snapshots</id>
21-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
20+
<id>sonatype-nexus-snapshots</id>
21+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
2222
</snapshotRepository>
2323
<repository>
24-
<id>sonatype-nexus-staging</id>
25-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
24+
<id>sonatype-nexus-staging</id>
25+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
2626
</repository>
27-
</distributionManagement>
28-
29-
<dependencies>
30-
<dependency>
31-
<groupId>com.aliyun</groupId>
32-
<artifactId>aliyun-java-sdk-core</artifactId>
33-
<optional>true</optional>
34-
<version>[4.3.2,5.0.0)</version>
35-
</dependency>
27+
</distributionManagement>
28+
<dependencies>
29+
<dependency>
30+
<groupId>com.aliyun</groupId>
31+
<artifactId>aliyun-java-sdk-core</artifactId>
32+
<optional>true</optional>
33+
<version>[4.3.2,5.0.0)</version>
34+
</dependency>
35+
<dependency>
36+
<groupId>com.google.code.gson</groupId>
37+
<artifactId>gson</artifactId>
38+
<version>2.8.5</version>
39+
</dependency>
3640
</dependencies>
37-
<licenses>
38-
<license>
39-
<name></name>
40-
<url></url>
41-
<distribution></distribution>
42-
</license>
43-
</licenses>
44-
<scm>
45-
<connection>scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git</connection>
46-
<developerConnection>scm:git:[email protected]:aliyun/aliyun-openapi-java-sdk.git</developerConnection>
47-
<url>https://github.com/aliyun/aliyun-openapi-java-sdk</url>
48-
</scm>
49-
<developers>
50-
<developer>
51-
<id>aliyunproducts</id>
52-
<name>Aliyun SDK</name>
53-
<email>[email protected]</email>
54-
</developer>
55-
</developers>
41+
<licenses>
42+
<license>
43+
<name/>
44+
<url/>
45+
<distribution/>
46+
</license>
47+
</licenses>
48+
<scm>
49+
<connection>scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git</connection>
50+
<developerConnection>scm:git:[email protected]:aliyun/aliyun-openapi-java-sdk.git</developerConnection>
51+
<url>https://github.com/aliyun/aliyun-openapi-java-sdk</url>
52+
</scm>
53+
<developers>
54+
<developer>
55+
<id>aliyunproducts</id>
56+
<name>Aliyun SDK</name>
57+
<email>[email protected]</email>
58+
</developer>
59+
</developers>
5660
<build>
57-
<plugins>
58-
<plugin>
59-
<artifactId>maven-compiler-plugin</artifactId>
60-
<version>2.3.2</version>
61-
<configuration>
62-
<source>1.6</source>
63-
<target>1.6</target>
64-
<encoding>UTF-8</encoding>
65-
</configuration>
66-
</plugin>
67-
<plugin>
68-
<groupId>org.apache.maven.plugins</groupId>
69-
<artifactId>maven-jar-plugin</artifactId>
70-
<version>2.3.2</version>
71-
<configuration>
72-
<excludes>
61+
<plugins>
62+
<plugin>
63+
<artifactId>maven-compiler-plugin</artifactId>
64+
<version>2.3.2</version>
65+
<configuration>
66+
<source>1.6</source>
67+
<target>1.6</target>
68+
<encoding>UTF-8</encoding>
69+
</configuration>
70+
</plugin>
71+
<plugin>
72+
<groupId>org.apache.maven.plugins</groupId>
73+
<artifactId>maven-jar-plugin</artifactId>
74+
<version>2.3.2</version>
75+
<configuration>
76+
<excludes>
7377
</excludes>
74-
</configuration>
75-
</plugin>
76-
<plugin>
77-
<groupId>org.apache.maven.plugins</groupId>
78-
<artifactId>maven-surefire-plugin</artifactId>
79-
<version>2.10</version>
80-
<configuration>
81-
<argLine>-Dfile.encoding=UTF-8</argLine>
82-
</configuration>
83-
</plugin>
84-
<plugin>
85-
<groupId>org.apache.maven.plugins</groupId>
86-
<artifactId>maven-javadoc-plugin</artifactId>
87-
<version>2.8</version>
88-
<configuration>
89-
<encoding>UTF-8</encoding>
90-
</configuration>
91-
</plugin>
92-
<plugin>
93-
<groupId>org.apache.maven.plugins</groupId>
94-
<artifactId>maven-gpg-plugin</artifactId>
95-
<version>1.5</version>
96-
<executions>
97-
<execution>
98-
<id>sign-artifacts</id>
99-
<phase>verify</phase>
100-
<goals>
101-
<goal>sign</goal>
102-
</goals>
103-
</execution>
104-
</executions>
105-
</plugin>
106-
<plugin>
107-
<groupId>org.sonatype.plugins</groupId>
108-
<artifactId>nexus-staging-maven-plugin</artifactId>
109-
<version>1.6.3</version>
110-
<extensions>true</extensions>
111-
<configuration>
112-
<serverId>sonatype-nexus-staging</serverId>
113-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
114-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
115-
</configuration>
116-
</plugin>
117-
</plugins>
118-
</build>
119-
</project>
78+
</configuration>
79+
</plugin>
80+
<plugin>
81+
<groupId>org.apache.maven.plugins</groupId>
82+
<artifactId>maven-surefire-plugin</artifactId>
83+
<version>2.10</version>
84+
<configuration>
85+
<argLine>-Dfile.encoding=UTF-8</argLine>
86+
</configuration>
87+
</plugin>
88+
<plugin>
89+
<groupId>org.apache.maven.plugins</groupId>
90+
<artifactId>maven-javadoc-plugin</artifactId>
91+
<version>2.8</version>
92+
<configuration>
93+
<encoding>UTF-8</encoding>
94+
</configuration>
95+
</plugin>
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-gpg-plugin</artifactId>
99+
<version>1.5</version>
100+
<executions>
101+
<execution>
102+
<id>sign-artifacts</id>
103+
<phase>verify</phase>
104+
<goals>
105+
<goal>sign</goal>
106+
</goals>
107+
</execution>
108+
</executions>
109+
</plugin>
110+
<plugin>
111+
<groupId>org.sonatype.plugins</groupId>
112+
<artifactId>nexus-staging-maven-plugin</artifactId>
113+
<version>1.6.3</version>
114+
<extensions>true</extensions>
115+
<configuration>
116+
<serverId>sonatype-nexus-staging</serverId>
117+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
118+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
119+
</configuration>
120+
</plugin>
121+
</plugins>
122+
</build>
123+
</project>
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.arms.model.v20160804;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class ArmsQueryDataSetRequest extends RpcAcsRequest<ArmsQueryDataSetResponse> {
25+
26+
public ArmsQueryDataSetRequest() {
27+
super("ARMS", "2016-08-04", "ArmsQueryDataSet");
28+
}
29+
30+
private Long dateStr;
31+
32+
private Long minTime;
33+
34+
private Long maxTime;
35+
36+
private List<String> measuress;
37+
38+
private Integer intervalInSec;
39+
40+
private Long datasetId;
41+
42+
private List<Dimensions> dimensionss;
43+
44+
public Long getDateStr() {
45+
return this.dateStr;
46+
}
47+
48+
public void setDateStr(Long dateStr) {
49+
this.dateStr = dateStr;
50+
if(dateStr != null){
51+
putQueryParameter("DateStr", dateStr.toString());
52+
}
53+
}
54+
55+
public Long getMinTime() {
56+
return this.minTime;
57+
}
58+
59+
public void setMinTime(Long minTime) {
60+
this.minTime = minTime;
61+
if(minTime != null){
62+
putQueryParameter("MinTime", minTime.toString());
63+
}
64+
}
65+
66+
public Long getMaxTime() {
67+
return this.maxTime;
68+
}
69+
70+
public void setMaxTime(Long maxTime) {
71+
this.maxTime = maxTime;
72+
if(maxTime != null){
73+
putQueryParameter("MaxTime", maxTime.toString());
74+
}
75+
}
76+
77+
public List<String> getMeasuress() {
78+
return this.measuress;
79+
}
80+
81+
public void setMeasuress(List<String> measuress) {
82+
this.measuress = measuress;
83+
if (measuress != null) {
84+
for (int i = 0; i < measuress.size(); i++) {
85+
putQueryParameter("Measures." + (i + 1) , measuress.get(i));
86+
}
87+
}
88+
}
89+
90+
public Integer getIntervalInSec() {
91+
return this.intervalInSec;
92+
}
93+
94+
public void setIntervalInSec(Integer intervalInSec) {
95+
this.intervalInSec = intervalInSec;
96+
if(intervalInSec != null){
97+
putQueryParameter("IntervalInSec", intervalInSec.toString());
98+
}
99+
}
100+
101+
public Long getDatasetId() {
102+
return this.datasetId;
103+
}
104+
105+
public void setDatasetId(Long datasetId) {
106+
this.datasetId = datasetId;
107+
if(datasetId != null){
108+
putQueryParameter("DatasetId", datasetId.toString());
109+
}
110+
}
111+
112+
public List<Dimensions> getDimensionss() {
113+
return this.dimensionss;
114+
}
115+
116+
public void setDimensionss(List<Dimensions> dimensionss) {
117+
this.dimensionss = dimensionss;
118+
if (dimensionss != null) {
119+
for (int depth1 = 0; depth1 < dimensionss.size(); depth1++) {
120+
putQueryParameter("Dimensions." + (depth1 + 1) + ".Value" , dimensionss.get(depth1).getValue());
121+
putQueryParameter("Dimensions." + (depth1 + 1) + ".Key" , dimensionss.get(depth1).getKey());
122+
}
123+
}
124+
}
125+
126+
public static class Dimensions {
127+
128+
private String value;
129+
130+
private String key;
131+
132+
public String getValue() {
133+
return this.value;
134+
}
135+
136+
public void setValue(String value) {
137+
this.value = value;
138+
}
139+
140+
public String getKey() {
141+
return this.key;
142+
}
143+
144+
public void setKey(String key) {
145+
this.key = key;
146+
}
147+
}
148+
149+
@Override
150+
public Class<ArmsQueryDataSetResponse> getResponseClass() {
151+
return ArmsQueryDataSetResponse.class;
152+
}
153+
154+
}

0 commit comments

Comments
 (0)