Fix analytics publishing for Windows devices #240
Merged
pahansith
merged 1 commits from navodzoysa/device-mgt-core:fix-windows-analytics
into master
1 year ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'navodzoysa/device-mgt-core:fix-windows-analytics'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Purpose
Fixes https://roadmap.entgra.net/issues/10375
Changes
Check if the username taken from CarbonContext is not null and if it is null then get the device owner from device enrollment info and authorize if user is the device owner.
Handle Connection Refused exception by returning a 503 (Service Unavailable). This was added because if the reporting backend is down, the exception thrown will stop the device from syncing.
51f1bf1280
into master 1 year ago51f1bf1280
.