Add configuration to delete Tenant Application artifacts #435
Merged
tcdlpds
merged 2 commits from ashvini/device-mgt-core:Imp#11122
into master
4 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'ashvini/device-mgt-core:Imp#11122'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Add configuration to delete Tenant Application artifactsto WIP: Add configuration to delete Tenant Application artifacts 5 months ago48069dd351
to0d33a9e674
5 months ago0d33a9e674
to80c5e72fa0
5 months ago80c5e72fa0
tob4d0896c95
5 months agoWIP: Add configuration to delete Tenant Application artifactsto Add configuration to delete Tenant Application artifacts 5 months ago*/
void deleteApplicationDataOfTenant(int tenantId) throws ApplicationManagementException;
void deleteApplicationDataByTenantDomain(String tenantDomain) throws ApplicationManagementException;
Add Java Doc comments for all these methods
log.error(msg);
return Response.status(Response.Status.UNAUTHORIZED).entity(msg).build();
} else {
if(deleteAppArtifacts){
Fix formatting issue
a6f6e9ae84
toe01f1f8437
5 months agoAdd configuration to delete Tenant Application artifactsto WIP: Add configuration to delete Tenant Application artifacts 5 months agoe01f1f8437
to9e13ca057b
5 months ago9e13ca057b
toe0ec8da653
5 months agoe0ec8da653
toa9797199e1
4 months agoa9797199e1
to711bcf18f1
4 months agoWIP: Add configuration to delete Tenant Application artifactsto Add configuration to delete Tenant Application artifacts 4 months agocomponentContext.getBundleContext().registerService(DeviceStatusManagementService.class.getName(),
deviceStatusManagementService, null);
TenantMgtDataHolder.getInstance().setDeviceStatusManagementService(deviceStatusManagementService);
TenantManagerAdminService tenantManagerAdminService = new TenantManagerAdminServiceImpl();
Why there are two services for tenant management admin service?
711bcf18f1
to9698f93bd6
4 months ago9698f93bd6
to8c23437247
4 months agoAdd configuration to delete Tenant Application artifactsto WIP: Add configuration to delete Tenant Application artifacts 4 months ago8c23437247
to2df6575470
4 months agoint tenantId;
try {
tenantId = DataHolder.getInstance().getTenantManagerAdminService().getTenantId(tenantDomain);
APIUtil.getApplicationStorageManager().deleteAppFolderOfTenant(tenantId);
Can't we get this from dataholder?
2df6575470
toe1a47c68fb
4 months agoWIP: Add configuration to delete Tenant Application artifactsto Add configuration to delete Tenant Application artifacts 4 months ago2ac2b0fc37
into master 4 months agoReviewers
2ac2b0fc37
.