java.lang.Object
org.odpi.openmetadata.governanceservers.enginehostservices.registration.OMAGEngineServiceRegistration

public class OMAGEngineServiceRegistration extends Object
OMAGEngineServiceRegistration provides static methods to enable an engine service to dynamically register itself with the OMAG Server. Static methods are needed to be able to get this information to the Admin Services REST API singletons created by Spring.
  • Constructor Details

    • OMAGEngineServiceRegistration

      public OMAGEngineServiceRegistration()
  • Method Details

    • registerEngineService

      public static void registerEngineService(EngineServiceRegistrationEntry registration, GovernanceEngineHandlerFactory engineHandlerFactory)
      Register Open Metadata Engine Service (OMES)
      Parameters:
      registration - information about the specific OMES
      engineHandlerFactory - factory object for the engine service
    • getEngineServiceRegistrationList

      public static List<EngineServiceRegistrationEntry> getEngineServiceRegistrationList()
      Retrieve the list of registered OMESs
      Returns:
      list of registration info
    • getEngineServiceRegistration

      public static EngineServiceRegistrationEntry getEngineServiceRegistration(String urlMarker)
      Retrieve the requested OMES registration information
      Parameters:
      urlMarker - URL insert that identifies the service
      Returns:
      engine service registration info
    • getGovernanceEngineTypeName

      public static String getGovernanceEngineTypeName(String serviceURLMarker)
      Return the type name of the governance engine for the url marker for the engine service.
      Parameters:
      serviceURLMarker - url marker for the engine service
      Returns:
      open metadata type name
    • getGovernanceEngineHandlerFactoryMap

      public static Map<String,GovernanceEngineHandlerFactory> getGovernanceEngineHandlerFactoryMap()
      Retrieve the requested OMES governance engine handler factory map
      Returns:
      engine service registration info