Class AssetCatalogInstance

java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
org.odpi.openmetadata.viewservices.assetcatalog.server.AssetCatalogInstance

public class AssetCatalogInstance extends org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
AssetCatalogInstance caches references to objects it needs for a specific server. It is also responsible for registering itself in the instance map.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AssetCatalogInstance(String serverName, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog, String localServerUserId, int maxPageSize, String remoteServerName, String remoteServerURL, List<String> supportedAssetTypeNames)
    Set up the Asset Catalog OMVS instance
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.accessservices.assetconsumer.client.AssetConsumer
    Return the main Asset Consumer OMAS client.
    org.odpi.openmetadata.accessservices.assetconsumer.client.OpenIntegrationServiceClient
    Return the open integration client.
    org.odpi.openmetadata.accessservices.assetconsumer.client.OpenMetadataStoreClient
    Return the open metadata store client.
    Return the values from the SupportedTypesForSearch view service option.

    Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance

    getRemoteServerName, getRemoteServerURL

    Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance

    getInvalidParameterHandler, getServerName, getServiceInstanceStatus, getServiceName, setMaxPageSize, setSecurityVerifier, setServiceInstanceStatus, shutdown

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AssetCatalogInstance

      public AssetCatalogInstance(String serverName, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog, String localServerUserId, int maxPageSize, String remoteServerName, String remoteServerURL, List<String> supportedAssetTypeNames) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      Set up the Asset Catalog OMVS instance
      Parameters:
      serverName - name of this server
      auditLog - logging destination
      localServerUserId - userId used for server initiated actions
      maxPageSize - maximum page size
      remoteServerName - remote server name
      remoteServerURL - remote server URL
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - invalid parameter - probably null by could be an invalid type name
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem communicating with the remote metadata repository
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - problem with the userId
  • Method Details

    • getSupportedAssetTypes

      public List<Type> getSupportedAssetTypes()
      Return the values from the SupportedTypesForSearch view service option.
      Returns:
      list of strings. If null then all asset types are supported.
    • getAssetConsumerClient

      public org.odpi.openmetadata.accessservices.assetconsumer.client.AssetConsumer getAssetConsumerClient()
      Return the main Asset Consumer OMAS client.
      Returns:
      client
    • getOpenIntegrationServiceClient

      public org.odpi.openmetadata.accessservices.assetconsumer.client.OpenIntegrationServiceClient getOpenIntegrationServiceClient()
      Return the open integration client. This client is from the Open Integration Framework (OIF).
      Returns:
      client
    • getOpenMetadataStoreClient

      public org.odpi.openmetadata.accessservices.assetconsumer.client.OpenMetadataStoreClient getOpenMetadataStoreClient()
      Return the open metadata store client. This client is from the Governance Action Framework (GAF).
      Returns:
      client