Class OCFOMASServiceInstance


  • public class OCFOMASServiceInstance
    extends OMASServiceInstance
    OCFOMASServiceInstance provides an instance base class for Open Metadata Access Services (OMASs) that are built around the Open Connector Framework (OCF).
    • Constructor Detail

      • OCFOMASServiceInstance

        @Deprecated
        public OCFOMASServiceInstance​(String serviceName,
                                      OMRSRepositoryConnector repositoryConnector,
                                      List<String> supportedZones,
                                      List<String> defaultZones,
                                      AuditLog auditLog,
                                      String localServerUserId,
                                      int maxPageSize)
                               throws NewInstanceException
        Deprecated.
        Set up the local repository connector that will service the REST Calls.
        Parameters:
        serviceName - name of this service
        repositoryConnector - link to the repository responsible for servicing the REST calls.
        supportedZones - list of zones that DiscoveryEngine is allowed to serve Assets from.
        defaultZones - list of zones that DiscoveryEngine should set in all new Assets.
        auditLog - logging destination
        localServerUserId - userId used for server initiated actions
        maxPageSize - max number of results to return on single request.
        Throws:
        NewInstanceException - a problem occurred during initialization
      • OCFOMASServiceInstance

        @Deprecated
        public OCFOMASServiceInstance​(String serviceName,
                                      OMRSRepositoryConnector repositoryConnector,
                                      List<String> supportedZones,
                                      List<String> defaultZones,
                                      List<String> publishZones,
                                      AuditLog auditLog,
                                      String localServerUserId,
                                      int maxPageSize)
                               throws NewInstanceException
        Deprecated.
        Set up the local repository connector that will service the REST Calls.
        Parameters:
        serviceName - name of this service
        repositoryConnector - link to the repository responsible for servicing the REST calls.
        supportedZones - list of zones that the access service is allowed to serve Assets from.
        defaultZones - list of zones that the access service should set in all new Assets.
        publishZones - list of zones that the access service sets up in published Asset instances.
        auditLog - logging destination
        localServerUserId - userId used for server initiated actions
        maxPageSize - max number of results to return on single request.
        Throws:
        NewInstanceException - a problem occurred during initialization