Class ProcessHandler<PROCESS,PORT,DATA_FLOW,CONTROL_FLOW,PROCESS_CALL,LINEAGE_MAPPING>
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler<B>
-
- org.odpi.openmetadata.commonservices.generichandlers.ReferenceableHandler<PROCESS>
-
- org.odpi.openmetadata.commonservices.generichandlers.ProcessHandler<PROCESS,PORT,DATA_FLOW,CONTROL_FLOW,PROCESS_CALL,LINEAGE_MAPPING>
-
public class ProcessHandler<PROCESS,PORT,DATA_FLOW,CONTROL_FLOW,PROCESS_CALL,LINEAGE_MAPPING> extends ReferenceableHandler<PROCESS>
ProcessHandler provides the methods to create and maintain processes and their contents. It does not currently support effectivity dates - but probably should.
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler
auditLog, beanClass, converter, defaultZones, errorHandler, invalidParameterHandler, localServerUserId, publishZones, repositoryHandler, repositoryHelper, securityVerifier, serverName, serviceName, supportedZones
-
-
Constructor Summary
Constructors Constructor Description ProcessHandler(OpenMetadataAPIGenericConverter<PROCESS> converter, Class<PROCESS> beanClass, OpenMetadataAPIGenericConverter<PORT> portConverter, Class<PORT> portBeanClass, OpenMetadataAPIGenericConverter<DATA_FLOW> dataFlowConverter, Class<DATA_FLOW> dataFlowBeanClass, OpenMetadataAPIGenericConverter<CONTROL_FLOW> controlFlowConverter, Class<CONTROL_FLOW> controlFlowBeanClass, OpenMetadataAPIGenericConverter<PROCESS_CALL> processCallConverter, Class<PROCESS_CALL> processCallBeanClass, OpenMetadataAPIGenericConverter<LINEAGE_MAPPING> lineageMappingConverter, Class<LINEAGE_MAPPING> lineageMappingClass, String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, String localServerUserId, OpenMetadataServerSecurityVerifier securityVerifier, List<String> supportedZones, List<String> defaultZones, List<String> publishZones, AuditLog auditLog)Construct the handler information needed to interact with the repository services
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearControlFlow(String userId, String externalSourceGUID, String externalSourceName, String controlFlowGUID, String controlFlowGUIDParameterName, Date effectiveTime, String methodName)Remove the control flow relationship between two elements.voidclearDataFlow(String userId, String externalSourceGUID, String externalSourceName, String dataFlowGUID, String dataFlowGUIDParameterName, Date effectiveTime, String methodName)Remove the data flow relationship between two elements.voidclearLineageMapping(String userId, String sourceElementGUID, String sourceElementGUIDParameterName, String destinationElementGUID, String destinationElementGUIDParameterName, Date effectiveTime, String methodName)Remove the lineage mapping between two elements.voidclearPortDelegation(String userId, String externalSourceGUID, String externalSourceName, String portOneGUID, String portOneGUIDParameterName, String portTwoGUID, String portTwoGUIDParameterName, String methodName)Remove the port delegation relationship between two ports.voidclearPortSchemaType(String userId, String externalSourceGUID, String externalSourceName, String portGUID, String portGUIDParameterName, String schemaTypeGUID, String schemaTypeGUIDParameterName, String methodName)Remove the schema type from a port.voidclearProcessCall(String userId, String externalSourceGUID, String externalSourceName, String processCallGUID, String processCallGUIDParameterName, Date effectiveTime, String methodName)Remove the process call relationship.voidclearProcessParent(String userId, String externalSourceGUID, String externalSourceName, String parentProcessGUID, String parentProcessGUIDParameterName, String childProcessGUID, String childProcessGUIDParameterName, String methodName)Remove a parent-child relationship between two processes.voidclearProcessPort(String userId, String externalSourceGUID, String externalSourceName, String processGUID, String processGUIDParameterName, String portGUID, String portGUIDParameterName, String methodName)Unlink a port from a process.StringcreatePort(String userId, String externalSourceGUID, String externalSourceName, String processGUID, String processGUIDParameterName, String qualifiedName, String displayName, int portType, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> extendedProperties, String methodName)Create a new metadata element to represent a port.StringcreateProcess(String userId, String externalSourceGUID, String externalSourceName, String qualifiedName, String technicalName, String technicalDescription, String formula, String implementationLanguage, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> suppliedExtendedProperties, InstanceStatus initialStatus, String methodName)Create a new metadata element to represent a process.StringcreateProcessFromTemplate(String userId, String externalSourceGUID, String externalSourceName, String templateGUID, String templateGUIDParameterName, String qualifiedName, String qualifiedNameParameterName, String displayName, String description, String methodName)Create a new metadata element to represent a process using an existing metadata element as a template.List<PORT>findPorts(String userId, String searchString, String searchStringParameterName, int startFrom, int pageSize, String methodName)Retrieve the list of port metadata elements that contain the search string.List<PROCESS>findProcesses(String userId, String searchString, String searchStringParameterName, int startFrom, int pageSize, String methodName)Retrieve the list of process metadata elements that contain the search string.CONTROL_FLOWgetControlFlow(String userId, String currentStepGUID, String currentStepGUIDParameterName, String nextStepGUID, String nextStepGUIDParameterName, Date effectiveTime, String qualifiedName, String methodName)Retrieve the control flow relationship between two elements.List<CONTROL_FLOW>getControlFlowNextSteps(String userId, String currentStepGUID, String currentStepGUIDParameterName, Date effectiveTime, String methodName)Retrieve the control relationships linked from an specific element to the possible next elements in the process.List<CONTROL_FLOW>getControlFlowPreviousSteps(String userId, String currentStepGUID, String currentStepGUIDParameterName, Date effectiveTime, String methodName)Retrieve the control relationships linked from an specific element to the possible previous elements in the process.DATA_FLOWgetDataFlow(String userId, String dataSupplierGUID, String dataSupplierGUIDParameterName, String dataConsumerGUID, String dataConsumerGUIDParameterName, Date effectiveTime, String qualifiedName, String methodName)Retrieve the data flow relationship between two elements.List<DATA_FLOW>getDataFlowConsumers(String userId, String dataSupplierGUID, String dataSupplierGUIDParameterName, Date effectiveTime, String methodName)Retrieve the data flow relationships linked from an specific element to the downstream consumers.List<DATA_FLOW>getDataFlowSuppliers(String userId, String dataConsumerGUID, String dataConsumerGUIDParameterName, Date effectiveTime, String methodName)Retrieve the data flow relationships linked from an specific element to the upstream suppliers.List<LINEAGE_MAPPING>getDestinationLineageMappings(String userId, String sourceElementGUID, String sourceElementGUIDParameterName, Date effectiveTime, String methodName)Retrieve the lineage mapping relationships linked from an specific source element to its destinations.PORTgetPortByGUID(String userId, String portGUID, String portGUIDParameterName, String methodName)Retrieve the port metadata element with the supplied unique identifier.PORTgetPortDelegation(String userId, String portGUID, String portGUIDParameterName, String methodName)Retrieve the port that this port delegates to.List<PORT>getPortsByName(String userId, String name, String nameParameterName, int startFrom, int pageSize, String methodName)Retrieve the list of port metadata elements with a matching qualified or display name.List<PORT>getPortsForProcess(String userId, String processGUID, String processGUIDParameterName, int startFrom, int pageSize, String methodName)Retrieve the list of ports associated with a process.List<PORT>getPortUse(String userId, String portGUID, String portGUIDParameterName, int startFrom, int pageSize, String methodName)Retrieve the list of ports that delegate to this port.PROCESSgetProcessByGUID(String userId, String processGUID, String processGUIDParameterName, Date effectiveTime, String methodName)Retrieve the process metadata element with the supplied unique identifier.PROCESS_CALLgetProcessCall(String userId, String callerGUID, String callerGUIDParameterName, String calledGUID, String calledGUIDParameterName, Date effectiveTime, String qualifiedName, String methodName)Retrieve the process call relationship between two elements.List<PROCESS_CALL>getProcessCalled(String userId, String callerGUID, String callerGUIDParameterName, Date effectiveTime, String methodName)Retrieve the process call relationships linked from an specific element to the elements it calls.List<PROCESS_CALL>getProcessCallers(String userId, String calledGUID, String calledGUIDParameterName, Date effectiveTime, String methodName)Retrieve the process call relationships linked from an specific element to its callers.List<PROCESS>getProcessesByName(String userId, String name, String nameParameterName, int startFrom, int pageSize, Date effectiveTime, String methodName)Retrieve the list of process metadata elements with a matching qualified or display name.PROCESSgetProcessParent(String userId, String processGUID, String processGUIDParameterName, Date effectiveTime, String methodName)Retrieve the process metadata element with the supplied unique identifier.List<LINEAGE_MAPPING>getSourceLineageMappings(String userId, String destinationElementGUID, String destinationElementGUIDParameterName, Date effectiveTime, String methodName)Retrieve the lineage mapping relationships linked from an specific destination element to its sources.List<PROCESS>getSubProcesses(String userId, String processGUID, String processGUIDParameterName, int startFrom, int pageSize, Date effectiveTime, String methodName)Retrieve the process metadata element with the supplied unique identifier.voidpublishProcess(String userId, String processGUID, String processGUIDParameterName, String methodName)Update the zones for the process so that it becomes visible to consumers.voidremovePort(String userId, String externalSourceGUID, String externalSourceName, String portGUID, String portGUIDParameterName, String methodName)Remove the metadata element representing a port.voidremoveProcess(String userId, String externalSourceGUID, String externalSourceName, String processGUID, String processGUIDParameterName, String methodName)Remove the metadata element representing a process.StringsetupControlFlow(String userId, String externalSourceGUID, String externalSourceName, String currentStepGUID, String currentStepGUIDParameterName, String nextStepGUID, String nextStepGUIDParameterName, Date effectiveFrom, Date effectiveTo, String qualifiedName, String description, String guard, String methodName)Link two elements to show that when one completes the next is started.StringsetupDataFlow(String userId, String externalSourceGUID, String externalSourceName, String dataSupplierGUID, String dataSupplierGUIDParameterName, String dataConsumerGUID, String dataConsumerGUIDParameterName, Date effectiveFrom, Date effectiveTo, String qualifiedName, String description, String formula, String methodName)Link two elements together to show that data flows from one to the other.StringsetupLineageMapping(String userId, String sourceElementGUID, String sourceElementGUIDParameterName, String destinationElementGUID, String destinationElementGUIDParameterName, Date effectiveFrom, Date effectiveTo, String methodName)Link to elements together to show that they are part of the lineage of the data that is moving between the processes.voidsetupPortDelegation(String userId, String externalSourceGUID, String externalSourceName, String portOneGUID, String portOneGUIDParameterName, String portTwoGUID, String portTwoGUIDParameterName, String methodName)Link two ports together to show that portTwo is an implementation of portOne.voidsetupPortSchemaType(String userId, String externalSourceGUID, String externalSourceName, String portGUID, String portGUIDParameterName, String schemaTypeGUID, String schemaTypeGUIDParameterName, String methodName)Link a schema type to a port to show the structure of data it accepts.StringsetupProcessCall(String userId, String externalSourceGUID, String externalSourceName, String callerGUID, String callerGUIDParameterName, String calledGUID, String calledGUIDParameterName, Date effectiveFrom, Date effectiveTo, String qualifiedName, String description, String formula, String methodName)Link two elements together to show a request-response call between them.voidsetupProcessParent(String userId, String externalSourceGUID, String externalSourceName, String parentProcessGUID, String parentProcessGUIDParameterName, String childProcessGUID, String childProcessGUIDParameterName, Date effectiveFrom, Date effectiveTo, int containmentType, String methodName)Create a parent-child relationship between two processes.voidsetupProcessPort(String userId, String externalSourceGUID, String externalSourceName, String processGUID, String processGUIDParameterName, String portGUID, String portGUIDParameterName, String methodName)Link a port to a process.voidupdateControlFlow(String userId, String externalSourceGUID, String externalSourceName, String controlFlowGUID, String controlFlowGUIDParameterName, Date effectiveFrom, Date effectiveTo, String qualifiedName, String description, String guard, String methodName)Update the relationship between two elements that shows that when one completes the next is started.voidupdateDataFlow(String userId, String externalSourceGUID, String externalSourceName, String dataFlowGUID, String dataFlowGUIDParameterName, Date effectiveFrom, Date effectiveTo, String qualifiedName, String description, String formula, String methodName)Update relationship between two elements that shows that data flows from one to the other.voidupdatePort(String userId, String externalSourceGUID, String externalSourceName, String portGUID, String portGUIDParameterName, String qualifiedName, String displayName, int portType, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> extendedProperties, String methodName)Update the properties of the metadata element representing a port.voidupdateProcess(String userId, String externalSourceGUID, String externalSourceName, String processGUID, String processGUIDParameterName, boolean isMergeUpdate, String qualifiedName, String technicalName, String technicalDescription, String formula, String implementationLanguage, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> suppliedExtendedProperties, String methodName)Update the metadata element representing a process.voidupdateProcessCall(String userId, String externalSourceGUID, String externalSourceName, String processCallGUID, String processCallGUIDParameterName, Date effectiveFrom, Date effectiveTo, String qualifiedName, String description, String formula, String methodName)Update the relationship between two elements that shows a request-response call between them.voidupdateProcessStatus(String userId, String externalSourceGUID, String externalSourceName, String processGUID, String processGUIDParameterName, InstanceStatus processStatus, String processStatusParameterName, String methodName)Update the status of the metadata element representing a process.voidwithdrawProcess(String userId, String processGUID, String processGUIDParameterName, String methodName)Update the zones for the process so that it is no longer visible to consumers.-
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.ReferenceableHandler
addOwner, addSecurityTags, addTemplateClassification, clearBusinessSignificant, findBeanGUIDsByQualifiedName, findBeansByQualifiedName, findBeansByQualifiedName, getBeanByQualifiedName, getBeanByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDsByQualifiedName, getBeanGUIDsByQualifiedName, getBeansByQualifiedName, getBeansByQualifiedName, getCollectionMembers, getEntityByUniqueQualifiedName, getMoreInformation, getMoreInformation, getVendorProperties, linkElementsAsPeerDuplicates, removeOwner, removeResourceListMember, removeSecurityTags, removeSemanticAssignment, removeTemplateClassification, saveResourceListMember, saveSemanticAssignment, saveSemanticAssignment, setBusinessSignificant, setVendorProperties, unlinkElementsAsPeerDuplicates
-
Methods inherited from class org.odpi.openmetadata.commonservices.generichandlers.OpenMetadataAPIGenericHandler
addAnchorsClassification, archiveBeanInRepository, archiveBeanInRepository, countAttachments, createBeanFromTemplate, createBeanInRepository, deleteAnchoredEntity, deleteBeanInRepository, deleteBeanInRepository, deleteBeanInRepository, deleteBeanInRepository, deleteRelationship, entityMatchSearchCriteria, findAttachmentLinks, findBeanGUIDs, findBeans, findBeans, findBeans, findEntities, findEntities, getAllAttachmentLinks, getAnchorGUIDFromAnchorsClassification, getAttachedElement, getAttachedElementGUID, getAttachedElementGUID, getAttachedElementGUIDs, getAttachedElementGUIDs, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedEntities, getAttachedEntities, getAttachedEntitiesFromUser, getAttachedEntity, getAttachedEntity, getAttachedEntity, getAttachedEntityFromUser, getAttachedFilteredEntities, getAttachedFilteredEntities, getAttachedFilteredEntities, getAttachmentLink, getAttachmentLinks, getAttachmentLinks, getAttachmentLinks, getBeanByUniqueName, getBeanByUniqueName, getBeanByValue, getBeanFromEntity, getBeanFromRepository, getBeanFromRepository, getBeanFromRepository, getBeanGUIDByUniqueName, getBeanGUIDByUniqueName, getBeanGUIDsByClassification, getBeanGUIDsByType, getBeanGUIDsByType, getBeanGUIDsByValue, getBeansByClassification, getBeansByCreator, getBeansByIntValue, getBeansByType, getBeansByType, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getEffectiveTime, getEffectiveTime, getEntitiesByIntValue, getEntitiesByType, getEntitiesByType, getEntitiesByValue, getEntitiesByValue, getEntitiesByValue, getEntitiesByValue, getEntitiesByValue, getEntityByValue, getEntityFromRepository, getEntityFromRepository, getEntityGUIDByValue, getEntityGUIDsByValue, getRepositoryHandler, getRepositoryHelper, getServerName, getServiceName, getTypeDefByName, getUniqueAttachmentLink, getUniqueAttachmentLink, isBeanIsolated, isEntityATypeOf, linkElementToElement, linkElementToElement, linkElementToElement, linkElementToElement, maintainSupplementaryProperties, multiLinkElementToElement, regexSearchCriteria, relinkElementToNewElement, relinkElementToNewElement, removeClassificationFromRepository, removeClassificationFromRepository, setClassificationInRepository, setClassificationInRepository, setClassificationInRepository, setClassificationInRepository, setClassificationInRepository, setSecurityVerifier, unlinkAllElements, unlinkConnectedElement, unlinkElementFromElement, unlinkElementFromElement, unlinkElementFromElement, unlinkElementFromElement, updateBeanEffectivityDates, updateBeanEffectivityDates, updateBeanInRepository, updateBeanInRepository, updateBeanInRepository, updateBeanPropertyInRepository, updateBeanStatusInRepository, updateBeanStatusInRepository, updateBeanStatusInRepository, updateClassificationEffectivityDates, updateClassificationEffectivityDates, updateElementToElementLink, updateElementToElementLink, updateElementToElementLink, updateElementToElementLink, updateRelationshipEffectivityDates, updateRelationshipEffectivityDates, updateRelationshipProperties, validateAnchorEntity, validateAnchorEntity, validateUniqueProperty, verifyExternalSourceIdentity
-
-
-
-
Constructor Detail
-
ProcessHandler
public ProcessHandler(OpenMetadataAPIGenericConverter<PROCESS> converter, Class<PROCESS> beanClass, OpenMetadataAPIGenericConverter<PORT> portConverter, Class<PORT> portBeanClass, OpenMetadataAPIGenericConverter<DATA_FLOW> dataFlowConverter, Class<DATA_FLOW> dataFlowBeanClass, OpenMetadataAPIGenericConverter<CONTROL_FLOW> controlFlowConverter, Class<CONTROL_FLOW> controlFlowBeanClass, OpenMetadataAPIGenericConverter<PROCESS_CALL> processCallConverter, Class<PROCESS_CALL> processCallBeanClass, OpenMetadataAPIGenericConverter<LINEAGE_MAPPING> lineageMappingConverter, Class<LINEAGE_MAPPING> lineageMappingClass, String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, String localServerUserId, OpenMetadataServerSecurityVerifier securityVerifier, List<String> supportedZones, List<String> defaultZones, List<String> publishZones, AuditLog auditLog)
Construct the handler information needed to interact with the repository services- Parameters:
converter- specific converter for the PROCESS bean classbeanClass- name of bean class that is represented by the generic class PROCESSportConverter- specific converter for the PORT bean classportBeanClass- name of bean class that is represented by the generic class PORTdataFlowConverter- specific converter for the DATA_FLOW bean classdataFlowBeanClass- name of bean class that is represented by the generic class DATA_FLOWcontrolFlowConverter- specific converter for the CONTROL_FLOW bean classcontrolFlowBeanClass- name of bean class that is represented by the generic class CONTROL_FLOWprocessCallConverter- specific converter for the PROCESS_CALL bean classprocessCallBeanClass- name of bean class that is represented by the generic class PROCESS_CALLlineageMappingConverter- specific converter for the LINEAGE_MAPPING bean classlineageMappingClass- name of bean class that is represented by the generic class LINEAGE_MAPPINGserviceName- name of this serviceserverName- name of the local serverinvalidParameterHandler- handler for managing parameter errorsrepositoryHandler- manages calls to the repository servicesrepositoryHelper- provides utilities for manipulating the repository services objectslocalServerUserId- userId for this serversecurityVerifier- open metadata security services verifiersupportedZones- list of zones that the access service is allowed to serve Asset instances from.defaultZones- list of zones that the access service should set in all new Asset instances.publishZones- list of zones that the access service sets up in published Asset instances.auditLog- destination for audit log events.
-
-
Method Detail
-
createProcess
public String createProcess(String userId, String externalSourceGUID, String externalSourceName, String qualifiedName, String technicalName, String technicalDescription, String formula, String implementationLanguage, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> suppliedExtendedProperties, InstanceStatus initialStatus, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a process.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerqualifiedName- unique name for this assettechnicalName- the stored display name property for the assettechnicalDescription- the stored description property associated with the assetformula- the formula that characterize the processing behavior of the processimplementationLanguage- the implementation language used to create the processadditionalProperties- any arbitrary properties not part of the type systemsuppliedTypeName- name of the type that is a subtype of asset - or null to create standard typesuppliedExtendedProperties- properties from any subtypeinitialStatus- status value for the new process (default = ACTIVE)methodName- calling method- 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(String userId, String externalSourceGUID, String externalSourceName, String templateGUID, String templateGUIDParameterName, String qualifiedName, String qualifiedNameParameterName, String displayName, String description, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a process using an existing metadata element as a template.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callertemplateGUID- unique identifier of the metadata element to copytemplateGUIDParameterName- parameter supplying templateGUIDqualifiedName- unique name for the term - used in other configurationqualifiedNameParameterName- parameter supplying qualifiedNamedisplayName- short display name for the termdescription- description of the termmethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String processGUID, String processGUIDParameterName, boolean isMergeUpdate, String qualifiedName, String technicalName, String technicalDescription, String formula, String implementationLanguage, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> suppliedExtendedProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the metadata element representing a process.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerprocessGUID- unique identifier of the metadata element to updateprocessGUIDParameterName- unique identifier of the process in the external process managerisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?qualifiedName- unique name for this assettechnicalName- the stored display name property for the assettechnicalDescription- the stored description property associated with the assetformula- the formula that characterize the processing behavior of the processimplementationLanguage- the implementation language used to create the processadditionalProperties- any arbitrary properties not part of the type systemsuppliedTypeName- name of the type that is a subtype of asset - or null to create standard typesuppliedExtendedProperties- properties from any subtypemethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String processGUID, String processGUIDParameterName, InstanceStatus processStatus, String processStatusParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the status of the metadata element representing a process.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerprocessGUID- unique identifier of the process to updateprocessGUIDParameterName- unique identifier of the process in the external process managerprocessStatus- new status for the processprocessStatusParameterName- parameter supplying processStatusmethodName- calling method- 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(String userId, String externalSourceGUID, String externalSourceName, String parentProcessGUID, String parentProcessGUIDParameterName, String childProcessGUID, String childProcessGUIDParameterName, Date effectiveFrom, Date effectiveTo, int containmentType, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a parent-child relationship between two processes.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerparentProcessGUID- unique identifier of the process in the external process manager that is to be the parent processparentProcessGUIDParameterName- parameter supplying parentProcessGUIDchildProcessGUID- unique identifier of the process in the external process manager that is to be the nested sub-processchildProcessGUIDParameterName- parameter supplying childProcessGUIDeffectiveFrom- the date when this element is active - null for active noweffectiveTo- the date when this element becomes inactive - null for active until deletedcontainmentType- describes the ownership of the sub-processmethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String parentProcessGUID, String parentProcessGUIDParameterName, String childProcessGUID, String childProcessGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove a parent-child relationship between two processes.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerparentProcessGUID- unique identifier of the process in the external process manager that is to be the parent processparentProcessGUIDParameterName- parameter supplying parentProcessGUIDchildProcessGUID- unique identifier of the process in the external process manager that is to be the nested sub-processchildProcessGUIDParameterName- parameter supplying childProcessGUIDmethodName- calling method- 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 userId, String processGUID, String processGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the zones for the process 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:
userId- calling userprocessGUID- unique identifier of the metadata element to publishprocessGUIDParameterName- parameter supplying processGUIDmethodName- calling method- 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 userId, String processGUID, String processGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the zones for the process so that it is no longer visible to consumers.- Parameters:
userId- calling userprocessGUID- unique identifier of the metadata element to withdrawprocessGUIDParameterName- parameter supplying processGUIDmethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String processGUID, String processGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the metadata element representing a process.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerprocessGUID- unique identifier of the metadata element to removeprocessGUIDParameterName- unique identifier of the process in the external process managermethodName- calling method- 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<PROCESS> findProcesses(String userId, String searchString, String searchStringParameterName, int startFrom, int pageSize, String methodName) 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:
userId- calling usersearchString- string to find in the propertiessearchStringParameterName- parameter supplying searchStringstartFrom- paging start pointpageSize- maximum results that can be returnedmethodName- calling method- 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)
-
getProcessesByName
public List<PROCESS> getProcessesByName(String userId, String name, String nameParameterName, int startFrom, int pageSize, Date effectiveTime, String methodName) 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:
userId- calling username- name to search fornameParameterName- parameter supplying namestartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName- calling method- 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 PROCESS getProcessByGUID(String userId, String processGUID, String processGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the process metadata element with the supplied unique identifier.- Parameters:
userId- calling userprocessGUID- unique identifier of the requested metadata elementprocessGUIDParameterName- parameter supplying processGUIDeffectiveTime- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName- calling method- 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 PROCESS getProcessParent(String userId, String processGUID, String processGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the process metadata element with the supplied unique identifier.- Parameters:
userId- calling userprocessGUID- unique identifier of the requested metadata elementprocessGUIDParameterName- parameter supplying processGUIDeffectiveTime- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName- calling method- 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<PROCESS> getSubProcesses(String userId, String processGUID, String processGUIDParameterName, int startFrom, int pageSize, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the process metadata element with the supplied unique identifier.- Parameters:
userId- calling userprocessGUID- unique identifier of the requested metadata elementprocessGUIDParameterName- parameter supplying processGUIDstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- the time that the retrieved elements must be effective for (null for any time, new Date() for now)methodName- calling method- 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(String userId, String externalSourceGUID, String externalSourceName, String processGUID, String processGUIDParameterName, String qualifiedName, String displayName, int portType, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> extendedProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a new metadata element to represent a port.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerprocessGUID- unique identifier of the process where the port is locatedprocessGUIDParameterName- parameter supplying processGUIDqualifiedName- unique name for the port - used in other configurationdisplayName- short display name for the portportType- description of the portadditionalProperties- additional properties for a portsuppliedTypeName- type name from the caller (enables creation of subtypes)extendedProperties- properties for a port subtypemethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String portGUID, String portGUIDParameterName, String qualifiedName, String displayName, int portType, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> extendedProperties, String methodName) 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:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerportGUID- unique identifier of the port to updateportGUIDParameterName- parameter supplying portGUIDqualifiedName- unique name for the port - used in other configurationdisplayName- short display name for the portportType- description of the portadditionalProperties- additional properties for a portsuppliedTypeName- type name from the caller (enables creation of subtypes)extendedProperties- properties for a port subtypemethodName- calling method- 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(String userId, String externalSourceGUID, String externalSourceName, String processGUID, String processGUIDParameterName, String portGUID, String portGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Link a port to a process.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerprocessGUID- unique identifier of the processprocessGUIDParameterName- parameter supplying processGUIDportGUID- unique identifier of the portportGUIDParameterName- parameter supplying portGUIDmethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String processGUID, String processGUIDParameterName, String portGUID, String portGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Unlink a port from a process.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerprocessGUID- unique identifier of the processprocessGUIDParameterName- parameter supplying processGUIDportGUID- unique identifier of the portportGUIDParameterName- parameter supplying portGUIDmethodName- calling method- 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(String userId, String externalSourceGUID, String externalSourceName, String portOneGUID, String portOneGUIDParameterName, String portTwoGUID, String portTwoGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Link two ports together to show that portTwo is an implementation of portOne. (That is, portOne delegates to portTwo.)- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerportOneGUID- unique identifier of the port at end 1portOneGUIDParameterName- parameter supplying portOneGUIDportTwoGUID- unique identifier of the port at end 2portTwoGUIDParameterName- parameter supplying portTwoGUIDmethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String portOneGUID, String portOneGUIDParameterName, String portTwoGUID, String portTwoGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the port delegation relationship between two ports.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerportOneGUID- unique identifier of the port at end 1portOneGUIDParameterName- parameter supplying portOneGUIDportTwoGUID- unique identifier of the port at end 2portTwoGUIDParameterName- parameter supplying portTwoGUIDmethodName- calling method- 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(String userId, String externalSourceGUID, String externalSourceName, String portGUID, String portGUIDParameterName, String schemaTypeGUID, String schemaTypeGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Link a schema type to a port to show the structure of data it accepts.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerportGUID- unique identifier of the portportGUIDParameterName- parameter supplying portGUIDschemaTypeGUID- unique identifier of the schemaTypeschemaTypeGUIDParameterName- parameter supplying schemaTypeGUIDmethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String portGUID, String portGUIDParameterName, String schemaTypeGUID, String schemaTypeGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the schema type from a port.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerportGUID- unique identifier of the portportGUIDParameterName- parameter supplying portGUIDschemaTypeGUID- unique identifier of the schemaTypeschemaTypeGUIDParameterName- parameter supplying schemaTypeGUIDmethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String portGUID, String portGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the metadata element representing a port.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerportGUID- unique identifier of the metadata element to removeportGUIDParameterName- parameter supplying portGUIDmethodName- calling method- 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<PORT> findPorts(String userId, String searchString, String searchStringParameterName, int startFrom, int pageSize, String methodName) 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:
userId- calling usersearchString- string to find in the propertiessearchStringParameterName- parameter supplying searchStringstartFrom- paging start pointpageSize- maximum results that can be returnedmethodName- calling method- 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<PORT> getPortsForProcess(String userId, String processGUID, String processGUIDParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of ports associated with a process.- Parameters:
userId- calling userprocessGUID- unique identifier of the process of interestprocessGUIDParameterName- parameter passing processGUIDstartFrom- paging start pointpageSize- maximum results that can be returnedmethodName- calling method- 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<PORT> getPortUse(String userId, String portGUID, String portGUIDParameterName, int startFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the list of ports that delegate to this port.- Parameters:
userId- calling userportGUID- unique identifier of the starting portportGUIDParameterName- parameter passing portGUIDstartFrom- paging start pointpageSize- maximum results that can be returnedmethodName- calling method- 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 PORT getPortDelegation(String userId, String portGUID, String portGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the port that this port delegates to.- Parameters:
userId- calling userportGUID- unique identifier of the starting port aliasportGUIDParameterName- parameter passing portGUIDmethodName- calling method- 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<PORT> getPortsByName(String userId, String name, String nameParameterName, int startFrom, int pageSize, String methodName) 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:
userId- calling username- name to search fornameParameterName- parameter supplying namestartFrom- paging start pointpageSize- maximum results that can be returnedmethodName- calling method- 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 PORT getPortByGUID(String userId, String portGUID, String portGUIDParameterName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the port metadata element with the supplied unique identifier.- Parameters:
userId- calling userportGUID- unique identifier of the requested metadata elementportGUIDParameterName- parameter passing portGUIDmethodName- calling method- 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)
-
setupDataFlow
public String setupDataFlow(String userId, String externalSourceGUID, String externalSourceName, String dataSupplierGUID, String dataSupplierGUIDParameterName, String dataConsumerGUID, String dataConsumerGUIDParameterName, Date effectiveFrom, Date effectiveTo, String qualifiedName, String description, String formula, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Link two elements together to show that data flows from one to the other.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerdataSupplierGUID- unique identifier of the data supplierdataSupplierGUIDParameterName- parameter supplying dataSupplierGUIDdataConsumerGUID- unique identifier of the data consumerdataConsumerGUIDParameterName- parameter supplying dataConsumerGUIDeffectiveFrom- the date when this element is active - null for active noweffectiveTo- the date when this element becomes inactive - null for active until deletedqualifiedName- unique identifier for this relationshipdescription- description and/or purpose of the data flowformula- function that determines the subset of the data that flowsmethodName- calling method- 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 DATA_FLOW getDataFlow(String userId, String dataSupplierGUID, String dataSupplierGUIDParameterName, String dataConsumerGUID, String dataConsumerGUIDParameterName, Date effectiveTime, String qualifiedName, String methodName) 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.- Parameters:
userId- calling userdataSupplierGUID- unique identifier of the data supplierdataSupplierGUIDParameterName- parameter supplying dataSupplierGUIDdataConsumerGUID- unique identifier of the data consumerdataConsumerGUIDParameterName- parameter supplying dataConsumerGUIDeffectiveTime- time when the relationship is effectivequalifiedName- unique identifier for this relationshipmethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String dataFlowGUID, String dataFlowGUIDParameterName, Date effectiveFrom, Date effectiveTo, String qualifiedName, String description, String formula, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update relationship between two elements that shows that data flows from one to the other.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerdataFlowGUID- unique identifier of the data flow relationshipdataFlowGUIDParameterName- parameter supplying dataFlowGUIDeffectiveFrom- the date when this element is active - null for active noweffectiveTo- the date when this element becomes inactive - null for active until deletedqualifiedName- unique identifier for this relationshipdescription- description and/or purpose of the data flowformula- function that determines the subset of the data that flowsmethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String dataFlowGUID, String dataFlowGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the data flow relationship between two elements.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerdataFlowGUID- unique identifier of the data flow relationshipdataFlowGUIDParameterName- parameter supplying dataFlowGUIDeffectiveTime- time when the relationship is effectivemethodName- calling method- 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<DATA_FLOW> getDataFlowConsumers(String userId, String dataSupplierGUID, String dataSupplierGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the data flow relationships linked from an specific element to the downstream consumers.- Parameters:
userId- calling userdataSupplierGUID- unique identifier of the data supplierdataSupplierGUIDParameterName- parameter supplying dataSupplierGUIDeffectiveTime- time when the relationship is effectivemethodName- calling method- 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<DATA_FLOW> getDataFlowSuppliers(String userId, String dataConsumerGUID, String dataConsumerGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the data flow relationships linked from an specific element to the upstream suppliers.- Parameters:
userId- calling userdataConsumerGUID- unique identifier of the data consumerdataConsumerGUIDParameterName- parameter supplying dataConsumerGUIDmethodName- calling method- 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(String userId, String externalSourceGUID, String externalSourceName, String currentStepGUID, String currentStepGUIDParameterName, String nextStepGUID, String nextStepGUIDParameterName, Date effectiveFrom, Date effectiveTo, String qualifiedName, String description, String guard, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Link two elements to show that when one completes the next is started.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callercurrentStepGUID- unique identifier of the previous stepcurrentStepGUIDParameterName- parameter supplying currentStepGUIDnextStepGUID- unique identifier of the next stepnextStepGUIDParameterName- parameter supplying nextStepGUIDeffectiveFrom- the date when this element is active - null for active noweffectiveTo- the date when this element becomes inactive - null for active until deletedqualifiedName- unique identifier for this relationshipdescription- description and/or purpose of the data flowguard- function that must be true to travel down this control flowmethodName- calling method- 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 CONTROL_FLOW getControlFlow(String userId, String currentStepGUID, String currentStepGUIDParameterName, String nextStepGUID, String nextStepGUIDParameterName, Date effectiveTime, String qualifiedName, String methodName) 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.- Parameters:
userId- calling usercurrentStepGUID- unique identifier of the previous stepcurrentStepGUIDParameterName- parameter supplying currentStepGUIDnextStepGUID- unique identifier of the next stepnextStepGUIDParameterName- parameter supplying nextStepGUIDqualifiedName- unique identifier for this relationshipeffectiveTime- time when the relationship is effectivemethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String controlFlowGUID, String controlFlowGUIDParameterName, Date effectiveFrom, Date effectiveTo, String qualifiedName, String description, String guard, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the relationship between two elements that shows that when one completes the next is started.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callercontrolFlowGUID- unique identifier of the control flow relationshipcontrolFlowGUIDParameterName- parameter supplying controlFlowGUIDeffectiveFrom- the date when this element is active - null for active noweffectiveTo- the date when this element becomes inactive - null for active until deletedqualifiedName- unique identifier for this relationshipdescription- description and/or purpose of the data flowguard- function that must be true to travel down this control flowmethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String controlFlowGUID, String controlFlowGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the control flow relationship between two elements.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callercontrolFlowGUID- unique identifier of the control flow relationshipcontrolFlowGUIDParameterName- parameter supplying controlFlowGUIDeffectiveTime- time when the relationship is effectivemethodName- calling method- 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<CONTROL_FLOW> getControlFlowNextSteps(String userId, String currentStepGUID, String currentStepGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the control relationships linked from an specific element to the possible next elements in the process.- Parameters:
userId- calling usercurrentStepGUID- unique identifier of the current stepcurrentStepGUIDParameterName- parameter supplying currentStepGUIDeffectiveTime- time when the relationship is effectivemethodName- calling method- 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<CONTROL_FLOW> getControlFlowPreviousSteps(String userId, String currentStepGUID, String currentStepGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the control relationships linked from an specific element to the possible previous elements in the process.- Parameters:
userId- calling usercurrentStepGUID- unique identifier of the current stepcurrentStepGUIDParameterName- parameter supplying currentStepGUIDeffectiveTime- time when the relationship is effectivemethodName- calling method- 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(String userId, String externalSourceGUID, String externalSourceName, String callerGUID, String callerGUIDParameterName, String calledGUID, String calledGUIDParameterName, Date effectiveFrom, Date effectiveTo, String qualifiedName, String description, String formula, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Link two elements together to show a request-response call between them.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callercallerGUID- unique identifier of the element that is making the callcallerGUIDParameterName- parameter supplying callerGUIDcalledGUID- unique identifier of the element that is processing the callcalledGUIDParameterName- parameter supplying calledGUIDqualifiedName- unique identifier for this relationshipdescription- description and/or purpose of the data flowformula- function that determines the subset of the data that flowseffectiveFrom- the date when this element is active - null for active noweffectiveTo- the date when this element becomes inactive - null for active until deletedmethodName- calling method- 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 PROCESS_CALL getProcessCall(String userId, String callerGUID, String callerGUIDParameterName, String calledGUID, String calledGUIDParameterName, Date effectiveTime, String qualifiedName, String methodName) 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:
userId- calling usercallerGUID- unique identifier of the element that is making the callcallerGUIDParameterName- parameter supplying callerGUIDcalledGUID- unique identifier of the element that is processing the callcalledGUIDParameterName- parameter supplying calledGUIDqualifiedName- unique identifier for this relationshipeffectiveTime- time when the relationship is effectivemethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String processCallGUID, String processCallGUIDParameterName, Date effectiveFrom, Date effectiveTo, String qualifiedName, String description, String formula, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the relationship between two elements that shows a request-response call between them.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerprocessCallGUID- unique identifier of the process call relationshipprocessCallGUIDParameterName- parameter supplying processCallGUIDeffectiveFrom- the date when this element is active - null for active noweffectiveTo- the date when this element becomes inactive - null for active until deletedqualifiedName- unique identifier for this relationshipdescription- description and/or purpose of the data flowformula- function that determines the subset of the data that flowsmethodName- calling method- 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 userId, String externalSourceGUID, String externalSourceName, String processCallGUID, String processCallGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the process call relationship.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software server capability representing the callerexternalSourceName- unique name of software server capability representing the callerprocessCallGUID- unique identifier of the process call relationshipprocessCallGUIDParameterName- parameter supplying processCallGUIDeffectiveTime- time when the relationship is effectivemethodName- calling method- 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<PROCESS_CALL> getProcessCalled(String userId, String callerGUID, String callerGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the process call relationships linked from an specific element to the elements it calls.- Parameters:
userId- calling usercallerGUID- unique identifier of the element that is making the callcallerGUIDParameterName- parameter supplying callerGUIDeffectiveTime- time when the relationship is effectivemethodName- calling method- 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<PROCESS_CALL> getProcessCallers(String userId, String calledGUID, String calledGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the process call relationships linked from an specific element to its callers.- Parameters:
userId- calling usercalledGUID- unique identifier of the element that is processing the callcalledGUIDParameterName- parameter supplying calledGUIDeffectiveTime- time when the relationship is effectivemethodName- calling method- 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 String setupLineageMapping(String userId, String sourceElementGUID, String sourceElementGUIDParameterName, String destinationElementGUID, String destinationElementGUIDParameterName, Date effectiveFrom, Date effectiveTo, String methodName) 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:
userId- calling usersourceElementGUID- unique identifier of the sourcesourceElementGUIDParameterName- parameter supplying sourceElementGUIDdestinationElementGUID- unique identifier of the destinationdestinationElementGUIDParameterName- parameter supplying destinationElementGUIDeffectiveFrom- the date when this element is active - null for active noweffectiveTo- the date when this element becomes inactive - null for active until deletedmethodName- calling method- 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)
-
clearLineageMapping
public void clearLineageMapping(String userId, String sourceElementGUID, String sourceElementGUIDParameterName, String destinationElementGUID, String destinationElementGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the lineage mapping between two elements.- Parameters:
userId- calling usersourceElementGUID- unique identifier of the sourcesourceElementGUIDParameterName- parameter supplying sourceElementGUIDdestinationElementGUID- unique identifier of the destinationdestinationElementGUIDParameterName- parameter supplying destinationElementGUIDeffectiveTime- time when the relationship is effectivemethodName- calling method- 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<LINEAGE_MAPPING> getDestinationLineageMappings(String userId, String sourceElementGUID, String sourceElementGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the lineage mapping relationships linked from an specific source element to its destinations.- Parameters:
userId- calling usersourceElementGUID- unique identifier of the sourcesourceElementGUIDParameterName- parameter supplying sourceElementGUIDeffectiveTime- time when the relationship is effectivemethodName- calling method- 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<LINEAGE_MAPPING> getSourceLineageMappings(String userId, String destinationElementGUID, String destinationElementGUIDParameterName, Date effectiveTime, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Retrieve the lineage mapping relationships linked from an specific destination element to its sources.- Parameters:
userId- calling userdestinationElementGUID- unique identifier of the destinationdestinationElementGUIDParameterName- parameter supplying destinationElementGUIDeffectiveTime- time when the relationship is effectivemethodName- calling method- 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)
-
-