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 ObjectAuditLogServicesResource provides the server-side support for the OMRS Repository REST Services API that provide information about the local server's audit log.
-
-
Constructor Summary
Constructors Constructor Description AuditLogServicesResource()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditLogReportResponsegetAuditLogReport(String serverName, String userId)Return the report from the local server's audit log.AuditLogSeveritiesResponsegetSeverityList(String serverName, String userId)Return the details of the severities that this server supports.
-
-
-
Method Detail
-
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
-
-