Class ActionAuthorRESTServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.viewservices.actionauthor.server.ActionAuthorRESTServices
public class ActionAuthorRESTServices
extends org.odpi.openmetadata.tokencontroller.TokenController
The ActionAuthorRESTServices provides the implementation of the Action Author Open Metadata View Service (OMVS).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateGovernanceActionProcess(String serverName, org.odpi.openmetadata.frameworkservices.gaf.rest.NewGovernanceActionProcessRequestBody requestBody) Create a new metadata element to represent a governance action process.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateGovernanceActionProcessStep(String serverName, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepProperties requestBody) Create a new metadata element to represent a governance action process step.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateGovernanceActionType(String serverName, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeProperties requestBody) Create a new metadata element to represent a governance action type.org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessElementsResponsefindGovernanceActionProcesses(String serverName, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Retrieve the list of governance action process metadata elements that contain the search string.org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessStepsResponsefindGovernanceActionProcessSteps(String serverName, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Retrieve the list of governance action process step metadata elements that contain the search string.org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionTypesResponsefindGovernanceActionTypes(String serverName, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Retrieve the list of governance action type metadata elements that contain the search string.org.odpi.openmetadata.frameworkservices.gaf.rest.FirstGovernanceActionProcessStepResponsegetFirstActionProcessStep(String serverName, String processGUID) Return the governance action process step that is the first step in a governance action process.org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessElementResponsegetGovernanceActionProcessByGUID(String serverName, String processGUID) Retrieve the governance action process metadata element with the supplied unique identifier.org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessElementsResponsegetGovernanceActionProcessesByName(String serverName, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Retrieve the list of governance action process metadata elements with a matching qualified or display name.org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessGraphResponsegetGovernanceActionProcessGraph(String serverName, String processGUID, org.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody requestBody) Retrieve the governance action process metadata element with the supplied unique identifier along with the flow definition describing its implementation.org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessStepResponsegetGovernanceActionProcessStepByGUID(String serverName, String processStepGUID) Retrieve the governance action process step metadata element with the supplied unique identifier.org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessStepsResponsegetGovernanceActionProcessStepsByName(String serverName, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Retrieve the list of governance action process step metadata elements with a matching qualified or display name.org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionTypeResponsegetGovernanceActionTypeByGUID(String serverName, String governanceActionTypeGUID) Retrieve the governance action type metadata element with the supplied unique identifier.org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionTypesResponsegetGovernanceActionTypesByName(String serverName, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Retrieve the list of governance action type metadata elements with a matching qualified or display name.org.odpi.openmetadata.frameworkservices.gaf.rest.NextGovernanceActionProcessStepsResponsegetNextProcessSteps(String serverName, String processStepGUID, int startFrom, int pageSize) Return the list of next action process step defined for the governance action process.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsepublishGovernanceActionProcess(String serverName, String processGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Update the zones for the asset so that it becomes visible to consumers.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveFirstProcessStep(String serverName, String processGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Remove the link between a governance process and that governance action process step that defines its first step.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveGovernanceActionProcess(String serverName, String processGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Remove the metadata element representing a governance action process.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveGovernanceActionProcessStep(String serverName, String processStepGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Remove the metadata element representing a governance action process step.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveGovernanceActionType(String serverName, String governanceActionTypeGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Remove the metadata element representing a governance action type.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveNextActionProcessStep(String serverName, String actionLinkGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Remove a follow-on step from a governance action process.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetupFirstActionProcessStep(String serverName, String processGUID, String processStepGUID, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Set up a link between a governance action process and a governance action process step.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsesetupNextActionProcessStep(String serverName, String currentProcessStepGUID, String nextProcessStepGUID, org.odpi.openmetadata.frameworkservices.gaf.rest.NextGovernanceActionProcessStepRequestBody requestBody) 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.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateGovernanceActionProcess(String serverName, String processGUID, org.odpi.openmetadata.frameworkservices.gaf.rest.UpdateGovernanceActionProcessRequestBody requestBody) Update the metadata element representing a governance action process.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateGovernanceActionProcessStep(String serverName, String processStepGUID, org.odpi.openmetadata.frameworkservices.gaf.rest.UpdateGovernanceActionProcessStepRequestBody requestBody) Update the metadata element representing a governance action process step.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateGovernanceActionType(String serverName, String governanceActionTypeGUID, org.odpi.openmetadata.frameworkservices.gaf.rest.UpdateGovernanceActionTypeRequestBody requestBody) Update the metadata element representing a governance action type.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateNextActionProcessStep(String serverName, String nextProcessStepLinkGUID, org.odpi.openmetadata.frameworkservices.gaf.rest.NextGovernanceActionProcessStepRequestBody requestBody) 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.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsewithdrawGovernanceActionProcess(String serverName, String processGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Update the zones for the asset so that it is no longer visible to consumers.
-
Constructor Details
-
ActionAuthorRESTServices
public ActionAuthorRESTServices()Default constructor
-
-
Method Details
-
createGovernanceActionType
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createGovernanceActionType(String serverName, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionTypeProperties requestBody) Create a new metadata element to represent a governance action type.- Parameters:
serverName- name of the service to route the request torequestBody- properties about the process to store- Returns:
- unique identifier of the new governance action type or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
updateGovernanceActionType
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateGovernanceActionType(String serverName, String governanceActionTypeGUID, org.odpi.openmetadata.frameworkservices.gaf.rest.UpdateGovernanceActionTypeRequestBody requestBody) Update the metadata element representing a governance action type.- Parameters:
serverName- name of the service to route the request togovernanceActionTypeGUID- unique identifier of the metadata element to updaterequestBody- new properties for the metadata element- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
removeGovernanceActionType
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeGovernanceActionType(String serverName, String governanceActionTypeGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Remove the metadata element representing a governance action type.- Parameters:
serverName- name of the service to route the request togovernanceActionTypeGUID- unique identifier of the metadata element to removerequestBody- null request body- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
findGovernanceActionTypes
public org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionTypesResponse findGovernanceActionTypes(String serverName, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Retrieve the list of governance action type metadata elements that contain the search string.- Parameters:
serverName- name of the service to route the request tostartsWith- does the value start with the supplied string?endsWith- does the value end with the supplied string?ignoreCase- should the search ignore case?startFrom- paging start pointpageSize- maximum results that can be returnedrequestBody- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getGovernanceActionTypesByName
public org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionTypesResponse getGovernanceActionTypesByName(String serverName, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Retrieve the list of governance action type metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the service to route the request tostartFrom- paging start pointpageSize- maximum results that can be returnedrequestBody- name to search for- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getGovernanceActionTypeByGUID
public org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionTypeResponse getGovernanceActionTypeByGUID(String serverName, String governanceActionTypeGUID) Retrieve the governance action type metadata element with the supplied unique identifier.- Parameters:
serverName- name of the service to route the request togovernanceActionTypeGUID- unique identifier of the governance action type- Returns:
- requested metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
createGovernanceActionProcess
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createGovernanceActionProcess(String serverName, org.odpi.openmetadata.frameworkservices.gaf.rest.NewGovernanceActionProcessRequestBody requestBody) Create a new metadata element to represent a governance action process.- Parameters:
serverName- name of the service to route the request torequestBody- properties about the process to store and status value for the new process (default = ACTIVE)- Returns:
- unique identifier of the new process or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
updateGovernanceActionProcess
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateGovernanceActionProcess(String serverName, String processGUID, org.odpi.openmetadata.frameworkservices.gaf.rest.UpdateGovernanceActionProcessRequestBody requestBody) Update the metadata element representing a governance action process.- Parameters:
serverName- name of the service to route the request toprocessGUID- unique identifier of the metadata element to updaterequestBody- new properties for the metadata element- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
publishGovernanceActionProcess
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse publishGovernanceActionProcess(String serverName, String processGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Update the zones for the asset so that it becomes visible to consumers. (The zones are set to the list of zones in the publishedZones option configured for each instance of the Asset Manager OMAS).- Parameters:
serverName- name of the service to route the request toprocessGUID- unique identifier of the metadata element to publishrequestBody- null request body- Returns:
- InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
withdrawGovernanceActionProcess
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse withdrawGovernanceActionProcess(String serverName, String processGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Update the zones for the asset so that it is no longer visible to consumers. (The zones are set to the list of zones in the defaultZones option configured for each instance of the Asset Manager OMAS. This is the setting when the process is first created).- Parameters:
serverName- name of the service to route the request toprocessGUID- unique identifier of the metadata element to withdrawrequestBody- null request body- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
removeGovernanceActionProcess
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeGovernanceActionProcess(String serverName, String processGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Remove the metadata element representing a governance action process.- Parameters:
serverName- name of the service to route the request toprocessGUID- unique identifier of the metadata element to removerequestBody- null request body- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
findGovernanceActionProcesses
public org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessElementsResponse findGovernanceActionProcesses(String serverName, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Retrieve the list of governance action process metadata elements that contain the search string.- Parameters:
serverName- name of the service to route the request tostartsWith- does the value start with the supplied string?endsWith- does the value end with the supplied string?ignoreCase- should the search ignore case?startFrom- paging start pointpageSize- maximum results that can be returnedrequestBody- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessesByName
public org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessElementsResponse getGovernanceActionProcessesByName(String serverName, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Retrieve the list of governance action process metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the service to route the request tostartFrom- paging start pointpageSize- maximum results that can be returnedrequestBody- name to search for- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessByGUID
public org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessElementResponse getGovernanceActionProcessByGUID(String serverName, String processGUID) Retrieve the governance action process metadata element with the supplied unique identifier.- Parameters:
serverName- name of the service to route the request toprocessGUID- unique identifier of the requested metadata element- Returns:
- requested metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessGraph
public org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessGraphResponse getGovernanceActionProcessGraph(String serverName, String processGUID, org.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody requestBody) Retrieve the governance action process metadata element with the supplied unique identifier along with the flow definition describing its implementation.- Parameters:
serverName- name of the service to route the request toprocessGUID- unique identifier of the requested metadata elementrequestBody- effectiveTime- Returns:
- requested metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
createGovernanceActionProcessStep
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createGovernanceActionProcessStep(String serverName, org.odpi.openmetadata.frameworks.governanceaction.properties.GovernanceActionProcessStepProperties requestBody) Create a new metadata element to represent a governance action process step.- Parameters:
serverName- name of the service to route the request torequestBody- properties about the process to store- Returns:
- unique identifier of the new governance action process step or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
updateGovernanceActionProcessStep
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateGovernanceActionProcessStep(String serverName, String processStepGUID, org.odpi.openmetadata.frameworkservices.gaf.rest.UpdateGovernanceActionProcessStepRequestBody requestBody) Update the metadata element representing a governance action process step.- Parameters:
serverName- name of the service to route the request toprocessStepGUID- unique identifier of the metadata element to updaterequestBody- new properties for the metadata element- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
removeGovernanceActionProcessStep
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeGovernanceActionProcessStep(String serverName, String processStepGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Remove the metadata element representing a governance action process step.- Parameters:
serverName- name of the service to route the request toprocessStepGUID- unique identifier of the metadata element to removerequestBody- null request body- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
findGovernanceActionProcessSteps
public org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessStepsResponse findGovernanceActionProcessSteps(String serverName, boolean startsWith, boolean endsWith, boolean ignoreCase, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Retrieve the list of governance action process step metadata elements that contain the search string.- Parameters:
serverName- name of the service to route the request tostartsWith- does the value start with the supplied string?endsWith- does the value end with the supplied string?ignoreCase- should the search ignore case?startFrom- paging start pointpageSize- maximum results that can be returnedrequestBody- string to find in the properties- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessStepsByName
public org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessStepsResponse getGovernanceActionProcessStepsByName(String serverName, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) 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.- Parameters:
serverName- name of the service to route the request tostartFrom- paging start pointpageSize- maximum results that can be returnedrequestBody- name to search for- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getGovernanceActionProcessStepByGUID
public org.odpi.openmetadata.frameworkservices.gaf.rest.GovernanceActionProcessStepResponse getGovernanceActionProcessStepByGUID(String serverName, String processStepGUID) Retrieve the governance action process step metadata element with the supplied unique identifier.- Parameters:
serverName- name of the service to route the request toprocessStepGUID- unique identifier of the governance action process step- Returns:
- requested metadata element or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
setupFirstActionProcessStep
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupFirstActionProcessStep(String serverName, String processGUID, String processStepGUID, org.odpi.openmetadata.commonservices.ffdc.rest.FilterRequestBody requestBody) Set up a link between a governance action process and a governance action process step. This defines the first step in the process.- Parameters:
serverName- name of the service to route the request toprocessGUID- unique identifier of the governance action processprocessStepGUID- unique identifier of the governance action process steprequestBody- optional guard- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getFirstActionProcessStep
public org.odpi.openmetadata.frameworkservices.gaf.rest.FirstGovernanceActionProcessStepResponse getFirstActionProcessStep(String serverName, String processGUID) Return the governance action process step that is the first step in a governance action process.- Parameters:
serverName- name of the service to route the request toprocessGUID- unique identifier of the governance action process- Returns:
- properties of the governance action process step or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
removeFirstProcessStep
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeFirstProcessStep(String serverName, String processGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Remove the link between a governance process and that governance action process step that defines its first step.- Parameters:
serverName- name of the service to route the request toprocessGUID- unique identifier of the governance action processrequestBody- null request body- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
setupNextActionProcessStep
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse setupNextActionProcessStep(String serverName, String currentProcessStepGUID, String nextProcessStepGUID, org.odpi.openmetadata.frameworkservices.gaf.rest.NextGovernanceActionProcessStepRequestBody requestBody) 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.- Parameters:
serverName- name of the service to route the request tocurrentProcessStepGUID- unique identifier of the governance action process step that defines the previous step in the governance action processnextProcessStepGUID- unique identifier of the governance action process step that defines the next step in the governance action processrequestBody- guard required for this next step to proceed - or null for always run the next step plus flags.- Returns:
- unique identifier of the new link or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
updateNextActionProcessStep
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateNextActionProcessStep(String serverName, String nextProcessStepLinkGUID, org.odpi.openmetadata.frameworkservices.gaf.rest.NextGovernanceActionProcessStepRequestBody requestBody) 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.- Parameters:
serverName- name of the service to route the request tonextProcessStepLinkGUID- unique identifier of the relationship between the governance action process stepsrequestBody- guard required for this next step to proceed - or null for always run the next step - and flags- Returns:
- void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getNextProcessSteps
public org.odpi.openmetadata.frameworkservices.gaf.rest.NextGovernanceActionProcessStepsResponse getNextProcessSteps(String serverName, String processStepGUID, int startFrom, int pageSize) Return the list of next action process step defined for the governance action process.- Parameters:
serverName- name of the service to route the request toprocessStepGUID- 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 or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
removeNextActionProcessStep
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeNextActionProcessStep(String serverName, String actionLinkGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Remove a follow-on step from a governance action process.- Parameters:
serverName- name of the service to route the request toactionLinkGUID- unique identifier of the relationship between the governance action process stepsrequestBody- null request body- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-