Add authorization in check deploy of library
This commit is contained in:
parent
e92739091f
commit
5bad820e3d
|
@ -44,7 +44,7 @@ public class MonitorLibraryCheckDeployController {
|
||||||
return "Hello from uoa-monitor-service library!";
|
return "Hello from uoa-monitor-service library!";
|
||||||
}
|
}
|
||||||
|
|
||||||
// @PreAuthorize("hasAnyAuthority(@AuthorizationService.PORTAL_ADMIN)")
|
@PreAuthorize("hasAnyAuthority(@AuthorizationService.PORTAL_ADMIN)")
|
||||||
@RequestMapping(value = "/health_check/advanced", method = RequestMethod.GET)
|
@RequestMapping(value = "/health_check/advanced", method = RequestMethod.GET)
|
||||||
public Map<String, String> checkEverything() {
|
public Map<String, String> checkEverything() {
|
||||||
Map<String, String> response = new HashMap<>();
|
Map<String, String> response = new HashMap<>();
|
||||||
|
|
Loading…
Reference in New Issue