public class CatalogIntegratorContext extends Object
| Constructor and Description |
|---|
CatalogIntegratorContext(AssetManagerClient assetManagerClient,
AssetManagerEventClient eventClient,
CollaborationExchangeClient collaborationExchangeClient,
DataAssetExchangeClient dataAssetExchangeClient,
GlossaryExchangeClient glossaryExchangeClient,
GovernanceExchangeClient governanceExchangeClient,
InfrastructureExchangeClient infrastructureExchangeClient,
LineageExchangeClient lineageExchangeClient,
StewardshipExchangeClient stewardshipExchangeClient,
ValidValuesExchangeClient validValuesExchangeClient,
String userId,
String assetManagerGUID,
String assetManagerName,
String connectorName,
String integrationServiceName,
SynchronizationDirection synchronizationDirection,
List<String> disabledExchangeServices,
AuditLog auditLog)
Create a new context for a connector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addExternalIdentifier(String openMetadataElementGUID,
String openMetadataElementTypeName,
String externalIdentifier,
String externalIdentifierName,
String externalIdentifierUsage,
KeyPattern keyPattern,
Map<String,String> mappingProperties)
Add a new external identifier to an existing open metadata element.
|
void |
confirmSynchronization(String openMetadataGUID,
String openMetadataElementTypeName,
String externalIdentifier)
Confirm that the values of a particular metadata element have been synchronized.
|
CollaborationExchangeService |
getCollaborationExchangeService()
Return the interface for exchanging collaboration information (comments, likes, reviews, tags).
|
DataAssetExchangeService |
getDataAssetExchangeService()
Return the interface for exchanging data asset information (assets, schemas, connections).
|
GlossaryExchangeService |
getGlossaryExchangeService()
Return the interface for exchanging glossary information (glossaries, with categories, terms and relationships)
|
GovernanceExchangeService |
getGovernanceExchangeService()
Return the interface for exchanging governance information (policies, rules, ...)
|
InfrastructureExchangeService |
getInfrastructureExchangeService()
Return the interface for exchanging infrastructure information (servers, applications, hosts etc).
|
LineageExchangeService |
getLineageExchangeService()
Return the interface for exchanging lineage information (processes, ports, schemas, lineage linkage etc).
|
StewardshipExchangeService |
getStewardshipExchangeService()
Return the interface for exchanging stewardship information.
|
ValidValuesExchangeService |
getValidValuesExchangeService()
Return the interface for exchanging valid values and reference data information.
|
void |
removeExternalIdentifier(String openMetadataElementGUID,
String openMetadataElementTypeName,
String externalIdentifier,
String externalIdentifierName,
String externalIdentifierUsage,
KeyPattern keyPattern,
Map<String,String> mappingProperties)
Remove a new external identifier from an existing open metadata element.
|
void |
updateExternalIdentifier(String openMetadataElementGUID,
String openMetadataElementTypeName,
String externalIdentifier,
String externalIdentifierName,
String externalIdentifierUsage,
KeyPattern keyPattern,
Map<String,String> mappingProperties)
Update the description of a specific external identifier.
|
public CatalogIntegratorContext(AssetManagerClient assetManagerClient, AssetManagerEventClient eventClient, CollaborationExchangeClient collaborationExchangeClient, DataAssetExchangeClient dataAssetExchangeClient, GlossaryExchangeClient glossaryExchangeClient, GovernanceExchangeClient governanceExchangeClient, InfrastructureExchangeClient infrastructureExchangeClient, LineageExchangeClient lineageExchangeClient, StewardshipExchangeClient stewardshipExchangeClient, ValidValuesExchangeClient validValuesExchangeClient, String userId, String assetManagerGUID, String assetManagerName, String connectorName, String integrationServiceName, SynchronizationDirection synchronizationDirection, List<String> disabledExchangeServices, AuditLog auditLog)
assetManagerClient - common client to map requests toeventClient - client to register for eventscollaborationExchangeClient - client for collaboration requestsdataAssetExchangeClient - client for data asset requestsglossaryExchangeClient - client for glossary requestsgovernanceExchangeClient - client for governance requestsinfrastructureExchangeClient - client for infrastructure requestslineageExchangeClient - client for lineage requestsstewardshipExchangeClient - client for stewardship requestsvalidValuesExchangeClient - client for valid values requestsuserId - integration daemon's userIdassetManagerGUID - unique identifier of the software server capability for the asset managerassetManagerName - unique name of the software server capability for the asset managerconnectorName - name of the connector using this contextsynchronizationDirection - controls the direction of synchronization that should be alloweddisabledExchangeServices - option from the integration service's configurationintegrationServiceName - name of this serviceauditLog - logging destinationpublic void addExternalIdentifier(String openMetadataElementGUID, String openMetadataElementTypeName, String externalIdentifier, String externalIdentifierName, String externalIdentifierUsage, KeyPattern keyPattern, Map<String,String> mappingProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
openMetadataElementGUID - unique identifier (GUID) of the element in the open metadata ecosystemopenMetadataElementTypeName - type name for the open metadata elementexternalIdentifier - unique identifier of this element in the third party asset managerexternalIdentifierName - name of the identifier in the third party asset managerexternalIdentifierUsage - description of how the open metadata element maps to the identifierkeyPattern - style of the external identifiermappingProperties - additional mapping propertiesInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void updateExternalIdentifier(String openMetadataElementGUID, String openMetadataElementTypeName, String externalIdentifier, String externalIdentifierName, String externalIdentifierUsage, KeyPattern keyPattern, Map<String,String> mappingProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
openMetadataElementGUID - unique identifier (GUID) of the element in the open metadata ecosystemopenMetadataElementTypeName - type name for the open metadata elementexternalIdentifier - unique identifier of this element in the external asset managerexternalIdentifierName - name of the identifier in the third party asset managerexternalIdentifierUsage - description of how the open metadata element maps to the identifierkeyPattern - style of the external identifiermappingProperties - additional mapping propertiesInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void removeExternalIdentifier(String openMetadataElementGUID, String openMetadataElementTypeName, String externalIdentifier, String externalIdentifierName, String externalIdentifierUsage, KeyPattern keyPattern, Map<String,String> mappingProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
openMetadataElementGUID - unique identifier (GUID) of the element in the open metadata ecosystemopenMetadataElementTypeName - type name for the open metadata elementexternalIdentifier - unique identifier of this element in the third party asset managerexternalIdentifierName - name of the identifier in the third party asset managerexternalIdentifierUsage - description of how the open metadata element maps to the identifierkeyPattern - style of the external identifiermappingProperties - additional mapping propertiesInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic void confirmSynchronization(String openMetadataGUID, String openMetadataElementTypeName, String externalIdentifier) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
openMetadataGUID - unique identifier (GUID) of this element in open metadataopenMetadataElementTypeName - type name for the open metadata elementexternalIdentifier - unique identifier of this element in the external asset managerInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic CollaborationExchangeService getCollaborationExchangeService() throws UserNotAuthorizedException
UserNotAuthorizedException - this option is not enabled in the configurationpublic DataAssetExchangeService getDataAssetExchangeService() throws UserNotAuthorizedException
UserNotAuthorizedException - this option is not enabled in the configurationpublic GlossaryExchangeService getGlossaryExchangeService() throws UserNotAuthorizedException
UserNotAuthorizedException - this option is not enabled in the configurationpublic GovernanceExchangeService getGovernanceExchangeService() throws UserNotAuthorizedException
UserNotAuthorizedException - this option is not enabled in the configurationpublic InfrastructureExchangeService getInfrastructureExchangeService() throws UserNotAuthorizedException
UserNotAuthorizedException - this option is not enabled in the configurationpublic LineageExchangeService getLineageExchangeService() throws UserNotAuthorizedException
UserNotAuthorizedException - this option is not enabled in the configurationpublic StewardshipExchangeService getStewardshipExchangeService() throws UserNotAuthorizedException
UserNotAuthorizedException - this option is not enabled in the configurationpublic ValidValuesExchangeService getValidValuesExchangeService() throws UserNotAuthorizedException
UserNotAuthorizedException - this option is not enabled in the configurationCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.