Skip to content

Commit f5efe56

Browse files
committed
Merge remote-tracking branch 'apache/4.19'
2 parents bc28665 + 9148701 commit f5efe56

File tree

59 files changed

+402
-16
lines changed

Some content is hidden

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

59 files changed

+402
-16
lines changed

api/src/main/java/org/apache/cloudstack/affinity/AffinityGroupResponse.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ public class AffinityGroupResponse extends BaseResponse implements ControlledVie
5656
@Param(description = "the domain name of the affinity group")
5757
private String domainName;
5858

59+
@SerializedName(ApiConstants.DOMAIN_PATH)
60+
@Param(description = "path of the Domain the affinity group belongs to", since = "4.19.2.0")
61+
private String domainPath;
62+
5963
@SerializedName(ApiConstants.PROJECT_ID)
6064
@Param(description = "the project ID of the affinity group")
6165
private String projectId;
@@ -115,6 +119,11 @@ public void setDomainName(String domainName) {
115119
this.domainName = domainName;
116120
}
117121

122+
@Override
123+
public void setDomainPath(String domainPath) {
124+
this.domainPath = domainPath;
125+
}
126+
118127
@Override
119128
public int hashCode() {
120129
final int prime = 31;

api/src/main/java/org/apache/cloudstack/api/command/user/vm/UpdateVMCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public class UpdateVMCmd extends BaseCustomIdCmd implements SecurityGroupAction,
143143
+ " Example: dhcpoptionsnetworklist[0].dhcp:114=url&dhcpoptionsetworklist[0].networkid=networkid&dhcpoptionsetworklist[0].dhcp:66=www.test.com")
144144
private Map dhcpOptionsNetworkList;
145145

146-
@Parameter(name = ApiConstants.EXTRA_CONFIG, type = CommandType.STRING, since = "4.12", description = "an optional URL encoded string that can be passed to the virtual machine upon successful deployment", authorized = { RoleType.Admin }, length = 5120)
146+
@Parameter(name = ApiConstants.EXTRA_CONFIG, type = CommandType.STRING, since = "4.12", description = "an optional URL encoded string that can be passed to the virtual machine upon successful deployment", length = 5120)
147147
private String extraConfig;
148148

149149
/////////////////////////////////////////////////////

