Class ConnectionExchangeRESTServices
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.server.ConnectionExchangeRESTServices
ConnectionExchangeRESTServices is the server-side for managing Connections, Endpoints and ConnectorTypes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseclearAssetConnection(String serverName, String userId, String assetGUID, String connectionGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Remove a relationship between an asset and its connection.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseclearConnectorType(String serverName, String userId, String connectionGUID, String connectorTypeGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Remove a relationship between a connection and a connector type.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseclearEmbeddedConnection(String serverName, String userId, String connectionGUID, String embeddedConnectionGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Remove a relationship between a virtual connection and an embedded connection.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseclearEndpoint(String serverName, String userId, String connectionGUID, String endpointGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Remove a relationship between a connection and an endpoint.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateConnection(String serverName, String userId, boolean assetManagerIsHome, org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionRequestBody requestBody) Create a new metadata element to represent the root of a connection.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateConnectionFromTemplate(String serverName, String userId, String templateGUID, boolean assetManagerIsHome, org.odpi.openmetadata.accessservices.assetmanager.rest.TemplateRequestBody requestBody) Create a new metadata element to represent a connection using an existing metadata element as a template.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateConnectorType(String serverName, String userId, boolean assetManagerIsHome, org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectorTypeRequestBody requestBody) Create a new metadata element to represent the root of an asset.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateConnectorTypeFromTemplate(String serverName, String userId, String templateGUID, boolean assetManagerIsHome, org.odpi.openmetadata.accessservices.assetmanager.rest.TemplateRequestBody requestBody) Create a new metadata element to represent an asset using an existing metadata element as a template.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateEndpoint(String serverName, String userId, boolean assetManagerIsHome, org.odpi.openmetadata.accessservices.assetmanager.rest.EndpointRequestBody requestBody) Create a new metadata element to represent a network endpoint.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateEndpointFromTemplate(String serverName, String userId, String templateGUID, boolean assetManagerIsHome, org.odpi.openmetadata.accessservices.assetmanager.rest.TemplateRequestBody requestBody) Create a new metadata element to represent a network endpoint using an existing metadata element as a template.org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionsResponsefindConnections(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.SearchStringRequestBody requestBody) Retrieve the list of connection metadata elements that contain the search string.org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectorTypesResponsefindConnectorTypes(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.SearchStringRequestBody requestBody) Retrieve the list of connector type metadata elements that contain the search string.org.odpi.openmetadata.accessservices.assetmanager.rest.EndpointsResponsefindEndpoints(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.SearchStringRequestBody requestBody) Retrieve the list of network endpoint metadata elements that contain the search string.org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionResponsegetConnectionByGUID(String serverName, String userId, String connectionGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the connection metadata element with the supplied unique identifier.org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionsResponsegetConnectionsByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.NameRequestBody requestBody) Retrieve the list of connection metadata elements with a matching qualified or display name.org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionsResponsegetConnectionsForAssetManager(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the list of connections created on behalf of the named asset manager.org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectorTypeResponsegetConnectorTypeByGUID(String serverName, String userId, String connectorTypeGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the connector type metadata element with the supplied unique identifier.org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectorTypesResponsegetConnectorTypesByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.NameRequestBody requestBody) Retrieve the list of connector type metadata elements with a matching qualified or display name.org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectorTypesResponsegetConnectorTypesForAssetManager(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the list of assets created on behalf of the named asset manager.org.odpi.openmetadata.accessservices.assetmanager.rest.EndpointResponsegetEndpointByGUID(String serverName, String userId, String endpointGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the network endpoint metadata element with the supplied unique identifier.org.odpi.openmetadata.accessservices.assetmanager.rest.EndpointsResponsegetEndpointsByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.NameRequestBody requestBody) Retrieve the list of network endpoint metadata elements with a matching qualified or display name.org.odpi.openmetadata.accessservices.assetmanager.rest.EndpointsResponsegetEndpointsForAssetManager(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the list of endpoints created on behalf of the named asset manager.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveConnection(String serverName, String userId, String connectionGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody requestBody) Remove the metadata element representing a connection.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveConnectorType(String serverName, String userId, String connectorTypeGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody requestBody) Remove the metadata element representing an asset.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveEndpoint(String serverName, String userId, String endpointGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody requestBody) Remove the metadata element representing a network endpoint.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetupAssetConnection(String serverName, String userId, boolean assetManagerIsHome, String assetGUID, String connectionGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.RelationshipRequestBody requestBody) Create a relationship between an asset and its connection.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetupConnectorType(String serverName, String userId, String connectionGUID, String connectorTypeGUID, boolean assetManagerIsHome, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.RelationshipRequestBody requestBody) Create a relationship between a connection and a connector type.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetupEmbeddedConnection(String serverName, String userId, String connectionGUID, String embeddedConnectionGUID, boolean assetManagerIsHome, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.RelationshipRequestBody requestBody) Create a relationship between a virtual connection and an embedded connection.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetupEndpoint(String serverName, String userId, String connectionGUID, String endpointGUID, boolean assetManagerIsHome, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.RelationshipRequestBody requestBody) Create a relationship between a connection and an endpoint.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateConnection(String serverName, String userId, String connectionGUID, boolean isMergeUpdate, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionRequestBody requestBody) Update the metadata element representing an asset.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateConnectorType(String serverName, String userId, String connectorTypeGUID, boolean isMergeUpdate, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectorTypeRequestBody requestBody) Update the metadata element representing an asset.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateEndpoint(String serverName, String userId, String endpointGUID, boolean isMergeUpdate, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EndpointRequestBody requestBody) Update the metadata element representing an asset.
-
Constructor Details
-
ConnectionExchangeRESTServices
public ConnectionExchangeRESTServices()Default constructor
-
-
Method Details
-
createConnection
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createConnection(String serverName, String userId, boolean assetManagerIsHome, org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionRequestBody requestBody) Create a new metadata element to represent the root of a connection.- Parameters:
serverName- name of the server to route the request touserId- calling userassetManagerIsHome- ensure that only the asset manager can update this connectionrequestBody- properties to store- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
createConnectionFromTemplate
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createConnectionFromTemplate(String serverName, String userId, String templateGUID, boolean assetManagerIsHome, org.odpi.openmetadata.accessservices.assetmanager.rest.TemplateRequestBody requestBody) 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.- Parameters:
serverName- name of the server to route the request touserId- calling usertemplateGUID- unique identifier of the metadata element to copyassetManagerIsHome- ensure that only the asset manager can update this connectionrequestBody- properties to store- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
updateConnection
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateConnection(String serverName, String userId, String connectionGUID, boolean isMergeUpdate, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionRequestBody requestBody) Update the metadata element representing an asset.- Parameters:
serverName- name of the server to route the request touserId- calling userconnectionGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
setupConnectorType
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupConnectorType(String serverName, String userId, String connectionGUID, String connectorTypeGUID, boolean assetManagerIsHome, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.RelationshipRequestBody requestBody) Create a relationship between a connection and a connector type.- Parameters:
serverName- name of the server to route the request touserId- calling userconnectionGUID- unique identifier of the connection in the external asset managerconnectorTypeGUID- unique identifier of the connector type in the external asset managerassetManagerIsHome- ensure that only the asset manager can update this relationshipforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
clearConnectorType
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearConnectorType(String serverName, String userId, String connectionGUID, String connectorTypeGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Remove a relationship between a connection and a connector type.- Parameters:
serverName- name of the server to route the request touserId- calling userconnectionGUID- unique identifier of the connection in the external asset managerconnectorTypeGUID- unique identifier of the connector type in the external asset managerforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
setupEndpoint
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupEndpoint(String serverName, String userId, String connectionGUID, String endpointGUID, boolean assetManagerIsHome, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.RelationshipRequestBody requestBody) Create a relationship between a connection and an endpoint.- Parameters:
serverName- name of the server to route the request touserId- calling userconnectionGUID- unique identifier of the connection in the external asset managerendpointGUID- unique identifier of the endpoint in the external asset managerassetManagerIsHome- ensure that only the asset manager can update this relationshipforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
clearEndpoint
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearEndpoint(String serverName, String userId, String connectionGUID, String endpointGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Remove a relationship between a connection and an endpoint.- Parameters:
serverName- name of the server to route the request touserId- calling userconnectionGUID- unique identifier of the connection in the external asset managerendpointGUID- unique identifier of the endpoint in the external asset managerforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
setupEmbeddedConnection
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupEmbeddedConnection(String serverName, String userId, String connectionGUID, String embeddedConnectionGUID, boolean assetManagerIsHome, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.RelationshipRequestBody requestBody) Create a relationship between a virtual connection and an embedded connection.- Parameters:
serverName- name of the server to route the request touserId- calling userconnectionGUID- unique identifier of the virtual connection in the external asset managerembeddedConnectionGUID- unique identifier of the embedded connection in the external asset managerassetManagerIsHome- ensure that only the asset manager can update this relationshipforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
clearEmbeddedConnection
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearEmbeddedConnection(String serverName, String userId, String connectionGUID, String embeddedConnectionGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Remove a relationship between a virtual connection and an embedded connection.- Parameters:
serverName- name of the server to route the request touserId- calling userconnectionGUID- unique identifier of the virtual connection in the external asset managerembeddedConnectionGUID- unique identifier of the embedded connection in the external asset managerforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
setupAssetConnection
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupAssetConnection(String serverName, String userId, boolean assetManagerIsHome, String assetGUID, String connectionGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.RelationshipRequestBody requestBody) Create a relationship between an asset and its connection.- Parameters:
serverName- name of the server to route the request touserId- calling userassetManagerIsHome- ensure that only the asset manager can update this relationshipassetGUID- unique identifier of the assetconnectionGUID- unique identifier of the connectionforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
clearAssetConnection
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearAssetConnection(String serverName, String userId, String assetGUID, String connectionGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Remove a relationship between an asset and its connection.- Parameters:
serverName- name of the server to route the request touserId- calling userassetGUID- unique identifier of the assetconnectionGUID- unique identifier of the connectionforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
removeConnection
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeConnection(String serverName, String userId, String connectionGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody requestBody) Remove the metadata element representing a connection. This will delete the connection and all anchored elements such as schema and comments.- Parameters:
serverName- name of the server to route the request touserId- calling userconnectionGUID- unique identifier of the metadata element to removeforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties for query- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
findConnections
public org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionsResponse findConnections(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.SearchStringRequestBody requestBody) Retrieve the list of connection metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the server to route the request touserId- 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- properties for query- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getConnectionsByName
public org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionsResponse getConnectionsByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.NameRequestBody requestBody) Retrieve the list of connection metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the server to route the request touserId- 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- properties for query- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getConnectionsForAssetManager
public org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionsResponse getConnectionsForAssetManager(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the list of connections created on behalf of the named asset manager.- Parameters:
serverName- name of the server to route the request touserId- 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- properties for query- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getConnectionByGUID
public org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectionResponse getConnectionByGUID(String serverName, String userId, String connectionGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the connection metadata element with the supplied unique identifier.- Parameters:
serverName- name of the server to route the request touserId- calling userconnectionGUID- unique identifier of the requested metadata elementforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties for query- Returns:
- matching metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
createEndpoint
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createEndpoint(String serverName, String userId, boolean assetManagerIsHome, org.odpi.openmetadata.accessservices.assetmanager.rest.EndpointRequestBody requestBody) Create a new metadata element to represent a network endpoint.- Parameters:
serverName- name of the server to route the request touserId- calling userassetManagerIsHome- ensure that only the asset manager can update this endpointrequestBody- properties to store- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
createEndpointFromTemplate
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createEndpointFromTemplate(String serverName, String userId, String templateGUID, boolean assetManagerIsHome, org.odpi.openmetadata.accessservices.assetmanager.rest.TemplateRequestBody requestBody) 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.- Parameters:
serverName- name of the server to route the request touserId- calling userassetManagerIsHome- ensure that only the asset manager can update this endpointtemplateGUID- unique identifier of the metadata element to copyrequestBody- properties to store- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
updateEndpoint
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateEndpoint(String serverName, String userId, String endpointGUID, boolean isMergeUpdate, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EndpointRequestBody requestBody) Update the metadata element representing an asset.- Parameters:
serverName- name of the server to route the request touserId- calling userendpointGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
removeEndpoint
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeEndpoint(String serverName, String userId, String endpointGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody requestBody) Remove the metadata element representing a network endpoint. This will delete the endpoint and all anchored elements such as schema and comments.- Parameters:
serverName- name of the server to route the request touserId- calling userendpointGUID- unique identifier of the metadata element to removeforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties for query- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
findEndpoints
public org.odpi.openmetadata.accessservices.assetmanager.rest.EndpointsResponse findEndpoints(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.SearchStringRequestBody requestBody) Retrieve the list of network endpoint metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the server to route the request touserId- 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- properties for query- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getEndpointsByName
public org.odpi.openmetadata.accessservices.assetmanager.rest.EndpointsResponse getEndpointsByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.NameRequestBody requestBody) Retrieve the list of network endpoint metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the server to route the request touserId- 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- properties for query- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getEndpointsForAssetManager
public org.odpi.openmetadata.accessservices.assetmanager.rest.EndpointsResponse getEndpointsForAssetManager(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the list of endpoints created on behalf of the named asset manager.- Parameters:
serverName- name of the server to route the request touserId- 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- properties to store- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getEndpointByGUID
public org.odpi.openmetadata.accessservices.assetmanager.rest.EndpointResponse getEndpointByGUID(String serverName, String userId, String endpointGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the network endpoint metadata element with the supplied unique identifier.- Parameters:
serverName- name of the server to route the request touserId- calling userendpointGUID- unique identifier of the requested metadata elementforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- matching metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
createConnectorType
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createConnectorType(String serverName, String userId, boolean assetManagerIsHome, org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectorTypeRequestBody requestBody) Create a new metadata element to represent the root of an asset.- Parameters:
serverName- name of the server to route the request touserId- calling userassetManagerIsHome- ensure that only the asset manager can update this assetrequestBody- properties to store- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
createConnectorTypeFromTemplate
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createConnectorTypeFromTemplate(String serverName, String userId, String templateGUID, boolean assetManagerIsHome, org.odpi.openmetadata.accessservices.assetmanager.rest.TemplateRequestBody requestBody) 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.- Parameters:
serverName- name of the server to route the request touserId- calling usertemplateGUID- unique identifier of the metadata element to copyassetManagerIsHome- ensure that only the asset manager can update this assetrequestBody- properties to store- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
updateConnectorType
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateConnectorType(String serverName, String userId, String connectorTypeGUID, boolean isMergeUpdate, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectorTypeRequestBody requestBody) Update the metadata element representing an asset.- Parameters:
serverName- name of the server to route the request touserId- calling userconnectorTypeGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
removeConnectorType
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeConnectorType(String serverName, String userId, String connectorTypeGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody requestBody) Remove the metadata element representing an asset. This will delete the asset and all anchored elements such as schema and comments.- Parameters:
serverName- name of the server to route the request touserId- calling userconnectorTypeGUID- unique identifier of the metadata element to removeforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to store- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
findConnectorTypes
public org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectorTypesResponse findConnectorTypes(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.SearchStringRequestBody requestBody) Retrieve the list of connector type metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the server to route the request touserId- 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- properties for query- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getConnectorTypesByName
public org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectorTypesResponse getConnectorTypesByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.NameRequestBody requestBody) Retrieve the list of connector type metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the server to route the request touserId- 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- properties to store- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getConnectorTypesForAssetManager
public org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectorTypesResponse getConnectorTypesForAssetManager(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the list of assets created on behalf of the named asset manager.- Parameters:
serverName- name of the server to route the request touserId- 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- properties for query- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getConnectorTypeByGUID
public org.odpi.openmetadata.accessservices.assetmanager.rest.ConnectorTypeResponse getConnectorTypeByGUID(String serverName, String userId, String connectorTypeGUID, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody requestBody) Retrieve the connector type metadata element with the supplied unique identifier.- Parameters:
serverName- name of the server to route the request touserId- calling userconnectorTypeGUID- unique identifier of the requested metadata elementforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties for query- Returns:
- matching metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-