Class GovernanceServerServiceInstance

Direct Known Subclasses:
EngineHostInstance, IntegrationDaemonInstance

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

    • accessServiceRootURL

      protected String accessServiceRootURL
    • accessServiceServerName

      protected String accessServiceServerName
    • accessServiceInTopicName

      protected String accessServiceInTopicName
    • accessServiceOutTopicName

      protected String accessServiceOutTopicName
    • invalidParameterHandler

      protected InvalidParameterHandler invalidParameterHandler
  • Constructor Details

    • GovernanceServerServiceInstance

      public GovernanceServerServiceInstance(String serverName, String serviceName, AuditLog auditLog, String localServerUserId, int maxPageSize)
      Constructor where many OMASs are used and so the partner OMAS information is managed by the subclass
      Parameters:
      serverName - name of this server
      serviceName - name of this service
      auditLog - link to the repository responsible for servicing the REST calls.
      maxPageSize - maximum number of results that can be returned in a single request
      localServerUserId - userId to use for server initiated requests
    • GovernanceServerServiceInstance

      public GovernanceServerServiceInstance(String serverName, String serviceName, AuditLog auditLog, String localServerUserId, int maxPageSize, String accessServiceRootURL, String accessServiceServerName)
      Constructor where REST Services used.
      Parameters:
      serverName - name of this server
      serviceName - name of this service
      auditLog - link to the repository responsible for servicing the REST calls.
      maxPageSize - maximum number of results that can be returned in a single request
      localServerUserId - userId to use for server initiated requests
      accessServiceRootURL - URL root for server platform where the access service is running.
      accessServiceServerName - name of the server where the access service is running.
    • GovernanceServerServiceInstance

      public GovernanceServerServiceInstance(String serverName, String serviceName, AuditLog auditLog, String localServerUserId, int maxPageSize, String accessServiceRootURL, String accessServiceServerName, String accessServiceInTopicName, String accessServiceOutTopicName)
      Constructor where all services used.
      Parameters:
      serverName - name of this server
      serviceName - name of this service
      auditLog - link to the repository responsible for servicing the REST calls.
      localServerUserId - userId to use for server initiated requests
      maxPageSize - maximum number of results that can be returned in a single request
      accessServiceRootURL - URL root for server platform where the access service is running.
      accessServiceServerName - name of the server where the access service is running.
      accessServiceInTopicName - topic name to send events to the access service.
      accessServiceOutTopicName - topic name to receive events from the access service.