Add validation for having pending operations while app installation #550

Merged
navodzoysa merged 4 commits from prathabanKavin/device-mgt-core:appinstallfixx into master 2 months ago
## Purpose Fixes https://roadmap.entgra.net/issues/11578
prathabanKavin added 1 commit 2 months ago
prathabanKavin force-pushed appinstallfixx from 5f298dba51 to 79c3837d8a 2 months ago
prathabanKavin changed title from WIP: Add validation for having pending operations while app installation to Add validation for having pending operations while app installation 2 months ago
tcdlpds requested changes 2 months ago
}
}
private <T> void validatePendingAppSubscription(List<Device> devices, SubscribingDeviceIdHolder subscribingDeviceIdHolder) throws BadRequestException{
Owner

Add Java Doc comment

Add Java Doc comment
prathabanKavin marked this conversation as resolved
prathabanKavin added 1 commit 2 months ago
tcdlpds approved these changes 2 months ago
navodzoysa requested changes 2 months ago
String msg = "All devices in the subscription have pending operations for this application.";
log.error(msg);
throw new BadRequestException(msg);
}
Collaborator

Fix code formatting in this method

Fix code formatting in this method
prathabanKavin marked this conversation as resolved
prathabanKavin added 1 commit 2 months ago
navodzoysa merged commit cacd5ec742 into master 2 months ago

Reviewers

tcdlpds approved these changes 2 months ago
navodzoysa requested changes 2 months ago
The pull request has been merged as cacd5ec742.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: community/device-mgt-core#550
Loading…
There is no content yet.