Class LineageIntegratorContext
java.lang.Object
org.odpi.openmetadata.frameworks.integration.context.IntegrationContext
org.odpi.openmetadata.integrationservices.lineage.connector.LineageIntegratorContext
- All Implemented Interfaces:
OpenLineageListenerManager
public class LineageIntegratorContext
extends IntegrationContext
implements OpenLineageListenerManager
LineageIntegratorContext provides a wrapper around the Asset Manager OMAS client.
It provides the simplified interface to open metadata needed by the LineageIntegratorConnector.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.integration.context.IntegrationContext
actionControlInterface, connectorName, externalSourceGUID, externalSourceIsHome, externalSourceName, fileClassifier, governanceConfiguration, integrationConnectorGUID, integrationReportWriter, maxPageSize, openIntegrationClient, openMetadataStoreClient, permittedSynchronization, propertyHelper, userId
-
Constructor Summary
ConstructorDescriptionLineageIntegratorContext
(String connectorId, String connectorName, String connectorUserId, String serverName, OpenIntegrationClient openIntegrationClient, GovernanceConfiguration governanceConfiguration, OpenMetadataClient openMetadataStoreClient, ActionControlInterface actionControlInterface, OpenGovernanceClient openGovernanceClient, OpenLineageListenerManager openLineageListenerManager, DataAssetExchangeClient dataAssetExchangeClient, LineageExchangeClient lineageExchangeClient, GovernanceExchangeClient governanceExchangeClient, AssetManagerEventClient eventClient, boolean generateIntegrationReport, PermittedSynchronization permittedSynchronization, String integrationConnectorGUID, String externalSourceGUID, String externalSourceName, String integrationServiceName, int maxPageSize, AuditLog auditLog) Create a new context for a connector. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIncompleteClassification
(String elementGUID, String elementExternalIdentifier, Date effectiveTime) Classify the element with the Incomplete classification to indicate that it has more details to come.void
addMementoClassification
(String elementGUID, String elementExternalIdentifier, Date effectiveTime) Classify the element with the Memento classification to indicate that it has been logically deleted for by lineage requests.void
clearAssetRelationship
(String relationshipTypeName, String relationshipGUID, Date effectiveTime) Remove the relationship between two elements.void
clearBusinessSignificant
(String elementGUID, Date effectiveTime) Remove the "BusinessSignificant" designation from the element.void
clearColumnAsPrimaryKey
(String schemaAttributeGUID, Date effectiveTime) Remove the primary key designation from the schema attribute.void
clearControlFlow
(String controlFlowGUID, Date effectiveTime) Remove the control flow relationship between two elements.void
clearDataAssetAsReferenceData
(String assetGUID, Date effectiveTime) Remove the reference data designation from the asset.void
clearDataFlow
(String dataFlowGUID, Date effectiveTime) Remove the data flow relationship between two elements.void
clearForeignKeyRelationship
(String primaryKeyGUID, String foreignKeyGUID, Date effectiveTime) Remove the foreign key relationship between two schema elements.void
clearIncompleteClassification
(String elementGUID, String elementExternalIdentifier, Date effectiveTime) Remove the Incomplete designation from the element.void
clearLineageMapping
(String lineageMappingGUID, Date effectiveTime) Remove the lineage mapping between two elements.void
clearMementoClassification
(String elementGUID, String elementExternalIdentifier, Date effectiveTime) Remove the memento designation from the element.void
clearPortDelegation
(String portOneGUID, String portTwoGUID, Date effectiveTime) Remove the port delegation relationship between two ports.void
clearPortSchemaType
(String portGUID, String schemaTypeGUID, Date effectiveTime) Remove the schema type from a port.void
clearProcessCall
(String processCallGUID, Date effectiveTime) Remove the process call relationship.void
clearProcessParent
(String parentProcessGUID, String childProcessGUID, Date effectiveTime) Remove a parent-child relationship between two processes.void
clearProcessPort
(String processGUID, String portGUID, Date effectiveTime) Unlink a port from a process.void
clearSchemaElementAsCalculatedValue
(String schemaElementGUID, Date effectiveTime) Remove the calculated value designation from the schema element.void
clearSchemaElementRelationship
(String endOneGUID, String endTwoGUID, String relationshipName, Date effectiveTime) Remove a relationship between two schema elements.void
clearSchemaTypeParent
(String schemaTypeGUID, String parentElementGUID, String parentElementTypeName, Date effectiveTime) Remove the relationship between a schema type and its parent data asset, process or port.createAnchoredSchemaType
(boolean assetManagerIsHome, String anchorGUID, ExternalIdentifierProperties externalIdentifierProperties, SchemaTypeProperties schemaTypeProperties) Create a new metadata element to represent a schema type.createDataAsset
(boolean assetManagerIsHome, DataAssetProperties assetProperties) Create a new metadata element to represent the root of a data asset.createDataAssetFromTemplate
(boolean assetManagerIsHome, String templateGUID, TemplateProperties templateProperties) Create a new metadata element to represent an asset using an existing metadata element as a template.createPort
(boolean assetManagerIsHome, String processGUID, PortProperties portProperties, Date effectiveTime) Create a new metadata element to represent a port.createProcess
(boolean assetManagerIsHome, ProcessStatus processStatus, ProcessProperties processProperties) Create a new metadata element to represent a process.createProcessFromTemplate
(boolean assetManagerIsHome, String templateGUID, TemplateProperties templateProperties) Create a new metadata element to represent a process using an existing metadata element as a template.createSchemaAttribute
(boolean assetManagerIsHome, String schemaElementGUID, SchemaAttributeProperties schemaAttributeProperties, Date effectiveTime) Create a new metadata element to represent a schema attribute.createSchemaAttributeFromTemplate
(boolean assetManagerIsHome, String schemaElementGUID, String templateGUID, TemplateProperties templateProperties, Date effectiveTime) Create a new metadata element to represent a schema attribute using an existing metadata element as a template.createSchemaType
(boolean assetManagerIsHome, SchemaTypeProperties schemaTypeProperties) Create a new metadata element to represent a schema type.createSchemaTypeFromTemplate
(boolean assetManagerIsHome, String templateGUID, TemplateProperties templateProperties) Create a new metadata element to represent a schema type using an existing metadata element as a template.findDataAssets
(String searchString, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of data asset metadata elements that contain the search string.findGovernanceActionProcesses
(String searchString, int startFrom, int pageSize) Retrieve the list of governance action process metadata elements that contain the search string.findGovernanceActionProcessSteps
(String searchString, int startFrom, int pageSize) Retrieve the list of governance action process step metadata elements that contain the search string.Retrieve the list of port metadata elements that contain the search string.findProcesses
(String searchString, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of process metadata elements that contain the search string.findSchemaAttributes
(String searchString, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of schema attribute metadata elements that contain the search string.findSchemaType
(String searchString, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of schema type metadata elements that contain the search string.getActiveEngineActions
(int startFrom, int pageSize) Retrieve the governance actions that are still in process.getAssetRelationship
(String relationshipTypeName, String fromAssetGUID, String toAssetGUID, Date effectiveTime) Retrieve the relationship between two elements.getControlFlow
(String currentStepGUID, String nextStepGUID, String qualifiedName, Date effectiveTime) Retrieve the control flow relationship between two elements.getControlFlowNextSteps
(String currentStepGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the control relationships linked from a specific element to the possible next elements in the process.getControlFlowPreviousSteps
(String currentStepGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the control relationships linked from a specific element to the possible previous elements in the process.getDataAssetByGUID
(String openMetadataGUID, Date effectiveTime) Retrieve the asset metadata element with the supplied unique identifier.getDataAssetsByName
(String name, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of data asset metadata elements with a matching qualified or display name.getDataAssetsForAssetManager
(int startFrom, int pageSize, Date effectiveTime) Retrieve the list of assets created on behalf of this asset manager.getDataFlow
(String dataSupplierGUID, String dataConsumerGUID, String qualifiedName, Date effectiveTime) Retrieve the data flow relationship between two elements.getDataFlowConsumers
(String dataSupplierGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the data flow relationships linked from a specific element to the downstream consumers.getDataFlowSuppliers
(String dataConsumerGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the data flow relationships linked from a specific element to the upstream suppliers.getDestinationLineageMappings
(String sourceElementGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the lineage mapping relationships linked from a specific source element to its destinations.getEngineAction
(String engineActionGUID) Request the status of an executing engine action request.getEngineActions
(int startFrom, int pageSize) Retrieve the governance actions known to the server.getFirstProcessStep
(String processGUID) Return the governance action process step that is the first step in a governance action process.getGovernanceActionProcessByGUID
(String processGUID) Retrieve the governance action process metadata element with the supplied unique identifier.getGovernanceActionProcessesByName
(String name, int startFrom, int pageSize) Retrieve the list of governance action process metadata elements with a matching qualified or display name.getGovernanceActionProcessStepByGUID
(String processStepGUID) Retrieve the governance action process step metadata element with the supplied unique identifier.getGovernanceActionProcessStepsByName
(String name, int startFrom, int pageSize) Retrieve the list of governance action process steps metadata elements with a matching qualified or display name.Return the qualified name of the integration services that is supplied in the configuration document.getNestedSchemaAttributes
(String parentSchemaElementGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of schema attributes associated with a schema element.getNextProcessSteps
(String processStepGUID, int startFrom, int pageSize) Return the lust of next action process step defined for the governance action process.getPortByGUID
(String portGUID, Date effectiveTime) Retrieve the port metadata element with the supplied unique identifier.getPortDelegation
(String portGUID, Date effectiveTime) Retrieve the port that this port delegates to.getPortsByName
(String name, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of port metadata elements with a matching qualified or display name.getPortsForProcess
(String processGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of ports associated with a process.getPortUse
(String portGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of ports that delegate to this port.getProcessByGUID
(String processGUID, Date effectiveTime) Retrieve the process metadata element with the supplied unique identifier.getProcessCall
(String callerGUID, String calledGUID, String qualifiedName, Date effectiveTime) Retrieve the process call relationship between two elements.getProcessCalled
(String callerGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the process call relationships linked from a specific element to the elements it calls.getProcessCallers
(String calledGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the process call relationships linked from a specific element to its callers.getProcessesByName
(String name, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of process metadata elements with a matching qualified or display name.getProcessesForAssetManager
(int startFrom, int pageSize, Date effectiveTime) Return the list of processes associated with the asset manager.getProcessParent
(String processGUID, Date effectiveTime) Retrieve the process metadata element with the supplied unique identifier.getRelatedAssetsAtEnd1
(String relationshipTypeName, String toAssetGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the relationships linked from a specific element at end 2 of the relationship.getRelatedAssetsAtEnd2
(String relationshipTypeName, String fromAssetGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the requested relationships linked from a specific element at end 2.getSchemaAttributeByGUID
(String schemaAttributeGUID, Date effectiveTime) Retrieve the schema attribute metadata element with the supplied unique identifier.getSchemaAttributesByName
(String name, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of schema attribute metadata elements with a matching qualified or display name.getSchemaTypeByGUID
(String schemaTypeGUID, Date effectiveTime) Retrieve the schema type metadata element with the supplied unique identifier.getSchemaTypeByName
(String name, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of schema type metadata elements with a matching qualified or display name.getSchemaTypeForElement
(String parentElementGUID, String parentElementTypeName, Date effectiveTime) Return the schema type associated with a specific open metadata element (data asset, process or port).getSchemaTypeParent
(String schemaTypeGUID, Date effectiveTime) Retrieve the header of the metadata element connected to a schema type.getSourceLineageMappings
(String destinationElementGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the lineage mapping relationships linked from a specific destination element to its sources.getSubProcesses
(String processGUID, int startFrom, int pageSize, Date effectiveTime) Retrieve the process metadata element with the supplied unique identifier.boolean
Return whether retrieval requests from this service are to include elements with the Memento classification attached or not.void
publishDataAsset
(String assetGUID, Date effectiveTime) Update the zones for the data asset so that it becomes visible to consumers.void
publishOpenLineageRunEvent
(String rawEvent) Called each time an integration connector wishes to publish an open lineage run event.void
Called each time an open lineage run event is published to the Lineage Integrator OMIS.void
publishProcess
(String processGUID, Date effectiveTime) Update the zones for the asset so that it becomes visible to consumers.void
registerListener
(AssetManagerEventListener listener) Register a listener object that will be passed each of the events published by the Asset Manager OMAS.void
registerListener
(OpenLineageEventListener listener) The listener is implemented by the integration connector.void
removeDataAsset
(String assetGUID, Date effectiveTime) Remove the metadata element representing a data asset.void
removePort
(String portGUID, Date effectiveTime) Remove the metadata element representing a port.void
removeProcess
(String processGUID, String processExternalIdentifier, Date effectiveTime) Remove the metadata element representing a process.void
removeSchemaAttribute
(String schemaAttributeGUID, Date effectiveTime) Remove the metadata element representing a schema attribute.void
removeSchemaType
(String schemaTypeGUID, Date effectiveTime) Remove the metadata element representing a schema type.void
setBusinessSignificant
(String elementGUID, Date effectiveTime) Classify a port, process or asset as "BusinessSignificant" (this may affect the way that lineage is displayed).void
setDataAssetAsReferenceData
(String assetGUID, Date effectiveTime) Classify the data asset to indicate that it can be used as reference data.void
setForLineage
(boolean forLineage) Set up whether retrieval requests from this service are to include elements with the Memento classification attached or not.void
setSchemaElementAsCalculatedValue
(boolean assetManagerIsHome, String schemaElementGUID, String formula, Date effectiveTime) Classify the schema type (or attribute if type is embedded) to indicate that it is a calculated value.void
setupColumnAsPrimaryKey
(boolean assetManagerIsHome, String schemaAttributeGUID, String schemaAttributeExternalIdentifier, String primaryKeyName, KeyPattern primaryKeyPattern, Date effectiveTime) Classify the column schema attribute to indicate that it describes a primary key.setupControlFlow
(boolean assetManagerIsHome, String currentStepGUID, String nextStepGUID, ControlFlowProperties properties, Date effectiveTime) Link two elements to show that when one completes the next is started.setupDataFlow
(boolean assetManagerIsHome, String dataSupplierGUID, String dataConsumerGUID, DataFlowProperties properties, Date effectiveTime) Link two elements together to show that data flows from one to the other.void
setupForeignKeyRelationship
(boolean assetManagerIsHome, String primaryKeyGUID, String foreignKeyGUID, ForeignKeyProperties foreignKeyProperties, Date effectiveTime) Link two schema attributes together to show a foreign key relationship.void
setupLineageMapping
(String sourceElementGUID, String destinationElementGUID, LineageMappingProperties properties, Date effectiveTime) Link to elements together to show that they are part of the lineage of the data that is moving between the processes.void
setupPortDelegation
(boolean assetManagerIsHome, String portOneGUID, String portTwoGUID, Date effectiveTime) Link two ports together to show that portTwo is an implementation of portOne.void
setupPortSchemaType
(boolean assetManagerIsHome, String portGUID, String schemaTypeGUID, Date effectiveTime) Link a schema type to a port to show the structure of data it accepts.setupProcessCall
(boolean assetManagerIsHome, String callerGUID, String calledGUID, ProcessCallProperties properties, Date effectiveTime) Link two elements together to show a request-response call between them.void
setupProcessParent
(boolean assetManagerIsHome, String parentProcessGUID, String childProcessGUID, ProcessContainmentProperties containmentProperties, Date effectiveTime) Create a parent-child relationship between two processes.void
setupProcessParent
(String userId, String externalSourceGUID, String externalSourceName, boolean assetManagerIsHome, String parentProcessGUID, String childProcessGUID, ProcessContainmentProperties containmentProperties, Date effectiveTime) Deprecated.void
setupProcessPort
(boolean assetManagerIsHome, String processGUID, String portGUID, Date effectiveTime) Link a port to a process.setupRelatedDataAsset
(boolean assetManagerIsHome, String relationshipTypeName, String fromAssetGUID, String toAssetGUID, RelationshipProperties relationshipProperties, Date effectiveTime) Link two asset together.void
setupSchemaElementRelationship
(boolean assetManagerIsHome, String endOneGUID, String endTwoGUID, String relationshipName, Date effectiveTime, RelationshipProperties properties) Create a relationship between two schema elements.void
setupSchemaTypeParent
(boolean assetManagerIsHome, String schemaTypeGUID, String parentElementGUID, String parentElementTypeName, RelationshipProperties properties, Date effectiveTime) Connect a schema type to a data asset, process or port.void
updateAssetRelationship
(String relationshipTypeName, String relationshipGUID, boolean isMergeUpdate, RelationshipProperties relationshipProperties, Date effectiveTime) Update relationship between two elements.void
updateControlFlow
(String controlFlowGUID, ControlFlowProperties properties, Date effectiveTime) Update the relationship between two elements that shows that when one completes the next is started.void
updateDataAsset
(String assetGUID, boolean isMergeUpdate, DataAssetProperties assetProperties, Date effectiveTime) Update the metadata element representing a data source.void
updateDataFlow
(String dataFlowGUID, DataFlowProperties properties, Date effectiveTime) Update relationship between two elements that shows that data flows from one to the other.void
updateForeignKeyRelationship
(String primaryKeyGUID, String foreignKeyGUID, ForeignKeyProperties foreignKeyProperties, Date effectiveTime) Update the relationship properties for the query target.void
updateLineageMapping
(String lineageMappingGUID, LineageMappingProperties properties, Date effectiveTime) Update the lineage mapping relationship between two elements.void
updatePort
(String portGUID, PortProperties portProperties, Date effectiveTime) Update the properties of the metadata element representing a port.void
updateProcess
(String processGUID, boolean isMergeUpdate, ProcessProperties processProperties, Date effectiveTime) Update the metadata element representing a process.void
updateProcessCall
(String processCallGUID, ProcessCallProperties properties, Date effectiveTime) Update the relationship between two elements that shows a request-response call between them.void
updateProcessStatus
(String processGUID, ProcessStatus processStatus, Date effectiveTime) Update the status of the metadata element representing a process.void
updateSchemaAttribute
(String schemaAttributeGUID, boolean isMergeUpdate, SchemaAttributeProperties schemaAttributeProperties, Date effectiveTime) Update the properties of the metadata element representing a schema attribute.void
updateSchemaType
(String schemaTypeGUID, boolean isMergeUpdate, SchemaTypeProperties schemaTypeProperties, Date effectiveTime) Update the metadata element representing a schema type.void
withdrawDataAsset
(String assetGUID, Date effectiveTime) Update the zones for the data asset so that it is no longer visible to consumers.void
withdrawProcess
(String processGUID, Date effectiveTime) Update the zones for the asset so that it is no longer visible to consumers.Methods inherited from class org.odpi.openmetadata.frameworks.integration.context.IntegrationContext
addCatalogTarget, addCatalogTarget, disconnect, elementShouldBeCatalogued, getAnchorGUID, getAnchorGUID, getCatalogTarget, getCatalogTargets, getCatalogTargets, getConnectedAssetContext, getExternalSourceIsHome, getFileClassifier, getIntegrationGovernanceContext, getMaxPageSize, getMetadataSourceGUID, getMetadataSourceQualifiedName, getMyUserId, getPermittedSynchronization, isRefreshInProgress, isTypeOf, isTypeOf, registerDirectoryListener, registerDirectoryTreeListener, registerFileListener, removeCatalogTarget, reportAnchorGUID, reportAnchorGUID, reportElementCreation, reportElementDelete, reportElementUpdate, reportParentGUID, setActiveReportPublishing, setExternalSourceIsHome, setMetadataSourceQualifiedName, setMetadataSourceQualifiedName, unregisterDirectoryListener, unregisterDirectoryTreeListener, unregisterFileListener, updateCatalogTarget
-
Constructor Details
-
LineageIntegratorContext
public LineageIntegratorContext(String connectorId, String connectorName, String connectorUserId, String serverName, OpenIntegrationClient openIntegrationClient, GovernanceConfiguration governanceConfiguration, OpenMetadataClient openMetadataStoreClient, ActionControlInterface actionControlInterface, OpenGovernanceClient openGovernanceClient, OpenLineageListenerManager openLineageListenerManager, DataAssetExchangeClient dataAssetExchangeClient, LineageExchangeClient lineageExchangeClient, GovernanceExchangeClient governanceExchangeClient, AssetManagerEventClient eventClient, boolean generateIntegrationReport, PermittedSynchronization permittedSynchronization, String integrationConnectorGUID, String externalSourceGUID, String externalSourceName, String integrationServiceName, int maxPageSize, AuditLog auditLog) Create a new context for a connector.- Parameters:
connectorId
- unique identifier of the connector (used to configure the event listener)connectorName
- name of connector from configconnectorUserId
- userId for the connectorserverName
- name of the integration daemonopenIntegrationClient
- client for calling the metadata servergovernanceConfiguration
- client for managing catalog targetsopenMetadataStoreClient
- client for calling the metadata serveractionControlInterface
- client for initiating governance actionsopenGovernanceClient
- client for calling the metadata serveropenLineageListenerManager
- object responsible for managing open lineage listenersdataAssetExchangeClient
- client for data asset requestslineageExchangeClient
- client for lineage requestsgovernanceExchangeClient
- client for governance actions and related elementseventClient
- client managing listeners for the OMAS OutTopicgenerateIntegrationReport
- should the connector generate an integration reports?permittedSynchronization
- the direction of integration permitted by the integration connectorintegrationConnectorGUID
- unique identifier for the integration connector if it is started via an integration group (otherwise it is null).externalSourceGUID
- unique identifier of the software server capability for the asset managerexternalSourceName
- unique name of the software server capability for the asset managerintegrationServiceName
- name of this servicemaxPageSize
- max number of elements that can be returned on a queryauditLog
- logging destination
-
-
Method Details
-
getIntegrationServiceName
Return the qualified name of the integration services that is supplied in the configuration document.- Returns:
- string name
-
isForLineage
public boolean isForLineage()Return whether retrieval requests from this service are to include elements with the Memento classification attached or not.- Returns:
- boolean flag
-
setForLineage
public void setForLineage(boolean forLineage) Set up whether retrieval requests from this service are to include elements with the Memento classification attached or not.- Parameters:
forLineage
- boolean flag
-
registerListener
The listener is implemented by the integration connector. Once it is registered with the context, its processOpenLineageRunEvent() method is called each time an open lineage event is published to the Lineage Integrator OMIS.- Specified by:
registerListener
in interfaceOpenLineageListenerManager
- Parameters:
listener
- listener to call
-
publishOpenLineageRunEvent
Called each time an integration connector wishes to publish an open lineage run event. The event is formatted and passed to each of the registered open lineage event listeners.- Specified by:
publishOpenLineageRunEvent
in interfaceOpenLineageListenerManager
- Parameters:
rawEvent
- json payload to send for the event
-
publishOpenLineageRunEvent
Called each time an open lineage run event is published to the Lineage Integrator OMIS. The integration connector is able to work with the formatted event using the Egeria beans or reformat the open lineage run event using the supplied open lineage backend beans or another set of beans.- Specified by:
publishOpenLineageRunEvent
in interfaceOpenLineageListenerManager
- Parameters:
event
- bean for the event
-
registerListener
public void registerListener(AssetManagerEventListener listener) throws InvalidParameterException, ConnectionCheckedException, ConnectorCheckedException, PropertyServerException, UserNotAuthorizedException Register a listener object that will be passed each of the events published by the Asset Manager OMAS.- Parameters:
listener
- listener object- Throws:
InvalidParameterException
- one of the parameters is null or invalid.ConnectionCheckedException
- there are errors in the configuration of the connection which is preventing the creation of a connector.ConnectorCheckedException
- there are errors in the initialization of the connector.PropertyServerException
- there is a problem retrieving information from the property server(s).UserNotAuthorizedException
- the requesting user is not authorized to issue this request.
-
createDataAsset
public String createDataAsset(boolean assetManagerIsHome, DataAssetProperties assetProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent the root of a data asset.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this assetassetProperties
- properties to store- Returns:
- unique identifier of the new metadata element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
createDataAssetFromTemplate
public String createDataAssetFromTemplate(boolean assetManagerIsHome, String templateGUID, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, 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.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this assettemplateGUID
- unique identifier of the metadata element to copytemplateProperties
- properties that override the template- Returns:
- unique identifier of the new metadata element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
updateDataAsset
public void updateDataAsset(String assetGUID, boolean isMergeUpdate, DataAssetProperties assetProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the metadata element representing a data source.- Parameters:
assetGUID
- unique identifier of the metadata element to updateisMergeUpdate
- should the new properties be merged with existing properties (true) or completely replace them (false)?assetProperties
- new properties for this elementeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
publishDataAsset
public void publishDataAsset(String assetGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the zones for the data asset so that it becomes visible to consumers. (The zones are set to the list of zones in the publishedZones option configured for each instance of the Asset Manager OMAS).- Parameters:
assetGUID
- unique identifier of the metadata element to publisheffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
withdrawDataAsset
public void withdrawDataAsset(String assetGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the zones for the data asset so that it is no longer visible to consumers. (The zones are set to the list of zones in the defaultZones option configured for each instance of the Asset Manager OMAS. This is the setting when the database is first created).- Parameters:
assetGUID
- unique identifier of the metadata element to withdraweffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
removeDataAsset
public void removeDataAsset(String assetGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the metadata element representing a data asset. This will delete the asset and all anchored elements such as schema and comments.- Parameters:
assetGUID
- unique identifier of the metadata element to removeeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setDataAssetAsReferenceData
public void setDataAssetAsReferenceData(String assetGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the data asset to indicate that it can be used as reference data.- Parameters:
assetGUID
- unique identifier of the metadata element to updateeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearDataAssetAsReferenceData
public void clearDataAssetAsReferenceData(String assetGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the reference data designation from the asset.- Parameters:
assetGUID
- unique identifier of the metadata element to updateeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupRelatedDataAsset
public String setupRelatedDataAsset(boolean assetManagerIsHome, String relationshipTypeName, String fromAssetGUID, String toAssetGUID, RelationshipProperties relationshipProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Link two asset together. Use information from the relationship type definition to ensure the fromAssetGUID and toAssetGUID are the right way around.- Parameters:
assetManagerIsHome
- ensure that only the process manager can update this processrelationshipTypeName
- type name of relationship to createfromAssetGUID
- unique identifier of the asset at end 1 of the relationshiptoAssetGUID
- unique identifier of the asset at end 2 of the relationshiprelationshipProperties
- unique identifier for this relationshipeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getAssetRelationship
public RelationshipElement getAssetRelationship(String relationshipTypeName, String fromAssetGUID, String toAssetGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the relationship between two elements.- Parameters:
relationshipTypeName
- type name of relationship to createfromAssetGUID
- unique identifier of the asset at end 1 of the relationshiptoAssetGUID
- unique identifier of the asset at end 2 of the relationshipeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier and properties of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
updateAssetRelationship
public void updateAssetRelationship(String relationshipTypeName, String relationshipGUID, boolean isMergeUpdate, RelationshipProperties relationshipProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update relationship between two elements.- Parameters:
relationshipTypeName
- type name of relationship to updaterelationshipGUID
- unique identifier of the relationshiprelationshipProperties
- description and/or purpose of the relationshipisMergeUpdate
- should the new properties be merged with the existing properties, or replace them entirelyeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearAssetRelationship
public void clearAssetRelationship(String relationshipTypeName, String relationshipGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the relationship between two elements.- Parameters:
relationshipTypeName
- type name of relationship to deleterelationshipGUID
- unique identifier of the relationshipeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getRelatedAssetsAtEnd2
public List<RelationshipElement> getRelatedAssetsAtEnd2(String relationshipTypeName, String fromAssetGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the requested relationships linked from a specific element at end 2.- Parameters:
relationshipTypeName
- type name of relationship to deletefromAssetGUID
- unique identifier of the asset at end 1 of the relationshipstartFrom
- start position for resultspageSize
- maximum number of resultseffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)- Returns:
- unique identifier and properties of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getRelatedAssetsAtEnd1
public List<RelationshipElement> getRelatedAssetsAtEnd1(String relationshipTypeName, String toAssetGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the relationships linked from a specific element at end 2 of the relationship.- Parameters:
relationshipTypeName
- type name of relationship to deletetoAssetGUID
- unique identifier of the asset at end 2 of the relationshipstartFrom
- start position for resultspageSize
- maximum number of resultseffectiveTime
- the time that the retrieved elements must be effective for (null for any time, new Date() for now)- Returns:
- unique identifier and properties of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
findDataAssets
public List<DataAssetElement> findDataAssets(String searchString, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of data asset metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
searchString
- string to find in the propertiesstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getDataAssetsByName
public List<DataAssetElement> getDataAssetsByName(String name, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of data asset metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
name
- name to search forstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getDataAssetsForAssetManager
public List<DataAssetElement> getDataAssetsForAssetManager(int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of assets created on behalf of this asset manager.- Parameters:
startFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getDataAssetByGUID
public DataAssetElement getDataAssetByGUID(String openMetadataGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the asset metadata element with the supplied unique identifier.- Parameters:
openMetadataGUID
- unique identifier of the requested metadata elementeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- matching metadata element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
createSchemaType
public String createSchemaType(boolean assetManagerIsHome, SchemaTypeProperties schemaTypeProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a schema type.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this schema elementschemaTypeProperties
- properties about the schema type to store- Returns:
- unique identifier of the new schema type
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
createAnchoredSchemaType
public String createAnchoredSchemaType(boolean assetManagerIsHome, String anchorGUID, ExternalIdentifierProperties externalIdentifierProperties, SchemaTypeProperties schemaTypeProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a schema type.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this schema elementanchorGUID
- unique identifier of the intended anchor of the schema typeexternalIdentifierProperties
- optional properties used to define an external identifierschemaTypeProperties
- properties about the schema type to store- Returns:
- unique identifier of the new schema type
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
createSchemaTypeFromTemplate
public String createSchemaTypeFromTemplate(boolean assetManagerIsHome, String templateGUID, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a schema type using an existing metadata element as a template.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this schema elementtemplateGUID
- unique identifier of the metadata element to copytemplateProperties
- properties that override the template- Returns:
- unique identifier of the new schema type
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
updateSchemaType
public void updateSchemaType(String schemaTypeGUID, boolean isMergeUpdate, SchemaTypeProperties schemaTypeProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the metadata element representing a schema type.- Parameters:
schemaTypeGUID
- unique identifier of the metadata element to updateisMergeUpdate
- should the new properties be merged with existing properties (true) or completely replace them (false)?schemaTypeProperties
- new properties for the metadata elementeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupSchemaTypeParent
public void setupSchemaTypeParent(boolean assetManagerIsHome, String schemaTypeGUID, String parentElementGUID, String parentElementTypeName, RelationshipProperties properties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Connect a schema type to a data asset, process or port.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this relationshipschemaTypeGUID
- unique identifier of the schema type to connectparentElementGUID
- unique identifier of the open metadata element that this schema type is to be connected toparentElementTypeName
- unique type name of the open metadata element that this schema type is to be connected toproperties
- properties for the relationshipeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearSchemaTypeParent
public void clearSchemaTypeParent(String schemaTypeGUID, String parentElementGUID, String parentElementTypeName, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the relationship between a schema type and its parent data asset, process or port.- Parameters:
schemaTypeGUID
- unique identifier of the schema type to connectparentElementGUID
- unique identifier of the open metadata element that this schema type is to be connected toparentElementTypeName
- unique type name of the open metadata element that this schema type is to be connected toeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupSchemaElementRelationship
public void setupSchemaElementRelationship(boolean assetManagerIsHome, String endOneGUID, String endTwoGUID, String relationshipName, Date effectiveTime, RelationshipProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a relationship between two schema elements. The name of the desired relationship, and any properties (including effectivity dates) are passed on the API.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this relationshipendOneGUID
- unique identifier of the schema element at end one of the relationshipendTwoGUID
- unique identifier of the schema element at end two of the relationshiprelationshipName
- name of the relationship to deleteeffectiveTime
- optional date for effective time of the query. Null means any effective timeproperties
- relationship properties- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearSchemaElementRelationship
public void clearSchemaElementRelationship(String endOneGUID, String endTwoGUID, String relationshipName, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove a relationship between two schema elements. The name of the desired relationship is passed on the API.- Parameters:
endOneGUID
- unique identifier of the schema element at end one of the relationshipendTwoGUID
- unique identifier of the schema element at end two of the relationshiprelationshipName
- name of the relationship to deleteeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
removeSchemaType
public void removeSchemaType(String schemaTypeGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the metadata element representing a schema type.- Parameters:
schemaTypeGUID
- unique identifier of the metadata element to removeeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
findSchemaType
public List<SchemaTypeElement> findSchemaType(String searchString, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of schema type metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
searchString
- string to find in the propertiesstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getSchemaTypeForElement
public SchemaTypeElement getSchemaTypeForElement(String parentElementGUID, String parentElementTypeName, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Return the schema type associated with a specific open metadata element (data asset, process or port).- Parameters:
parentElementGUID
- unique identifier of the open metadata element that this schema type is to be connected toparentElementTypeName
- unique type name of the open metadata element that this schema type is to be connected toeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- metadata element describing the schema type associated with the requested parent element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getSchemaTypeByName
public List<SchemaTypeElement> getSchemaTypeByName(String name, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of schema type metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
name
- name to search forstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getSchemaTypeByGUID
public SchemaTypeElement getSchemaTypeByGUID(String schemaTypeGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the schema type metadata element with the supplied unique identifier.- Parameters:
schemaTypeGUID
- unique identifier of the requested metadata elementeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- requested metadata element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getSchemaTypeParent
public ElementHeader getSchemaTypeParent(String schemaTypeGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the header of the metadata element connected to a schema type.- Parameters:
schemaTypeGUID
- unique identifier of the requested metadata elementeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- header for parent element (data asset, process, port)
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
createSchemaAttribute
public String createSchemaAttribute(boolean assetManagerIsHome, String schemaElementGUID, SchemaAttributeProperties schemaAttributeProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a schema attribute.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this schema attributeschemaElementGUID
- unique identifier of the schemaType or Schema Attribute where the schema attribute is connected toschemaAttributeProperties
- properties for the schema attributeeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier of the new metadata element for the schema attribute
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
createSchemaAttributeFromTemplate
public String createSchemaAttributeFromTemplate(boolean assetManagerIsHome, String schemaElementGUID, String templateGUID, TemplateProperties templateProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a schema attribute using an existing metadata element as a template.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this schema attributeschemaElementGUID
- unique identifier of the schemaType or Schema Attribute where the schema attribute is connected totemplateGUID
- unique identifier of the metadata element to copytemplateProperties
- properties that override the templateeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier of the new metadata element for the schema attribute
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
updateSchemaAttribute
public void updateSchemaAttribute(String schemaAttributeGUID, boolean isMergeUpdate, SchemaAttributeProperties schemaAttributeProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the properties of the metadata element representing a schema attribute.- Parameters:
schemaAttributeGUID
- unique identifier of the schema attribute to updateisMergeUpdate
- should the new properties be merged with existing properties (true) or completely replace them (false)?schemaAttributeProperties
- new properties for the schema attributeeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setSchemaElementAsCalculatedValue
public void setSchemaElementAsCalculatedValue(boolean assetManagerIsHome, String schemaElementGUID, String formula, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the schema type (or attribute if type is embedded) to indicate that it is a calculated value.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this schema attributeschemaElementGUID
- unique identifier of the metadata element to updateformula
- description of how the value is calculatedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearSchemaElementAsCalculatedValue
public void clearSchemaElementAsCalculatedValue(String schemaElementGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the calculated value designation from the schema element.- Parameters:
schemaElementGUID
- unique identifier of the metadata element to updateeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupColumnAsPrimaryKey
public void setupColumnAsPrimaryKey(boolean assetManagerIsHome, String schemaAttributeGUID, String schemaAttributeExternalIdentifier, String primaryKeyName, KeyPattern primaryKeyPattern, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the column schema attribute to indicate that it describes a primary key.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this classificationschemaAttributeGUID
- unique identifier of the metadata element to updateschemaAttributeExternalIdentifier
- unique identifier of the schema attribute in the external asset managerprimaryKeyName
- name of the primary key (if different from the column name)primaryKeyPattern
- key pattern used to maintain the primary keyeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearColumnAsPrimaryKey
public void clearColumnAsPrimaryKey(String schemaAttributeGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the primary key designation from the schema attribute.- Parameters:
schemaAttributeGUID
- unique identifier of the metadata element to updateeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupForeignKeyRelationship
public void setupForeignKeyRelationship(boolean assetManagerIsHome, String primaryKeyGUID, String foreignKeyGUID, ForeignKeyProperties foreignKeyProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Link two schema attributes together to show a foreign key relationship.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this relationshipprimaryKeyGUID
- unique identifier of the derived schema elementforeignKeyGUID
- unique identifier of the query target schema elementforeignKeyProperties
- properties for the foreign key relationshipeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
updateForeignKeyRelationship
public void updateForeignKeyRelationship(String primaryKeyGUID, String foreignKeyGUID, ForeignKeyProperties foreignKeyProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the relationship properties for the query target.- Parameters:
primaryKeyGUID
- unique identifier of the derived schema elementforeignKeyGUID
- unique identifier of the query target schema elementforeignKeyProperties
- properties for the foreign key relationshipeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearForeignKeyRelationship
public void clearForeignKeyRelationship(String primaryKeyGUID, String foreignKeyGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the foreign key relationship between two schema elements.- Parameters:
primaryKeyGUID
- unique identifier of the derived schema elementforeignKeyGUID
- unique identifier of the query target schema elementeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
removeSchemaAttribute
public void removeSchemaAttribute(String schemaAttributeGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the metadata element representing a schema attribute.- Parameters:
schemaAttributeGUID
- unique identifier of the metadata element to removeeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
findSchemaAttributes
public List<SchemaAttributeElement> findSchemaAttributes(String searchString, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of schema attribute metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
searchString
- string to find in the propertiesstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getNestedSchemaAttributes
public List<SchemaAttributeElement> getNestedSchemaAttributes(String parentSchemaElementGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of schema attributes associated with a schema element.- Parameters:
parentSchemaElementGUID
- unique identifier of the schema element of intereststartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of associated metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getSchemaAttributesByName
public List<SchemaAttributeElement> getSchemaAttributesByName(String name, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of schema attribute metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
name
- name to search forstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getSchemaAttributeByGUID
public SchemaAttributeElement getSchemaAttributeByGUID(String schemaAttributeGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the schema attribute metadata element with the supplied unique identifier.- Parameters:
schemaAttributeGUID
- unique identifier of the requested metadata elementeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- matching metadata element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
createProcess
public String createProcess(boolean assetManagerIsHome, ProcessStatus processStatus, ProcessProperties processProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a process.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this processprocessStatus
- initial status of the processprocessProperties
- properties about the process to store- Returns:
- unique identifier of the new process
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
createProcessFromTemplate
public String createProcessFromTemplate(boolean assetManagerIsHome, String templateGUID, TemplateProperties templateProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a process using an existing metadata element as a template.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this processtemplateGUID
- unique identifier of the metadata element to copytemplateProperties
- properties that override the template- Returns:
- unique identifier of the new process
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
updateProcess
public void updateProcess(String processGUID, boolean isMergeUpdate, ProcessProperties processProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the metadata element representing a process.- Parameters:
processGUID
- unique identifier of the metadata element to updateisMergeUpdate
- should the new properties be merged with existing properties (true) or completely replace them (false)?processProperties
- new properties for the metadata elementeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
updateProcessStatus
public void updateProcessStatus(String processGUID, ProcessStatus processStatus, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the status of the metadata element representing a process.- Parameters:
processGUID
- unique identifier of the process to updateprocessStatus
- new status for the processeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupProcessParent
@Deprecated public void setupProcessParent(String userId, String externalSourceGUID, String externalSourceName, boolean assetManagerIsHome, String parentProcessGUID, String childProcessGUID, ProcessContainmentProperties containmentProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Deprecated.Create a parent-child relationship between two processes. No longer use this method. Use following method instead.- Parameters:
userId
- calling userexternalSourceGUID
- unique identifier of software server capability representing the callerexternalSourceName
- unique name of software server capability representing the callerassetManagerIsHome
- ensure that only the asset manager can update this assetparentProcessGUID
- unique identifier of the process in the external asset manager that is to be the parent processchildProcessGUID
- unique identifier of the process in the external asset manager that is to be the nested sub-processcontainmentProperties
- describes the ownership of the sub-processeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupProcessParent
public void setupProcessParent(boolean assetManagerIsHome, String parentProcessGUID, String childProcessGUID, ProcessContainmentProperties containmentProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a parent-child relationship between two processes.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this assetparentProcessGUID
- unique identifier of the process in the external asset manager that is to be the parent processchildProcessGUID
- unique identifier of the process in the external asset manager that is to be the nested sub-processcontainmentProperties
- describes the ownership of the sub-processeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearProcessParent
public void clearProcessParent(String parentProcessGUID, String childProcessGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove a parent-child relationship between two processes.- Parameters:
parentProcessGUID
- unique identifier of the process in the external asset manager that is to be the parent processchildProcessGUID
- unique identifier of the process in the external asset manager that is to be the nested sub-processeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
publishProcess
public void publishProcess(String processGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the zones for the asset so that it becomes visible to consumers. (The zones are set to the list of zones in the publishedZones option configured for each instance of the Asset Manager OMAS).- Parameters:
processGUID
- unique identifier of the metadata element to publisheffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
withdrawProcess
public void withdrawProcess(String processGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the zones for the asset so that it is no longer visible to consumers. (The zones are set to the list of zones in the defaultZones option configured for each instance of the Asset Manager OMAS. This is the setting when the process is first created).- Parameters:
processGUID
- unique identifier of the metadata element to withdraweffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
removeProcess
public void removeProcess(String processGUID, String processExternalIdentifier, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the metadata element representing a process.- Parameters:
processGUID
- unique identifier of the metadata element to removeprocessExternalIdentifier
- unique identifier of the process in the external asset managereffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
findProcesses
public List<ProcessElement> findProcesses(String searchString, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of process metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
searchString
- string to find in the propertiesstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getProcessesForAssetManager
public List<ProcessElement> getProcessesForAssetManager(int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Return the list of processes associated with the asset manager.- Parameters:
startFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of metadata elements describing the processes associated with the requested asset manager
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getProcessesByName
public List<ProcessElement> getProcessesByName(String name, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of process metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
name
- name to search forstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getProcessByGUID
public ProcessElement getProcessByGUID(String processGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the process metadata element with the supplied unique identifier.- Parameters:
processGUID
- unique identifier of the requested metadata elementeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- requested metadata element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getProcessParent
public ProcessElement getProcessParent(String processGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the process metadata element with the supplied unique identifier.- Parameters:
processGUID
- unique identifier of the requested metadata elementeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- parent process element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getSubProcesses
public List<ProcessElement> getSubProcesses(String processGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the process metadata element with the supplied unique identifier.- Parameters:
processGUID
- unique identifier of the requested metadata elementstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of process element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
createPort
public String createPort(boolean assetManagerIsHome, String processGUID, PortProperties portProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Create a new metadata element to represent a port.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this portprocessGUID
- unique identifier of the process where the port is locatedportProperties
- properties for the porteffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier of the new metadata element for the port
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
updatePort
public void updatePort(String portGUID, PortProperties portProperties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the properties of the metadata element representing a port. This call replaces all existing properties with the supplied properties.- Parameters:
portGUID
- unique identifier of the port to updateportProperties
- new properties for the porteffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupProcessPort
public void setupProcessPort(boolean assetManagerIsHome, String processGUID, String portGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Link a port to a process.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this assetprocessGUID
- unique identifier of the processportGUID
- unique identifier of the porteffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearProcessPort
public void clearProcessPort(String processGUID, String portGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Unlink a port from a process.- Parameters:
processGUID
- unique identifier of the processportGUID
- unique identifier of the porteffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupPortDelegation
public void setupPortDelegation(boolean assetManagerIsHome, String portOneGUID, String portTwoGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Link two ports together to show that portTwo is an implementation of portOne. (That is, portOne delegates to portTwo.)- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this assetportOneGUID
- unique identifier of the port at end 1portTwoGUID
- unique identifier of the port at end 2effectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearPortDelegation
public void clearPortDelegation(String portOneGUID, String portTwoGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the port delegation relationship between two ports.- Parameters:
portOneGUID
- unique identifier of the port at end 1portTwoGUID
- unique identifier of the port at end 2effectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupPortSchemaType
public void setupPortSchemaType(boolean assetManagerIsHome, String portGUID, String schemaTypeGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Link a schema type to a port to show the structure of data it accepts.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this assetportGUID
- unique identifier of the portschemaTypeGUID
- unique identifier of the schemaTypeeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearPortSchemaType
public void clearPortSchemaType(String portGUID, String schemaTypeGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the schema type from a port.- Parameters:
portGUID
- unique identifier of the portschemaTypeGUID
- unique identifier of the schemaTypeeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
removePort
public void removePort(String portGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the metadata element representing a port.- Parameters:
portGUID
- unique identifier of the metadata element to removeeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
findPorts
public List<PortElement> findPorts(String searchString, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of port metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
searchString
- string to find in the propertiesstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getPortsForProcess
public List<PortElement> getPortsForProcess(String processGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of ports associated with a process.- Parameters:
processGUID
- unique identifier of the process of intereststartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of associated metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getPortUse
public List<PortElement> getPortUse(String portGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of ports that delegate to this port.- Parameters:
portGUID
- unique identifier of the starting portstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of associated metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getPortDelegation
public PortElement getPortDelegation(String portGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the port that this port delegates to.- Parameters:
portGUID
- unique identifier of the starting port aliaseffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- matching metadata element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getPortsByName
public List<PortElement> getPortsByName(String name, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of port metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
name
- name to search forstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getPortByGUID
public PortElement getPortByGUID(String portGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the port metadata element with the supplied unique identifier.- Parameters:
portGUID
- unique identifier of the requested metadata elementeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- matching metadata element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setBusinessSignificant
public void setBusinessSignificant(String elementGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify a port, process or asset as "BusinessSignificant" (this may affect the way that lineage is displayed).- Parameters:
elementGUID
- unique identifier of the metadata element to updateeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearBusinessSignificant
public void clearBusinessSignificant(String elementGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the "BusinessSignificant" designation from the element.- Parameters:
elementGUID
- unique identifier of the metadata element to updateeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupDataFlow
public String setupDataFlow(boolean assetManagerIsHome, String dataSupplierGUID, String dataConsumerGUID, DataFlowProperties properties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Link two elements together to show that data flows from one to the other.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this assetdataSupplierGUID
- unique identifier of the data supplierdataConsumerGUID
- unique identifier of the data consumerproperties
- unique identifier for this relationship along with description and/or additional relevant propertieseffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getDataFlow
public DataFlowElement getDataFlow(String dataSupplierGUID, String dataConsumerGUID, String qualifiedName, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the data flow relationship between two elements. The qualifiedName is optional unless there is more than one data flow relationships between these two elements since it is used to disambiguate the request. This is often used in conjunction with update.- Parameters:
dataSupplierGUID
- unique identifier of the data supplierdataConsumerGUID
- unique identifier of the data consumerqualifiedName
- unique identifier for this relationshipeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier and properties of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
updateDataFlow
public void updateDataFlow(String dataFlowGUID, DataFlowProperties properties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update relationship between two elements that shows that data flows from one to the other.- Parameters:
dataFlowGUID
- unique identifier of the data flow relationshipproperties
- unique identifier for this relationship along with description and/or additional relevant propertieseffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearDataFlow
public void clearDataFlow(String dataFlowGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the data flow relationship between two elements.- Parameters:
dataFlowGUID
- unique identifier of the data flow relationshipeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getDataFlowConsumers
public List<DataFlowElement> getDataFlowConsumers(String dataSupplierGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the data flow relationships linked from a specific element to the downstream consumers.- Parameters:
dataSupplierGUID
- unique identifier of the data supplierstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier and properties of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getDataFlowSuppliers
public List<DataFlowElement> getDataFlowSuppliers(String dataConsumerGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the data flow relationships linked from a specific element to the upstream suppliers.- Parameters:
dataConsumerGUID
- unique identifier of the data consumerstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier and properties of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupControlFlow
public String setupControlFlow(boolean assetManagerIsHome, String currentStepGUID, String nextStepGUID, ControlFlowProperties properties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Link two elements to show that when one completes the next is started.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this assetcurrentStepGUID
- unique identifier of the previous stepnextStepGUID
- unique identifier of the next stepproperties
- unique identifier for this relationship along with description and/or additional relevant propertieseffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier for the control flow relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getControlFlow
public ControlFlowElement getControlFlow(String currentStepGUID, String nextStepGUID, String qualifiedName, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the control flow relationship between two elements. The qualifiedName is optional unless there is more than one control flow relationships between these two elements since it is used to disambiguate the request. This is often used in conjunction with update.- Parameters:
currentStepGUID
- unique identifier of the previous stepnextStepGUID
- unique identifier of the next stepqualifiedName
- unique identifier for this relationshipeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier and properties of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
updateControlFlow
public void updateControlFlow(String controlFlowGUID, ControlFlowProperties properties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the relationship between two elements that shows that when one completes the next is started.- Parameters:
controlFlowGUID
- unique identifier of the control flow relationshipproperties
- unique identifier for this relationship along with description and/or additional relevant propertieseffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearControlFlow
public void clearControlFlow(String controlFlowGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the control flow relationship between two elements.- Parameters:
controlFlowGUID
- unique identifier of the control flow relationshipeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getControlFlowNextSteps
public List<ControlFlowElement> getControlFlowNextSteps(String currentStepGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the control relationships linked from a specific element to the possible next elements in the process.- Parameters:
currentStepGUID
- unique identifier of the current stepstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier and properties of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getControlFlowPreviousSteps
public List<ControlFlowElement> getControlFlowPreviousSteps(String currentStepGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the control relationships linked from a specific element to the possible previous elements in the process.- Parameters:
currentStepGUID
- unique identifier of the current stepstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier and properties of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupProcessCall
public String setupProcessCall(boolean assetManagerIsHome, String callerGUID, String calledGUID, ProcessCallProperties properties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Link two elements together to show a request-response call between them.- Parameters:
assetManagerIsHome
- ensure that only the asset manager can update this assetcallerGUID
- unique identifier of the element that is making the callcalledGUID
- unique identifier of the element that is processing the callproperties
- unique identifier for this relationship along with description and/or additional relevant propertieseffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier of the new relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getProcessCall
public ProcessCallElement getProcessCall(String callerGUID, String calledGUID, String qualifiedName, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the process call relationship between two elements. The qualifiedName is optional unless there is more than one process call relationships between these two elements since it is used to disambiguate the request. This is often used in conjunction with update.- Parameters:
callerGUID
- unique identifier of the element that is making the callcalledGUID
- unique identifier of the element that is processing the callqualifiedName
- unique identifier for this relationshipeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier and properties of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
updateProcessCall
public void updateProcessCall(String processCallGUID, ProcessCallProperties properties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the relationship between two elements that shows a request-response call between them.- Parameters:
processCallGUID
- unique identifier of the process call relationshipproperties
- unique identifier for this relationship along with description and/or additional relevant propertieseffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearProcessCall
public void clearProcessCall(String processCallGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the process call relationship.- Parameters:
processCallGUID
- unique identifier of the process call relationshipeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getProcessCalled
public List<ProcessCallElement> getProcessCalled(String callerGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the process call relationships linked from a specific element to the elements it calls.- Parameters:
callerGUID
- unique identifier of the element that is making the callstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier and properties of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getProcessCallers
public List<ProcessCallElement> getProcessCallers(String calledGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the process call relationships linked from a specific element to its callers.- Parameters:
calledGUID
- unique identifier of the element that is processing the callstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- unique identifier and properties of the relationship
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
setupLineageMapping
public void setupLineageMapping(String sourceElementGUID, String destinationElementGUID, LineageMappingProperties properties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Link to elements together to show that they are part of the lineage of the data that is moving between the processes. Typically, the lineage relationships stitch together processes and data assets supported by different technologies.- Parameters:
sourceElementGUID
- unique identifier of the sourcedestinationElementGUID
- unique identifier of the destinationproperties
- unique identifier for this relationship along with description and/or additional relevant propertieseffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
updateLineageMapping
public void updateLineageMapping(String lineageMappingGUID, LineageMappingProperties properties, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Update the lineage mapping relationship between two elements.- Parameters:
lineageMappingGUID
- unique identifier of the lineage mapping relationshipproperties
- unique identifier for this relationship along with description and/or additional relevant propertieseffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearLineageMapping
public void clearLineageMapping(String lineageMappingGUID, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the lineage mapping between two elements.- Parameters:
lineageMappingGUID
- unique identifier of the sourceeffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getDestinationLineageMappings
public List<LineageMappingElement> getDestinationLineageMappings(String sourceElementGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the lineage mapping relationships linked from a specific source element to its destinations.- Parameters:
sourceElementGUID
- unique identifier of the sourcestartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of lineage mapping relationships
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getSourceLineageMappings
public List<LineageMappingElement> getSourceLineageMappings(String destinationElementGUID, int startFrom, int pageSize, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the lineage mapping relationships linked from a specific destination element to its sources.- Parameters:
destinationElementGUID
- unique identifier of the destinationstartFrom
- paging start pointpageSize
- maximum results that can be returnedeffectiveTime
- optional date for effective time of the query. Null means any effective time- Returns:
- list of lineage mapping relationships
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
addMementoClassification
public void addMementoClassification(String elementGUID, String elementExternalIdentifier, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the element with the Memento classification to indicate that it has been logically deleted for by lineage requests.- Parameters:
elementGUID
- unique identifier of the metadata element to updateelementExternalIdentifier
- external identifier (optional)effectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearMementoClassification
public void clearMementoClassification(String elementGUID, String elementExternalIdentifier, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the memento designation from the element.- Parameters:
elementGUID
- unique identifier of the metadata element to updateelementExternalIdentifier
- external identifier (optional)effectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
addIncompleteClassification
public void addIncompleteClassification(String elementGUID, String elementExternalIdentifier, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Classify the element with the Incomplete classification to indicate that it has more details to come.- Parameters:
elementGUID
- unique identifier of the metadata element to updateelementExternalIdentifier
- unique identifier of the element in the external asset managereffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
clearIncompleteClassification
public void clearIncompleteClassification(String elementGUID, String elementExternalIdentifier, Date effectiveTime) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Remove the Incomplete designation from the element.- Parameters:
elementGUID
- unique identifier of the metadata element to updateelementExternalIdentifier
- unique identifier of the element in the external asset managereffectiveTime
- optional date for effective time of the query. Null means any effective time- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
findGovernanceActionProcesses
public List<GovernanceActionProcessElement> findGovernanceActionProcesses(String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of governance action process metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
searchString
- string to find in the propertiesstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessesByName
public List<GovernanceActionProcessElement> getGovernanceActionProcessesByName(String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of governance action process metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
name
- name to search forstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessByGUID
public GovernanceActionProcessElement getGovernanceActionProcessByGUID(String processGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the governance action process metadata element with the supplied unique identifier.- Parameters:
processGUID
- unique identifier of the requested metadata element- Returns:
- requested metadata element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
findGovernanceActionProcessSteps
public List<GovernanceActionProcessStepElement> findGovernanceActionProcessSteps(String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of governance action process step metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
searchString
- string to find in the propertiesstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessStepsByName
public List<GovernanceActionProcessStepElement> getGovernanceActionProcessStepsByName(String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the list of governance action process steps metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
name
- name to search forstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessStepByGUID
public GovernanceActionProcessStepElement getGovernanceActionProcessStepByGUID(String processStepGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the governance action process step metadata element with the supplied unique identifier.- Parameters:
processStepGUID
- unique identifier of the governance action process step- Returns:
- requested metadata element
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getFirstProcessStep
public FirstGovernanceActionProcessStepElement getFirstProcessStep(String processGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Return the governance action process step that is the first step in a governance action process.- Parameters:
processGUID
- unique identifier of the governance action process- Returns:
- properties of the first governance action process step
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getNextProcessSteps
public List<NextGovernanceActionProcessStepElement> getNextProcessSteps(String processStepGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Return the lust of next action process step defined for the governance action process.- Parameters:
processStepGUID
- unique identifier of the current governance action process stepstartFrom
- paging start pointpageSize
- maximum results that can be returned- Returns:
- return the list of relationships and attached governance action process steps.
- Throws:
InvalidParameterException
- one of the parameters is invalidUserNotAuthorizedException
- the user is not authorized to issue this requestPropertyServerException
- there is a problem reported in the open metadata server(s)
-
getEngineAction
public EngineActionElement getEngineAction(String engineActionGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Request the status of an executing engine action request.- Parameters:
engineActionGUID
- identifier of the engine action request.- Returns:
- status enum
- Throws:
InvalidParameterException
- one of the parameters is null or invalid.UserNotAuthorizedException
- user not authorized to issue this request.PropertyServerException
- there was a problem detected by the metadata store.
-
getEngineActions
public List<EngineActionElement> getEngineActions(int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the governance actions known to the server.- Parameters:
startFrom
- starting from elementpageSize
- maximum elements to return- Returns:
- list of governance action elements
- Throws:
InvalidParameterException
- one of the parameters is null or invalid.UserNotAuthorizedException
- user not authorized to issue this request.PropertyServerException
- there was a problem detected by the metadata store.
-
getActiveEngineActions
public List<EngineActionElement> getActiveEngineActions(int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the governance actions that are still in process.- Parameters:
startFrom
- starting from elementpageSize
- maximum elements to return- Returns:
- list of governance action elements
- Throws:
InvalidParameterException
- one of the parameters is null or invalid.UserNotAuthorizedException
- user not authorized to issue this request.PropertyServerException
- there was a problem detected by the metadata store.
-