java.lang.Object
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.server.spring.ConnectedAssetResource

@RestController @RequestMapping("/servers/{serverName}/open-metadata/framework-services/{serviceURLName}/connected-asset/users/{userId}") public class ConnectedAssetResource extends Object
The ConnectedAssetResource is the server-side implementation of the REST services needed to populate the Open Connector Framework (OCF) Connected Asset Properties.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.AssetResponse
    getAnchorAssetFromGUID(String serverName, String serviceURLName, String userId, String guid)
    Returns the anchor asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.APIOperationsResponse
    getAPIOperations(String serverName, String serviceURLName, String userId, String parentSchemaTypeGUID, int elementStart, int maxElements)
    Returns a list of api operations for a schema type.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.CommentsResponse
    getAssetCommentReplies(String serverName, String serviceURLName, String userId, String assetGUID, String commentGUID, int elementStart, int maxElements)
    Returns the list of comments for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.CommentsResponse
    getAssetComments(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of comments for the asset.
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse
    getAssetForConnectionGUID(String serverName, String serviceURLName, String userId, String connectionGUID)
    Returns the unique identifier for the asset connected to the connection identified by the supplied guid.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.AssetResponse
    getAssetSummary(String serverName, String serviceURLName, String userId, String assetGUID)
    Returns the basic information about the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.CertificationsResponse
    getCertifications(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of certifications for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.AssetResponse
    getConnectedAssetSummary(String serverName, String serviceURLName, String userId, String assetGUID, String connectionGUID)
    Returns the basic information about the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ConnectionResponse
    getConnectionByGUID(String serverName, String serviceURLName, String userId, String guid)
    Returns the connection object corresponding to the supplied connection GUID.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ConnectionResponse
    getConnectionByName(String serverName, String serviceURLName, String userId, String name)
    Returns the connection object corresponding to the supplied connection GUID.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ConnectionResponse
    getConnectionForAsset(String serverName, String serviceURLName, String userId, String assetGUID)
    Returns the connection corresponding to the supplied asset GUID.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ConnectionsResponse
    getConnections(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of connections for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ExternalIdentifiersResponse
    getExternalIdentifiers(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of external identifiers for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ExternalReferencesResponse
    getExternalReferences(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of external references for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.InformalTagsResponse
    getInformalTags(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of informal tags for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.LocationsResponse
    getKnownLocations(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of known locations for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.LicensesResponse
    getLicenses(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of licenses for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.LikesResponse
    getLikes(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of likes for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.MoreInformationResponse
    getMoreInformation(String serverName, String serviceURLName, String userId, String elementGUID, int elementStart, int maxElements)
    Returns the list of related Referenceables that provide more information for this asset, schema, ...
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.NoteLogsResponse
    getNoteLogs(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of note logs for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.NotesResponse
    getNotes(String serverName, String serviceURLName, String userId, String noteLogGUID, int elementStart, int maxElements)
    Returns the list of notes for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.RatingsResponse
    getRatings(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of ratings for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.RelatedAssetsResponse
    getRelatedAssets(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of related assets for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.RelatedMediaReferencesResponse
    getRelatedMediaReferences(String serverName, String serviceURLName, String userId, String assetGUID, int elementStart, int maxElements)
    Returns the list of related media references for the asset.
    org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.SchemaAttributesResponse
    getSchemaAttributes(String serverName, String serviceURLName, String userId, String parentSchemaGUID, int elementStart, int maxElements)
    Returns a list of schema attributes for a schema type.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    logAssetAuditMessage(String serverName, String userId, String assetGUID, String governanceService, String message)
    Log an audit message about an asset.
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse
    saveConnectionForAsset(String serverName, String serviceURLName, String userId, String assetGUID, org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection connection)
    Save the connection optionally linked to the supplied asset GUID.

    Methods inherited from class java.lang.Object

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

    • ConnectedAssetResource

      public ConnectedAssetResource()
      Default constructor
  • Method Details

    • logAssetAuditMessage

      @PostMapping(path="/assets/{assetGUID}/log-records/{governanceService}") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse logAssetAuditMessage(@PathVariable String serverName, @PathVariable String userId, @PathVariable String assetGUID, @PathVariable String governanceService, @RequestBody String message)
      Log an audit message about an asset.
      Parameters:
      serverName - name of server instance to route request to
      userId - userId of user making request.
      assetGUID - unique identifier for asset.
      governanceService - unique name for governance service.
      message - message to log
      Returns:
      void or InvalidParameterException one of the parameters is null or invalid. UserNotAuthorizedException user not authorized to issue this request. PropertyServerException there was a problem that occurred within the property server.
    • getConnectionByGUID

      @GetMapping(path="/connections/{guid}") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ConnectionResponse getConnectionByGUID(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String guid)
      Returns the connection object corresponding to the supplied connection GUID.
      Parameters:
      serverName - name of the server instances for this request.
      serviceURLName - name of the service that created the connector that issued this request.
      userId - userId of user making request.
      guid - the unique id for the connection within the property server.
      Returns:
      connection object or InvalidParameterException one of the parameters is null or invalid or UnrecognizedConnectionGUIDException the supplied GUID is not recognized by the metadata repository or PropertyServerException there is a problem retrieving information from the property (metadata) server or UserNotAuthorizedException the requesting user is not authorized to issue this request.
    • getConnectionByName

      @GetMapping(path="/connections/by-name/{name}") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ConnectionResponse getConnectionByName(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String name)
      Returns the connection object corresponding to the supplied connection GUID.
      Parameters:
      serverName - name of the server instances for this request.
      serviceURLName - name of the service that created the connector that issued this request.
      userId - userId of user making request.
      name - the unique name for the connection within the property server.
      Returns:
      connection object or InvalidParameterException one of the parameters is null or invalid or UnrecognizedConnectionGUIDException the supplied GUID is not recognized by the metadata repository or PropertyServerException there is a problem retrieving information from the property (metadata) server or UserNotAuthorizedException the requesting user is not authorized to issue this request.
    • saveConnectionForAsset

      @PostMapping(path="/connections") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse saveConnectionForAsset(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @RequestParam(required=false) String assetGUID, @RequestBody org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection connection)
      Save the connection optionally linked to the supplied asset GUID.
      Parameters:
      serverName - name of the server instances for this request
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - userId of user making request.
      assetGUID - the unique id for the asset within the metadata repository. This optional. However, if specified then the new connection is attached to the asset
      connection - connection to save
      Returns:
      connection object or InvalidParameterException one of the parameters is null or invalid or UnrecognizedConnectionNameException there is no connection defined for this name or PropertyServerException there is a problem retrieving information from the property (metadata) server or UserNotAuthorizedException the requesting user is not authorized to issue this request.
    • getConnectionForAsset

      @GetMapping(path="/assets/{assetGUID}/connection") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ConnectionResponse getConnectionForAsset(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID)
      Returns the connection corresponding to the supplied asset GUID.
      Parameters:
      serverName - name of the server instances for this request
      serviceURLName - name of the service that created the connector that issued this request.
      userId - userId of user making request.
      assetGUID - the unique id for the asset within the metadata repository.
      Returns:
      connection object or InvalidParameterException one of the parameters is null or invalid or UnrecognizedConnectionNameException there is no connection defined for this name or PropertyServerException there is a problem retrieving information from the property (metadata) server or UserNotAuthorizedException the requesting user is not authorized to issue this request.
    • getAssetForConnectionGUID

      @GetMapping(path="/assets/by-connection/{connectionGUID}") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse getAssetForConnectionGUID(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String connectionGUID)
      Returns the unique identifier for the asset connected to the connection identified by the supplied guid.
      Parameters:
      serverName - String name of the server instances for this request.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String the userId of the requesting user.
      connectionGUID - uniqueId for the connection.
      Returns:
      unique identifier of asset or InvalidParameterException one of the parameters is null or invalid or PropertyServerException there is a problem retrieving the connected asset properties from the property server or UnrecognizedConnectionGUIDException the supplied GUID is not recognized by the property server or NoConnectedAssetException there is no asset associated with this connection or UserNotAuthorizedException the requesting user is not authorized to issue this request.
    • getConnectedAssetSummary

      @GetMapping(path="/assets/{assetGUID}/via-connection/{connectionGUID}") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.AssetResponse getConnectedAssetSummary(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @PathVariable String connectionGUID)
      Returns the basic information about the asset. The connection guid allows the short description for the asset to be filled out.
      Parameters:
      serverName - String name of the server.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      connectionGUID - unique id for connection used to access asset.
      Returns:
      a bean with the basic properties about the asset or InvalidParameterException - the asset GUID is null or invalid or UnrecognizedAssetGUIDException - the asset GUID is not recognized by the property server or UnrecognizedConnectionGUIDException - the connection GUID is not recognized by the property server or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getAnchorAssetFromGUID

      @GetMapping(path="/assets/from-anchor/{guid}") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.AssetResponse getAnchorAssetFromGUID(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String guid)
      Returns the anchor asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      guid - String unique id for the metadata element.
      Returns:
      a bean with the basic properties about the anchor asset or InvalidParameterException - the userId is null or invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getAssetSummary

      @GetMapping(path="/assets/{assetGUID}") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.AssetResponse getAssetSummary(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID)
      Returns the basic information about the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      Returns:
      a bean with the basic properties about the asset or InvalidParameterException - the userId is null or invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getCertifications

      @GetMapping(path="/assets/{assetGUID}/certifications") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.CertificationsResponse getCertifications(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of certifications for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of certifications or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getAssetComments

      @GetMapping(path="/assets/{assetGUID}/comments") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.CommentsResponse getAssetComments(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of comments for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of comments or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getAssetCommentReplies

      @GetMapping(path="/assets/{assetGUID}/comments/{commentGUID}/replies") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.CommentsResponse getAssetCommentReplies(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @PathVariable String commentGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of comments for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique identifier for the linked asset.
      commentGUID - String unique id for the root comment.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of comments or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getConnections

      @GetMapping(path="/assets/{assetGUID}/connections") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ConnectionsResponse getConnections(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of connections for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of connections or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getExternalIdentifiers

      @GetMapping(path="/assets/{assetGUID}/external-identifiers") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ExternalIdentifiersResponse getExternalIdentifiers(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of external identifiers for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of external identifiers or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getExternalReferences

      @GetMapping(path="/assets/{assetGUID}/external-references") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ExternalReferencesResponse getExternalReferences(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of external references for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of external references or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getInformalTags

      @GetMapping(path="/assets/{assetGUID}/informal-tags") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.InformalTagsResponse getInformalTags(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of informal tags for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of informal tags or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getLicenses

      @GetMapping(path="/assets/{assetGUID}/licenses") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.LicensesResponse getLicenses(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of licenses for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of informal tags or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getLikes

      @GetMapping(path="/assets/{assetGUID}/likes") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.LikesResponse getLikes(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of likes for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of likes or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getKnownLocations

      @GetMapping(path="/assets/{assetGUID}/known-locations") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.LocationsResponse getKnownLocations(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of known locations for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of locations or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getNoteLogs

      @GetMapping(path="/assets/{assetGUID}/note-logs") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.NoteLogsResponse getNoteLogs(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of note logs for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of note logs or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getNotes

      @GetMapping(path="/note-logs/{noteLogGUID}/notes") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.NotesResponse getNotes(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String noteLogGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of notes for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      noteLogGUID - String unique id for note log.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of notes or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getRatings

      @GetMapping(path="/assets/{assetGUID}/ratings") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.RatingsResponse getRatings(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of ratings for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of ratings or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getRelatedAssets

      @GetMapping(path="/assets/{assetGUID}/related-assets") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.RelatedAssetsResponse getRelatedAssets(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of related assets for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of related assets or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getMoreInformation

      @GetMapping(path="/referenceables/{elementGUID}/more-information") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.MoreInformationResponse getMoreInformation(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String elementGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of related Referenceables that provide more information for this asset, schema, ...
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      elementGUID - String unique id for the element.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of related assets or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getRelatedMediaReferences

      @GetMapping(path="/assets/{assetGUID}/related-media-references") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.RelatedMediaReferencesResponse getRelatedMediaReferences(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String assetGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns the list of related media references for the asset.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      assetGUID - String unique id for asset.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a list of related media references or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedAssetGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getSchemaAttributes

      @GetMapping(path="/assets/schemas/{parentSchemaGUID}/schema-attributes") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.SchemaAttributesResponse getSchemaAttributes(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String parentSchemaGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns a list of schema attributes for a schema type.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      parentSchemaGUID - String unique id for containing schema type.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a schema attributes response or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getAPIOperations

      @GetMapping(path="/assets/schemas/apis/{parentSchemaTypeGUID}/api-operations") public org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.APIOperationsResponse getAPIOperations(@PathVariable String serverName, @PathVariable String serviceURLName, @PathVariable String userId, @PathVariable String parentSchemaTypeGUID, @RequestParam int elementStart, @RequestParam int maxElements)
      Returns a list of api operations for a schema type.
      Parameters:
      serverName - String name of server instance to call.
      serviceURLName - String name of the service that created the connector that issued this request.
      userId - String userId of user making request.
      parentSchemaTypeGUID - String unique id for containing schema element.
      elementStart - int starting position for fist returned element.
      maxElements - int maximum number of elements to return on the call.
      Returns:
      a schema attributes response or InvalidParameterException - the GUID is not recognized or the paging values are invalid or UnrecognizedGUIDException - the GUID is null or invalid or PropertyServerException - there is a problem retrieving the asset properties from the property server or UserNotAuthorizedException - the requesting user is not authorized to issue this request.