Class OpenGovernanceClientBase
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.client.OpenGovernanceClientBase
- All Implemented Interfaces:
org.odpi.openmetadata.frameworks.governanceaction.client.ActionControlInterface,org.odpi.openmetadata.frameworks.governanceaction.client.DuplicateManagementInterface,org.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface,org.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionTypeInterface
- Direct Known Subclasses:
GovernanceContextClientBase
public class OpenGovernanceClientBase
extends Object
implements org.odpi.openmetadata.frameworks.governanceaction.client.ActionControlInterface, org.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionTypeInterface, org.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface, org.odpi.openmetadata.frameworks.governanceaction.client.DuplicateManagementInterface
OpenGovernanceClientBase provides common governance services that originate in the Governance Action Framework (GAF).
This includes the ability to define and execute governance action processes as well as manage duplicates.
-
Constructor Summary
ConstructorsConstructorDescriptionOpenGovernanceClientBase(String serviceURLMarker, String serverName, String serverPlatformURLRoot, int maxPageSize) Create a new client with no authentication embedded in the HTTP request.OpenGovernanceClientBase(String serviceURLMarker, String serverName, String serverPlatformURLRoot, String serverUserId, String serverPassword, int maxPageSize) Create a new client that passes userId and password in each HTTP request.OpenGovernanceClientBase(String serviceURLMarker, String serverName, String serverPlatformURLRoot, GAFRESTClient restClient, int maxPageSize) Create a new client that passes userId and password in each HTTP request. -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelEngineAction(String userId, String engineActionGUID) Request that execution of an engine action is stopped.createGovernanceActionProcess(String userId, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessProperties processProperties, org.odpi.openmetadata.frameworks.openmetadata.enums.ProcessStatus initialStatus) Create a new metadata element to represent a governance action process.createGovernanceActionProcessStep(String userId, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepProperties processStepProperties) Create a new metadata element to represent a governance action process step.createGovernanceActionType(String userId, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeProperties properties) Create a new metadata element to represent a governance action type.List<org.odpi.openmetadata.frameworks.governanceaction.properties.EngineActionElement>findEngineActions(String userId, String searchString, int startFrom, int pageSize) Retrieve the list of engine action metadata elements that contain the search string.List<org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessElement>findGovernanceActionProcesses(String userId, String searchString, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of governance action process metadata elements that contain the search string.List<org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepElement>findGovernanceActionProcessSteps(String userId, String searchString, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of governance action process step metadata elements that contain the search string.List<org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeElement>findGovernanceActionTypes(String userId, String searchString, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of governance action type metadata elements that contain the search string.List<org.odpi.openmetadata.frameworks.governanceaction.properties.EngineActionElement>getActiveEngineActions(String userId, int startFrom, int pageSize) Retrieve the engine actions that are still in process.org.odpi.openmetadata.frameworks.governanceaction.properties.EngineActionElementgetEngineAction(String userId, String engineActionGUID) Request the status of an executing engine action request.List<org.odpi.openmetadata.frameworks.governanceaction.properties.EngineActionElement>getEngineActions(String userId, int startFrom, int pageSize) Retrieve the engine actions known to the server.List<org.odpi.openmetadata.frameworks.governanceaction.properties.EngineActionElement>getEngineActionsByName(String userId, String name, int startFrom, int pageSize) Retrieve the list of engine action metadata elements with a matching qualified or display name.org.odpi.openmetadata.frameworks.governanceaction.properties.FirstGovernanceActionProcessStepElementgetFirstActionProcessStep(String userId, String processGUID) Return the governance action process step that is the first step in a governance action process.org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessElementgetGovernanceActionProcessByGUID(String userId, String processGUID) Retrieve the governance action process metadata element with the supplied unique identifier.List<org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessElement>getGovernanceActionProcessesByName(String userId, String name, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of governance action process metadata elements with a matching qualified or display name.org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessGraphgetGovernanceActionProcessGraph(String userId, String processGUID, Date effectiveTime) Retrieve the governance action process metadata element with the supplied unique identifier along with its process flow implementation.org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepElementgetGovernanceActionProcessStepByGUID(String userId, String processStepGUID) Retrieve the governance action process step metadata element with the supplied unique identifier.List<org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepElement>getGovernanceActionProcessStepsByName(String userId, String name, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of governance action process step metadata elements with a matching qualified or display name.org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeElementgetGovernanceActionTypeByGUID(String userId, String governanceActionTypeGUID) Retrieve the governance action type metadata element with the supplied unique identifier.List<org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeElement>getGovernanceActionTypesByName(String userId, String name, int startFrom, int pageSize, Date effectiveTime) Retrieve the list of governance action type metadata elements with a matching qualified or display name.List<org.odpi.openmetadata.frameworks.governanceaction.properties.NextGovernanceActionProcessStepElement>getNextGovernanceActionProcessSteps(String userId, String processStepGUID, int startFrom, int pageSize) Return the list of next action process step defined for the governance action process.initiateEngineAction(String userId, String qualifiedName, int domainIdentifier, String displayName, String description, List<String> requestSourceGUIDs, List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> actionTargets, List<String> receivedGuards, Date startTime, String governanceEngineName, String requestType, Map<String, String> requestParameters, String processName, String requestSourceName, String originatorServiceName, String originatorEngineName) Create an engine action in the metadata store which will trigger the governance service associated with the supplied request type.initiateGovernanceActionProcess(String userId, String processQualifiedName, List<String> requestSourceGUIDs, List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> actionTargets, Date startTime, Map<String, String> requestParameters, String originatorServiceName, String originatorEngineName) Using the named governance action process as a template, initiate a chain of engine actions.initiateGovernanceActionType(String userId, String governanceActionTypeQualifiedName, List<String> requestSourceGUIDs, List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> actionTargets, Date startTime, Map<String, String> requestParameters, String originatorServiceName, String originatorEngineName) Using the named governance action type as a template, initiate an engine action.voidlinkConsolidatedDuplicate(String userId, String consolidatedElementGUID, int statusIdentifier, String steward, String stewardTypeName, String stewardPropertyName, String source, String notes, List<String> sourceElementGUIDs) Identify an element that acts as a consolidated version for a set of duplicate elements.voidlinkElementsAsPeerDuplicates(String userId, String metadataElement1GUID, String metadataElement2GUID, int statusIdentifier, String steward, String stewardTypeName, String stewardPropertyName, String source, String notes, boolean setKnownDuplicate) Link elements as peer duplicates.voidpublishGovernanceActionProcess(String userId, String processGUID) Update the zones for the asset so that it becomes visible to consumers.voidremoveFirstActionProcessStep(String userId, String processGUID) Remove the link between a governance process and that governance action process step that defines its first step.voidremoveGovernanceActionProcess(String userId, String processGUID) Remove the metadata element representing a governance action process.voidremoveGovernanceActionProcessStep(String userId, String processStepGUID) Remove the metadata element representing a governance action process step.voidremoveGovernanceActionType(String userId, String governanceActionTypeGUID) Remove the metadata element representing a governance action type.voidremoveNextActionProcessStep(String userId, String processStepLinkGUID) Remove a follow-on step from a governance action process.voidsetupFirstActionProcessStep(String userId, String processGUID, String processStepGUID, String guard) Set up a link between a governance action process and a governance action process step.setupNextActionProcessStep(String userId, String currentActionProcessStepGUID, String nextActionProcessStepGUID, String guard, boolean mandatoryGuard) Add a link between two governance action process steps to show that one follows on from the other when a governance action process is executing.voidupdateGovernanceActionProcess(String userId, String processGUID, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.enums.ProcessStatus processStatus, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessProperties processProperties) Update the metadata element representing a governance action process.voidupdateGovernanceActionProcessStep(String userId, String processStepGUID, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepProperties processStepProperties) Update the metadata element representing a governance action process step.voidupdateGovernanceActionType(String userId, String governanceActionTypeGUID, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeProperties properties) Update the metadata element representing a governance action type.voidupdateNextActionProcessStep(String userId, String nextProcessStepLinkGUID, String guard, boolean mandatoryGuard) Update the properties of the link between two governance action process steps that shows that one follows on from the other when a governance action process is executing.voidwithdrawGovernanceActionProcess(String userId, String processGUID) Update the zones for the asset so that it is no longer visible to consumers.
-
Constructor Details
-
OpenGovernanceClientBase
public OpenGovernanceClientBase(String serviceURLMarker, String serverName, String serverPlatformURLRoot, int maxPageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serviceURLMarker- the identifier of the access service (for example asset-owner for the Asset Owner OMAS)serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesmaxPageSize- pre-initialized parameter limit- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
OpenGovernanceClientBase
public OpenGovernanceClientBase(String serviceURLMarker, String serverName, String serverPlatformURLRoot, String serverUserId, String serverPassword, int maxPageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serviceURLMarker- the identifier of the access service (for example asset-owner for the Asset Owner OMAS)serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesserverUserId- caller's userId embedded in all HTTP requestsserverPassword- caller's password embedded in all HTTP requestsmaxPageSize- pre-initialized parameter limit- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
OpenGovernanceClientBase
public OpenGovernanceClientBase(String serviceURLMarker, String serverName, String serverPlatformURLRoot, GAFRESTClient restClient, int maxPageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serviceURLMarker- the identifier of the access service (for example asset-owner for the Asset Owner OMAS)serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesrestClient- pre-initialized REST clientmaxPageSize- pre-initialized parameter limit- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- there is a problem with the information about the remote OMAS
-
-
Method Details
-
initiateEngineAction
public String initiateEngineAction(String userId, String qualifiedName, int domainIdentifier, String displayName, String description, List<String> requestSourceGUIDs, List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> actionTargets, List<String> receivedGuards, Date startTime, String governanceEngineName, String requestType, Map<String, String> requestParameters, String processName, String requestSourceName, String originatorServiceName, String originatorEngineName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionCreate an engine action in the metadata store which will trigger the governance service associated with the supplied request type. The engine action remains to act as a record of the actions taken for auditing.- Specified by:
initiateEngineActionin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.ActionControlInterface- Parameters:
userId- caller's userIdqualifiedName- unique identifier to give this engine actiondomainIdentifier- governance domain associated with this action (0=ALL)displayName- display name for this actiondescription- description for this actionrequestSourceGUIDs- request source elements for the resulting governance serviceactionTargets- list of action target names to GUIDs for the resulting governance servicereceivedGuards- list of guards to initiate the engine actionstartTime- future start time or null for "as soon as possible"governanceEngineName- name of the governance engine that should execute the requestrequestType- governance request type from the callerrequestParameters- properties to pass to the governance serviceprocessName- name of the process that this action is a part ofrequestSourceName- source of the requestoriginatorServiceName- unique name of the requesting governance service (if initiated by a governance engine).originatorEngineName- optional unique name of the requesting governance engine (if initiated by a governance engine).- Returns:
- unique identifier of the engine action
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- null qualified nameorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the caller is not authorized to create an engine actionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem with the metadata store
-
initiateGovernanceActionType
public String initiateGovernanceActionType(String userId, String governanceActionTypeQualifiedName, List<String> requestSourceGUIDs, List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> actionTargets, Date startTime, Map<String, String> requestParameters, String originatorServiceName, String originatorEngineName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionUsing the named governance action type as a template, initiate an engine action.- Specified by:
initiateGovernanceActionTypein interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.ActionControlInterface- Parameters:
userId- caller's userIdgovernanceActionTypeQualifiedName- unique name of the governance action type to userequestSourceGUIDs- request source elements for the resulting governance serviceactionTargets- list of action target names to GUIDs for the resulting governance servicestartTime- future start time or null for "as soon as possible".requestParameters- request properties to be passed to the engine actionoriginatorServiceName- unique name of the requesting governance service (if initiated by a governance engine).originatorEngineName- optional unique name of the governance engine (if initiated by a governance engine).- Returns:
- unique identifier of the engine action
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- null or unrecognized qualified name of the typeorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the caller is not authorized to create an engine actionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem with the metadata store
-
initiateGovernanceActionProcess
public String initiateGovernanceActionProcess(String userId, String processQualifiedName, List<String> requestSourceGUIDs, List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> actionTargets, Date startTime, Map<String, String> requestParameters, String originatorServiceName, String originatorEngineName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionUsing the named governance action process as a template, initiate a chain of engine actions.- Specified by:
initiateGovernanceActionProcessin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.ActionControlInterface- Parameters:
userId- caller's userIdprocessQualifiedName- unique name of the governance action process to userequestSourceGUIDs- request source elements for the resulting governance serviceactionTargets- list of action target names to GUIDs for the resulting governance servicestartTime- future start time or null for "as soon as possible".requestParameters- request properties to be passed to the first engine actionoriginatorServiceName- unique name of the requesting governance service (if initiated by a governance engine).originatorEngineName- optional unique name of the governance engine (if initiated by a governance engine).- Returns:
- unique identifier of the governance action process instance
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- null or unrecognized qualified name of the processorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the caller is not authorized to create a governance action processorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem with the metadata store
-
getEngineAction
public org.odpi.openmetadata.frameworks.governanceaction.properties.EngineActionElement getEngineAction(String userId, String engineActionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Request the status of an executing engine action request.- Specified by:
getEngineActionin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.ActionControlInterface- Parameters:
userId- identifier of calling userengineActionGUID- identifier of the engine action request.- Returns:
- status enum
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- user not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there was a problem detected by the metadata store.
-
cancelEngineAction
public void cancelEngineAction(String userId, String engineActionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Request that execution of an engine action is stopped.- Specified by:
cancelEngineActionin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.ActionControlInterface- Parameters:
userId- identifier of calling userengineActionGUID- identifier of the engine action request.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- user not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there was a problem detected by the metadata store.
-
getEngineActions
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.EngineActionElement> getEngineActions(String userId, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the engine actions known to the server.- Specified by:
getEngineActionsin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.ActionControlInterface- Parameters:
userId- userId of callerstartFrom- starting from elementpageSize- maximum elements to return- Returns:
- list of engine action elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- user not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there was a problem detected by the metadata store.
-
getActiveEngineActions
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.EngineActionElement> getActiveEngineActions(String userId, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the engine actions that are still in process.- Specified by:
getActiveEngineActionsin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.ActionControlInterface- Parameters:
userId- userId of callerstartFrom- starting from elementpageSize- maximum elements to return- Returns:
- list of engine action elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- user not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there was a problem detected by the metadata store.
-
findEngineActions
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.EngineActionElement> findEngineActions(String userId, String searchString, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of engine action metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findEngineActionsin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.ActionControlInterface- Parameters:
userId- calling usersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getEngineActionsByName
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.EngineActionElement> getEngineActionsByName(String userId, String name, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of engine action metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getEngineActionsByNamein interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.ActionControlInterface- Parameters:
userId- calling username- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
linkElementsAsPeerDuplicates
public void linkElementsAsPeerDuplicates(String userId, String metadataElement1GUID, String metadataElement2GUID, int statusIdentifier, String steward, String stewardTypeName, String stewardPropertyName, String source, String notes, boolean setKnownDuplicate) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Link elements as peer duplicates. Create a simple relationship between two elements. If the relationship already exists, the properties are updated.- Specified by:
linkElementsAsPeerDuplicatesin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.DuplicateManagementInterface- Parameters:
userId- caller's userIdmetadataElement1GUID- unique identifier of the metadata element at end 1 of the relationshipmetadataElement2GUID- unique identifier of the metadata element at end 2 of the relationshipstatusIdentifier- what is the status of this relationship (negative means untrusted, 0 means unverified and positive means trusted)steward- identifier of the stewardstewardTypeName- type of element used to identify the stewardstewardPropertyName- property name used to identify stewardsource- source of the duplicate detection processingnotes- notes for the stewardsetKnownDuplicate- boolean flag indicating whether the KnownDuplicate classification should be set on the linked entities.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the unique identifier's of the metadata elements are null or invalid in some way; the properties are not valid for this type of relationshiporg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the caller is not authorized to create this type of relationshiporg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem with the metadata store
-
linkConsolidatedDuplicate
public void linkConsolidatedDuplicate(String userId, String consolidatedElementGUID, int statusIdentifier, String steward, String stewardTypeName, String stewardPropertyName, String source, String notes, List<String> sourceElementGUIDs) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Identify an element that acts as a consolidated version for a set of duplicate elements. (The consolidated element is created using createMetadataElement.)- Specified by:
linkConsolidatedDuplicatein interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.DuplicateManagementInterface- Parameters:
userId- caller's userIdconsolidatedElementGUID- unique identifier of the metadata elementstatusIdentifier- what is the status of this relationship (negative means untrusted, 0 means unverified and positive means trusted)steward- identifier of the stewardstewardTypeName- type of element used to identify the stewardstewardPropertyName- property name used to identify stewardsource- source of the duplicate detection processingnotes- notes for the stewardsourceElementGUIDs- List of the source elements that must be linked to the consolidated element. It is assumed that they already have the KnownDuplicateClassification.- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- the unique identifier's of the metadata elements are null or invalid in some way; the properties are not valid for this type of relationshiporg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the caller is not authorized to create this type of relationshiporg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem with the metadata store
-
createGovernanceActionType
public String createGovernanceActionType(String userId, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent a governance action type.- Specified by:
createGovernanceActionTypein interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionTypeInterface- Parameters:
userId- calling userproperties- properties about the governance action type to store- Returns:
- unique identifier of the new governance action type
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateGovernanceActionType
public void updateGovernanceActionType(String userId, String governanceActionTypeGUID, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the metadata element representing a governance action type.- Specified by:
updateGovernanceActionTypein interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionTypeInterface- Parameters:
userId- calling usergovernanceActionTypeGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?properties- new properties for the metadata element- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeGovernanceActionType
public void removeGovernanceActionType(String userId, String governanceActionTypeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the metadata element representing a governance action type.- Specified by:
removeGovernanceActionTypein interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionTypeInterface- Parameters:
userId- calling usergovernanceActionTypeGUID- unique identifier of the metadata element to remove- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
findGovernanceActionTypes
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeElement> findGovernanceActionTypes(String userId, String searchString, int startFrom, int pageSize, Date effectiveTime) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of governance action type metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findGovernanceActionTypesin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionTypeInterface- Parameters:
userId- calling usersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- effective date/time for query- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getGovernanceActionTypesByName
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeElement> getGovernanceActionTypesByName(String userId, String name, int startFrom, int pageSize, Date effectiveTime) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of governance action type metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getGovernanceActionTypesByNamein interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionTypeInterface- Parameters:
userId- calling username- name to search forstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- effective date/time for query- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getGovernanceActionTypeByGUID
public org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeElement getGovernanceActionTypeByGUID(String userId, String governanceActionTypeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the governance action type metadata element with the supplied unique identifier.- Specified by:
getGovernanceActionTypeByGUIDin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionTypeInterface- Parameters:
userId- calling usergovernanceActionTypeGUID- unique identifier of the governance action type- Returns:
- requested metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createGovernanceActionProcess
public String createGovernanceActionProcess(String userId, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessProperties processProperties, org.odpi.openmetadata.frameworks.openmetadata.enums.ProcessStatus initialStatus) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent a governance action process.- Specified by:
createGovernanceActionProcessin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessProperties- properties about the process to storeinitialStatus- status value for the new process (default = ACTIVE)- Returns:
- unique identifier of the new process
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateGovernanceActionProcess
public void updateGovernanceActionProcess(String userId, String processGUID, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.enums.ProcessStatus processStatus, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessProperties processProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the metadata element representing a governance action process.- Specified by:
updateGovernanceActionProcessin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?processStatus- new status for the processprocessProperties- new properties for the metadata element- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
publishGovernanceActionProcess
public void publishGovernanceActionProcess(String userId, String processGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.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 Governance Engine OMAS).- Specified by:
publishGovernanceActionProcessin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessGUID- unique identifier of the metadata element to publish- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
withdrawGovernanceActionProcess
public void withdrawGovernanceActionProcess(String userId, String processGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.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 Governance Engine OMAS. This is the setting when the process is first created).- Specified by:
withdrawGovernanceActionProcessin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessGUID- unique identifier of the metadata element to withdraw- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeGovernanceActionProcess
public void removeGovernanceActionProcess(String userId, String processGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the metadata element representing a governance action process.- Specified by:
removeGovernanceActionProcessin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessGUID- unique identifier of the metadata element to remove- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
findGovernanceActionProcesses
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessElement> findGovernanceActionProcesses(String userId, String searchString, int startFrom, int pageSize, Date effectiveTime) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of governance action process metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findGovernanceActionProcessesin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling usersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- effective date/time for query- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessesByName
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessElement> getGovernanceActionProcessesByName(String userId, String name, int startFrom, int pageSize, Date effectiveTime) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of governance action process metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getGovernanceActionProcessesByNamein interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling username- name to search forstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- effective date/time for query- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessByGUID
public org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessElement getGovernanceActionProcessByGUID(String userId, String processGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the governance action process metadata element with the supplied unique identifier.- Specified by:
getGovernanceActionProcessByGUIDin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessGUID- unique identifier of the requested metadata element- Returns:
- requested metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessGraph
public org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessGraph getGovernanceActionProcessGraph(String userId, String processGUID, Date effectiveTime) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the governance action process metadata element with the supplied unique identifier along with its process flow implementation. This includes the process steps and the links between them- Specified by:
getGovernanceActionProcessGraphin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessGUID- unique identifier of the requested metadata elementeffectiveTime- effective date/time for query- Returns:
- requested metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
createGovernanceActionProcessStep
public String createGovernanceActionProcessStep(String userId, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepProperties processStepProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a new metadata element to represent a governance action process step.- Specified by:
createGovernanceActionProcessStepin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessStepProperties- properties about the process step to store- Returns:
- unique identifier of the new governance action process step
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateGovernanceActionProcessStep
public void updateGovernanceActionProcessStep(String userId, String processStepGUID, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepProperties processStepProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the metadata element representing a governance action process step.- Specified by:
updateGovernanceActionProcessStepin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessStepGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?processStepProperties- new properties for the metadata element- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeGovernanceActionProcessStep
public void removeGovernanceActionProcessStep(String userId, String processStepGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the metadata element representing a governance action process step.- Specified by:
removeGovernanceActionProcessStepin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessStepGUID- unique identifier of the metadata element to remove- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
findGovernanceActionProcessSteps
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepElement> findGovernanceActionProcessSteps(String userId, String searchString, int startFrom, int pageSize, Date effectiveTime) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of governance action process step metadata elements that contain the search string. The search string is treated as a regular expression.- Specified by:
findGovernanceActionProcessStepsin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling usersearchString- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- effective date/time for query- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessStepsByName
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepElement> getGovernanceActionProcessStepsByName(String userId, String name, int startFrom, int pageSize, Date effectiveTime) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the list of governance action process step metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Specified by:
getGovernanceActionProcessStepsByNamein interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling username- name to search forstartFrom- paging start pointpageSize- maximum results that can be returnedeffectiveTime- effective date/time for query- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessStepByGUID
public org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepElement getGovernanceActionProcessStepByGUID(String userId, String processStepGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Retrieve the governance action process step metadata element with the supplied unique identifier.- Specified by:
getGovernanceActionProcessStepByGUIDin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessStepGUID- unique identifier of the governance action process step- Returns:
- requested metadata element
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupFirstActionProcessStep
public void setupFirstActionProcessStep(String userId, String processGUID, String processStepGUID, String guard) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Set up a link between a governance action process and a governance action process step. This defines the first step in the process.- Specified by:
setupFirstActionProcessStepin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessGUID- unique identifier of the governance action processprocessStepGUID- unique identifier of the governance action process stepguard- optional guard for the first governance service to run- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getFirstActionProcessStep
public org.odpi.openmetadata.frameworks.governanceaction.properties.FirstGovernanceActionProcessStepElement getFirstActionProcessStep(String userId, String processGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the governance action process step that is the first step in a governance action process.- Specified by:
getFirstActionProcessStepin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessGUID- unique identifier of the governance action process- Returns:
- properties of the first governance action process step
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeFirstActionProcessStep
public void removeFirstActionProcessStep(String userId, String processGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove the link between a governance process and that governance action process step that defines its first step.- Specified by:
removeFirstActionProcessStepin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessGUID- unique identifier of the governance action process- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupNextActionProcessStep
public String setupNextActionProcessStep(String userId, String currentActionProcessStepGUID, String nextActionProcessStepGUID, String guard, boolean mandatoryGuard) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Add a link between two governance action process steps to show that one follows on from the other when a governance action process is executing.- Specified by:
setupNextActionProcessStepin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling usercurrentActionProcessStepGUID- unique identifier of the governance action process step that defines the previous step in the governance action processnextActionProcessStepGUID- unique identifier of the governance action process step that defines the next step in the governance action processguard- guard required for this next step to proceed - or null for always run the next step.mandatoryGuard- means that no next steps can run if this guard is not returned- Returns:
- unique identifier of the new link
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateNextActionProcessStep
public void updateNextActionProcessStep(String userId, String nextProcessStepLinkGUID, String guard, boolean mandatoryGuard) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update the properties of the link between two governance action process steps that shows that one follows on from the other when a governance action process is executing.- Specified by:
updateNextActionProcessStepin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling usernextProcessStepLinkGUID- unique identifier of the relationship between the governance action process stepsguard- guard required for this next step to proceed - or null for always run the next step.mandatoryGuard- means that no next steps can run if this guard is not returned- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getNextGovernanceActionProcessSteps
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.NextGovernanceActionProcessStepElement> getNextGovernanceActionProcessSteps(String userId, String processStepGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the list of next action process step defined for the governance action process.- Specified by:
getNextGovernanceActionProcessStepsin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessStepGUID- 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:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
removeNextActionProcessStep
public void removeNextActionProcessStep(String userId, String processStepLinkGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove a follow-on step from a governance action process.- Specified by:
removeNextActionProcessStepin interfaceorg.odpi.openmetadata.frameworks.governanceaction.client.GovernanceActionProcessInterface- Parameters:
userId- calling userprocessStepLinkGUID- unique identifier of the relationship between the governance action process steps- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-