Skip to content

Commit 4dee758

Browse files
committed
ONS SDK Auto Released By wenting.ywt,Version:3.1.0
发布日志: 1, Instantiation: adding the property of instance. 2, Replace the "ProducerId" and "ConsumerId" properties with "GROUP_ID". 3, Remove parameter OnsRegionId.
1 parent 2d4e04a commit 4dee758

File tree

125 files changed

+297
-877
lines changed

Some content is hidden

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

125 files changed

+297
-877
lines changed

aliyun-java-sdk-ons/ChangeLog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2019-02-15 Version: 3.1.0
2+
1, Instantiation: adding the property of instance.
3+
2, Replace the "ProducerId" and "ConsumerId" properties with "GROUP_ID".
4+
3, Remove parameter OnsRegionId.
5+
16
2019-02-13 Version: 3.0.1
27
1, Instantiation: adding the property of instance
38
2, Replace the "ProducerId" and "ConsumerId" properties with "GROUP_ID"

aliyun-java-sdk-ons/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-ons</artifactId>
55
<packaging>jar</packaging>
6-
<version>3.0.1</version>
6+
<version>3.1.0</version>
77
<name>aliyun-java-sdk-ons</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* limitations under the License.
1313
*/
1414

15-
package com.aliyuncs.ons.model.v20180628;
15+
package com.aliyuncs.ons.model.v20190214;
1616

1717
import com.aliyuncs.RpcAcsRequest;
1818

@@ -23,13 +23,11 @@
2323
public class OnsConsumerAccumulateRequest extends RpcAcsRequest<OnsConsumerAccumulateResponse> {
2424

2525
public OnsConsumerAccumulateRequest() {
26-
super("Ons", "2018-06-28", "OnsConsumerAccumulate", "ons");
26+
super("Ons", "2019-02-14", "OnsConsumerAccumulate", "ons");
2727
}
2828

2929
private Long preventCache;
3030

31-
private String onsRegionId;
32-
3331
private String instanceId;
3432

3533
private String groupId;
@@ -47,17 +45,6 @@ public void setPreventCache(Long preventCache) {
4745
}
4846
}
4947

