mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
fixing eventReceiver
This commit is contained in:
parent
198b3c67dc
commit
ec91b0a539
@ -62,7 +62,7 @@ public class EventReceiverServiceImpl implements EventReceiverService {
|
|||||||
entity(message).build();
|
entity(message).build();
|
||||||
}
|
}
|
||||||
} catch (DataPublisherConfigurationException e) {
|
} catch (DataPublisherConfigurationException e) {
|
||||||
String msg = "Error occurred while getting the Data publisher Service.";
|
String msg = "Error occurred while getting the Data publisher Service instance.";
|
||||||
log.error(msg, e);
|
log.error(msg, e);
|
||||||
throw new UnexpectedServerErrorException(
|
throw new UnexpectedServerErrorException(
|
||||||
new ErrorResponse.ErrorResponseBuilder().setCode(500l).setMessage(msg).build());
|
new ErrorResponse.ErrorResponseBuilder().setCode(500l).setMessage(msg).build());
|
||||||
|
|||||||
@ -388,7 +388,7 @@
|
|||||||
<Permission>
|
<Permission>
|
||||||
<name>Event Retrieve</name>
|
<name>Event Retrieve</name>
|
||||||
<path>/device-mgt/android/events/view</path>
|
<path>/device-mgt/android/events/view</path>
|
||||||
<url>/events/*</url>
|
<url>/events</url>
|
||||||
<method>GET</method>
|
<method>GET</method>
|
||||||
<scope>emm_admin</scope>
|
<scope>emm_admin</scope>
|
||||||
</Permission>
|
</Permission>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user