Class ExternalIdentifierRESTServices
java.lang.Object
org.odpi.openmetadata.frameworkservices.omf.server.ExternalIdentifierRESTServices
The ExternalIdentifierRESTServices provides the server-side implementation of the services
that are generic for all types of asset managers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseaddExternalIdentifier(String serverName, String serviceURLMarker, String userId, String openMetadataElementGUID, String openMetadataElementTypeName, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.frameworkservices.omf.rest.UpdateMetadataCorrelatorsRequestBody requestBody) Add the description of a specific external identifier.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseconfirmSynchronization(String serverName, String serviceURLMarker, String userId, String openMetadataElementGUID, String openMetadataElementTypeName, org.odpi.openmetadata.frameworks.openmetadata.properties.MetadataCorrelationProperties requestBody) Confirm that the values of a particular metadata element have been synchronized.org.odpi.openmetadata.commonservices.ffdc.rest.ElementHeadersResponsegetElementsForExternalIdentifier(String serverName, String serviceURLMarker, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.frameworkservices.omf.rest.UpdateMetadataCorrelatorsRequestBody requestBody) Retrieve the unique identifier of the external asset manager from its qualified name.org.odpi.openmetadata.frameworkservices.omf.rest.MetadataCorrelationHeadersResponsegetExternalIdentifiers(String serverName, String serviceURLMarker, String userId, String openMetadataElementGUID, String openMetadataElementTypeName, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.frameworkservices.omf.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the external identifiers for a particular metadata element.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveExternalIdentifier(String serverName, String serviceURLMarker, String userId, String openMetadataElementGUID, String openMetadataElementTypeName, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.frameworkservices.omf.rest.UpdateMetadataCorrelatorsRequestBody requestBody) Remove an external identifier from an existing open metadata element.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveExternalScope(String serverName, String serviceURLMarker, String userId, String externalScopeGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody requestBody) Remove the scope associated with a collection of external identifiers.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateExternalIdentifier(String serverName, String serviceURLMarker, String userId, String openMetadataElementGUID, String openMetadataElementTypeName, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.frameworkservices.omf.rest.UpdateMetadataCorrelatorsRequestBody requestBody) Update the description of a specific external identifier.org.odpi.openmetadata.commonservices.ffdc.rest.BooleanResponsevalidateExternalIdentifier(String serverName, String serviceURLMarker, String userId, String openMetadataElementGUID, String openMetadataElementTypeName, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.frameworkservices.omf.rest.UpdateMetadataCorrelatorsRequestBody requestBody) That the external identifier matches the open metadata GUID.
-
Constructor Details
-
ExternalIdentifierRESTServices
public ExternalIdentifierRESTServices()Default constructor
-
-
Method Details
-
addExternalIdentifier
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse addExternalIdentifier(String serverName, String serviceURLMarker, String userId, String openMetadataElementGUID, String openMetadataElementTypeName, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.frameworkservices.omf.rest.UpdateMetadataCorrelatorsRequestBody requestBody) Add the description of a specific external identifier.- Parameters:
serverName- name of the service to route the request to.serviceURLMarker- the identifier of the access service (for example asset-owner for the Asset Owner OMAS)userId- calling useropenMetadataElementGUID- unique identifier (GUID) of the element in the open metadata ecosystemopenMetadataElementTypeName- type name of the element in the open metadata ecosystem (default referenceable)forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- unique identifier of this element in the external asset manager plus additional mapping properties- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-
updateExternalIdentifier
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateExternalIdentifier(String serverName, String serviceURLMarker, String userId, String openMetadataElementGUID, String openMetadataElementTypeName, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.frameworkservices.omf.rest.UpdateMetadataCorrelatorsRequestBody requestBody) Update the description of a specific external identifier.- Parameters:
serverName- name of the service to route the request to.serviceURLMarker- the identifier of the access service (for example asset-owner for the Asset Owner OMAS)userId- calling useropenMetadataElementGUID- unique identifier (GUID) of the element in the open metadata ecosystemopenMetadataElementTypeName- type name of the element in the open metadata ecosystem (default referenceable)forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- unique identifier of this element in the external asset manager plus additional mapping properties- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-
validateExternalIdentifier
public org.odpi.openmetadata.commonservices.ffdc.rest.BooleanResponse validateExternalIdentifier(String serverName, String serviceURLMarker, String userId, String openMetadataElementGUID, String openMetadataElementTypeName, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.frameworkservices.omf.rest.UpdateMetadataCorrelatorsRequestBody requestBody) That the external identifier matches the open metadata GUID.- Parameters:
serverName- name of the service to route the request to.serviceURLMarker- the identifier of the access service (for example asset-owner for the Asset Owner OMAS)userId- calling useropenMetadataElementGUID- unique identifier (GUID) of the element in the open metadata ecosystemopenMetadataElementTypeName- type name of the element in the open metadata ecosystem (default referenceable)forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- unique identifier of this element in the external asset manager plus additional mapping properties- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-
removeExternalIdentifier
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeExternalIdentifier(String serverName, String serviceURLMarker, String userId, String openMetadataElementGUID, String openMetadataElementTypeName, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.frameworkservices.omf.rest.UpdateMetadataCorrelatorsRequestBody requestBody) Remove an external identifier from an existing open metadata element. The open metadata element is not affected.- Parameters:
serverName- name of the service to route the request to.serviceURLMarker- the identifier of the access service (for example asset-owner for the Asset Owner OMAS)userId- calling useropenMetadataElementGUID- unique identifier (GUID) of the element in the open metadata ecosystemopenMetadataElementTypeName- type name of the element in the open metadata ecosystem (default referenceable)forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- unique identifier of this element in the external asset manager plus additional mapping properties- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-
removeExternalScope
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeExternalScope(String serverName, String serviceURLMarker, String userId, String externalScopeGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody requestBody) Remove the scope associated with a collection of external identifiers. All associated external identifiers are removed too. The linked open metadata elements are not affected.- Parameters:
serverName- name of the service to route the request to.serviceURLMarker- the identifier of the access service (for example asset-owner for the Asset Owner OMAS)userId- calling userexternalScopeGUID- unique identifier (GUID) of the scope element in the open metadata ecosystemforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- unique identifier of this element in the external asset manager plus additional mapping properties- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-
confirmSynchronization
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse confirmSynchronization(String serverName, String serviceURLMarker, String userId, String openMetadataElementGUID, String openMetadataElementTypeName, org.odpi.openmetadata.frameworks.openmetadata.properties.MetadataCorrelationProperties requestBody) Confirm that the values of a particular metadata element have been synchronized. This is important from an audit point of view, and to allow bidirectional updates of metadata using optimistic locking.- Parameters:
serverName- name of the service to route the request to.serviceURLMarker- the identifier of the access service (for example asset-owner for the Asset Owner OMAS)userId- calling useropenMetadataElementGUID- unique identifier (GUID) of this element in open metadataopenMetadataElementTypeName- type name for the open metadata elementrequestBody- details of the external identifier and its scope- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-
getExternalIdentifiers
public org.odpi.openmetadata.frameworkservices.omf.rest.MetadataCorrelationHeadersResponse getExternalIdentifiers(String serverName, String serviceURLMarker, String userId, String openMetadataElementGUID, String openMetadataElementTypeName, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.frameworkservices.omf.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the external identifiers for a particular metadata element.- Parameters:
serverName- name of the service to route the request to.serviceURLMarker- the identifier of the access service (for example asset-owner for the Asset Owner OMAS)userId- calling useropenMetadataElementGUID- unique identifier (GUID) of this element in open metadataopenMetadataElementTypeName- type name for the open metadata elementstartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- details of the external identifier and its scope- Returns:
- list of correlation header elements, null if null or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-
getElementsForExternalIdentifier
public org.odpi.openmetadata.commonservices.ffdc.rest.ElementHeadersResponse getElementsForExternalIdentifier(String serverName, String serviceURLMarker, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.frameworkservices.omf.rest.UpdateMetadataCorrelatorsRequestBody requestBody) Retrieve the unique identifier of the external asset manager from its qualified name. Typically, the qualified name comes from the integration connector configuration.- Parameters:
serverName- name of the service to route the request to.serviceURLMarker- the identifier of the access service (for example asset-owner for the Asset Owner OMAS)userId- calling userstartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- details of the external identifier- Returns:
- list of linked elements, null if null or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-