Class AuditableServerServiceInstance

java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
Direct Known Subclasses:
GovernanceServerServiceInstance, OMASServiceInstance, OMESServiceInstance, OMVSServiceInstance

public abstract class AuditableServerServiceInstance extends OMAGServerServiceInstance
AuditableServerServiceInstance caches references to OMRS objects for a specific server. It is also responsible for registering itself in the instance map.
  • Field Details

    • localServerUserId

      protected String localServerUserId
    • auditLog

      protected AuditLog auditLog
  • Constructor Details

    • AuditableServerServiceInstance

      public AuditableServerServiceInstance(String serverName, String serviceName, AuditLog auditLog, String localServerUserId, int maxPageSize)
      Constructor.
      Parameters:
      serverName - name of this server
      serviceName - name of this service
      auditLog - link to the repository responsible for servicing the REST calls.
      localServerUserId - userId used for server initiated actions
      maxPageSize - maximum number of results returned on a single call
  • Method Details

    • getAuditLog

      protected AuditLog getAuditLog()
      Return the audit log for this access service.
      Returns:
      audit log