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
AssetCatalogInstance caches references to objects it needs for a specific server.
It is also responsible for registering itself in the instance map.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
remoteServerName, remoteServerURL
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
auditLog, localServerUserId
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
invalidParameterHandler, maxPageSize, securityVerifier, serverName, serviceName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the main Asset Consumer OMAS 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.AuditableServerServiceInstance
getAuditLog
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
getInvalidParameterHandler, getServerName, getServiceInstanceStatus, getServiceName, setMaxPageSize, setSecurityVerifier, setServerName, setServiceInstanceStatus, shutdown
-
Constructor Details
-
AssetCatalogInstance
public AssetCatalogInstance(String serverName, AuditLog auditLog, String localServerUserId, int maxPageSize, String remoteServerName, String remoteServerURL, List<String> supportedAssetTypeNames) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException Set up the Asset Catalog OMVS instance- Parameters:
serverName
- name of this serverauditLog
- logging destinationlocalServerUserId
- userId used for server initiated actionsmaxPageSize
- maximum page sizeremoteServerName
- remote server nameremoteServerURL
- remote server URL- Throws:
InvalidParameterException
- invalid parameter - probably null by could be an invalid type namePropertyServerException
- problem communicating with the remote metadata repositoryUserNotAuthorizedException
- problem with the userId
-
-
Method Details
-
getSupportedAssetTypes
Return the values from the SupportedTypesForSearch view service option.- Returns:
- list of strings. If null then all asset types are supported.
-
getAssetConsumerClient
Return the main Asset Consumer OMAS client.- Returns:
- client
-