50-
public String getOnsRegionId() {
51-
return this.onsRegionId;
52-
}
53-
54-
public void setOnsRegionId(String onsRegionId) {
55-
this.onsRegionId = onsRegionId;
56-
if(onsRegionId != null){
57-
putQueryParameter("OnsRegionId", onsRegionId);
58-
}
59-
}
60-
6148
public String getInstanceId() {
6249
return this.instanceId;
6350
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
* limitations under the License.
1313
*/
1414

15-
package com.aliyuncs.ons.model.v20180628;
15+
package com.aliyuncs.ons.model.v20190214;
1616

1717
import java.util.List;
1818
import com.aliyuncs.AcsResponse;
19-
import com.aliyuncs.ons.transform.v20180628.OnsConsumerAccumulateResponseUnmarshaller;
19+
import com.aliyuncs.ons.transform.v20190214.OnsConsumerAccumulateResponseUnmarshaller;
2020
import com.aliyuncs.transform.UnmarshallerContext;
2121

2222
/**
Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* limitations under the License.
1313
*/
1414

15-
package com.aliyuncs.ons.model.v20180628;
15+
package com.aliyuncs.ons.model.v20190214;
1616

1717
import com.aliyuncs.RpcAcsRequest;
1818

@@ -23,13 +23,11 @@
2323
public class OnsConsumerGetConnectionRequest extends RpcAcsRequest<OnsConsumerGetConnectionResponse> {
2424

2525
public OnsConsumerGetConnectionRequest() {
26-
super("Ons", "2018-06-28", "OnsConsumerGetConnection", "ons");
26+
super("Ons", "2019-02-14", "OnsConsumerGetConnection", "ons");
2727
}
2828

2929
private Long preventCache;
3030

31-
private String onsRegionId;
32-
3331
private String instanceId;
3432

3533
private String groupId;
@@ -45,17 +43,6 @@ public void setPreventCache(Long preventCache) {
4543
}
4644
}
4745

48-
public String getOnsRegionId() {
49-
return this.onsRegionId;
50-
}
51-
52-
public void setOnsRegionId(String onsRegionId) {
53-
this.onsRegionId = onsRegionId;
54-
if(onsRegionId != null){
55-
putQueryParameter("OnsRegionId", onsRegionId);
56-
}
57-
}
58-
5946
public String getInstanceId() {
6047
return this.instanceId;
6148
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
* limitations under the License.
1313
*/
1414

15-
package com.aliyuncs.ons.model.v20180628;
15+
package com.aliyuncs.ons.model.v20190214;
1616

1717
import java.util.List;
1818
import com.aliyuncs.AcsResponse;
19-
import com.aliyuncs.ons.transform.v20180628.OnsConsumerGetConnectionResponseUnmarshaller;
19+
import com.aliyuncs.ons.transform.v20190214.OnsConsumerGetConnectionResponseUnmarshaller;
2020
import com.aliyuncs.transform.UnmarshallerContext;
2121

2222
/**
Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* limitations under the License.
1313
*/
1414

15-
package com.aliyuncs.ons.model.v20180628;
15+
package com.aliyuncs.ons.model.v20190214;
1616

1717
import com.aliyuncs.RpcAcsRequest;
1818

@@ -23,13 +23,11 @@
2323
public class OnsConsumerResetOffsetRequest extends RpcAcsRequest<OnsConsumerResetOffsetResponse> {
2424

2525
public OnsConsumerResetOffsetRequest() {
26-
super("Ons", "2018-06-28", "OnsConsumerResetOffset", "ons");
26+
super("Ons", "2019-02-14", "OnsConsumerResetOffset", "ons");
2727
}
2828

2929
private Long preventCache;
3030

31-
private String onsRegionId;
32-
3331
private String instanceId;
3432

3533
private String groupId;
@@ -51,17 +49,6 @@ public void setPreventCache(Long preventCache) {
5149
}
5250
}
5351

54-
public String getOnsRegionId() {
55-
return this.onsRegionId;
56-
}
57-
58-
public void setOnsRegionId(String onsRegionId) {
59-
this.onsRegionId = onsRegionId;
60-
if(onsRegionId != null){
61-
putQueryParameter("OnsRegionId", onsRegionId);
62-
}
63-
}
64-
6552
public String getInstanceId() {
6653
return this.instanceId;
6754
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
* limitations under the License.
1313
*/
1414

15-
package com.aliyuncs.ons.model.v20180628;
15+
package com.aliyuncs.ons.model.v20190214;
1616

1717
import com.aliyuncs.AcsResponse;
18-
import com.aliyuncs.ons.transform.v20180628.OnsConsumerResetOffsetResponseUnmarshaller;
18+
import com.aliyuncs.ons.transform.v20190214.OnsConsumerResetOffsetResponseUnmarshaller;
1919
import com.aliyuncs.transform.UnmarshallerContext;
2020

2121
/**

aliyun-java-sdk-ons/src/main/java/com/aliyuncs/ons/model/v20180628/OnsConsumerStatusRequest.java renamed to aliyun-java-sdk-ons/src/main/java/com/aliyuncs/ons/model/v20190214/OnsConsumerStatusRequest.java

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* limitations under the License.
1313
*/
1414

15-
package com.aliyuncs.ons.model.v20180628;
15+
package com.aliyuncs.ons.model.v20190214;
1616

1717
import com.aliyuncs.RpcAcsRequest;
1818

@@ -23,13 +23,11 @@
2323
public class OnsConsumerStatusRequest extends RpcAcsRequest<OnsConsumerStatusResponse> {
2424

2525
public OnsConsumerStatusRequest() {
26-
super("Ons", "2018-06-28", "OnsConsumerStatus", "ons");
26+
super("Ons", "2019-02-14", "OnsConsumerStatus", "ons");
2727
}
2828

2929
private Long preventCache;
3030

31-
private String onsRegionId;
32-
3331
private String instanceId;
3432

3533
private Boolean needJstack;
@@ -49,17 +47,6 @@ public void setPreventCache(Long preventCache) {
4947
}
5048
}
5149

52-
public String getOnsRegionId() {
53-
return this.onsRegionId;
54-
}
55-
56-
public void setOnsRegionId(String onsRegionId) {
57-
this.onsRegionId = onsRegionId;
58-
if(onsRegionId != null){
59-
putQueryParameter("OnsRegionId", onsRegionId);
60-
}
61-
}
62-
6350
public String getInstanceId() {
6451
return this.instanceId;
6552
}

aliyun-java-sdk-ons/src/main/java/com/aliyuncs/ons/model/v20180628/OnsConsumerStatusResponse.java renamed to aliyun-java-sdk-ons/src/main/java/com/aliyuncs/ons/model/v20190214/OnsConsumerStatusResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
* limitations under the License.
1313
*/
1414

15-
package com.aliyuncs.ons.model.v20180628;
15+
package com.aliyuncs.ons.model.v20190214;
1616

1717
import java.util.List;
1818
import com.aliyuncs.AcsResponse;
19-
import com.aliyuncs.ons.transform.v20180628.OnsConsumerStatusResponseUnmarshaller;
19+
import com.aliyuncs.ons.transform.v20190214.OnsConsumerStatusResponseUnmarshaller;
2020
import com.aliyuncs.transform.UnmarshallerContext;
2121

2222
/**

0 commit comments

Comments
 (0)