api/src/main/java/org/apache/cloudstack/api/command/user/vpn/AddVpnUserCmd.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ public void execute() {
131131
if (domain != null) {
132132
vpnResponse.setDomainId(domain.getUuid());
133133
vpnResponse.setDomainName(domain.getName());
134+
vpnResponse.setDomainPath(domain.getPath());
134135
}
135136

136137
vpnResponse.setResponseName(getCommandName());

api/src/main/java/org/apache/cloudstack/api/response/AcquireIPAddressResponse.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ public class AcquireIPAddressResponse extends BaseResponse implements Controlle
7575
@Param(description = "the domain the public IP address is associated with")
7676
private String domainName;
7777

78+
@SerializedName(ApiConstants.DOMAIN_PATH)
79+
@Param(description = "path of the domain to which the public IP address belongs", since = "4.19.2.0")
80+
private String domainPath;
81+
7882
@SerializedName(ApiConstants.FOR_VIRTUAL_NETWORK)
7983
@Param(description = "the virtual network for the IP address")
8084
private Boolean forVirtualNetwork;
@@ -190,6 +194,11 @@ public void setDomainName(String domainName) {
190194
this.domainName = domainName;
191195
}
192196

197+
@Override
198+
public void setDomainPath(String domainPath) {
199+
this.domainPath = domainPath;
200+
}
201+
193202
public void setForVirtualNetwork(Boolean forVirtualNetwork) {
194203
this.forVirtualNetwork = forVirtualNetwork;
195204
}

api/src/main/java/org/apache/cloudstack/api/response/ApplicationLoadBalancerResponse.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ public class ApplicationLoadBalancerResponse extends BaseResponse implements Con
7676
@Param(description = "the domain of the Load Balancer")
7777
private String domainName;
7878

79+
@SerializedName(ApiConstants.DOMAIN_PATH)
80+
@Param(description = "path of the domain to which the Load Balancer belongs", since = "4.19.2.0")
81+
private String domainPath;
82+
7983
@SerializedName("loadbalancerrule")
8084
@Param(description = "the list of rules associated with the Load Balancer", responseObject = ApplicationLoadBalancerRuleResponse.class)
8185
private List<ApplicationLoadBalancerRuleResponse> lbRules;
@@ -107,6 +111,11 @@ public void setDomainName(String domainName) {
107111
this.domainName = domainName;
108112
}
109113

114+
@Override
115+
public void setDomainPath(String domainPath) {
116+
this.domainPath = domainPath;
117+
}
118+
110119
@Override
111120
public void setProjectId(String projectId) {
112121
this.projectId = projectId;

api/src/main/java/org/apache/cloudstack/api/response/AutoScalePolicyResponse.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ public class AutoScalePolicyResponse extends BaseResponse implements ControlledE
7474
@Param(description = "the domain name of the autoscale policy")
7575
private String domainName;
7676

77+
@SerializedName(ApiConstants.DOMAIN_PATH)
78+
@Param(description = "path of the domain to which the autoscale policy belongs", since = "4.19.2.0")
79+
private String domainPath;
80+
7781
@Override
7882
public String getObjectId() {
7983
return this.id;
@@ -118,6 +122,11 @@ public void setDomainName(String domainName) {
118122
this.domainName = domainName;
119123
}
120124

125+
@Override
126+
public void setDomainPath(String domainPath) {
127+
this.domainPath = domainPath;
128+
}
129+
121130
@Override
122131
public void setProjectId(String projectId) {
123132
this.projectId = projectId;

api/src/main/java/org/apache/cloudstack/api/response/AutoScaleVmGroupResponse.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ public class AutoScaleVmGroupResponse extends BaseResponseWithAnnotations implem
123123
@Param(description = "the domain name of the vm group")
124124
private String domainName;
125125

126+
@SerializedName(ApiConstants.DOMAIN_PATH)
127+
@Param(description = "path of the domain to which the vm group belongs", since = "4.19.2.0")
128+
private String domainPath;
129+
126130
@SerializedName(ApiConstants.FOR_DISPLAY)
127131
@Param(description = "is group for display to the regular user", since = "4.4", authorized = {RoleType.Admin})
128132
private Boolean forDisplay;
@@ -227,6 +231,11 @@ public void setDomainName(String domainName) {
227231
this.domainName = domainName;
228232
}
229233

234+
@Override
235+
public void setDomainPath(String domainPath) {
236+
this.domainPath = domainPath;
237+
}
238+
230239
@Override
231240
public void setProjectId(String projectId) {
232241
this.projectId = projectId;

api/src/main/java/org/apache/cloudstack/api/response/AutoScaleVmProfileResponse.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ public class AutoScaleVmProfileResponse extends BaseResponse implements Controll
114114
@Param(description = "the domain name of the vm profile")
115115
private String domainName;
116116

117+
@SerializedName(ApiConstants.DOMAIN_PATH)
118+
@Param(description = "path of the domain to which the vm profile belongs", since = "4.19.2.0")
119+
private String domainPath;
120+
117121
@SerializedName(ApiConstants.FOR_DISPLAY)
118122
@Param(description = "is profile for display to the regular user", since = "4.4", authorized = {RoleType.Admin})
119123
private Boolean forDisplay;
@@ -196,6 +200,10 @@ public void setDomainName(String domainName) {
196200
this.domainName = domainName;
197201
}
198202

203+
@Override
204+
public void setDomainPath(String domainPath) {
205+
this.domainPath = domainPath;
206+
}
199207
@Override
200208
public void setProjectId(String projectId) {
201209
this.projectId = projectId;

api/src/main/java/org/apache/cloudstack/api/response/BucketResponse.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ public class BucketResponse extends BaseResponseWithTagInformation implements Co
5454
@SerializedName(ApiConstants.DOMAIN)
5555
@Param(description = "the domain associated with the bucket")
5656
private String domainName;
57+
58+
@SerializedName(ApiConstants.DOMAIN_PATH)
59+
@Param(description = "path of the domain to which the bucket belongs", since = "4.19.2.0")
60+
private String domainPath;
5761
@SerializedName(ApiConstants.OBJECT_STORAGE_ID)
5862
@Param(description = "id of the object storage hosting the Bucket; returned to admin user only")
5963
private String objectStoragePoolId;
@@ -146,6 +150,11 @@ public void setDomainName(String domainName) {
146150
this.domainName = domainName;
147151
}
148152

153+
@Override
154+
public void setDomainPath(String domainPath) {
155+
this.domainPath = domainPath;
156+
}
157+
149158
@Override
150159
public void setProjectId(String projectId) {
151160
this.projectId = projectId;

api/src/main/java/org/apache/cloudstack/api/response/ConditionResponse.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ public class ConditionResponse extends BaseResponse implements ControlledEntityR
6161
@Param(description = "the domain name of the owner.")
6262
private String domain;
6363

64+
@SerializedName(ApiConstants.DOMAIN_PATH)
65+
@Param(description = "path of the domain to which the Condition owner belongs", since = "4.19.2.0")
66+
private String domainPath;
67+
6468
@SerializedName(ApiConstants.ZONE_ID)
6569
@Param(description = "zone id of counter")
6670
private String zoneId;
@@ -138,4 +142,9 @@ public void setDomainId(String domainId) {
138142
public void setDomainName(String domainName) {
139143
this.domain = domainName;
140144
}
145+
146+
@Override
147+
public void setDomainPath(String domainPath) {
148+
this.domainPath = domainPath;
149+
}
141150
}

0 commit comments

Comments
 (0)