Skip to content

Commit

Permalink
Fix bug asyncExecute Error.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 30, 2024
1 parent c694eb7 commit aa71108
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-bpstudio/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-08-30 Version: 2.0.6
- Fix bug asyncExecute Error.

2024-08-29 Version: 2.0.5
- Fix bug asyncExecute Error.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-bpstudio/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-bpstudio</artifactId>
<packaging>jar</packaging>
<version>2.0.5</version>
<version>2.0.6</version>
<name>aliyun-java-sdk-bpstudio</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ public static class Data {

private String error;

private Double deployPercent;

private List<Item> priceList;

private List<Item1> checklist;
Expand Down Expand Up @@ -163,6 +165,14 @@ public void setError(String error) {
this.error = error;
}

public Double getDeployPercent() {
return this.deployPercent;
}

public void setDeployPercent(Double deployPercent) {
this.deployPercent = deployPercent;
}

public List<Item> getPriceList() {
return this.priceList;
}
Expand Down Expand Up @@ -421,6 +431,8 @@ public static class Item2 {

private String lifecycle;

private String nodeLabel;

public String getStatus() {
return this.status;
}
Expand Down Expand Up @@ -484,6 +496,14 @@ public String getLifecycle() {
public void setLifecycle(String lifecycle) {
this.lifecycle = lifecycle;
}

public String getNodeLabel() {
return this.nodeLabel;
}

public void setNodeLabel(String nodeLabel) {
this.nodeLabel = nodeLabel;
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public static GetApplicationResponse unmarshall(GetApplicationResponse getApplic
data.setResourceGroupId(_ctx.stringValue("GetApplicationResponse.Data.ResourceGroupId"));
data.setStatus(_ctx.stringValue("GetApplicationResponse.Data.Status"));
data.setError(_ctx.stringValue("GetApplicationResponse.Data.Error"));
data.setDeployPercent(_ctx.doubleValue("GetApplicationResponse.Data.DeployPercent"));

List<Item> priceList = new ArrayList<Item>();
for (int i = 0; i < _ctx.lengthValue("GetApplicationResponse.Data.PriceList.Length"); i++) {
Expand Down Expand Up @@ -92,6 +93,7 @@ public static GetApplicationResponse unmarshall(GetApplicationResponse getApplic
item2.setResourceType(_ctx.stringValue("GetApplicationResponse.Data.ResourceList["+ i +"].ResourceType"));
item2.setRemark(_ctx.stringValue("GetApplicationResponse.Data.ResourceList["+ i +"].Remark"));
item2.setLifecycle(_ctx.stringValue("GetApplicationResponse.Data.ResourceList["+ i +"].Lifecycle"));
item2.setNodeLabel(_ctx.stringValue("GetApplicationResponse.Data.ResourceList["+ i +"].NodeLabel"));

resourceList.add(item2);
}
Expand Down

0 comments on commit aa71108

Please sign in to comment.