Class GovernanceExchangeRESTServices
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.server.GovernanceExchangeRESTServices
The GovernanceActionProcessRESTServices provides the server-side implementation of the services used by an external user to
define governance action processes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionProcessElementsResponsefindGovernanceActionProcesses(String serverName, String userId, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Retrieve the list of governance action process metadata elements that contain the search string.org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionTypeElementsResponsefindGovernanceActionTypes(String serverName, String userId, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Retrieve the list of governance action type metadata elements that contain the search string.org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionElementsResponsegetActiveGovernanceActions(String serverName, String userId, int startFrom, int pageSize) Retrieve the governance actions that are still in process.org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionTypeElementResponsegetFirstActionType(String serverName, String userId, String processGUID) Return the governance action type that is the first step in a governance action process.org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionElementResponsegetGovernanceAction(String serverName, String userId, String governanceActionGUID) Request the status and properties of an executing governance action request.org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionProcessElementResponsegetGovernanceActionProcessByGUID(String serverName, String userId, String processGUID) Retrieve the governance action process metadata element with the supplied unique identifier.org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionProcessElementsResponsegetGovernanceActionProcessesByName(String serverName, String userId, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody) Retrieve the list of governance action process metadata elements with a matching qualified or display name.org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionElementsResponsegetGovernanceActions(String serverName, String userId, int startFrom, int pageSize) Retrieve the governance actions that are known to the server.org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionTypeElementResponsegetGovernanceActionTypeByGUID(String serverName, String userId, String actionTypeGUID) Retrieve the governance action type metadata element with the supplied unique identifier.org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionTypeElementsResponsegetGovernanceActionTypesByName(String serverName, String userId, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody) Retrieve the list of governance action type metadata elements with a matching qualified or display name.org.odpi.openmetadata.accessservices.assetmanager.rest.NextGovernanceActionTypeElementsResponsegetNextGovernanceActionTypes(String serverName, String userId, String actionTypeGUID, int startFrom, int pageSize) Return the lust of next action type defined for the governance action process.
-
Constructor Details
-
GovernanceExchangeRESTServices
public GovernanceExchangeRESTServices()Default constructor
-
-
Method Details
-
findGovernanceActionProcesses
public org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionProcessElementsResponse findGovernanceActionProcesses(String serverName, String userId, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Retrieve the list of governance action process metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the service to route the request touserId- calling userstartFrom- 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.accessservices.assetmanager.rest.GovernanceActionProcessElementsResponse getGovernanceActionProcessesByName(String serverName, String userId, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody 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 touserId- calling userstartFrom- 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.accessservices.assetmanager.rest.GovernanceActionProcessElementResponse getGovernanceActionProcessByGUID(String serverName, String userId, String processGUID) Retrieve the governance action process metadata element with the supplied unique identifier.- Parameters:
serverName- name of the service to route the request touserId- calling userprocessGUID- 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)
-
findGovernanceActionTypes
public org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionTypeElementsResponse findGovernanceActionTypes(String serverName, String userId, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Retrieve the list of governance action type metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the service to route the request touserId- calling userstartFrom- 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.accessservices.assetmanager.rest.GovernanceActionTypeElementsResponse getGovernanceActionTypesByName(String serverName, String userId, int startFrom, int pageSize, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody 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 touserId- calling userstartFrom- 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.accessservices.assetmanager.rest.GovernanceActionTypeElementResponse getGovernanceActionTypeByGUID(String serverName, String userId, String actionTypeGUID) Retrieve the governance action type metadata element with the supplied unique identifier.- Parameters:
serverName- name of the service to route the request touserId- calling useractionTypeGUID- 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)
-
getFirstActionType
public org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionTypeElementResponse getFirstActionType(String serverName, String userId, String processGUID) Return the governance action type that is the first step in a governance action process.- Parameters:
serverName- name of the service to route the request touserId- calling userprocessGUID- unique identifier of the governance action process- Returns:
- properties of the 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)
-
getNextGovernanceActionTypes
public org.odpi.openmetadata.accessservices.assetmanager.rest.NextGovernanceActionTypeElementsResponse getNextGovernanceActionTypes(String serverName, String userId, String actionTypeGUID, int startFrom, int pageSize) Return the lust of next action type defined for the governance action process.- Parameters:
serverName- name of the service to route the request touserId- calling useractionTypeGUID- unique identifier of the current governance action typestartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- return the list of relationships and attached governance action types 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)
-
getGovernanceAction
public org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionElementResponse getGovernanceAction(String serverName, String userId, String governanceActionGUID) Request the status and properties of an executing governance action request.- Parameters:
serverName- name of server instance to route request touserId- identifier of calling usergovernanceActionGUID- identifier of the governance action request.- Returns:
- governance action properties and status or InvalidParameterException one of the parameters is null or invalid. UserNotAuthorizedException user not authorized to issue this request. PropertyServerException there was a problem detected by the metadata store.
-
getGovernanceActions
public org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionElementsResponse getGovernanceActions(String serverName, String userId, int startFrom, int pageSize) Retrieve the governance actions that are known to the server.- Parameters:
serverName- name of server instance to route request touserId- userId of callerstartFrom- starting from elementpageSize- maximum elements to return- Returns:
- list of governance action elements or InvalidParameterException one of the parameters is null or invalid. UserNotAuthorizedException user not authorized to issue this request. PropertyServerException there was a problem detected by the metadata store.
-
getActiveGovernanceActions
public org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceActionElementsResponse getActiveGovernanceActions(String serverName, String userId, int startFrom, int pageSize) Retrieve the governance actions that are still in process.- Parameters:
serverName- name of server instance to route request touserId- userId of callerstartFrom- starting from elementpageSize- maximum elements to return- Returns:
- list of governance action elements or InvalidParameterException one of the parameters is null or invalid. UserNotAuthorizedException user not authorized to issue this request. PropertyServerException there was a problem detected by the metadata store.
-