You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: engine/storage/datamotion/src/main/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
for (Map.Entry<VolumeInfo, DataStore> entry : volumeDataStoreMap.entrySet()) {
2011
2013
VolumeInfosrcVolumeInfo = entry.getKey();
2012
2014
DataStoredestDataStore = entry.getValue();
@@ -2034,6 +2036,9 @@ public void copyAsync(Map<VolumeInfo, DataStore> volumeDataStoreMap, VirtualMach
2034
2036
logger.debug(String.format("Skipping copy template from source storage pool [%s] to target storage pool [%s] before migration due to volume [%s] does not have a template.", sourceStoragePool.getId(), destStoragePool.getId(), srcVolumeInfo.getId()));
LOGGER.debug(String.format("Copying template [%s] of volume [%s] from source storage pool [%s] to target storage pool [%s].", srcVolumeInfo.getTemplateId(), srcVolumeInfo.getId(), sourceStoragePool.getId(), destStoragePool.getId()));
LOGGER.debug(String.format("Skipping copy template from source storage pool [%s] to target storage pool [%s] before migration due to volume [%s] does not have a " +
2179
+
"template or we are doing full clone migration.", sourceStoragePool.getId(), destStoragePool.getId(), srcVolumeInfo.getId()));
Copy file name to clipboardexpand all lines: plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaBalanceCmd.java
+13-1
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,9 @@
21
21
22
22
importjavax.inject.Inject;
23
23
24
+
importcom.cloud.user.Account;
25
+
26
+
importorg.apache.cloudstack.api.ACL;
24
27
importorg.apache.cloudstack.api.APICommand;
25
28
importorg.apache.cloudstack.api.ApiConstants;
26
29
importorg.apache.cloudstack.api.BaseCmd;
@@ -40,6 +43,7 @@ public class QuotaBalanceCmd extends BaseCmd {
40
43
@Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, required = true, description = "Account Id for which statement needs to be generated")
41
44
privateStringaccountName;
42
45
46
+
@ACL
43
47
@Parameter(name = ApiConstants.DOMAIN_ID, type = CommandType.UUID, required = true, entityType = DomainResponse.class, description = "If domain Id is given and the caller is domain admin then the statement is generated for domain.")
44
48
privateLongdomainId;
45
49
@@ -51,6 +55,7 @@ public class QuotaBalanceCmd extends BaseCmd {
@Parameter(name = ApiConstants.ACCOUNT_ID, type = CommandType.UUID, entityType = AccountResponse.class, description = "List usage records for the specified account")
55
60
privateLongaccountId;
56
61
@@ -104,7 +109,14 @@ public void setStartDate(Date startDate) {
Copy file name to clipboardexpand all lines: plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaCreditsCmd.java
+6
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
19
19
importcom.cloud.user.Account;
20
20
21
+
importorg.apache.cloudstack.api.ACL;
21
22
importorg.apache.cloudstack.api.APICommand;
22
23
importorg.apache.cloudstack.api.ApiConstants;
23
24
importorg.apache.cloudstack.api.ApiErrorCode;
@@ -46,6 +47,7 @@ public class QuotaCreditsCmd extends BaseCmd {
46
47
@Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, required = true, description = "Account Id for which quota credits need to be added")
47
48
privateStringaccountName;
48
49
50
+
@ACL
49
51
@Parameter(name = ApiConstants.DOMAIN_ID, type = CommandType.UUID, required = true, entityType = DomainResponse.class, description = "Domain for which quota credits need to be added")
Copy file name to clipboardexpand all lines: plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaStatementCmd.java
+6
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@
21
21
22
22
importjavax.inject.Inject;
23
23
24
+
importorg.apache.cloudstack.api.ACL;
24
25
importorg.apache.cloudstack.api.APICommand;
25
26
importorg.apache.cloudstack.api.ApiConstants;
26
27
importorg.apache.cloudstack.api.BaseCmd;
@@ -42,6 +43,7 @@ public class QuotaStatementCmd extends BaseCmd {
42
43
@Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, required = true, description = "Optional, Account Id for which statement needs to be generated")
43
44
privateStringaccountName;
44
45
46
+
@ACL
45
47
@Parameter(name = ApiConstants.DOMAIN_ID, type = CommandType.UUID, required = true, entityType = DomainResponse.class, description = "Optional, If domain Id is given and the caller is domain admin then the statement is generated for domain.")
46
48
privateLongdomainId;
47
49
@@ -56,6 +58,7 @@ public class QuotaStatementCmd extends BaseCmd {
56
58
@Parameter(name = ApiConstants.TYPE, type = CommandType.INTEGER, description = "List quota usage records for the specified usage type")
57
59
privateIntegerusageType;
58
60
61
+
@ACL
59
62
@Parameter(name = ApiConstants.ACCOUNT_ID, type = CommandType.UUID, entityType = AccountResponse.class, description = "List usage records for the specified account")
60
63
privateLongaccountId;
61
64
@@ -112,6 +115,9 @@ public void setStartDate(Date startDate) {
Copy file name to clipboardexpand all lines: plugins/network-elements/juniper-contrail/src/test/java/org/apache/cloudstack/network/contrail/management/MockAccountManager.java
Copy file name to clipboardexpand all lines: plugins/user-authenticators/saml2/src/main/java/org/apache/cloudstack/api/command/ListAndSwitchSAMLAccountCmd.java
"When enabled (default and recommended), SAML2 signature checks are enforced and lack of signature in the SAML SSO response will cause login exception. Disabling this is not advisable but provided for backward compatibility for users who are able to accept the risks.", false);
"The Path attribute of sessionkey cookie when SAML users have logged in. If not set, it will be set to the path of SAML redirection URL (saml2.redirect.url).", true);
0 commit comments