Class AuditLogServicesResource
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.server.spring.AuditLogServicesResource
@RestController
@RequestMapping("/servers/{serverName}/open-metadata/repository-services/users/{userId}/audit-log")
public class AuditLogServicesResource
extends Object
AuditLogServicesResource provides the server-side support for the OMRS Repository REST Services API
that provide information about the local server's audit log.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAuditLogReport
(String serverName, String userId) Return the report from the local server's audit log.getSeverityList
(String serverName, String userId) Return the details of the severities that this server supports.
-
Constructor Details
-
AuditLogServicesResource
public AuditLogServicesResource()Default constructor
-
-
Method Details
-
getSeverityList
@GetMapping(path="/severity-definitions") public AuditLogSeveritiesResponse getSeverityList(@PathVariable String serverName, @PathVariable String userId) Return the details of the severities that this server supports.- Parameters:
serverName
- name of serveruserId
- calling user- Returns:
- variety of properties
-
getAuditLogReport
@GetMapping(path="/report") public AuditLogReportResponse getAuditLogReport(@PathVariable String serverName, @PathVariable String userId) Return the report from the local server's audit log.- Parameters:
serverName
- server to queryuserId
- calling user- Returns:
- registration properties for server
-