Improve tenant deleting logic #481
Merged
tcdlpds
merged 1 commits from tcdlpds/device-mgt-core:apim420
into apim420
4 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'tcdlpds/device-mgt-core:apim420'
Deleting a branch is permanent. It CANNOT be undone. Continue?
c4901bf1d3
toe1594c00f1
4 months ago/**
* Delete all application related data of a tenant by tenant Domain
Comments should be corrected as tenant id in the places where it previously mentioned as tenant domain
* @throws ApplicationManagementException thrown if an error occurs when deleting data
*/
void deleteApplicationDataByTenantDomain(String tenantDomain) throws ApplicationManagementException;
void deleteApplicationDataByTenantDomain(int tenantId) throws ApplicationManagementException;
Method name should be corrected as
deleteApplicationDataByTenantId
* @throws ApplicationManagementException thrown if an error occurs when deleting app folders
*/
void deleteApplicationArtifactsByTenantDomain(String tenantDomain) throws ApplicationManagementException;
void deleteApplicationArtifactsByTenantDomain(int tenantId) throws ApplicationManagementException;
Method name should be corrected as
deleteApplicationArtifactsByTenantId
} catch (DBConnectionException e) {
String msg = "Error occurred while observing the database connection to delete applications for tenant with " +
"domain: " + tenantDomain;
"tenant ID: " + tenantId;
Message should be corrected with
tenantId
instead of domain.289f6ef352
into apim420 4 months agoReviewers
289f6ef352
.