Class ConnectedAssetUniverse
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetSummary
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetDetail
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetUniverse
-
- org.odpi.openmetadata.commonservices.ocf.metadatamanagement.client.ConnectedAssetUniverse
-
- All Implemented Interfaces:
Serializable
public class ConnectedAssetUniverse extends AssetUniverse
ConnectedAssetUniverse is the OMAS client library implementation of the Open Connector Framework (OCF) AssetUniverse object. AssetUniverse provides read-only access to the properties known about an asset. ConnectedAssetUniverse configures AssetUniverse (and its dependent objects) with the information necessary to populate the AssetUniverse contents from the open metadata repositories. All of ConnectedAssetUniverse's work is done in the constructors. They extract basic information about the asset and push objects to the super class to retrieve the more detailed properties. These properties are only retrieved on demand.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetUniverse
feedback, knownLocations, lineage, meanings, relatedAssets
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetDetail
certifications, connections, externalIdentifiers, externalReferences, licenses, noteLogs, relatedMediaReferences, schema
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
description, displayName, isReferenceData, name, origin, owner, ownerPropertyName, ownerType, ownerTypeName, shortDescription, versionIdentifier, zoneMembership
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
searchKeywords
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, qualifiedName
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description ConnectedAssetUniverse(String serviceName, String remoteServerName, String omasServerURL, String userId, String assetGUID)Constructor used by Asset Consumer OMAS for getAssetProperties() with no authentication information being attached to the HTTP requests.ConnectedAssetUniverse(String serviceName, String remoteServerName, String omasServerURL, String userId, String assetGUID, String connectionGUID)Constructor used by EgeriaConnectedAssetProperties.refresh() with no authentication information being attached to the HTTP requests.ConnectedAssetUniverse(String serviceName, String remoteServerName, String localServerUserId, String localServerPassword, String omasServerURL, String userId, String assetGUID)Constructor used by Asset Consumer OMAS for getExtendedProperties() where a userId and password of the local calling server are embedded in the HTTP requests.ConnectedAssetUniverse(String serviceName, String remoteServerName, String localServerUserId, String localServerPassword, String omasServerURL, String userId, String assetGUID, String connectionGUID)Constructor used by EgeriaConnectedAssetProperties.refresh() with no authentication information being attached to the HTTP requests.ConnectedAssetUniverse(String serviceName, String remoteServerName, String omasServerURL, String userId, String assetGUID, OCFRESTClient restClient)Constructor used by Connected Asset OMAS for related asset properties.
-
Method Summary
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetUniverse
equals, getFeedback, getKnownLocations, getLineage, getMeanings, getRelatedAssets, hashCode, toString
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.AssetDetail
getCertifications, getConnections, getExternalIdentifiers, getExternalReferences, getLicenses, getNoteLogs, getRelatedMediaReferences, getSchema
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
getAssetOrigin, getDescription, getDisplayName, getName, getOwner, getOwnerPropertyName, getOwnerType, getOwnerTypeName, getShortDescription, getVersionIdentifier, getZoneMembership, isReferenceData, setAssetOrigin, setDescription, setDisplayName, setName, setOwner, setOwnerPropertyName, setOwnerType, setOwnerTypeName, setReferenceData, setShortDescription, setVersionIdentifier, setZoneMembership
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
getSearchKeywords, setMeanings, setSearchKeywords
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, getURL, setExtendedProperties, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
ConnectedAssetUniverse
public ConnectedAssetUniverse(String serviceName, String remoteServerName, String omasServerURL, String userId, String assetGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Constructor used by Asset Consumer OMAS for getAssetProperties() with no authentication information being attached to the HTTP requests. The calling user of the specific request flows as a property in the URL.- Parameters:
serviceName- calling serviceremoteServerName- name of the server.omasServerURL- url used to call the server.userId- userId of user making request.assetGUID- unique id for asset.- Throws:
InvalidParameterException- one of the parameters is null or invalid.PropertyServerException- There is a problem retrieving the asset properties from the property server.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
ConnectedAssetUniverse
public ConnectedAssetUniverse(String serviceName, String remoteServerName, String localServerUserId, String localServerPassword, String omasServerURL, String userId, String assetGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Constructor used by Asset Consumer OMAS for getExtendedProperties() where a userId and password of the local calling server are embedded in the HTTP requests. The calling user of the specific request flows as a property in the URL.- Parameters:
serviceName- calling serviceremoteServerName- name of the server.localServerUserId- userId of the local server.localServerPassword- password of the local server.omasServerURL- url used to call the server.userId- userId of user making request.assetGUID- unique id for asset.- Throws:
InvalidParameterException- one of the parameters is null or invalid.PropertyServerException- There is a problem retrieving the asset properties from the property server.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
ConnectedAssetUniverse
public ConnectedAssetUniverse(String serviceName, String remoteServerName, String omasServerURL, String userId, String assetGUID, OCFRESTClient restClient) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Constructor used by Connected Asset OMAS for related asset properties.- Parameters:
serviceName- calling serviceremoteServerName- name of the server.omasServerURL- url used to call the server.userId- userId of user making request.assetGUID- unique id for asset.restClient- client for calling rest APIs- Throws:
InvalidParameterException- one of the parameters is null or invalid.PropertyServerException- There is a problem retrieving the asset properties from the property server.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
ConnectedAssetUniverse
public ConnectedAssetUniverse(String serviceName, String remoteServerName, String omasServerURL, String userId, String assetGUID, String connectionGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Constructor used by EgeriaConnectedAssetProperties.refresh() with no authentication information being attached to the HTTP requests. The calling user of the specific request flows as a property in the URL.- Parameters:
serviceName- calling serviceremoteServerName- name of the server.omasServerURL- url used to call the server.userId- userId of user making request.assetGUID- unique id for asset.connectionGUID- unique id for connection used to access asset.- Throws:
InvalidParameterException- one of the parameters is null or invalid.PropertyServerException- There is a problem retrieving the asset properties from the property server.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
ConnectedAssetUniverse
public ConnectedAssetUniverse(String serviceName, String remoteServerName, String localServerUserId, String localServerPassword, String omasServerURL, String userId, String assetGUID, String connectionGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Constructor used by EgeriaConnectedAssetProperties.refresh() with no authentication information being attached to the HTTP requests. The calling user of the specific request flows as a property in the URL.- Parameters:
serviceName- calling serviceremoteServerName- name of the server.localServerUserId- userId of the local server.localServerPassword- password of the local server.omasServerURL- url used to call the server.userId- userId of user making request.assetGUID- unique id for asset.connectionGUID- unique id for connection used to access asset.- Throws:
InvalidParameterException- one of the parameters is null or invalid.PropertyServerException- There is a problem retrieving the asset properties from the property server.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
-