Class ConnectionExchangeClient
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.client.AssetManagerBaseClient
org.odpi.openmetadata.accessservices.assetmanager.client.exchange.ExchangeClientBase
org.odpi.openmetadata.accessservices.assetmanager.client.exchange.ConnectionExchangeClient
- All Implemented Interfaces:
org.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface,org.odpi.openmetadata.accessservices.assetmanager.api.ExternalIdentifierManagerInterface
public class ConnectionExchangeClient
extends ExchangeClientBase
implements org.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface
ConnectionExchangeClient is the client for managing Connections, Endpoints and ConnectorTypes.
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionExchangeClient(String serverName, String serverPlatformURLRoot, int maxPageSize) Create a new client with no authentication embedded in the HTTP request.ConnectionExchangeClient(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize) Create a new client that passes userId and password in each HTTP request.ConnectionExchangeClient(String serverName, String serverPlatformURLRoot, String userId, String password, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog, int maxPageSize) Create a new client that passes userId and password in each HTTP request.ConnectionExchangeClient(String serverName, String serverPlatformURLRoot, AssetManagerRESTClient restClient, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) Create a new client that is going to be used in an OMAG Server.ConnectionExchangeClient(String serverName, String serverPlatformURLRoot, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog, int maxPageSize) Create a new client with no authentication embedded in the HTTP request. -
Method Summary
Modifier and TypeMethodDescriptionvoidclearAssetConnection(String userId, String assetManagerGUID, String assetManagerName, String assetGUID, String connectionGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove a relationship between an asset and its connection.voidclearConnectorType(String userId, String assetManagerGUID, String assetManagerName, String connectionGUID, String connectorTypeGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove a relationship between a connection and a connector type.voidclearEmbeddedConnection(String userId, String assetManagerGUID, String assetManagerName, String connectionGUID, String embeddedConnectionGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove a relationship between a virtual connection and an embedded connection.voidclearEndpoint(String userId, String assetManagerGUID, String assetManagerName, String connectionGUID, String endpointGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove a relationship between a connection and an endpoint.createConnection(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties externalIdentifierProperties, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.ConnectionProperties connectionProperties) Create a new metadata element to represent the root of a connection.createConnectionFromTemplate(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String templateGUID, org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties externalIdentifierProperties, org.odpi.openmetadata.accessservices.assetmanager.properties.TemplateProperties templateProperties) Create a new metadata element to represent a connection using an existing metadata element as a template.createConnectorType(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties externalIdentifierProperties, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.ConnectorTypeProperties connectorTypeProperties) Create a new metadata element to represent the root of an asset.createConnectorTypeFromTemplate(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String templateGUID, org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties externalIdentifierProperties, org.odpi.openmetadata.accessservices.assetmanager.properties.TemplateProperties templateProperties) Create a new metadata element to represent an asset using an existing metadata element as a template.createEndpoint(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties externalIdentifierProperties, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.EndpointProperties endpointProperties) Create a new metadata element to represent a network endpoint.createEndpointFromTemplate(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String templateGUID, org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties externalIdentifierProperties, org.odpi.openmetadata.accessservices.assetmanager.properties.TemplateProperties templateProperties) Create a new metadata element to represent a network endpoint using an existing metadata element as a template.List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectionElement>findConnections(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of connection metadata elements that contain the search string.List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectorTypeElement>findConnectorTypes(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of connector type metadata elements that contain the search string.List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.EndpointElement>findEndpoints(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of network endpoint metadata elements that contain the search string.org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectionElementgetConnectionByGUID(String userId, String assetManagerGUID, String assetManagerName, String connectionGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the connection metadata element with the supplied unique identifier.List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectionElement>getConnectionsByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of connection metadata elements with a matching qualified or display name.List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectionElement>getConnectionsForAssetManager(String userId, String assetManagerGUID, String assetManagerName, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of connections created on behalf of the named asset manager.org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectorTypeElementgetConnectorTypeByGUID(String userId, String assetManagerGUID, String assetManagerName, String openMetadataGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the connector type metadata element with the supplied unique identifier.List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectorTypeElement>getConnectorTypesByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of connector type metadata elements with a matching qualified or display name.List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectorTypeElement>getConnectorTypesForAssetManager(String userId, String assetManagerGUID, String assetManagerName, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of assets created on behalf of the named asset manager.org.odpi.openmetadata.accessservices.assetmanager.metadataelements.EndpointElementgetEndpointByGUID(String userId, String assetManagerGUID, String assetManagerName, String endpointGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the network endpoint metadata element with the supplied unique identifier.List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.EndpointElement>getEndpointsByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of network endpoint metadata elements with a matching qualified or display name.List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.EndpointElement>getEndpointsForAssetManager(String userId, String assetManagerGUID, String assetManagerName, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Retrieve the list of endpoints created on behalf of the named asset manager.voidremoveConnection(String userId, String assetManagerGUID, String assetManagerName, String connectionGUID, String connectionExternalIdentifier, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the metadata element representing a connection.voidremoveConnectorType(String userId, String assetManagerGUID, String assetManagerName, String connectorTypeGUID, String connectorTypeExternalIdentifier, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the metadata element representing an asset.voidremoveEndpoint(String userId, String assetManagerGUID, String assetManagerName, String endpointGUID, String endpointExternalIdentifier, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Remove the metadata element representing a network endpoint.voidsetupAssetConnection(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String assetGUID, String connectionGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetConnectionProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Create a relationship between an asset and its connection.voidsetupConnectorType(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String connectionGUID, String connectorTypeGUID, Date effectiveFrom, Date effectiveTo, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Create a relationship between a connection and a connector type.voidsetupEmbeddedConnection(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String connectionGUID, String embeddedConnectionGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.EmbeddedConnectionProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Create a relationship between a virtual connection and an embedded connection.voidsetupEndpoint(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String connectionGUID, String endpointGUID, Date effectiveFrom, Date effectiveTo, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Create a relationship between a connection and an endpoint.voidupdateConnection(String userId, String assetManagerGUID, String assetManagerName, String connectionGUID, String connectionExternalIdentifier, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.ConnectionProperties connectionProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Update the metadata element representing an asset.voidupdateConnectorType(String userId, String assetManagerGUID, String assetManagerName, String connectorTypeGUID, String connectorTypeExternalIdentifier, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.ConnectorTypeProperties connectorTypeProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Update the metadata element representing an asset.voidupdateEndpoint(String userId, String assetManagerGUID, String assetManagerName, String endpointGUID, String endpointExternalIdentifier, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.EndpointProperties endpointProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) Update the metadata element representing an asset.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.client.AssetManagerBaseClient
addExternalIdentifier, addExternalIdentifier, confirmSynchronization, getElementsForExternalIdentifier, removeExternalIdentifier, updateExternalIdentifier
-
Constructor Details
-
ConnectionExchangeClient
public ConnectionExchangeClient(String serverName, String serverPlatformURLRoot, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog, int maxPageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesauditLog- logging destinationmaxPageSize- maximum value allowed for page size- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
ConnectionExchangeClient
public ConnectionExchangeClient(String serverName, String serverPlatformURLRoot, int maxPageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesmaxPageSize- maximum value allowed for page size- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
ConnectionExchangeClient
public ConnectionExchangeClient(String serverName, String serverPlatformURLRoot, String userId, String password, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog, int maxPageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requestsauditLog- logging destinationmaxPageSize- maximum value allowed for page size- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
ConnectionExchangeClient
public ConnectionExchangeClient(String serverName, String serverPlatformURLRoot, AssetManagerRESTClient restClient, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client that is going to be used in an OMAG Server.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesrestClient- client that issues the REST API callsmaxPageSize- maximum number of results supported by this serverauditLog- logging destination- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
ConnectionExchangeClient
public ConnectionExchangeClient(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requestsmaxPageSize- maximum value allowed for page size- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
-
Method Details
-
createConnection
public String createConnection(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties externalIdentifierProperties, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.ConnectionProperties connectionProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent the root of a connection.- Specified by:
createConnectionin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerassetManagerIsHome- ensure that only the asset manager can update this connectionexternalIdentifierProperties- optional properties used to define an external identifierconnectionProperties- properties to store- Returns:
- unique identifier of the new metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createConnectionFromTemplate
public String createConnectionFromTemplate(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String templateGUID, org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties externalIdentifierProperties, org.odpi.openmetadata.accessservices.assetmanager.properties.TemplateProperties templateProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent a connection using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new connection.- Specified by:
createConnectionFromTemplatein interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerassetManagerIsHome- ensure that only the asset manager can update this connectionexternalIdentifierProperties- optional properties used to define an external identifiertemplateGUID- unique identifier of the metadata element to copytemplateProperties- properties that override the template- Returns:
- unique identifier of the new metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateConnection
public void updateConnection(String userId, String assetManagerGUID, String assetManagerName, String connectionGUID, String connectionExternalIdentifier, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.ConnectionProperties connectionProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the metadata element representing an asset.- Specified by:
updateConnectionin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerconnectionGUID- unique identifier of the metadata element to updateconnectionExternalIdentifier- unique identifier of the connection in the external asset managerisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?connectionProperties- new properties for this elementeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupConnectorType
public void setupConnectorType(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String connectionGUID, String connectorTypeGUID, Date effectiveFrom, Date effectiveTo, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a relationship between a connection and a connector type.- Specified by:
setupConnectorTypein interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerassetManagerIsHome- ensure that only the asset manager can update this relationshipconnectionGUID- unique identifier of the connection in the external asset managerconnectorTypeGUID- unique identifier of the connector type in the external asset managereffectiveFrom- the date when this element is active - null for active noweffectiveTo- the date when this element becomes inactive - null for active until deletedeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearConnectorType
public void clearConnectorType(String userId, String assetManagerGUID, String assetManagerName, String connectionGUID, String connectorTypeGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove a relationship between a connection and a connector type.- Specified by:
clearConnectorTypein interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerconnectionGUID- unique identifier of the connection in the external asset managerconnectorTypeGUID- unique identifier of the connector type in the external asset managereffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupEndpoint
public void setupEndpoint(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String connectionGUID, String endpointGUID, Date effectiveFrom, Date effectiveTo, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a relationship between a connection and an endpoint.- Specified by:
setupEndpointin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerassetManagerIsHome- ensure that only the asset manager can update this relationshipconnectionGUID- unique identifier of the connection in the external asset managerendpointGUID- unique identifier of the endpoint in the external asset managereffectiveFrom- the date when this element is active - null for active noweffectiveTo- the date when this element becomes inactive - null for active until deletedeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearEndpoint
public void clearEndpoint(String userId, String assetManagerGUID, String assetManagerName, String connectionGUID, String endpointGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove a relationship between a connection and an endpoint.- Specified by:
clearEndpointin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerconnectionGUID- unique identifier of the connection in the external asset managerendpointGUID- unique identifier of the endpoint in the external asset managereffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupEmbeddedConnection
public void setupEmbeddedConnection(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String connectionGUID, String embeddedConnectionGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.EmbeddedConnectionProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a relationship between a virtual connection and an embedded connection.- Specified by:
setupEmbeddedConnectionin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerassetManagerIsHome- ensure that only the asset manager can update this relationshipconnectionGUID- unique identifier of the virtual connection in the external asset managerembeddedConnectionGUID- unique identifier of the embedded connection in the external asset managerproperties- properties describing how to use the embedded connection such as: Which order should this connection be processed; What additional properties should be passed to the embedded connector via the configuration properties; What does this connector signify?forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?effectiveTime- when should the elements be effected for - null is anytime; new Date() is now- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearEmbeddedConnection
public void clearEmbeddedConnection(String userId, String assetManagerGUID, String assetManagerName, String connectionGUID, String embeddedConnectionGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove a relationship between a virtual connection and an embedded connection.- Specified by:
clearEmbeddedConnectionin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerconnectionGUID- unique identifier of the virtual connection in the external asset managerembeddedConnectionGUID- unique identifier of the embedded connection in the external asset managereffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupAssetConnection
public void setupAssetConnection(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String assetGUID, String connectionGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.assets.AssetConnectionProperties properties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a relationship between an asset and its connection.- Specified by:
setupAssetConnectionin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerassetManagerIsHome- ensure that only the asset manager can update this relationshipassetGUID- unique identifier of the assetproperties- summary of the asset that is stored in the relationship between the asset and the connection.connectionGUID- unique identifier of the connectioneffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearAssetConnection
public void clearAssetConnection(String userId, String assetManagerGUID, String assetManagerName, String assetGUID, String connectionGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove a relationship between an asset and its connection.- Specified by:
clearAssetConnectionin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerassetGUID- unique identifier of the assetconnectionGUID- unique identifier of the connectioneffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeConnection
public void removeConnection(String userId, String assetManagerGUID, String assetManagerName, String connectionGUID, String connectionExternalIdentifier, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the metadata element representing a connection. This will delete the connection and all anchored elements such as schema and comments.- Specified by:
removeConnectionin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerconnectionGUID- unique identifier of the metadata element to removeconnectionExternalIdentifier- unique identifier of the connection in the external asset managereffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
findConnections
public List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectionElement> findConnections(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of connection metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findConnectionsin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getConnectionsByName
public List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectionElement> getConnectionsByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of connection metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getConnectionsByNamein interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callername- name to search forstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getConnectionsForAssetManager
public List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectionElement> getConnectionsForAssetManager(String userId, String assetManagerGUID, String assetManagerName, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of connections created on behalf of the named asset manager.- Specified by:
getConnectionsForAssetManagerin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getConnectionByGUID
public org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectionElement getConnectionByGUID(String userId, String assetManagerGUID, String assetManagerName, String connectionGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the connection metadata element with the supplied unique identifier.- Specified by:
getConnectionByGUIDin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerconnectionGUID- unique identifier of the requested metadata elementeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- matching metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createEndpoint
public String createEndpoint(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties externalIdentifierProperties, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.EndpointProperties endpointProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent a network endpoint.- Specified by:
createEndpointin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerassetManagerIsHome- ensure that only the asset manager can update this endpointexternalIdentifierProperties- optional properties used to define an external identifierendpointProperties- properties to store- Returns:
- unique identifier of the new metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createEndpointFromTemplate
public String createEndpointFromTemplate(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String templateGUID, org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties externalIdentifierProperties, org.odpi.openmetadata.accessservices.assetmanager.properties.TemplateProperties templateProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent a network endpoint using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new endpoint.- Specified by:
createEndpointFromTemplatein interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerassetManagerIsHome- ensure that only the asset manager can update this endpointexternalIdentifierProperties- optional properties used to define an external identifiertemplateGUID- unique identifier of the metadata element to copytemplateProperties- properties that override the template- Returns:
- unique identifier of the new metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateEndpoint
public void updateEndpoint(String userId, String assetManagerGUID, String assetManagerName, String endpointGUID, String endpointExternalIdentifier, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.EndpointProperties endpointProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the metadata element representing an asset.- Specified by:
updateEndpointin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerendpointGUID- unique identifier of the metadata element to updateendpointExternalIdentifier- unique identifier of the endpoint in the external asset managerisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?endpointProperties- new properties for this elementeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeEndpoint
public void removeEndpoint(String userId, String assetManagerGUID, String assetManagerName, String endpointGUID, String endpointExternalIdentifier, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the metadata element representing a network endpoint. This will delete the endpoint and all anchored elements such as schema and comments.- Specified by:
removeEndpointin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerendpointGUID- unique identifier of the metadata element to removeendpointExternalIdentifier- unique identifier of the endpoint in the external asset managereffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
findEndpoints
public List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.EndpointElement> findEndpoints(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of network endpoint metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findEndpointsin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getEndpointsByName
public List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.EndpointElement> getEndpointsByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of network endpoint metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getEndpointsByNamein interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callername- name to search forstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getEndpointsForAssetManager
public List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.EndpointElement> getEndpointsForAssetManager(String userId, String assetManagerGUID, String assetManagerName, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of endpoints created on behalf of the named asset manager.- Specified by:
getEndpointsForAssetManagerin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getEndpointByGUID
public org.odpi.openmetadata.accessservices.assetmanager.metadataelements.EndpointElement getEndpointByGUID(String userId, String assetManagerGUID, String assetManagerName, String endpointGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the network endpoint metadata element with the supplied unique identifier.- Specified by:
getEndpointByGUIDin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerendpointGUID- unique identifier of the requested metadata elementeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- matching metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createConnectorType
public String createConnectorType(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties externalIdentifierProperties, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.ConnectorTypeProperties connectorTypeProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent the root of an asset.- Specified by:
createConnectorTypein interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerassetManagerIsHome- ensure that only the asset manager can update this assetexternalIdentifierProperties- optional properties used to define an external identifierconnectorTypeProperties- properties to store- Returns:
- unique identifier of the new metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createConnectorTypeFromTemplate
public String createConnectorTypeFromTemplate(String userId, String assetManagerGUID, String assetManagerName, boolean assetManagerIsHome, String templateGUID, org.odpi.openmetadata.frameworks.governanceaction.properties.ExternalIdentifierProperties externalIdentifierProperties, org.odpi.openmetadata.accessservices.assetmanager.properties.TemplateProperties templateProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent an asset using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new asset.- Specified by:
createConnectorTypeFromTemplatein interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerassetManagerIsHome- ensure that only the asset manager can update this assetexternalIdentifierProperties- optional properties used to define an external identifiertemplateGUID- unique identifier of the metadata element to copytemplateProperties- properties that override the template- Returns:
- unique identifier of the new metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateConnectorType
public void updateConnectorType(String userId, String assetManagerGUID, String assetManagerName, String connectorTypeGUID, String connectorTypeExternalIdentifier, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.properties.connections.ConnectorTypeProperties connectorTypeProperties, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the metadata element representing an asset.- Specified by:
updateConnectorTypein interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerconnectorTypeGUID- unique identifier of the metadata element to updateconnectorTypeExternalIdentifier- unique identifier of the asset in the external asset managerisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?connectorTypeProperties- new properties for this elementeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeConnectorType
public void removeConnectorType(String userId, String assetManagerGUID, String assetManagerName, String connectorTypeGUID, String connectorTypeExternalIdentifier, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the metadata element representing an asset. This will delete the asset and all anchored elements such as schema and comments.- Specified by:
removeConnectorTypein interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerconnectorTypeGUID- unique identifier of the metadata element to removeconnectorTypeExternalIdentifier- unique identifier of the asset in the external asset managereffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
findConnectorTypes
public List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectorTypeElement> findConnectorTypes(String userId, String assetManagerGUID, String assetManagerName, String searchString, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of connector type metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findConnectorTypesin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getConnectorTypesByName
public List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectorTypeElement> getConnectorTypesByName(String userId, String assetManagerGUID, String assetManagerName, String name, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of connector type metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getConnectorTypesByNamein interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callername- name to search forstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getConnectorTypesForAssetManager
public List<org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectorTypeElement> getConnectorTypesForAssetManager(String userId, String assetManagerGUID, String assetManagerName, int startFrom, int pageSize, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of assets created on behalf of the named asset manager.- Specified by:
getConnectorTypesForAssetManagerin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the callerstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getConnectorTypeByGUID
public org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ConnectorTypeElement getConnectorTypeByGUID(String userId, String assetManagerGUID, String assetManagerName, String openMetadataGUID, Date effectiveTime, boolean forLineage, boolean forDuplicateProcessing) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the connector type metadata element with the supplied unique identifier.- Specified by:
getConnectorTypeByGUIDin interfaceorg.odpi.openmetadata.accessservices.assetmanager.api.exchange.ConnectionExchangeInterface- Parameters:
userId- calling userassetManagerGUID- unique identifier of software server capability representing the callerassetManagerName- unique name of software server capability representing the calleropenMetadataGUID- unique identifier of the requested metadata elementeffectiveTime- when should the elements be effected for - null is anytime; new Date() is nowforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- matching metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-