Class EngineHostServicesConfig


public class EngineHostServicesConfig extends OMAGServerClientConfig
EngineHostServicesConfig provides the properties to configure an engine host OMAG server. The engine host runs one or more Open Metadata Engine Services (OMES) that in turn run one or more governance engines. The configuration of the engine host services is in two parts:
  • The inherited properties from OMAGServerClientConfig defines the platform root URL and server name of server running the Governance Engine OMAS that provides configuration for the governance engines as well as the governance actions that drive the automated execution of governance requests.
  • An array of Engine properties, one for each engine to run.
  • An optional array of EngineServiceConfig properties, one for each engine service to run.
  • Constructor Details

    • EngineHostServicesConfig

      public EngineHostServicesConfig()
      Default constructor
    • EngineHostServicesConfig

      public EngineHostServicesConfig(EngineHostServicesConfig template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getEngineList

      public List<EngineConfig> getEngineList()
      Return the list of engines that should run on the engine host. The engine host will start the engine services needed assuming they will use the same metadata access server as the engine host uses for the governance engine configuration.
      Returns:
      list of engine configurations
    • setEngineList

      public void setEngineList(List<EngineConfig> engineList)
      Set up list of engines that should run on the engine host. The engine host will start the engine services needed assuming they will use the same metadata access server as the engine host uses for the governance engine configuration.
      Parameters:
      engineList - list of engine configurations
    • getEngineServiceConfigs

      public List<EngineServiceConfig> getEngineServiceConfigs()
      Return the list of configuration for the engine services that will run in this server. This configuration is only required if the services use a different metadata access store to the engine host.
      Returns:
      list of engine service configurations
    • setEngineServiceConfigs

      public void setEngineServiceConfigs(List<EngineServiceConfig> engineServiceConfigs)
      Set up the list of configuration for the engine services that will run in this server. This configuration is only required if the services use a different metadata access store to the engine host.
      Parameters:
      engineServiceConfigs - list of engine service configurations
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class OMAGServerClientConfig
      Returns:
      JSON style description of variables.
    • equals

      public boolean equals(Object objectToCompare)
      Validate that an object is equal depending on their stored values.
      Overrides:
      equals in class OMAGServerClientConfig
      Parameters:
      objectToCompare - object
      Returns:
      boolean result
    • hashCode

      public int hashCode()
      Return a hash code based on the values of this object.
      Overrides:
      hashCode in class OMAGServerClientConfig
      Returns:
      in hash code