Class AssetLineageServicesInstance


  • public class AssetLineageServicesInstance
    extends OMASServiceInstance
    AssetLineageServicesInstance caches references to OMRS objects for a specific server. It is also responsible for registering itself in the instance map.
    • Constructor Detail

      • AssetLineageServicesInstance

        public AssetLineageServicesInstance​(OMRSRepositoryConnector repositoryConnector,
                                            List<String> supportedZones,
                                            String localServerUserId,
                                            AuditLog auditLog,
                                            Connection outTopicEventBusConnection,
                                            AssetLineageTypesValidator assetLineageTypesValidator)
                                     throws NewInstanceException
        Set up the handlers for this server.
        Parameters:
        repositoryConnector - link to the repository responsible for servicing the REST calls.
        supportedZones - list of zones that AssetLineage is allowed to serve Assets from.
        localServerUserId - userId used for server initiated actions
        auditLog - destination for audit log events.
        outTopicEventBusConnection - the out topic connector
        assetLineageTypesValidator - service for validating types
        Throws:
        NewInstanceException - a problem occurred during initialization