public class GovernanceEngineClient extends Object implements MetadataElementInterface, GovernanceProcessingInterface
| Constructor and Description |
|---|
GovernanceEngineClient(String serverName,
String serverPlatformURLRoot)
Create a new client with no authentication embedded in the HTTP request.
|
GovernanceEngineClient(String serverName,
String serverPlatformURLRoot,
GovernanceEngineRESTClient restClient,
int maxPageSize)
Create a new client that passes userId and password in each HTTP request.
|
GovernanceEngineClient(String serverName,
String serverPlatformURLRoot,
String serverUserId,
String serverPassword)
Create a new client that passes userId and password in each HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
claimGovernanceAction(String userId,
String governanceActionGUID)
Request that execution of a governance action is allocated to the caller.
|
void |
classifyMetadataElementInStore(String userId,
String metadataElementGUID,
String classificationName,
Date effectiveFrom,
Date effectiveTo,
ElementProperties properties)
Add a new classification to the metadata element.
|
String |
createIncidentReport(String userId,
String qualifiedName,
int domainIdentifier,
String background,
List<IncidentImpactedElement> impactedResources,
List<IncidentDependency> previousIncidents,
Map<String,Integer> incidentClassifiers,
Map<String,String> additionalProperties,
String originatorGUID)
Create an incident report to capture the situation detected by this governance action service.
|
String |
createMetadataElementInStore(String userId,
String metadataElementTypeName,
ElementStatus initialStatus,
Date effectiveFrom,
Date effectiveTo,
ElementProperties properties,
String templateGUID)
Create a new metadata element in the metadata store.
|
String |
createRelatedElementsInStore(String userId,
String relationshipTypeName,
String metadataElement1GUID,
String metadataElement2GUID,
Date effectiveFrom,
Date effectiveTo,
ElementProperties properties)
Create a relationship between two metadata elements.
|
void |
deleteMetadataElementInStore(String userId,
String metadataElementGUID)
Delete a specific metadata element.
|
void |
deleteRelatedElementsInStore(String userId,
String relationshipGUID)
Delete a relationship between two metadata elements.
|
List<OpenMetadataElement> |
findMetadataElements(String userId,
String metadataElementTypeName,
List<String> metadataElementSubtypeName,
SearchProperties searchProperties,
List<ElementStatus> limitResultsByStatus,
SearchClassifications matchClassifications,
String sequencingProperty,
SequencingOrder sequencingOrder,
int startFrom,
int pageSize)
Return a list of metadata elements that match the supplied criteria.
|
List<OpenMetadataElement> |
findMetadataElementsWithString(String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the metadata elements that contain the requested string.
|
List<RelatedMetadataElements> |
findRelationshipsBetweenMetadataElements(String userId,
String relationshipTypeName,
SearchProperties searchProperties,
String sequencingProperty,
SequencingOrder sequencingOrder,
int startFrom,
int pageSize)
Return a list of relationships that match the requested conditions.
|
List<GovernanceActionElement> |
getActiveClaimedGovernanceActions(String userId,
String governanceEngineGUID,
int startFrom,
int pageSize)
Retrieve the governance actions that are still in process and that have been claimed by this caller's userId.
|
GovernanceActionElement |
getGovernanceAction(String userId,
String governanceActionGUID)
Request the status of an executing governance action request.
|
OpenMetadataElement |
getMetadataElementByGUID(String userId,
String elementGUID)
Retrieve the metadata element using its unique identifier.
|
List<RelatedMetadataElement> |
getRelatedMetadataElements(String userId,
String elementGUID,
String relationshipTypeName,
int startFrom,
int pageSize)
Retrieve the metadata elements connected to the supplied element.
|
String |
initiateGovernanceAction(String userId,
String qualifiedName,
int domainIdentifier,
String displayName,
String description,
List<String> requestSourceGUIDs,
List<String> actionTargetGUIDs,
List<String> receivedGuards,
Date startTime,
String governanceEngineName,
String requestType,
Map<String,String> requestParameters,
String originatorServiceName,
String originatorEngineName)
Create a governance action in the metadata store which will trigger the governance action service
associated with the supplied request type.
|
String |
initiateGovernanceActionProcess(String userId,
String processQualifiedName,
List<String> requestSourceGUIDs,
List<String> actionTargetGUIDs,
Date startTime,
Map<String,String> requestParameters,
String originatorServiceName,
String originatorEngineName)
Using the named governance action process as a template, initiate a chain of governance actions.
|
void |
reclassifyMetadataElementInStore(String userId,
String metadataElementGUID,
String classificationName,
boolean replaceProperties,
ElementProperties properties)
Update the properties of a classification that is currently attached to a specific metadata element.
|
void |
recordCompletionStatus(String userId,
String governanceActionGUID,
Map<String,String> requestParameters,
CompletionStatus status,
List<String> outputGuards,
List<String> newActionTargetGUIDs)
Declare that all of the processing for the governance action service is finished and the status of the work.
|
void |
unclassifyMetadataElementInStore(String userId,
String metadataElementGUID,
String classificationName)
Remove the named classification from a specific metadata element.
|
void |
updateActionTargetStatus(String userId,
String actionTargetGUID,
GovernanceActionStatus status,
Date startDate,
Date completionDate)
Update the status of a specific action target.
|
void |
updateClassificationStatusInStore(String userId,
String metadataElementGUID,
String classificationName,
Date effectiveFrom,
Date effectiveTo)
Update the effectivity dates of a specific classification attached to a metadata element.
|
void |
updateGovernanceActionStatus(String userId,
String governanceActionGUID,
GovernanceActionStatus governanceActionStatus)
Update the status of the governance action - providing the caller is permitted.
|
void |
updateMetadataElementInStore(String userId,
String metadataElementGUID,
boolean replaceProperties,
ElementProperties properties)
Update the properties of a specific metadata element.
|
void |
updateMetadataElementStatusInStore(String userId,
String metadataElementGUID,
ElementStatus newElementStatus,
Date effectiveFrom,
Date effectiveTo)
Update the status of specific metadata element.
|
void |
updateRelatedElementsInStore(String userId,
String relationshipGUID,
boolean replaceProperties,
ElementProperties properties)
Update the properties associated with a relationship.
|
void |
updateRelatedElementsStatusInStore(String userId,
String relationshipGUID,
Date effectiveFrom,
Date effectiveTo)
Update the effectivity dates of a specific relationship between metadata elements.
|
public GovernanceEngineClient(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public GovernanceEngineClient(String serverName, String serverPlatformURLRoot, String serverUserId, String serverPassword) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversserverUserId - caller's userId embedded in all HTTP requestsserverPassword - caller's userId embedded in all HTTP requestsInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public GovernanceEngineClient(String serverName, String serverPlatformURLRoot, GovernanceEngineRESTClient restClient, int maxPageSize) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversrestClient - pre-initialized REST clientmaxPageSize - pre-initialized parameter limitInvalidParameterException - there is a problem with the information about the remote OMASpublic OpenMetadataElement getMetadataElementByGUID(String userId, String elementGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getMetadataElementByGUID in interface MetadataElementInterfaceuserId - caller's userIdelementGUID - unique identifier for the metadata elementInvalidParameterException - the unique identifier is null or not known.UserNotAuthorizedException - the governance action service is not able to access the elementPropertyServerException - there is a problem accessing the metadata storepublic List<OpenMetadataElement> findMetadataElementsWithString(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
findMetadataElementsWithString in interface MetadataElementInterfaceuserId - caller's userIdsearchString - name to retrievestartFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - the qualified name is nullUserNotAuthorizedException - the governance action service is not able to access the elementPropertyServerException - there is a problem accessing the metadata storepublic List<RelatedMetadataElement> getRelatedMetadataElements(String userId, String elementGUID, String relationshipTypeName, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getRelatedMetadataElements in interface MetadataElementInterfaceuserId - caller's userIdelementGUID - unique identifier for the starting metadata elementrelationshipTypeName - type name of relationships to follow (or null for all)startFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - the unique identifier is null or not known; the relationship type is invalidUserNotAuthorizedException - the governance action service is not able to access the elementsPropertyServerException - there is a problem accessing the metadata storepublic List<OpenMetadataElement> findMetadataElements(String userId, String metadataElementTypeName, List<String> metadataElementSubtypeName, SearchProperties searchProperties, List<ElementStatus> limitResultsByStatus, SearchClassifications matchClassifications, String sequencingProperty, SequencingOrder sequencingOrder, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
findMetadataElements in interface MetadataElementInterfaceuserId - caller's userIdmetadataElementTypeName - type of interest (null means any element type)metadataElementSubtypeName - optional list of the subtypes of the metadataElementTypeName to
include in the search results. Null means all subtypes.searchProperties - Optional list of entity property conditions to match.limitResultsByStatus - By default, entities in all statuses (other than DELETE) are returned. However, it is possible
to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all status values.matchClassifications - Optional list of classifications to match.sequencingProperty - String name of the property that is to be used to sequence the results.
Null means do not sequence on a property name (see SequencingOrder).sequencingOrder - Enum defining how the results should be ordered.startFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the search parameters are is invalidUserNotAuthorizedException - the governance action service is not able to access the elementsPropertyServerException - there is a problem accessing the metadata storepublic List<RelatedMetadataElements> findRelationshipsBetweenMetadataElements(String userId, String relationshipTypeName, SearchProperties searchProperties, String sequencingProperty, SequencingOrder sequencingOrder, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
findRelationshipsBetweenMetadataElements in interface MetadataElementInterfaceuserId - caller's userIdrelationshipTypeName - relationship's type. Null means all types
(but may be slow so not recommended).searchProperties - Optional list of relationship property conditions to match.sequencingProperty - String name of the property that is to be used to sequence the results.
Null means do not sequence on a property name (see SequencingOrder).sequencingOrder - Enum defining how the results should be ordered.startFrom - paging start pointpageSize - maximum results that can be returnedInvalidParameterException - one of the search parameters are is invalidUserNotAuthorizedException - the governance action service is not able to access the elementsPropertyServerException - there is a problem accessing the metadata storepublic String createMetadataElementInStore(String userId, String metadataElementTypeName, ElementStatus initialStatus, Date effectiveFrom, Date effectiveTo, ElementProperties properties, String templateGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
createMetadataElementInStore in interface MetadataElementInterfaceuserId - caller's userIdmetadataElementTypeName - type name of the new metadata elementinitialStatus - initial status of the metadata elementeffectiveFrom - the date when this element is active - null for active on creationeffectiveTo - the date when this element becomes inactive - null for active until deletedproperties - properties of the new metadata elementtemplateGUID - the unique identifier of the existing asset to copy (this will copy all of the attachments such as nested content, schema
connection etc)InvalidParameterException - the type name, status or one of the properties is invalidUserNotAuthorizedException - the governance action service is not authorized to create this type of elementPropertyServerException - there is a problem with the metadata storepublic void updateMetadataElementInStore(String userId, String metadataElementGUID, boolean replaceProperties, ElementProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
updateMetadataElementInStore in interface MetadataElementInterfaceuserId - caller's userIdmetadataElementGUID - unique identifier of the metadata element to updatereplaceProperties - flag to indicate whether to completely replace the existing properties with the new properties, or just update
the individual properties specified on the request.properties - new properties for the metadata elementInvalidParameterException - either the unique identifier or the properties are invalid in some wayUserNotAuthorizedException - the governance action service is not authorized to update this elementPropertyServerException - there is a problem with the metadata storepublic void updateMetadataElementStatusInStore(String userId, String metadataElementGUID, ElementStatus newElementStatus, Date effectiveFrom, Date effectiveTo) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
updateMetadataElementStatusInStore in interface MetadataElementInterfaceuserId - caller's userIdmetadataElementGUID - unique identifier of the metadata element to updatenewElementStatus - new status value - or null to leave as iseffectiveFrom - the date when this element is active - null for active noweffectiveTo - the date when this element becomes inactive - null for active until deletedInvalidParameterException - either the unique identifier or the status are invalid in some wayUserNotAuthorizedException - the governance action service is not authorized to update this elementPropertyServerException - there is a problem with the metadata storepublic void deleteMetadataElementInStore(String userId, String metadataElementGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
deleteMetadataElementInStore in interface MetadataElementInterfaceuserId - caller's userIdmetadataElementGUID - unique identifier of the metadata element to updateInvalidParameterException - the unique identifier is null or invalid in some wayUserNotAuthorizedException - the governance action service is not authorized to delete this elementPropertyServerException - there is a problem with the metadata storepublic void classifyMetadataElementInStore(String userId, String metadataElementGUID, String classificationName, Date effectiveFrom, Date effectiveTo, ElementProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
classifyMetadataElementInStore in interface MetadataElementInterfaceuserId - caller's userIdmetadataElementGUID - unique identifier of the metadata element to updateclassificationName - name of the classification to add (if the classification is already present then use reclassify)effectiveFrom - the date when this classification is active - null for active noweffectiveTo - the date when this classification becomes inactive - null for active until deletedproperties - properties to store in the new classification. These must conform to the valid properties associated with the
classification nameInvalidParameterException - the unique identifier or classification name is null or invalid in some way; properties do not match the
valid properties associated with the classification's type definitionUserNotAuthorizedException - the governance action service is not authorized to update this elementPropertyServerException - there is a problem with the metadata storepublic void reclassifyMetadataElementInStore(String userId, String metadataElementGUID, String classificationName, boolean replaceProperties, ElementProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
reclassifyMetadataElementInStore in interface MetadataElementInterfaceuserId - caller's userIdmetadataElementGUID - unique identifier of the metadata element to updateclassificationName - unique name of the classification to updatereplaceProperties - flag to indicate whether to completely replace the existing properties with the new properties, or just update
the individual properties specified on the request.properties - new properties for the classificationInvalidParameterException - the unique identifier or classification name is null or invalid in some way; properties do not match the
valid properties associated with the classification's type definitionUserNotAuthorizedException - the governance action service is not authorized to update this element/classificationPropertyServerException - there is a problem with the metadata storepublic void updateClassificationStatusInStore(String userId, String metadataElementGUID, String classificationName, Date effectiveFrom, Date effectiveTo) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
updateClassificationStatusInStore in interface MetadataElementInterfaceuserId - caller's userIdmetadataElementGUID - unique identifier of the metadata element to updateclassificationName - unique name of the classification to updateeffectiveFrom - the date when this element is active - null for active noweffectiveTo - the date when this element becomes inactive - null for active until deletedInvalidParameterException - either the unique identifier or the status are invalid in some wayUserNotAuthorizedException - the governance action service is not authorized to update this elementPropertyServerException - there is a problem with the metadata storepublic void unclassifyMetadataElementInStore(String userId, String metadataElementGUID, String classificationName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
unclassifyMetadataElementInStore in interface MetadataElementInterfaceuserId - caller's userIdmetadataElementGUID - unique identifier of the metadata element to updateclassificationName - unique name of the classification to removeInvalidParameterException - the unique identifier or classification name is null or invalid in some wayUserNotAuthorizedException - the governance action service is not authorized to remove this classificationPropertyServerException - there is a problem with the metadata storepublic String createRelatedElementsInStore(String userId, String relationshipTypeName, String metadataElement1GUID, String metadataElement2GUID, Date effectiveFrom, Date effectiveTo, ElementProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
createRelatedElementsInStore in interface MetadataElementInterfaceuserId - caller's userIdrelationshipTypeName - name of the type of relationship to create. This will determine the types of metadata elements that can be
related and the properties that can be associated with this relationship.metadataElement1GUID - unique identifier of the metadata element at end 1 of the relationshipmetadataElement2GUID - unique identifier of the metadata element at end 2 of the relationshipeffectiveFrom - the date when this element is active - null for active noweffectiveTo - the date when this element becomes inactive - null for active until deletedproperties - the properties of the relationshipInvalidParameterException - the unique identifier's of the metadata elements are null or invalid in some way; the properties are
not valid for this type of relationshipUserNotAuthorizedException - the governance action service is not authorized to create this type of relationshipPropertyServerException - there is a problem with the metadata storepublic void updateRelatedElementsInStore(String userId, String relationshipGUID, boolean replaceProperties, ElementProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
updateRelatedElementsInStore in interface MetadataElementInterfaceuserId - caller's userIdrelationshipGUID - unique identifier of the relationship to updatereplaceProperties - flag to indicate whether to completely replace the existing properties with the new properties, or just update
the individual properties specified on the request.properties - new properties for the relationshipInvalidParameterException - the unique identifier of the relationship is null or invalid in some way; the properties are
not valid for this type of relationshipUserNotAuthorizedException - the governance action service is not authorized to update this relationshipPropertyServerException - there is a problem with the metadata storepublic void updateRelatedElementsStatusInStore(String userId, String relationshipGUID, Date effectiveFrom, Date effectiveTo) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
updateRelatedElementsStatusInStore in interface MetadataElementInterfaceuserId - caller's userIdrelationshipGUID - unique identifier of the relationship to updateeffectiveFrom - the date when this element is active - null for active noweffectiveTo - the date when this element becomes inactive - null for active until deletedInvalidParameterException - either the unique identifier or the status are invalid in some wayUserNotAuthorizedException - the governance action service is not authorized to update this elementPropertyServerException - there is a problem with the metadata storepublic void deleteRelatedElementsInStore(String userId, String relationshipGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
deleteRelatedElementsInStore in interface MetadataElementInterfaceuserId - caller's userIdrelationshipGUID - unique identifier of the relationship to deleteInvalidParameterException - the unique identifier of the relationship is null or invalid in some wayUserNotAuthorizedException - the governance action service is not authorized to delete this relationshipPropertyServerException - there is a problem with the metadata storepublic void updateActionTargetStatus(String userId, String actionTargetGUID, GovernanceActionStatus status, Date startDate, Date completionDate) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
updateActionTargetStatus in interface GovernanceProcessingInterfaceuserId - caller's userIdactionTargetGUID - unique identifier of the governance action service.status - status enum to show its progressstartDate - date/time that the governance action service started processing the targetcompletionDate - date/time that the governance process completed processing this target.InvalidParameterException - the action target GUID is not recognizedUserNotAuthorizedException - the governance action service is not authorized to update the action target propertiesPropertyServerException - there is a problem connecting to the metadata storepublic void updateGovernanceActionStatus(String userId, String governanceActionGUID, GovernanceActionStatus governanceActionStatus) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
updateGovernanceActionStatus in interface GovernanceProcessingInterfaceuserId - identifier of calling usergovernanceActionGUID - identifier of the governance action requestgovernanceActionStatus - new status enumInvalidParameterException - 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.public void recordCompletionStatus(String userId, String governanceActionGUID, Map<String,String> requestParameters, CompletionStatus status, List<String> outputGuards, List<String> newActionTargetGUIDs) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
recordCompletionStatus in interface GovernanceProcessingInterfaceuserId - caller's userIdgovernanceActionGUID - unique identifier of the governance action to updaterequestParameters - request properties from the caller (will be passed onto any follow on actions)status - completion status enum valueoutputGuards - optional guard strings for triggering subsequent action(s)newActionTargetGUIDs - list of additional elements to add to the action targets for the next phaseInvalidParameterException - the completion status is nullUserNotAuthorizedException - the governance action service is not authorized to update the governance action service statusPropertyServerException - there is a problem connecting to the metadata storepublic String initiateGovernanceAction(String userId, String qualifiedName, int domainIdentifier, String displayName, String description, List<String> requestSourceGUIDs, List<String> actionTargetGUIDs, List<String> receivedGuards, Date startTime, String governanceEngineName, String requestType, Map<String,String> requestParameters, String originatorServiceName, String originatorEngineName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
initiateGovernanceAction in interface GovernanceProcessingInterfaceuserId - caller's userIdqualifiedName - unique identifier to give this governance 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 action serviceactionTargetGUIDs - list of action targets for the resulting governance action servicereceivedGuards - list of guards to initiate the governance actionstartTime - future start time or null for "as soon as possible"governanceEngineName - name of the governance engine that should execute the requestrequestType - request type to identify the governance action service to runrequestParameters - properties to pass to the governance action serviceoriginatorServiceName - 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).InvalidParameterException - null qualified nameUserNotAuthorizedException - this governance action service is not authorized to create a governance actionPropertyServerException - there is a problem with the metadata storepublic String initiateGovernanceActionProcess(String userId, String processQualifiedName, List<String> requestSourceGUIDs, List<String> actionTargetGUIDs, Date startTime, Map<String,String> requestParameters, String originatorServiceName, String originatorEngineName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
initiateGovernanceActionProcess in interface GovernanceProcessingInterfaceuserId - caller's userIdprocessQualifiedName - unique name of the governance action process to userequestSourceGUIDs - request source elements for the resulting governance action serviceactionTargetGUIDs - list of action targets for the resulting governance action servicestartTime - future start time or null for "as soon as possible".requestParameters - request properties to be passed to the first governance 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).InvalidParameterException - null or unrecognized qualified name of the processUserNotAuthorizedException - this governance action service is not authorized to create a governance action processPropertyServerException - there is a problem with the metadata storepublic String createIncidentReport(String userId, String qualifiedName, int domainIdentifier, String background, List<IncidentImpactedElement> impactedResources, List<IncidentDependency> previousIncidents, Map<String,Integer> incidentClassifiers, Map<String,String> additionalProperties, String originatorGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
createIncidentReport in interface GovernanceProcessingInterfaceuserId - caller's userIdqualifiedName - unique identifier to give this new incident reportdomainIdentifier - governance domain associated with this action (0=ALL)background - description of the situationimpactedResources - details of the resources impacted by this situationpreviousIncidents - links to previous incident reports covering this situationincidentClassifiers - initial classifiers for the incident reportadditionalProperties - additional arbitrary properties for the incident reportsoriginatorGUID - the unique identifier of the person or process that created the incidentInvalidParameterException - null or non-unique qualified name for the incident reportUserNotAuthorizedException - this governance action service is not authorized to create a incident reportPropertyServerException - there is a problem with the metadata storepublic GovernanceActionElement getGovernanceAction(String userId, String governanceActionGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getGovernanceAction in interface GovernanceProcessingInterfaceuserId - identifier of calling usergovernanceActionGUID - identifier of the governance action request.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.public void claimGovernanceAction(String userId, String governanceActionGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
claimGovernanceAction in interface GovernanceProcessingInterfaceuserId - identifier of calling usergovernanceActionGUID - identifier of the governance action request.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.public List<GovernanceActionElement> getActiveClaimedGovernanceActions(String userId, String governanceEngineGUID, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getActiveClaimedGovernanceActions in interface GovernanceProcessingInterfaceuserId - userId of callergovernanceEngineGUID - unique identifier of governance enginestartFrom - starting from elementpageSize - maximum elements to returnInvalidParameterException - 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.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.