Delete tenant data #378
Merged
tcdlpds
merged 1 commits from ashvini/device-mgt-core:RemoveDeviceOrg
into master
8 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'ashvini/device-mgt-core:RemoveDeviceOrg'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Fixes: https://roadmap.entgra.net/issues/10175
} catch (Exception e) {
String msg = "Error getting tenant ID from domain: "
+ tenantDomain;
log.error(msg);
Log exception as well.
log.error(msg, e);
throw new ApplicationManagementException(msg, e);
} catch (ApplicationManagementDAOException e) {
String msg = "Database access error is occurred when getting applications for tenant with ID: " + tenantId;
Don't we need to rollback here?
log.error(msg, e);
throw new ApplicationManagementException(msg, e);
} catch (LifeCycleManagementDAOException e) {
String msg = "Error occurred while deleting life-cycle state data of application releases of the tenant"
Don't we need to rollback here?
log.error(msg, e);
throw new ApplicationManagementException(msg, e);
} catch (ReviewManagementDAOException e) {
String msg = "Error occurred while deleting reviews of application releases of the applications"
Don't we need to rollback here?
import com.google.common.reflect.TypeToken;
import com.google.gson.Gson;
import io.entgra.device.mgt.core.device.mgt.common.metadata.mgt.DeviceStatusManagementService;
import io.entgra.device.mgt.core.device.mgt.core.dao.*;
Do not use wild card imports
cf57b77ce0
to655e979e6c
8 months ago}
try {
DeviceManagementDAOFactory.openConnection();
Here you have to begin a transaction.
655e979e6c
to858cbd9511
8 months ago9ff9a97f2a
to159f603605
8 months agoea542894cf
into master 8 months agoReviewers
ea542894cf
.