Class ActionAuthorRESTServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.viewservices.actionauthor.server.ActionAuthorRESTServices
The ActionAuthorRESTServices provides the implementation of the Action Author Open Metadata View Service (OMVS).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetachGovernanceActionExecutor(String serverName, String governanceActionTypeGUID, String governanceEngineGUID, DeleteRelationshipRequestBody requestBody) Detach a governance action type from the governance engine that it is to call.detachTargetForGovernanceAction(String serverName, String governanceActionGUID, String elementGUID, DeleteRelationshipRequestBody requestBody) Detach a governance action from the element it is to work on (action target).linkGovernanceActionExecutor(String serverName, String governanceActionTypeGUID, String governanceEngineGUID, NewRelationshipRequestBody requestBody) Link a governance action type to the governance engine that it is to call.linkTargetForGovernanceAction(String serverName, String governanceActionGUID, String elementGUID, NewRelationshipRequestBody requestBody) Link a governance action to the element it is to work on (action target).removeFirstProcessStep(String serverName, String processGUID, String firstProcessStepGUID, DeleteRelationshipRequestBody requestBody) Remove the link between a governance process and that governance action process step that defines its first step.removeNextActionProcessStep(String serverName, String actionLinkGUID, DeleteRelationshipRequestBody requestBody) Remove a follow-on step from a governance action process.setupFirstActionProcessStep(String serverName, String processGUID, String processStepGUID, NewRelationshipRequestBody requestBody) Set up a link between a governance action process and a governance action process step.setupNextActionProcessStep(String serverName, String currentProcessStepGUID, String nextProcessStepGUID, NewRelationshipRequestBody 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.updateNextActionProcessStep(String serverName, String nextProcessStepLinkGUID, UpdateRelationshipRequestBody 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.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
ActionAuthorRESTServices
public ActionAuthorRESTServices()Default constructor
-
-
Method Details
-
linkTargetForGovernanceAction
public VoidResponse linkTargetForGovernanceAction(String serverName, String governanceActionGUID, String elementGUID, NewRelationshipRequestBody requestBody) Link a governance action to the element it is to work on (action target).- Parameters:
serverName- name of the service to route the request togovernanceActionGUID- unique identifier of the governance actionelementGUID- unique identifier of the targetrequestBody- 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)
-
detachTargetForGovernanceAction
public VoidResponse detachTargetForGovernanceAction(String serverName, String governanceActionGUID, String elementGUID, DeleteRelationshipRequestBody requestBody) Detach a governance action from the element it is to work on (action target).- Parameters:
serverName- name of the service to route the request togovernanceActionGUID- unique identifier of the governance actionelementGUID- unique identifier of the targetrequestBody- 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)
-
linkGovernanceActionExecutor
public VoidResponse linkGovernanceActionExecutor(String serverName, String governanceActionTypeGUID, String governanceEngineGUID, NewRelationshipRequestBody requestBody) Link a governance action type to the governance engine that it is to call.- Parameters:
serverName- name of the service to route the request togovernanceActionTypeGUID- unique identifier of the governance action typegovernanceEngineGUID- unique identifier of the governance engine to callrequestBody- 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)
-
detachGovernanceActionExecutor
public VoidResponse detachGovernanceActionExecutor(String serverName, String governanceActionTypeGUID, String governanceEngineGUID, DeleteRelationshipRequestBody requestBody) Detach a governance action type from the governance engine that it is to call.- Parameters:
serverName- name of the service to route the request togovernanceActionTypeGUID- unique identifier of the governance action typegovernanceEngineGUID- unique identifier of the governance engine to callrequestBody- 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)
-
setupFirstActionProcessStep
public VoidResponse setupFirstActionProcessStep(String serverName, String processGUID, String processStepGUID, NewRelationshipRequestBody 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)
-
removeFirstProcessStep
public VoidResponse removeFirstProcessStep(String serverName, String processGUID, String firstProcessStepGUID, DeleteRelationshipRequestBody 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 processfirstProcessStepGUID- unique identifier of the first step in the 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 GUIDResponse setupNextActionProcessStep(String serverName, String currentProcessStepGUID, String nextProcessStepGUID, NewRelationshipRequestBody 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 VoidResponse updateNextActionProcessStep(String serverName, String nextProcessStepLinkGUID, UpdateRelationshipRequestBody 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)
-
removeNextActionProcessStep
public VoidResponse removeNextActionProcessStep(String serverName, String actionLinkGUID, DeleteRelationshipRequestBody 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)
-